From 643978bbb2e5658bcdfcc3ada3b833357241e1cd Mon Sep 17 00:00:00 2001 From: Josh Long Date: Tue, 28 Nov 2023 18:48:44 -0500 Subject: [PATCH] fix ci tsc errors --- packages/contracts-sdk/src/lib/contracts-sdk.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/contracts-sdk/src/lib/contracts-sdk.ts b/packages/contracts-sdk/src/lib/contracts-sdk.ts index 3f55561a1f..9632558c2a 100644 --- a/packages/contracts-sdk/src/lib/contracts-sdk.ts +++ b/packages/contracts-sdk/src/lib/contracts-sdk.ts @@ -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); } @@ -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 { @@ -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 {