Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Fix Promise.allSettled build error
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnski committed Dec 22, 2021
1 parent fad4110 commit 03ba7d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/mysky/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 03ba7d1

Please sign in to comment.