From e290e30b72f04dd03900ffe771acec6855ed12d3 Mon Sep 17 00:00:00 2001 From: Ansonhkg Date: Wed, 26 Jul 2023 12:55:49 +0100 Subject: [PATCH] feat: add manual tests on optimismGoerli --- README.md | 48 +- apps/html/index.html | 4 +- apps/html/manual_tests.html | 4722 +++++++++-------- apps/react/src/app/app.tsx | 2 +- lerna.json | 2 +- .../access-control-conditions/package.json | 2 +- packages/auth-browser/package.json | 2 +- packages/auth-helpers/package.json | 2 +- packages/bls-sdk/package.json | 2 +- packages/constants/package.json | 2 +- .../constants/src/lib/constants/constants.ts | 20 +- packages/constants/src/lib/version.ts | 2 +- packages/contracts-sdk/package.json | 2 +- packages/core/package.json | 2 +- packages/crypto/package.json | 2 +- packages/ecdsa-sdk/package.json | 2 +- packages/encryption/package.json | 2 +- packages/lit-auth-client/package.json | 2 +- packages/lit-node-client-nodejs/package.json | 2 +- packages/lit-node-client/package.json | 2 +- packages/lit-third-party-libs/package.json | 2 +- packages/misc-browser/package.json | 2 +- packages/misc/package.json | 2 +- packages/nacl/package.json | 2 +- packages/pkp-base/package.json | 2 +- packages/pkp-client/package.json | 2 +- packages/pkp-cosmos/package.json | 2 +- packages/pkp-ethers/package.json | 2 +- packages/pkp-sui/package.json | 2 +- packages/pkp-walletconnect/package.json | 2 +- packages/types/package.json | 2 +- packages/uint8arrays/package.json | 2 +- tsconfig.json | 16 +- 33 files changed, 2449 insertions(+), 2417 deletions(-) diff --git a/README.md b/README.md index b97faeb681..90a95a959a 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,8 @@ For usage directly in the browser with a script tag Package | Category | Version | Download --- | --- | --- | --- -| [@lit-protocol/lit-node-client-nodejs](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/lit-node-client-nodejs) | ![lit-node-client-nodejs](https://img.shields.io/badge/-nodejs-2E8B57 "lit-node-client-nodejs") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/lit-node-client](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/lit-node-client) | ![lit-node-client](https://img.shields.io/badge/-universal-8A6496 "lit-node-client") | 2.2.46 | npm
Vanilla JS (UMD) +| [@lit-protocol/lit-node-client-nodejs](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/lit-node-client-nodejs) | ![lit-node-client-nodejs](https://img.shields.io/badge/-nodejs-2E8B57 "lit-node-client-nodejs") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/lit-node-client](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/lit-node-client) | ![lit-node-client](https://img.shields.io/badge/-universal-8A6496 "lit-node-client") | 2.2.47 | npm
Vanilla JS (UMD) If you're a tech-savvy user and wish to utilize only specific submodules that our main module relies upon, you can find individual packages listed below. This way, you can import only the necessary packages that cater to your specific use case:: @@ -78,28 +78,28 @@ If you're a tech-savvy user and wish to utilize only specific submodules that ou Package | Category | Version | Download --- | --- | --- | --- -| [@lit-protocol/access-control-conditions](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/access-control-conditions) | ![access-control-conditions](https://img.shields.io/badge/-universal-8A6496 "access-control-conditions") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/auth-helpers](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/auth-helpers) | ![auth-helpers](https://img.shields.io/badge/-universal-8A6496 "auth-helpers") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/bls-sdk](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/bls-sdk) | ![bls-sdk](https://img.shields.io/badge/-universal-8A6496 "bls-sdk") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/constants](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/constants) | ![constants](https://img.shields.io/badge/-universal-8A6496 "constants") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/contracts-sdk](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/contracts-sdk) | ![contracts-sdk](https://img.shields.io/badge/-universal-8A6496 "contracts-sdk") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/core](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/core) | ![core](https://img.shields.io/badge/-universal-8A6496 "core") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/crypto](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/crypto) | ![crypto](https://img.shields.io/badge/-universal-8A6496 "crypto") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/ecdsa-sdk](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/ecdsa-sdk) | ![ecdsa-sdk](https://img.shields.io/badge/-universal-8A6496 "ecdsa-sdk") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/encryption](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/encryption) | ![encryption](https://img.shields.io/badge/-universal-8A6496 "encryption") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/lit-third-party-libs](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/lit-third-party-libs) | ![lit-third-party-libs](https://img.shields.io/badge/-universal-8A6496 "lit-third-party-libs") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/misc](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/misc) | ![misc](https://img.shields.io/badge/-universal-8A6496 "misc") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/nacl](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/nacl) | ![nacl](https://img.shields.io/badge/-universal-8A6496 "nacl") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/pkp-base](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-base) | ![pkp-base](https://img.shields.io/badge/-universal-8A6496 "pkp-base") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/pkp-client](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-client) | ![pkp-client](https://img.shields.io/badge/-universal-8A6496 "pkp-client") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/pkp-cosmos](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-cosmos) | ![pkp-cosmos](https://img.shields.io/badge/-universal-8A6496 "pkp-cosmos") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/pkp-ethers](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-ethers) | ![pkp-ethers](https://img.shields.io/badge/-universal-8A6496 "pkp-ethers") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/pkp-sui](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-sui) | ![pkp-sui](https://img.shields.io/badge/-universal-8A6496 "pkp-sui") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/pkp-walletconnect](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-walletconnect) | ![pkp-walletconnect](https://img.shields.io/badge/-universal-8A6496 "pkp-walletconnect") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/types](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/types) | ![types](https://img.shields.io/badge/-universal-8A6496 "types") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/uint8arrays](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/uint8arrays) | ![uint8arrays](https://img.shields.io/badge/-universal-8A6496 "uint8arrays") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/auth-browser](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/auth-browser) | ![auth-browser](https://img.shields.io/badge/-browser-E98869 "auth-browser") | 2.2.46 | npm
Vanilla JS (UMD) -| [@lit-protocol/misc-browser](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/misc-browser) | ![misc-browser](https://img.shields.io/badge/-browser-E98869 "misc-browser") | 2.2.46 | npm
Vanilla JS (UMD) +| [@lit-protocol/access-control-conditions](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/access-control-conditions) | ![access-control-conditions](https://img.shields.io/badge/-universal-8A6496 "access-control-conditions") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/auth-helpers](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/auth-helpers) | ![auth-helpers](https://img.shields.io/badge/-universal-8A6496 "auth-helpers") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/bls-sdk](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/bls-sdk) | ![bls-sdk](https://img.shields.io/badge/-universal-8A6496 "bls-sdk") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/constants](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/constants) | ![constants](https://img.shields.io/badge/-universal-8A6496 "constants") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/contracts-sdk](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/contracts-sdk) | ![contracts-sdk](https://img.shields.io/badge/-universal-8A6496 "contracts-sdk") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/core](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/core) | ![core](https://img.shields.io/badge/-universal-8A6496 "core") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/crypto](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/crypto) | ![crypto](https://img.shields.io/badge/-universal-8A6496 "crypto") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/ecdsa-sdk](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/ecdsa-sdk) | ![ecdsa-sdk](https://img.shields.io/badge/-universal-8A6496 "ecdsa-sdk") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/encryption](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/encryption) | ![encryption](https://img.shields.io/badge/-universal-8A6496 "encryption") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/lit-third-party-libs](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/lit-third-party-libs) | ![lit-third-party-libs](https://img.shields.io/badge/-universal-8A6496 "lit-third-party-libs") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/misc](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/misc) | ![misc](https://img.shields.io/badge/-universal-8A6496 "misc") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/nacl](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/nacl) | ![nacl](https://img.shields.io/badge/-universal-8A6496 "nacl") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/pkp-base](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-base) | ![pkp-base](https://img.shields.io/badge/-universal-8A6496 "pkp-base") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/pkp-client](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-client) | ![pkp-client](https://img.shields.io/badge/-universal-8A6496 "pkp-client") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/pkp-cosmos](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-cosmos) | ![pkp-cosmos](https://img.shields.io/badge/-universal-8A6496 "pkp-cosmos") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/pkp-ethers](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-ethers) | ![pkp-ethers](https://img.shields.io/badge/-universal-8A6496 "pkp-ethers") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/pkp-sui](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-sui) | ![pkp-sui](https://img.shields.io/badge/-universal-8A6496 "pkp-sui") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/pkp-walletconnect](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/pkp-walletconnect) | ![pkp-walletconnect](https://img.shields.io/badge/-universal-8A6496 "pkp-walletconnect") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/types](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/types) | ![types](https://img.shields.io/badge/-universal-8A6496 "types") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/uint8arrays](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/uint8arrays) | ![uint8arrays](https://img.shields.io/badge/-universal-8A6496 "uint8arrays") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/auth-browser](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/auth-browser) | ![auth-browser](https://img.shields.io/badge/-browser-E98869 "auth-browser") | 2.2.47 | npm
Vanilla JS (UMD) +| [@lit-protocol/misc-browser](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/misc-browser) | ![misc-browser](https://img.shields.io/badge/-browser-E98869 "misc-browser") | 2.2.47 | npm
Vanilla JS (UMD) diff --git a/apps/html/index.html b/apps/html/index.html index 64ab0167ec..40c3f956cd 100644 --- a/apps/html/index.html +++ b/apps/html/index.html @@ -1,4 +1,4 @@ - + @@ -62,7 +62,7 @@ - (HTML) THIS FILE IS AUTOMATICALLY GENERATED FROM tools/scripts/gen-html.mjs Sat, 22 Jul 2023 11:49:08 GMT + (HTML) THIS FILE IS AUTOMATICALLY GENERATED FROM tools/scripts/gen-html.mjs Wed, 26 Jul 2023 11:52:00 GMT diff --git a/apps/html/manual_tests.html b/apps/html/manual_tests.html index 139f1f32d4..95dd7dcc2d 100644 --- a/apps/html/manual_tests.html +++ b/apps/html/manual_tests.html @@ -1,472 +1,430 @@ - - - Manual Tests - - - + + - - - -

Manual tests

-
-
-
Connecting to Lit Protocol Network...
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- - -
-
- -
-
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
-

-
-

- - + await testProvisoningAndSigning({ + accessControlConditions, + testName: 'Filecoin', + authSig, + }); + }; + + var logout = async () => { + const testName = 'Logout'; + document.getElementById('status').innerText = `Testing ${testName}...`; + + LitJsSdk.disconnectWeb3(); + + document.getElementById( + 'status' + ).innerText = `${testName}: Success - Logged out`; + }; + + document.addEventListener( + 'lit-ready', + function (e) { + console.log('LIT network is ready'); + document.getElementById('networkStatus').innerText = + 'Success! Connected to Lit Protocol Network'; + }, + false + ); + + function isNodeStorageError(errorCode) { + return ( + errorCode === 'storage_error' || errorCode === 'NodeStorageError' + ); + } + + + + +

Manual tests

+
+
+
Connecting to Lit Protocol Network...
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + +
+
+ +
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+

+
+

+ + + \ No newline at end of file diff --git a/apps/react/src/app/app.tsx b/apps/react/src/app/app.tsx index 42832f5f5c..9d9158123e 100644 --- a/apps/react/src/app/app.tsx +++ b/apps/react/src/app/app.tsx @@ -1944,7 +1944,7 @@ pre { `, }} /> - (REACT) THIS FILE IS AUTOMATICALLY GENERATED FROM tools/scripts/gen-react.mjs Sat, 22 Jul 2023 11:49:08 GMT + (REACT) THIS FILE IS AUTOMATICALLY GENERATED FROM tools/scripts/gen-react.mjs Wed, 26 Jul 2023 11:52:01 GMT
diff --git a/lerna.json b/lerna.json index 27ab50e264..c38a1ab752 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "$schema": "node_modules/lerna/schemas/lerna-schema.json", "useNx": true, "useWorkspaces": true, - "version": "2.2.46" + "version": "2.2.47" } \ No newline at end of file diff --git a/packages/access-control-conditions/package.json b/packages/access-control-conditions/package.json index b3c9f6abe3..74045c1313 100644 --- a/packages/access-control-conditions/package.json +++ b/packages/access-control-conditions/package.json @@ -21,7 +21,7 @@ "tags": [ "universal" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/auth-browser/package.json b/packages/auth-browser/package.json index 2f728c27f1..cd46710214 100644 --- a/packages/auth-browser/package.json +++ b/packages/auth-browser/package.json @@ -30,7 +30,7 @@ "tags": [ "browser" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/auth-helpers/package.json b/packages/auth-helpers/package.json index eca3a5d8ea..14d50f81b3 100644 --- a/packages/auth-helpers/package.json +++ b/packages/auth-helpers/package.json @@ -28,7 +28,7 @@ "crypto": false, "stream": false }, - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/bls-sdk/package.json b/packages/bls-sdk/package.json index 6182d9ba29..05e89f2953 100644 --- a/packages/bls-sdk/package.json +++ b/packages/bls-sdk/package.json @@ -24,7 +24,7 @@ "tags": [ "universal" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/constants/package.json b/packages/constants/package.json index a20c2981e2..99667ec939 100644 --- a/packages/constants/package.json +++ b/packages/constants/package.json @@ -20,7 +20,7 @@ "tags": [ "universal" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/constants/src/lib/constants/constants.ts b/packages/constants/src/lib/constants/constants.ts index 4bcc71d690..01a32f4656 100644 --- a/packages/constants/src/lib/constants/constants.ts +++ b/packages/constants/src/lib/constants/constants.ts @@ -463,6 +463,17 @@ export const LIT_CHAINS: LITChain = { type: null, vmType: 'EVM', }, + optimismGoerli: { + contractAddress: null, + chainId: 420, + name: 'Optimism Goerli', + symbol: 'ETH', + decimals: 18, + rpcUrls: ['https://optimism-goerli.publicnode.com'], + blockExplorerUrls: ['https://goerli-optimism.etherscan.io/'], + type: null, + vmType: 'EVM', + }, }; export const LIT_EVM_CHAINS = LIT_CHAINS; @@ -570,15 +581,6 @@ export const LIT_COSMOS_CHAINS: LITChain = { blockExplorerUrls: ['https://www.mintscan.io/juno'], vmType: 'CVM', }, - optimismGoerli: { - name: 'Optimism Goerli', - symbol: 'ETH', - decimals: 18, - chainId: '420', - rpcUrls: ['https://optimism-goerli.publicnode.com '], - blockExplorerUrls: ['https://goerli-optimism.etherscan.io/'], - vmType: 'EVM', - }, }; /** diff --git a/packages/constants/src/lib/version.ts b/packages/constants/src/lib/version.ts index 2c6add1bde..66336defb0 100644 --- a/packages/constants/src/lib/version.ts +++ b/packages/constants/src/lib/version.ts @@ -1 +1 @@ -export const version = '2.2.46'; \ No newline at end of file +export const version = '2.2.47'; \ No newline at end of file diff --git a/packages/contracts-sdk/package.json b/packages/contracts-sdk/package.json index 087e1c4a90..33ae916dd2 100644 --- a/packages/contracts-sdk/package.json +++ b/packages/contracts-sdk/package.json @@ -27,7 +27,7 @@ "tags": [ "universal" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/core/package.json b/packages/core/package.json index c3906178cc..69b9bb465d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/core", - "version": "2.2.46", + "version": "2.2.47", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 10fa1814fa..f31d4d5cfc 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -21,7 +21,7 @@ "tags": [ "universal" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/ecdsa-sdk/package.json b/packages/ecdsa-sdk/package.json index b43820f276..c9dd562dfa 100644 --- a/packages/ecdsa-sdk/package.json +++ b/packages/ecdsa-sdk/package.json @@ -21,7 +21,7 @@ "tags": [ "universal" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/encryption/package.json b/packages/encryption/package.json index bdf63c7f3e..3e005802d2 100644 --- a/packages/encryption/package.json +++ b/packages/encryption/package.json @@ -25,7 +25,7 @@ "crypto": false, "stream": false }, - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/lit-auth-client/package.json b/packages/lit-auth-client/package.json index c3fa6d0aff..70442c69d6 100644 --- a/packages/lit-auth-client/package.json +++ b/packages/lit-auth-client/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/lit-auth-client", - "version": "2.2.46", + "version": "2.2.47", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/lit-node-client-nodejs/package.json b/packages/lit-node-client-nodejs/package.json index e8715e71ab..a4e5643b25 100644 --- a/packages/lit-node-client-nodejs/package.json +++ b/packages/lit-node-client-nodejs/package.json @@ -24,7 +24,7 @@ "tags": [ "nodejs" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/lit-node-client/package.json b/packages/lit-node-client/package.json index 92ef0b6c5c..8cd828f37a 100644 --- a/packages/lit-node-client/package.json +++ b/packages/lit-node-client/package.json @@ -25,7 +25,7 @@ "crypto": false, "stream": false }, - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/lit-third-party-libs/package.json b/packages/lit-third-party-libs/package.json index dfda2850fe..8436dfff0f 100644 --- a/packages/lit-third-party-libs/package.json +++ b/packages/lit-third-party-libs/package.json @@ -21,7 +21,7 @@ "universal" ], "gitHead": "0d7334c2c55f448e91fe32f29edc5db8f5e09e4b", - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/misc-browser/package.json b/packages/misc-browser/package.json index 7e22c328b2..165db92ed4 100644 --- a/packages/misc-browser/package.json +++ b/packages/misc-browser/package.json @@ -21,7 +21,7 @@ "tags": [ "browser" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/misc/package.json b/packages/misc/package.json index d88db0e913..63d98a3cbc 100644 --- a/packages/misc/package.json +++ b/packages/misc/package.json @@ -24,7 +24,7 @@ "tags": [ "universal" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/nacl/package.json b/packages/nacl/package.json index 3a48d3743a..2d01220a09 100644 --- a/packages/nacl/package.json +++ b/packages/nacl/package.json @@ -21,7 +21,7 @@ "access": "public", "directory": "../../dist/packages/nacl" }, - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/pkp-base/package.json b/packages/pkp-base/package.json index b146549b6a..4468605f40 100644 --- a/packages/pkp-base/package.json +++ b/packages/pkp-base/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/pkp-base", - "version": "2.2.46", + "version": "2.2.47", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/pkp-client/package.json b/packages/pkp-client/package.json index c57fc70e8c..ca221d4573 100644 --- a/packages/pkp-client/package.json +++ b/packages/pkp-client/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/pkp-client", - "version": "2.2.46", + "version": "2.2.47", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/pkp-cosmos/package.json b/packages/pkp-cosmos/package.json index b520a56bf0..7c5e4ce76d 100644 --- a/packages/pkp-cosmos/package.json +++ b/packages/pkp-cosmos/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/pkp-cosmos", - "version": "2.2.46", + "version": "2.2.47", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/pkp-ethers/package.json b/packages/pkp-ethers/package.json index 4224c76a83..bee7db6998 100644 --- a/packages/pkp-ethers/package.json +++ b/packages/pkp-ethers/package.json @@ -20,7 +20,7 @@ "tags": [ "universal" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/pkp-sui/package.json b/packages/pkp-sui/package.json index 0832e9df1a..8ad89096ac 100644 --- a/packages/pkp-sui/package.json +++ b/packages/pkp-sui/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/pkp-sui", - "version": "2.2.46", + "version": "2.2.47", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/pkp-walletconnect/package.json b/packages/pkp-walletconnect/package.json index dc946c40be..346b865cb8 100644 --- a/packages/pkp-walletconnect/package.json +++ b/packages/pkp-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/pkp-walletconnect", - "version": "2.2.46", + "version": "2.2.47", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/types/package.json b/packages/types/package.json index 8245feaf42..f555d658dc 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -20,7 +20,7 @@ "tags": [ "universal" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/packages/uint8arrays/package.json b/packages/uint8arrays/package.json index 549a2749cb..0a1610cc1f 100644 --- a/packages/uint8arrays/package.json +++ b/packages/uint8arrays/package.json @@ -21,7 +21,7 @@ "tags": [ "universal" ], - "version": "2.2.46", + "version": "2.2.47", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index e9cc3cb256..67194da918 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,15 +10,23 @@ "importHelpers": true, "target": "ES2020", "module": "ES2020", - "lib": ["ES2020", "dom"], + "lib": [ + "ES2020", + "dom" + ], "skipLibCheck": true, "skipDefaultLibCheck": true, "baseUrl": ".", "allowSyntheticDefaultImports": true, "resolveJsonModule": true, "paths": { - "@lit-protocol/*": ["packages/*/src"] + "@lit-protocol/*": [ + "packages/*/src" + ] } }, - "exclude": ["node_modules", "tmp"] -} + "exclude": [ + "node_modules", + "tmp" + ] +} \ No newline at end of file