diff --git a/README.md b/README.md index cf2171847b..3461ab420d 100644 --- a/README.md +++ b/README.md @@ -53,23 +53,23 @@ Individual packages are below so that you can import the minimum required packag 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.86 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | 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.1.88 | npm
Vanilla JS (UMD) diff --git a/apps/html/index.html b/apps/html/index.html index 9e15f66c2d..ad8873f439 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, 18 Mar 2023 00:32:58 GMT + (HTML) THIS FILE IS AUTOMATICALLY GENERATED FROM tools/scripts/gen-html.mjs Sat, 18 Mar 2023 01:48:15 GMT diff --git a/apps/react/src/app/app.tsx b/apps/react/src/app/app.tsx index 283fec923a..09e37be1d9 100644 --- a/apps/react/src/app/app.tsx +++ b/apps/react/src/app/app.tsx @@ -1352,7 +1352,7 @@ pre { `, }} /> - (REACT) THIS FILE IS AUTOMATICALLY GENERATED FROM tools/scripts/gen-react.mjs Sat, 18 Mar 2023 00:32:59 GMT + (REACT) THIS FILE IS AUTOMATICALLY GENERATED FROM tools/scripts/gen-react.mjs Sat, 18 Mar 2023 01:48:15 GMT
diff --git a/lerna.json b/lerna.json index a2bc28fe8a..8093e27cb7 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.1.86" + "version": "2.1.88" } \ No newline at end of file diff --git a/packages/access-control-conditions/package.json b/packages/access-control-conditions/package.json index b6420533cb..064ffdec71 100644 --- a/packages/access-control-conditions/package.json +++ b/packages/access-control-conditions/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/access-control-conditions", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/auth-browser/package.json b/packages/auth-browser/package.json index 3663c051b2..e010dafa2b 100644 --- a/packages/auth-browser/package.json +++ b/packages/auth-browser/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/auth-browser", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/bls-sdk/package.json b/packages/bls-sdk/package.json index f3cb706ceb..21da76b227 100644 --- a/packages/bls-sdk/package.json +++ b/packages/bls-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/bls-sdk", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/constants/package.json b/packages/constants/package.json index 265c6ce62d..d69133356e 100644 --- a/packages/constants/package.json +++ b/packages/constants/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/constants", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/constants/src/lib/version.ts b/packages/constants/src/lib/version.ts index 0b2b33758e..079571cbd7 100644 --- a/packages/constants/src/lib/version.ts +++ b/packages/constants/src/lib/version.ts @@ -1 +1 @@ -export const version = '2.1.86'; \ No newline at end of file +export const version = '2.1.88'; \ No newline at end of file diff --git a/packages/contracts-sdk/package.json b/packages/contracts-sdk/package.json index 560cccbf60..735c2ebacd 100644 --- a/packages/contracts-sdk/package.json +++ b/packages/contracts-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/contracts-sdk", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 5f599378d8..1b13138443 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/crypto", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/ecdsa-sdk/package.json b/packages/ecdsa-sdk/package.json index a30ce932b2..aa816e8294 100644 --- a/packages/ecdsa-sdk/package.json +++ b/packages/ecdsa-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/ecdsa-sdk", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/ecdsa-sdk/src/lib/ecdsa-sdk.ts b/packages/ecdsa-sdk/src/lib/ecdsa-sdk.ts index b7341db9f3..e3c6b2e0b3 100644 --- a/packages/ecdsa-sdk/src/lib/ecdsa-sdk.ts +++ b/packages/ecdsa-sdk/src/lib/ecdsa-sdk.ts @@ -500,8 +500,16 @@ async function init(input) { imports.wbg.__wbg_require_edfaedd93e302925 = function () { console.warn("[ECDSA-SDK] __wbg_require_edfaedd93e302925"); return handleError(function (arg0, arg1, arg2) { - // var ret = require(getStringFromWasm0(arg1, arg2)); - var ret = getStringFromWasm0(arg1, arg2); + var ret = require(getStringFromWasm0(arg1, arg2)); + + // Note: This function can probably be removed for browser + // try{ + // // this function probably not run on browser + // console.warn("[ECDSA-SDK] REPORT THIS ERROR TO DEVELOPER"); + // ret = getStringFromWasm0(arg1, arg2); + // }catch(e){ + // ret = require(getStringFromWasm0(arg1, arg2)); + // } console.warn("[ECDSA-SDK] ret:", ret); return addHeapObject(ret); }, arguments); diff --git a/packages/encryption/package.json b/packages/encryption/package.json index 9a354ff5d7..0a0ce81ba6 100644 --- a/packages/encryption/package.json +++ b/packages/encryption/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/encryption", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/lit-node-client-nodejs/package.json b/packages/lit-node-client-nodejs/package.json index a1821f34fb..1aaf712e51 100644 --- a/packages/lit-node-client-nodejs/package.json +++ b/packages/lit-node-client-nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/lit-node-client-nodejs", - "version": "2.1.86", + "version": "2.1.88", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/lit-node-client/package.json b/packages/lit-node-client/package.json index 66863776e3..ff7f31891f 100644 --- a/packages/lit-node-client/package.json +++ b/packages/lit-node-client/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/lit-node-client", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/lit-third-party-libs/package.json b/packages/lit-third-party-libs/package.json index 5fbd017bdd..09cb4cf79e 100644 --- a/packages/lit-third-party-libs/package.json +++ b/packages/lit-third-party-libs/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/lit-third-party-libs", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/misc-browser/package.json b/packages/misc-browser/package.json index 5554fc93cb..fa1f915cbd 100644 --- a/packages/misc-browser/package.json +++ b/packages/misc-browser/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/misc-browser", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/misc/package.json b/packages/misc/package.json index 8e97efc2d0..4e7b4833ce 100644 --- a/packages/misc/package.json +++ b/packages/misc/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/misc", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/nacl/package.json b/packages/nacl/package.json index 93501fee3c..7e82f1d426 100644 --- a/packages/nacl/package.json +++ b/packages/nacl/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/nacl", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/pkp-ethers/package.json b/packages/pkp-ethers/package.json index 7d4840c5a5..7a092c9a46 100644 --- a/packages/pkp-ethers/package.json +++ b/packages/pkp-ethers/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/pkp-ethers", - "version": "2.1.86", + "version": "2.1.88", "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 87c383f93b..32689d0fe8 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/types", - "version": "2.1.86", + "version": "2.1.88", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/uint8arrays/package.json b/packages/uint8arrays/package.json index 8a32273cf0..2219ae41fa 100644 --- a/packages/uint8arrays/package.json +++ b/packages/uint8arrays/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/uint8arrays", - "version": "2.1.86", + "version": "2.1.88", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": {