diff --git a/src/mysky/index.ts b/src/mysky/index.ts index d3fb36b6..37ad3cc8 100644 --- a/src/mysky/index.ts +++ b/src/mysky/index.ts @@ -933,7 +933,7 @@ export class MySky { * Login redirect flow: * * 1. SDK logs in through the UI. - * 2. MySky switches to siasky.net and tries to get the saved portal + * 2. MySky UI switches to siasky.net and tries to get the saved portal * preference. * 1. If the portal is set, MySky switches to using the preferred portal. * 2. If it is not set or we don't have the seed, MySky switches to using diff --git a/tsconfig.build.json b/tsconfig.build.json index 376f3ca1..f7fc63ab 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -6,8 +6,10 @@ "declaration": true, "declarationMap": true, "isolatedModules": true, - "moduleResolution": "node", + + "lib": ["dom", "es2020"], "target": "es2019", + "moduleResolution": "node", "outDir": "dist/mjs", "types": ["node", "jest"], "typeRoots": ["./types", "./node_modules/@types"] diff --git a/tsconfig.json b/tsconfig.json index 7981b1ab..4ed8e8e4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,15 +1,16 @@ { "compilerOptions": { "downlevelIteration": true, - "lib": ["dom", "es2020"], "noEmit": true, "esModuleInterop": true, "strict": true, "noImplicitAny": true, "declaration": true, "isolatedModules": true, - "moduleResolution": "node", + + "lib": ["dom", "es2020"], "target": "es2019", + "moduleResolution": "node", "types": ["node", "jest"], "typeRoots": ["./types", "./node_modules/@types"], "strictNullChecks": true