Use 'const' instead of 'let' and use semicolons
modified src/blockies.ts
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -15,35 +15,35 @@ function seedrand(seed: string) {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -51,7 +51,7 @@ function createImageData(size: number): number[] {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -70,11 +70,11 @@ function createCanvas(
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -83,8 +83,8 @@ function createCanvas(
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -108,18 +108,18 @@ export interface Options {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/config.ts
@@ -76,8 +76,8 @@ export async function getConfig(): Promise<Config> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified src/index.ts
@@ -12,7 +12,7 @@ declare global {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/session.ts
@@ -30,22 +30,22 @@ export interface Session {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -75,7 +75,7 @@ export const loadState = (initial: State) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -155,13 +155,13 @@ export const loadState = (initial: State) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -191,7 +191,7 @@ export async function approveSpender(spender: string, amount: BigNumber, config:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/utils.ts
@@ -39,8 +39,8 @@ export function capitalize(s: string) {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -67,7 +67,7 @@ export function isAddress(input: string): boolean {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -108,7 +108,7 @@ export async function querySubgraph(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -142,13 +142,13 @@ export function formatProjectHash(hash: Uint8Array, format: number): string {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|