Skip to content

Commit

Permalink
fix ci tsc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Long committed Nov 28, 2023
1 parent 6bb27f7 commit 643978b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/contracts-sdk/src/lib/contracts-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,8 @@ https://developer.litprotocol.com/v3/sdk/wallets/auth-methods/#auth-method-scope
const _pubkey = pubkey ?? '0x';

// if scopes are list of strings, turn them into numbers
scopes = scopes.map((scope) => {
scopes = scopes.map((
scope: any) => {
if (typeof scope === 'string') {
return ethers.BigNumber.from(scope);
}
Expand Down Expand Up @@ -1115,7 +1116,7 @@ https://developer.litprotocol.com/v3/sdk/wallets/auth-methods/#auth-method-scope
tokenId
);
if (addresses.length <= 0) {
await new Promise((resolve) => setTimeout(resolve, 1000));
await new Promise((resolve: any) => setTimeout(resolve, 1000));
tries++;
continue;
} else {
Expand Down Expand Up @@ -1166,7 +1167,7 @@ https://developer.litprotocol.com/v3/sdk/wallets/auth-methods/#auth-method-scope
);

if (actions.length <= 0) {
await new Promise((resolve) => setTimeout(resolve, 1000));
await new Promise((resolve: any) => setTimeout(resolve, 1000));
tries++;
continue;
} else {
Expand Down

0 comments on commit 643978b

Please sign in to comment.