diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f28dc06..643a3a2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## [4.1.2-develop.2](https://github.com/cheqd/did-provider-cheqd/compare/4.1.2-develop.1...4.1.2-develop.2) (2024-08-20) + ## [4.1.2-develop.1](https://github.com/cheqd/did-provider-cheqd/compare/4.1.1...4.1.2-develop.1) (2024-08-19) ## [4.1.1](https://github.com/cheqd/did-provider-cheqd/compare/4.1.0...4.1.1) (2024-04-24) diff --git a/agent.yml b/agent.yml index 6da3f362..87c71ddf 100644 --- a/agent.yml +++ b/agent.yml @@ -220,7 +220,7 @@ didCheqdMainnetProvider: rpcUrl: 'https://rpc.cheqd.net' dkgOptions: chain: cheqdMainnet - network: cayenne + network: datil-dev didCheqdTestnetProvider: $require: '@cheqd/did-provider-cheqd#CheqdDIDProvider' @@ -231,7 +231,7 @@ didCheqdTestnetProvider: rpcUrl: 'https://rpc.cheqd.network' dkgOptions: chain: cheqdTestnet - network: cayenne + network: datil-dev # DID Manager didManager: diff --git a/package-lock.json b/package-lock.json index 28a3c746..62ce0c26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@cheqd/did-provider-cheqd", - "version": "4.1.2-develop.1", + "version": "4.1.2-develop.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cheqd/did-provider-cheqd", - "version": "4.1.2-develop.1", + "version": "4.1.2-develop.2", "license": "Apache-2.0", "dependencies": { - "@cheqd/sdk": "^4.0.2", + "@cheqd/sdk": "^4.0.3", "@cheqd/ts-proto": "^3.4.4", "@cosmjs/amino": "^0.32.4", "@cosmjs/crypto": "^0.32.4", @@ -18,8 +18,9 @@ "@cosmjs/utils": "^0.32.4", "@digitalbazaar/vc-status-list": "^8.0.0", "@lit-protocol/encryption-v2": "npm:@lit-protocol/encryption@2.2.63", - "@lit-protocol/lit-node-client": "^3.1.1", + "@lit-protocol/lit-node-client": "^6.4.1", "@lit-protocol/lit-node-client-v2": "npm:@lit-protocol/lit-node-client@2.2.63", + "@lit-protocol/lit-node-client-v3": "npm:@lit-protocol/lit-node-client@3.1.1", "@veramo/core": "^6.0.0", "@veramo/did-manager": "^6.0.0", "@veramo/did-provider-key": "^6.0.0", @@ -33,27 +34,28 @@ "uuid": "^10.0.0" }, "devDependencies": { - "@lit-protocol/types": "^3.0.27", + "@lit-protocol/types": "^6.4.1", "@lit-protocol/types-v2": "npm:@lit-protocol/types@^2.2.63", + "@lit-protocol/types-v3": "npm:@lit-protocol/types@3.1.1", "@semantic-release/changelog": "^6.0.3", - "@semantic-release/commit-analyzer": "^11.1.0", + "@semantic-release/commit-analyzer": "^13.0.0", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^10.1.6", "@semantic-release/npm": "^12.0.1", - "@semantic-release/release-notes-generator": "^12.1.0", + "@semantic-release/release-notes-generator": "^14.0.1", "@types/debug": "^4.1.12", "@types/jest": "^29.5.12", "@types/uuid": "^10.0.0", "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", - "conventional-changelog-conventionalcommits": "^7.0.2", + "conventional-changelog-conventionalcommits": "^8.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-config-typescript": "^3.0.0", "jest": "^29.7.0", "long": "^4.0.0", "prettier": "^3.3.3", - "semantic-release": "^23.1.1", + "semantic-release": "^24.1.0", "ts-jest": "^29.2.4", "typescript": "^5.5.4" }, @@ -743,9 +745,9 @@ "dev": true }, "node_modules/@cheqd/sdk": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@cheqd/sdk/-/sdk-4.0.2.tgz", - "integrity": "sha512-0UD/xYNrkYLqJY1uR5B76VS9x27oIGcdjp6bM1Q8o21quEMrwyo1itpqCGTMil0VdR8bOSh4i6KUKjaGwVLXEw==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@cheqd/sdk/-/sdk-4.0.3.tgz", + "integrity": "sha512-CbfRhsyKuhFImfjan/X2QIz4/dclDdB5vWyBvYee4Dpvd0smMADXreyIeI4cW1rIJ+OP04pRngbOHvtVp3nJYw==", "dependencies": { "@cheqd/ts-proto": "^3.4.4", "@cosmjs/amino": "^0.32.4", @@ -756,7 +758,7 @@ "@cosmjs/stargate": "^0.32.4", "@cosmjs/tendermint-rpc": "^0.32.4", "@cosmjs/utils": "^0.32.4", - "@stablelib/ed25519": "^2.0.0", + "@stablelib/ed25519": "^1.0.3", "@types/secp256k1": "^4.0.6", "cosmjs-types": "^0.9.0", "did-jwt": "^8.0.4", @@ -770,58 +772,6 @@ "node": ">=20.0.0" } }, - "node_modules/@cheqd/sdk/node_modules/@stablelib/binary": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@stablelib/binary/-/binary-2.0.0.tgz", - "integrity": "sha512-dHejKHMtq5OtNwDSMcFx+djhixVAnZ76Rqga3WOOKe6KV3NlnE7JBXlmdLIn04G4FxqhRSEx+zkoO4Izdw10ZA==", - "dependencies": { - "@stablelib/int": "^2.0.0" - } - }, - "node_modules/@cheqd/sdk/node_modules/@stablelib/ed25519": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@stablelib/ed25519/-/ed25519-2.0.0.tgz", - "integrity": "sha512-4q/Kv7/yl0VcL1ZCbX63BG7wkDhiJR6QBPYV10WO37jjWhQhdUCcnSsKYwZ4t9fQngrULo5thnCc8jZqqufM4g==", - "dependencies": { - "@stablelib/random": "^2.0.0", - "@stablelib/sha512": "^2.0.0", - "@stablelib/wipe": "^2.0.0" - } - }, - "node_modules/@cheqd/sdk/node_modules/@stablelib/hash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@stablelib/hash/-/hash-2.0.0.tgz", - "integrity": "sha512-u3WPSqGido8lwJuMcrBgM5K54LrPGhkWAdtsyccf7dGsLixAZUds77zOAbu7bvKPwQlmoByH0txBi5rTmEKuHg==" - }, - "node_modules/@cheqd/sdk/node_modules/@stablelib/int": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@stablelib/int/-/int-2.0.0.tgz", - "integrity": "sha512-EiSYDisTYKk1wuCqoh7wuBySmE0A1isq7TQbsijQ6XFi6nIAozchgAT7Zv2PCl2iY8BTe0URScC4PdYHOe3Yow==" - }, - "node_modules/@cheqd/sdk/node_modules/@stablelib/random": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@stablelib/random/-/random-2.0.0.tgz", - "integrity": "sha512-qvOSbiPq2B3ajvn/IDftC1mzL/W89OGv59gdJ7klMjm327Yk/54NyGl4Jtrwcz35GjCPy/ScVnQXC8YQk8uAUQ==", - "dependencies": { - "@stablelib/binary": "^2.0.0", - "@stablelib/wipe": "^2.0.0" - } - }, - "node_modules/@cheqd/sdk/node_modules/@stablelib/sha512": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@stablelib/sha512/-/sha512-2.0.0.tgz", - "integrity": "sha512-JiIub0BfK+dDsymA8b4mUdT9hnFMPfbXqEp/NXR3MUsunf1WMyUQPQr/dhCVL8tt63oYLV9ItUFDP7B2wyIRwA==", - "dependencies": { - "@stablelib/binary": "^2.0.0", - "@stablelib/hash": "^2.0.0", - "@stablelib/wipe": "^2.0.0" - } - }, - "node_modules/@cheqd/sdk/node_modules/@stablelib/wipe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@stablelib/wipe/-/wipe-2.0.0.tgz", - "integrity": "sha512-VBMpCJx8py9j9F5DxV5dGmSSO+vkYDnXHXG4alkfpaD08UTfNTqsQoRlUh5obeqBNHiO+3Iv40GxKpM0gfd5xA==" - }, "node_modules/@cheqd/sdk/node_modules/multiformats": { "version": "13.2.2", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.2.2.tgz", @@ -2402,24 +2352,55 @@ "integrity": "sha512-jnOD+/+dSrfTWYfSXBXlo5l5f0q1UuJo3tkbMDCYA2lKUYq79jaxqtGEvnRoh049nt1vdo1+45RinipU6FGY2g==" }, "node_modules/@lit-protocol/access-control-conditions": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/access-control-conditions/-/access-control-conditions-3.1.1.tgz", - "integrity": "sha512-+I2+FO1ZmCVRXmlliE/gYEhDqDZp/37x2hgqb4jRYtRdclLgMke5RuEJYE+dLX07VgsoK1DmPlG385T2AGIPbA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/access-control-conditions/-/access-control-conditions-6.4.1.tgz", + "integrity": "sha512-VI86n9lh13ZX7+rmCHuYohJp9EmntQ7Jfx/c8kgBRsVSv+lHESJDnjisbRaPLESt6ZpTh2ik3YvOnPRqomiKlQ==", "dependencies": { - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/constants": "3.1.1", - "@lit-protocol/logger": "3.1.1", - "@lit-protocol/misc": "3.1.1", - "@lit-protocol/types": "3.1.1", - "@lit-protocol/uint8arrays": "3.1.1", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/logger": "6.4.1", + "@lit-protocol/misc": "6.4.1", + "@lit-protocol/types": "6.4.1", + "@lit-protocol/uint8arrays": "6.4.1", + "ajv": "^8.12.0", "ethers": "^5.7.1", "jszip": "^3.10.1", + "punycode": "2.3.1", "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0", - "uint8arrays": "^4.0.3" + "tslib": "1.14.1", + "uint8arrays": "^4.0.3", + "util": "0.12.5" + } + }, + "node_modules/@lit-protocol/access-control-conditions/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/@lit-protocol/access-control-conditions/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/@lit-protocol/access-control-conditions/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/@lit-protocol/access-control-conditions/node_modules/uint8arrays": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.10.tgz", @@ -2428,37 +2409,85 @@ "multiformats": "^12.0.1" } }, + "node_modules/@lit-protocol/accs-schemas": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@lit-protocol/accs-schemas/-/accs-schemas-0.0.9.tgz", + "integrity": "sha512-4Y7YNvtMWAEGIjkzqy7Fdt06WLACugyP4lbURWDzdn8DODQfmdJ/RzFybJR2/ChlHgEqY+joWPMeEQHqn7QSfw==", + "dependencies": { + "ajv": "^8.12.0" + } + }, + "node_modules/@lit-protocol/accs-schemas/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@lit-protocol/accs-schemas/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, "node_modules/@lit-protocol/auth-browser": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/auth-browser/-/auth-browser-3.1.1.tgz", - "integrity": "sha512-1zfZO6BRuoXFE0ZmZYH7vGWhJpOzfTly7FypoZfNWbm0UWXKQZYh05w73mKg3YWVPtLlJsS8eleVq9txV6KL0w==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-browser/-/auth-browser-6.4.1.tgz", + "integrity": "sha512-Xt0aIxPkAHQvGC7ELeS2rAunxB3omCJAAIGQOCSlOadXdCyzxTkKiWPlANVuIwtJeMo8oEUVINgsZhTBKdBT4w==", "dependencies": { - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/constants": "3.1.1", - "@lit-protocol/logger": "3.1.1", - "@lit-protocol/misc": "3.1.1", - "@lit-protocol/misc-browser": "3.1.1", - "@lit-protocol/types": "3.1.1", - "@lit-protocol/uint8arrays": "3.1.1", - "@walletconnect/ethereum-provider": "2.9.2", - "@walletconnect/modal": "2.6.1", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/strings": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/logger": "6.4.1", + "@lit-protocol/misc": "6.4.1", + "@lit-protocol/misc-browser": "6.4.1", + "@lit-protocol/types": "6.4.1", + "@lit-protocol/uint8arrays": "6.4.1", + "ajv": "^8.12.0", "ethers": "^5.7.1", "jszip": "^3.10.1", - "lit-siwe": "^1.1.8", - "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0", - "tweetnacl": "^1.0.3", - "tweetnacl-util": "^0.13.3", - "uint8arrays": "^4.0.3", - "util": "^0.12.4", - "web-vitals": "^3.0.4" + "punycode": "2.3.1", + "tslib": "1.14.1", + "uint8arrays": "^4.0.3" } }, - "node_modules/@lit-protocol/auth-browser/node_modules/tweetnacl-util": { - "version": "0.13.5", - "resolved": "https://registry.npmjs.org/tweetnacl-util/-/tweetnacl-util-0.13.5.tgz", - "integrity": "sha512-/4Q3hpPFAnbBjNLLOmdTdyvInBfZcQBTWy+LWbypmWxAKwOpSQOyyv4ZZts4CoiYtS8Skyix5CkOWytf7XNK9A==" + "node_modules/@lit-protocol/auth-browser/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@lit-protocol/auth-browser/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/@lit-protocol/auth-browser/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@lit-protocol/auth-browser/node_modules/uint8arrays": { "version": "4.0.10", @@ -2479,55 +2508,150 @@ } }, "node_modules/@lit-protocol/bls-sdk": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/bls-sdk/-/bls-sdk-3.1.1.tgz", - "integrity": "sha512-oss7LGd0Oq9VOCcN3ZLFoKHKx0CGAbXkCW98DFRtamoubSgVGPF2q+F5jp/HMMmstr5rirrHSwwVTnf/ZIdxRQ==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/bls-sdk/-/bls-sdk-6.4.1.tgz", + "integrity": "sha512-Dq+u1Hz6W2+3jNWsjY4ivgOX9ou6Joy4EkhCsT240/pXuIIhCXNca5QYXJs5GafoeHCQrMheS/YoxdmGeixRfA==", "dependencies": { - "pako": "^2.1.0", - "tslib": "^2.3.0" + "tslib": "1.14.1", + "util": "0.12.5" } }, + "node_modules/@lit-protocol/bls-sdk/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/@lit-protocol/constants": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-3.1.1.tgz", - "integrity": "sha512-eIelpP4gJx4GlEDKTcABQvwJtV7SNIUeMmP4wYY451cXQssaxcBh2vqFzf1S7jyxylIy/gPXsFtyVF0hbUMQ0A==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-6.4.1.tgz", + "integrity": "sha512-Qc5etrQpTC7paXn8YrRItwEbafDV5F/rpjRbc+D70+MO8VcZUN5bhVmkKIcCYdNW6MsISoERfvi1mNv1aQ+oRw==", "dependencies": { - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/types": "3.1.1", + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/types": "6.4.1", "ethers": "^5.7.1", "jszip": "^3.10.1", "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0" + "tslib": "1.14.1" + } + }, + "node_modules/@lit-protocol/constants/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/@lit-protocol/contracts": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@lit-protocol/contracts/-/contracts-0.0.39.tgz", + "integrity": "sha512-zz/TaKWUqFK2n7BqwKj9PeV0px89G7dnjkRJ9BM/eri356zodd/W5d5iGQUVdaFiCYKd/cibm4004BnuMlXLeg==", + "peerDependencies": { + "typescript": "^5.0.0" } }, "node_modules/@lit-protocol/contracts-sdk": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/contracts-sdk/-/contracts-sdk-3.1.1.tgz", - "integrity": "sha512-rsYfQF0zDfQduahGgb80s4vsaDG1jrVMciEd4SYO5WU1L+kCGQMVRsPc6bVzi9w+0LBDFFmP6R/m4+sXB10s0g==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/contracts-sdk/-/contracts-sdk-6.4.1.tgz", + "integrity": "sha512-kXm9dmtQcmVjRMhMrFZa5Elppu0quSz7KTkXh7hfcHY84BF8D+4zcrYefIYUUZ+u7ETJypJ1BxZEoPNk9xqG4A==", "dependencies": { - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/constants": "3.1.1", - "@lit-protocol/logger": "3.1.1", - "@lit-protocol/misc": "3.1.1", - "@lit-protocol/types": "3.1.1", + "@cosmjs/amino": "0.30.1", + "@cosmjs/crypto": "0.30.1", + "@cosmjs/encoding": "0.30.1", + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/logger": "6.4.1", + "@lit-protocol/misc": "6.4.1", + "@lit-protocol/types": "6.4.1", + "ajv": "^8.12.0", "bitcoinjs-lib": "^6.1.0", - "bs58": "^5.0.0", - "date-and-time": "^2.4.1", "ethers": "^5.7.1", "jose": "^4.14.4", "jszip": "^3.10.1", - "multiformats": "^9.7.1", + "process": "0.11.10", + "punycode": "2.3.1", "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0", - "uint8arrays": "^4.0.3" + "tslib": "1.14.1", + "uint8arrays": "^4.0.3", + "util": "0.12.5" } }, - "node_modules/@lit-protocol/contracts-sdk/node_modules/multiformats": { - "version": "9.9.0", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", - "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" + "node_modules/@lit-protocol/contracts-sdk/node_modules/@cosmjs/amino": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.30.1.tgz", + "integrity": "sha512-yNHnzmvAlkETDYIpeCTdVqgvrdt1qgkOXwuRVi8s27UKI5hfqyE9fJ/fuunXE6ZZPnKkjIecDznmuUOMrMvw4w==", + "dependencies": { + "@cosmjs/crypto": "^0.30.1", + "@cosmjs/encoding": "^0.30.1", + "@cosmjs/math": "^0.30.1", + "@cosmjs/utils": "^0.30.1" + } + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/@cosmjs/crypto": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.30.1.tgz", + "integrity": "sha512-rAljUlake3MSXs9xAm87mu34GfBLN0h/1uPPV6jEwClWjNkAMotzjC0ab9MARy5FFAvYHL3lWb57bhkbt2GtzQ==", + "dependencies": { + "@cosmjs/encoding": "^0.30.1", + "@cosmjs/math": "^0.30.1", + "@cosmjs/utils": "^0.30.1", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers": "^0.7.6" + } + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/@cosmjs/encoding": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.30.1.tgz", + "integrity": "sha512-rXmrTbgqwihORwJ3xYhIgQFfMSrwLu1s43RIK9I8EBudPx3KmnmyAKzMOVsRDo9edLFNuZ9GIvysUCwQfq3WlQ==", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/@cosmjs/math": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.30.1.tgz", + "integrity": "sha512-yaoeI23pin9ZiPHIisa6qqLngfnBR/25tSaWpkTm8Cy10MX70UF5oN4+/t1heLaM6SSmRrhk3psRkV4+7mH51Q==", + "dependencies": { + "bn.js": "^5.2.0" + } + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/@cosmjs/utils": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.30.1.tgz", + "integrity": "sha512-KvvX58MGMWh7xA+N+deCfunkA/ZNDvFLw4YbOmX3f/XBIkqrVY7qlotfy2aNb1kgp6h4B6Yc8YawJPDTfvWX7g==" + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@lit-protocol/contracts-sdk/node_modules/uint8arrays": { "version": "4.0.10", @@ -2537,47 +2661,149 @@ "multiformats": "^12.0.1" } }, - "node_modules/@lit-protocol/contracts-sdk/node_modules/uint8arrays/node_modules/multiformats": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", - "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/@lit-protocol/core": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/core/-/core-3.1.1.tgz", - "integrity": "sha512-hk/900EwmN5HVi5EgmnRqR9C4SNg4wO6WoXFgnW47Y/YxlQDCUiVlEAIepJQs0ihQwrtKbfJN8o6ER8n0o2HDw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/core/-/core-6.4.1.tgz", + "integrity": "sha512-+FDTrqg/kJ6xvBybkEP2SRWOsZuIeOLLa3TzO8NTRkdANPyWw09lFA9y8lIarAz6C97hnCBlyoeBNFOjv3azoQ==", "dependencies": { - "@lit-protocol/access-control-conditions": "3.1.1", - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/bls-sdk": "3.1.1", - "@lit-protocol/constants": "3.1.1", - "@lit-protocol/contracts-sdk": "3.1.1", - "@lit-protocol/crypto": "3.1.1", - "@lit-protocol/ecdsa-sdk": "3.1.1", - "@lit-protocol/logger": "3.1.1", - "@lit-protocol/misc": "3.1.1", - "@lit-protocol/nacl": "3.1.1", - "@lit-protocol/sev-snp-utils-sdk": "3.1.1", - "@lit-protocol/types": "3.1.1", - "@lit-protocol/uint8arrays": "3.1.1", + "@cosmjs/amino": "0.30.1", + "@cosmjs/crypto": "0.30.1", + "@cosmjs/encoding": "0.30.1", + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@lit-protocol/access-control-conditions": "6.4.1", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/bls-sdk": "6.4.1", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/contracts-sdk": "6.4.1", + "@lit-protocol/crypto": "6.4.1", + "@lit-protocol/ecdsa-sdk": "6.4.1", + "@lit-protocol/logger": "6.4.1", + "@lit-protocol/misc": "6.4.1", + "@lit-protocol/nacl": "6.4.1", + "@lit-protocol/sev-snp-utils-sdk": "6.4.1", + "@lit-protocol/types": "6.4.1", + "@lit-protocol/uint8arrays": "6.4.1", + "ajv": "^8.12.0", "bitcoinjs-lib": "^6.1.0", "bs58": "^5.0.0", + "cross-fetch": "3.1.4", "date-and-time": "^2.4.1", "ethers": "^5.7.1", "jose": "^4.14.4", "jszip": "^3.10.1", - "multiformats": "^12.1.3", - "node-fetch": "^2.6.1", + "multiformats": "^9.7.1", + "pako": "1.0.11", + "process": "0.11.10", + "punycode": "2.3.1", "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0", - "uint8arrays": "^4.0.3" + "tslib": "1.14.1", + "uint8arrays": "^4.0.3", + "util": "0.12.5" + } + }, + "node_modules/@lit-protocol/core/node_modules/@cosmjs/amino": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.30.1.tgz", + "integrity": "sha512-yNHnzmvAlkETDYIpeCTdVqgvrdt1qgkOXwuRVi8s27UKI5hfqyE9fJ/fuunXE6ZZPnKkjIecDznmuUOMrMvw4w==", + "dependencies": { + "@cosmjs/crypto": "^0.30.1", + "@cosmjs/encoding": "^0.30.1", + "@cosmjs/math": "^0.30.1", + "@cosmjs/utils": "^0.30.1" + } + }, + "node_modules/@lit-protocol/core/node_modules/@cosmjs/crypto": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.30.1.tgz", + "integrity": "sha512-rAljUlake3MSXs9xAm87mu34GfBLN0h/1uPPV6jEwClWjNkAMotzjC0ab9MARy5FFAvYHL3lWb57bhkbt2GtzQ==", + "dependencies": { + "@cosmjs/encoding": "^0.30.1", + "@cosmjs/math": "^0.30.1", + "@cosmjs/utils": "^0.30.1", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers": "^0.7.6" + } + }, + "node_modules/@lit-protocol/core/node_modules/@cosmjs/encoding": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.30.1.tgz", + "integrity": "sha512-rXmrTbgqwihORwJ3xYhIgQFfMSrwLu1s43RIK9I8EBudPx3KmnmyAKzMOVsRDo9edLFNuZ9GIvysUCwQfq3WlQ==", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@lit-protocol/core/node_modules/@cosmjs/math": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.30.1.tgz", + "integrity": "sha512-yaoeI23pin9ZiPHIisa6qqLngfnBR/25tSaWpkTm8Cy10MX70UF5oN4+/t1heLaM6SSmRrhk3psRkV4+7mH51Q==", + "dependencies": { + "bn.js": "^5.2.0" + } + }, + "node_modules/@lit-protocol/core/node_modules/@cosmjs/utils": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.30.1.tgz", + "integrity": "sha512-KvvX58MGMWh7xA+N+deCfunkA/ZNDvFLw4YbOmX3f/XBIkqrVY7qlotfy2aNb1kgp6h4B6Yc8YawJPDTfvWX7g==" + }, + "node_modules/@lit-protocol/core/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@lit-protocol/core/node_modules/cross-fetch": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", + "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "dependencies": { + "node-fetch": "2.6.1" + } + }, + "node_modules/@lit-protocol/core/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/@lit-protocol/core/node_modules/multiformats": { + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", + "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" + }, + "node_modules/@lit-protocol/core/node_modules/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "engines": { + "node": "4.x || >=6.0.0" } }, + "node_modules/@lit-protocol/core/node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "node_modules/@lit-protocol/core/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/@lit-protocol/core/node_modules/uint8arrays": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.10.tgz", @@ -2586,30 +2812,92 @@ "multiformats": "^12.0.1" } }, + "node_modules/@lit-protocol/core/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@lit-protocol/crypto": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/crypto/-/crypto-3.1.1.tgz", - "integrity": "sha512-qSFuiakVfwDffPcU8P6ljYNrjPxE9UWAdxKDicGG12YQbVSNO+TSA5MgAVFV/6uLxKoUJVXoumkXl1wN8Yxznw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/crypto/-/crypto-6.4.1.tgz", + "integrity": "sha512-h4reTKMCpCnd7+rahRpzeetIoWcXAWfWpN2okbWwRyqZ+hgoGIMbe/PjVw//mg6A+JCLM1m+7AMAXfxyipytBA==", "dependencies": { - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/bls-sdk": "3.1.1", - "@lit-protocol/constants": "3.1.1", - "@lit-protocol/ecdsa-sdk": "3.1.1", - "@lit-protocol/logger": "3.1.1", - "@lit-protocol/misc": "3.1.1", - "@lit-protocol/nacl": "3.1.1", - "@lit-protocol/sev-snp-utils-sdk": "3.1.1", - "@lit-protocol/types": "3.1.1", - "@lit-protocol/uint8arrays": "3.1.1", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/bls-sdk": "6.4.1", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/ecdsa-sdk": "6.4.1", + "@lit-protocol/logger": "6.4.1", + "@lit-protocol/misc": "6.4.1", + "@lit-protocol/nacl": "6.4.1", + "@lit-protocol/sev-snp-utils-sdk": "6.4.1", + "@lit-protocol/types": "6.4.1", + "@lit-protocol/uint8arrays": "6.4.1", + "ajv": "^8.12.0", + "cross-fetch": "3.1.4", "ethers": "^5.7.1", "jszip": "^3.10.1", - "node-fetch": "^2.6.1", + "pako": "1.0.11", + "punycode": "2.3.1", "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0", - "uint8arrays": "^4.0.3" + "tslib": "1.14.1", + "uint8arrays": "^4.0.3", + "util": "0.12.5" + } + }, + "node_modules/@lit-protocol/crypto/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@lit-protocol/crypto/node_modules/cross-fetch": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", + "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "dependencies": { + "node-fetch": "2.6.1" + } + }, + "node_modules/@lit-protocol/crypto/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/@lit-protocol/crypto/node_modules/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "engines": { + "node": "4.x || >=6.0.0" } }, + "node_modules/@lit-protocol/crypto/node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "node_modules/@lit-protocol/crypto/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/@lit-protocol/crypto/node_modules/uint8arrays": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.10.tgz", @@ -2619,38 +2907,49 @@ } }, "node_modules/@lit-protocol/ecdsa-sdk": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/ecdsa-sdk/-/ecdsa-sdk-3.1.1.tgz", - "integrity": "sha512-mhv3uiZk9lxpHd3B0GUkImORo64iay0VfI36G4foU9fQx0okG3TWkWeLe5gL0cUJlsFdftIsavXL4JvUqG5mQQ==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/ecdsa-sdk/-/ecdsa-sdk-6.4.1.tgz", + "integrity": "sha512-6wQWjRjF8ESoEPfC2gu7dbqI2gGqBZPBJKvGCnvS6aSfdfe9n/HLKSRmNu0t5awbn9S++LfD1ajmaR7+M922kg==", "dependencies": { - "pako": "^2.1.0", - "tslib": "^2.3.0" + "tslib": "1.14.1", + "util": "0.12.5" } }, + "node_modules/@lit-protocol/ecdsa-sdk/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/@lit-protocol/encryption": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/encryption/-/encryption-3.1.1.tgz", - "integrity": "sha512-HeK3v8gTnOoraq8yEBewYc+h7vA9mk7SIYSrb9VurYFl9uEsgsRMpXKeveiSBhs2mhlMXYA0mBXqXrUrCE0OKg==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/encryption/-/encryption-6.4.1.tgz", + "integrity": "sha512-ey2e4K9R95fORvETFOLx4JpCC9NR/e9J4R7AZZE1hdQkYYYmhL/ReTthekv8fm6i/X2BxMEbb8a6iMibtAeP/Q==", "dependencies": { - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/bls-sdk": "3.1.1", - "@lit-protocol/constants": "3.1.1", - "@lit-protocol/crypto": "3.1.1", - "@lit-protocol/ecdsa-sdk": "3.1.1", - "@lit-protocol/logger": "3.1.1", - "@lit-protocol/misc": "3.1.1", - "@lit-protocol/nacl": "3.1.1", - "@lit-protocol/sev-snp-utils-sdk": "3.1.1", - "@lit-protocol/types": "3.1.1", - "@lit-protocol/uint8arrays": "3.1.1", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/bls-sdk": "6.4.1", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/crypto": "6.4.1", + "@lit-protocol/ecdsa-sdk": "6.4.1", + "@lit-protocol/logger": "6.4.1", + "@lit-protocol/misc": "6.4.1", + "@lit-protocol/nacl": "6.4.1", + "@lit-protocol/sev-snp-utils-sdk": "6.4.1", + "@lit-protocol/types": "6.4.1", + "@lit-protocol/uint8arrays": "6.4.1", + "ajv": "^8.12.0", + "cross-fetch": "3.1.4", "ethers": "^5.7.1", - "ipfs-http-client": "56.0.0", "jszip": "^3.10.1", - "node-fetch": "^2.6.1", + "pako": "1.0.11", + "punycode": "2.3.1", "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0", - "uint8arrays": "^4.0.3" + "tslib": "1.14.1", + "uint8arrays": "^4.0.3", + "util": "0.12.5" } }, "node_modules/@lit-protocol/encryption-v2": { @@ -2777,6 +3076,52 @@ "tslib": "^2.3.0" } }, + "node_modules/@lit-protocol/encryption/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@lit-protocol/encryption/node_modules/cross-fetch": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", + "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "dependencies": { + "node-fetch": "2.6.1" + } + }, + "node_modules/@lit-protocol/encryption/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/@lit-protocol/encryption/node_modules/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "engines": { + "node": "4.x || >=6.0.0" + } + }, + "node_modules/@lit-protocol/encryption/node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "node_modules/@lit-protocol/encryption/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/@lit-protocol/encryption/node_modules/uint8arrays": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.10.tgz", @@ -2786,93 +3131,111 @@ } }, "node_modules/@lit-protocol/lit-node-client": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client/-/lit-node-client-3.1.1.tgz", - "integrity": "sha512-vvt/UeNRipSbK7bh3wGiP3X5XaXUsaGlH60M6hkmVyBAD7n79+HbmyC4muk4t01ziNOv7H4TC2wDlHtBTCau0w==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client/-/lit-node-client-6.4.1.tgz", + "integrity": "sha512-XgRsNZx9cbZlu8MuuqDdxOxzGNpCQMfYPZ2V4JwI0w3wGdrvby9pz8VMN+0ZdDirySol7ecmp0sGTZSJ+Hgz2w==", "dependencies": { - "@cosmjs/proto-signing": "^0.30.1", - "@cosmjs/stargate": "^0.30.1", - "@lit-protocol/access-control-conditions": "3.1.1", - "@lit-protocol/auth-browser": "3.1.1", - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/bls-sdk": "3.1.1", - "@lit-protocol/constants": "3.1.1", - "@lit-protocol/contracts-sdk": "3.1.1", - "@lit-protocol/core": "3.1.1", - "@lit-protocol/crypto": "3.1.1", - "@lit-protocol/ecdsa-sdk": "3.1.1", - "@lit-protocol/encryption": "3.1.1", - "@lit-protocol/lit-node-client-nodejs": "3.1.1", - "@lit-protocol/lit-third-party-libs": "3.1.1", - "@lit-protocol/logger": "3.1.1", - "@lit-protocol/misc": "3.1.1", - "@lit-protocol/misc-browser": "3.1.1", - "@lit-protocol/nacl": "3.1.1", - "@lit-protocol/sev-snp-utils-sdk": "3.1.1", - "@lit-protocol/types": "3.1.1", - "@lit-protocol/uint8arrays": "3.1.1", + "@cosmjs/amino": "0.30.1", + "@cosmjs/crypto": "0.30.1", + "@cosmjs/encoding": "0.30.1", + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@lit-protocol/access-control-conditions": "6.4.1", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/auth-browser": "6.4.1", + "@lit-protocol/auth-helpers": "6.4.1", + "@lit-protocol/bls-sdk": "6.4.1", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/contracts-sdk": "6.4.1", + "@lit-protocol/core": "6.4.1", + "@lit-protocol/crypto": "6.4.1", + "@lit-protocol/ecdsa-sdk": "6.4.1", + "@lit-protocol/encryption": "6.4.1", + "@lit-protocol/lit-node-client-nodejs": "6.4.1", + "@lit-protocol/logger": "6.4.1", + "@lit-protocol/misc": "6.4.1", + "@lit-protocol/misc-browser": "6.4.1", + "@lit-protocol/nacl": "6.4.1", + "@lit-protocol/sev-snp-utils-sdk": "6.4.1", + "@lit-protocol/types": "6.4.1", + "@lit-protocol/uint8arrays": "6.4.1", "@walletconnect/ethereum-provider": "2.9.2", "@walletconnect/modal": "2.6.1", + "ajv": "^8.12.0", "bitcoinjs-lib": "^6.1.0", - "blockstore-core": "^3.0.0", "bs58": "^5.0.0", + "cross-fetch": "3.1.4", "date-and-time": "^2.4.1", "ethers": "^5.7.1", - "ipfs-http-client": "56.0.0", - "ipfs-unixfs-importer": "^12.0.0", "jose": "^4.14.4", "jszip": "^3.10.1", - "lit-siwe": "^1.1.8", - "multiformats": "^12.1.3", - "node-fetch": "^2.6.1", + "multiformats": "^9.7.1", + "pako": "1.0.11", + "process": "0.11.10", + "punycode": "2.3.1", "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0", "tweetnacl": "^1.0.3", "tweetnacl-util": "^0.15.1", - "uint8arrays": "^4.0.3" + "uint8arrays": "^4.0.3", + "util": "0.12.5" } }, "node_modules/@lit-protocol/lit-node-client-nodejs": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client-nodejs/-/lit-node-client-nodejs-3.1.1.tgz", - "integrity": "sha512-ecTDAe/rVC6t1XZh3lfDWdHQJ0yqS2H6mA+gu+eMA6dYq7RVQ/VBsJwwIv9ZNq0EFJfvVYH5kvdY5xmjHfNb6w==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client-nodejs/-/lit-node-client-nodejs-6.4.1.tgz", + "integrity": "sha512-eMJiJwA2Tb7tR2WvTBGU33HWWVsPV/vwErfmEY20ukK7XPOHFMXWfn5uVOBG3qob5q940za7io8AzgMkAWy2VA==", "dependencies": { - "@cosmjs/proto-signing": "^0.30.1", - "@cosmjs/stargate": "^0.30.1", - "@lit-protocol/access-control-conditions": "3.1.1", - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/bls-sdk": "3.1.1", - "@lit-protocol/constants": "3.1.1", - "@lit-protocol/contracts-sdk": "3.1.1", - "@lit-protocol/core": "3.1.1", - "@lit-protocol/crypto": "3.1.1", - "@lit-protocol/ecdsa-sdk": "3.1.1", - "@lit-protocol/encryption": "3.1.1", - "@lit-protocol/lit-third-party-libs": "3.1.1", - "@lit-protocol/logger": "3.1.1", - "@lit-protocol/misc": "3.1.1", - "@lit-protocol/misc-browser": "3.1.1", - "@lit-protocol/nacl": "3.1.1", - "@lit-protocol/sev-snp-utils-sdk": "3.1.1", - "@lit-protocol/types": "3.1.1", - "@lit-protocol/uint8arrays": "3.1.1", + "@cosmjs/amino": "0.30.1", + "@cosmjs/crypto": "0.30.1", + "@cosmjs/encoding": "0.30.1", + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/transactions": "5.7.0", + "@lit-protocol/access-control-conditions": "6.4.1", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/auth-helpers": "6.4.1", + "@lit-protocol/bls-sdk": "6.4.1", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/contracts-sdk": "6.4.1", + "@lit-protocol/core": "6.4.1", + "@lit-protocol/crypto": "6.4.1", + "@lit-protocol/ecdsa-sdk": "6.4.1", + "@lit-protocol/encryption": "6.4.1", + "@lit-protocol/logger": "6.4.1", + "@lit-protocol/misc": "6.4.1", + "@lit-protocol/misc-browser": "6.4.1", + "@lit-protocol/nacl": "6.4.1", + "@lit-protocol/sev-snp-utils-sdk": "6.4.1", + "@lit-protocol/types": "6.4.1", + "@lit-protocol/uint8arrays": "6.4.1", + "ajv": "^8.12.0", "bitcoinjs-lib": "^6.1.0", - "blockstore-core": "^3.0.0", "bs58": "^5.0.0", + "cross-fetch": "3.1.4", "date-and-time": "^2.4.1", "ethers": "^5.7.1", - "ipfs-http-client": "56.0.0", - "ipfs-unixfs-importer": "^12.0.0", "jose": "^4.14.4", "jszip": "^3.10.1", - "lit-siwe": "^1.1.8", - "multiformats": "^12.1.3", - "node-fetch": "^2.6.1", + "multiformats": "^9.7.1", + "pako": "1.0.11", + "process": "0.11.10", + "punycode": "2.3.1", "siwe": "^2.0.5", "siwe-recap": "0.0.2-alpha.0", "tslib": "^2.3.0", - "uint8arrays": "^4.0.3" + "uint8arrays": "^4.0.3", + "util": "0.12.5" } }, "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@cosmjs/amino": { @@ -2910,15 +3273,6 @@ "readonly-date": "^1.0.0" } }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@cosmjs/json-rpc": { - "version": "0.30.1", - "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.30.1.tgz", - "integrity": "sha512-pitfC/2YN9t+kXZCbNuyrZ6M8abnCC2n62m+JtU9vQUfaEtVsgy+1Fk4TRQ175+pIWSdBMFi2wT8FWVEE4RhxQ==", - "dependencies": { - "@cosmjs/stream": "^0.30.1", - "xstream": "^11.14.0" - } - }, "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@cosmjs/math": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.30.1.tgz", @@ -2927,121 +3281,88 @@ "bn.js": "^5.2.0" } }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@cosmjs/proto-signing": { + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@cosmjs/utils": { "version": "0.30.1", - "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.30.1.tgz", - "integrity": "sha512-tXh8pPYXV4aiJVhTKHGyeZekjj+K9s2KKojMB93Gcob2DxUjfKapFYBMJSgfKPuWUPEmyr8Q9km2hplI38ILgQ==", - "dependencies": { - "@cosmjs/amino": "^0.30.1", - "@cosmjs/crypto": "^0.30.1", - "@cosmjs/encoding": "^0.30.1", - "@cosmjs/math": "^0.30.1", - "@cosmjs/utils": "^0.30.1", - "cosmjs-types": "^0.7.1", - "long": "^4.0.0" - } + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.30.1.tgz", + "integrity": "sha512-KvvX58MGMWh7xA+N+deCfunkA/ZNDvFLw4YbOmX3f/XBIkqrVY7qlotfy2aNb1kgp6h4B6Yc8YawJPDTfvWX7g==" }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@cosmjs/socket": { - "version": "0.30.1", - "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.30.1.tgz", - "integrity": "sha512-r6MpDL+9N+qOS/D5VaxnPaMJ3flwQ36G+vPvYJsXArj93BjgyFB7BwWwXCQDzZ+23cfChPUfhbINOenr8N2Kow==", + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@lit-protocol/auth-helpers": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-6.4.1.tgz", + "integrity": "sha512-qFAtV3BmDlB8B7TgZ6UYvZlP5JCACOzWfQTkX0RbvulkkA6kmAx56srEtq34UyygLsxB9S3IhzpxjTYfT4vHaQ==", "dependencies": { - "@cosmjs/stream": "^0.30.1", - "isomorphic-ws": "^4.0.1", - "ws": "^7", - "xstream": "^11.14.0" + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@lit-protocol/access-control-conditions": "6.4.1", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/logger": "6.4.1", + "@lit-protocol/misc": "6.4.1", + "@lit-protocol/types": "6.4.1", + "@lit-protocol/uint8arrays": "6.4.1", + "ajv": "^8.12.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "punycode": "2.3.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "2.6.0", + "uint8arrays": "^4.0.3", + "util": "0.12.5" } }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@cosmjs/stargate": { - "version": "0.30.1", - "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.30.1.tgz", - "integrity": "sha512-RdbYKZCGOH8gWebO7r6WvNnQMxHrNXInY/gPHPzMjbQF6UatA6fNM2G2tdgS5j5u7FTqlCI10stNXrknaNdzog==", + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dependencies": { - "@confio/ics23": "^0.6.8", - "@cosmjs/amino": "^0.30.1", - "@cosmjs/encoding": "^0.30.1", - "@cosmjs/math": "^0.30.1", - "@cosmjs/proto-signing": "^0.30.1", - "@cosmjs/stream": "^0.30.1", - "@cosmjs/tendermint-rpc": "^0.30.1", - "@cosmjs/utils": "^0.30.1", - "cosmjs-types": "^0.7.1", - "long": "^4.0.0", - "protobufjs": "~6.11.3", - "xstream": "^11.14.0" + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@cosmjs/stream": { - "version": "0.30.1", - "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.30.1.tgz", - "integrity": "sha512-Fg0pWz1zXQdoxQZpdHRMGvUH5RqS6tPv+j9Eh7Q953UjMlrwZVo0YFLC8OTf/HKVf10E4i0u6aM8D69Q6cNkgQ==", + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/cross-fetch": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", + "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", "dependencies": { - "xstream": "^11.14.0" + "node-fetch": "2.6.1" } }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@cosmjs/tendermint-rpc": { - "version": "0.30.1", - "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.30.1.tgz", - "integrity": "sha512-Z3nCwhXSbPZJ++v85zHObeUggrEHVfm1u18ZRwXxFE9ZMl5mXTybnwYhczuYOl7KRskgwlB+rID0WYACxj4wdQ==", - "dependencies": { - "@cosmjs/crypto": "^0.30.1", - "@cosmjs/encoding": "^0.30.1", - "@cosmjs/json-rpc": "^0.30.1", - "@cosmjs/math": "^0.30.1", - "@cosmjs/socket": "^0.30.1", - "@cosmjs/stream": "^0.30.1", - "@cosmjs/utils": "^0.30.1", - "axios": "^0.21.2", - "readonly-date": "^1.0.0", - "xstream": "^11.14.0" - } + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/@cosmjs/utils": { - "version": "0.30.1", - "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.30.1.tgz", - "integrity": "sha512-KvvX58MGMWh7xA+N+deCfunkA/ZNDvFLw4YbOmX3f/XBIkqrVY7qlotfy2aNb1kgp6h4B6Yc8YawJPDTfvWX7g==" + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/multiformats": { + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", + "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", - "dependencies": { - "follow-redirects": "^1.14.0" + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "engines": { + "node": "4.x || >=6.0.0" } }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/cosmjs-types": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.7.2.tgz", - "integrity": "sha512-vf2uLyktjr/XVAgEq0DjMxeAWh1yYREe7AMHDKd7EiHVqxBPCaBS+qEEQUkXbR9ndnckqr1sUG8BQhazh4X5lA==", - "dependencies": { - "long": "^4.0.0", - "protobufjs": "~6.11.2" - } + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" }, - "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/protobufjs": { - "version": "6.11.4", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.4.tgz", - "integrity": "sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": ">=13.7.0", - "long": "^4.0.0" - }, - "bin": { - "pbjs": "bin/pbjs", - "pbts": "bin/pbts" - } + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/tslib": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", + "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==" }, "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/uint8arrays": { "version": "4.0.10", @@ -3051,6 +3372,15 @@ "multiformats": "^12.0.1" } }, + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@lit-protocol/lit-node-client-v2": { "name": "@lit-protocol/lit-node-client", "version": "2.2.63", @@ -3508,7 +3838,56 @@ "pbts": "bin/pbts" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/amino": { + "node_modules/@lit-protocol/lit-node-client-v3": { + "name": "@lit-protocol/lit-node-client", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client/-/lit-node-client-3.1.1.tgz", + "integrity": "sha512-vvt/UeNRipSbK7bh3wGiP3X5XaXUsaGlH60M6hkmVyBAD7n79+HbmyC4muk4t01ziNOv7H4TC2wDlHtBTCau0w==", + "dependencies": { + "@cosmjs/proto-signing": "^0.30.1", + "@cosmjs/stargate": "^0.30.1", + "@lit-protocol/access-control-conditions": "3.1.1", + "@lit-protocol/auth-browser": "3.1.1", + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/bls-sdk": "3.1.1", + "@lit-protocol/constants": "3.1.1", + "@lit-protocol/contracts-sdk": "3.1.1", + "@lit-protocol/core": "3.1.1", + "@lit-protocol/crypto": "3.1.1", + "@lit-protocol/ecdsa-sdk": "3.1.1", + "@lit-protocol/encryption": "3.1.1", + "@lit-protocol/lit-node-client-nodejs": "3.1.1", + "@lit-protocol/lit-third-party-libs": "3.1.1", + "@lit-protocol/logger": "3.1.1", + "@lit-protocol/misc": "3.1.1", + "@lit-protocol/misc-browser": "3.1.1", + "@lit-protocol/nacl": "3.1.1", + "@lit-protocol/sev-snp-utils-sdk": "3.1.1", + "@lit-protocol/types": "3.1.1", + "@lit-protocol/uint8arrays": "3.1.1", + "@walletconnect/ethereum-provider": "2.9.2", + "@walletconnect/modal": "2.6.1", + "bitcoinjs-lib": "^6.1.0", + "blockstore-core": "^3.0.0", + "bs58": "^5.0.0", + "date-and-time": "^2.4.1", + "ethers": "^5.7.1", + "ipfs-http-client": "56.0.0", + "ipfs-unixfs-importer": "^12.0.0", + "jose": "^4.14.4", + "jszip": "^3.10.1", + "lit-siwe": "^1.1.8", + "multiformats": "^12.1.3", + "node-fetch": "^2.6.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", + "tweetnacl": "^1.0.3", + "tweetnacl-util": "^0.15.1", + "uint8arrays": "^4.0.3" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@cosmjs/amino": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.30.1.tgz", "integrity": "sha512-yNHnzmvAlkETDYIpeCTdVqgvrdt1qgkOXwuRVi8s27UKI5hfqyE9fJ/fuunXE6ZZPnKkjIecDznmuUOMrMvw4w==", @@ -3519,7 +3898,7 @@ "@cosmjs/utils": "^0.30.1" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/crypto": { + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@cosmjs/crypto": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.30.1.tgz", "integrity": "sha512-rAljUlake3MSXs9xAm87mu34GfBLN0h/1uPPV6jEwClWjNkAMotzjC0ab9MARy5FFAvYHL3lWb57bhkbt2GtzQ==", @@ -3533,7 +3912,7 @@ "libsodium-wrappers": "^0.7.6" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/encoding": { + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@cosmjs/encoding": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.30.1.tgz", "integrity": "sha512-rXmrTbgqwihORwJ3xYhIgQFfMSrwLu1s43RIK9I8EBudPx3KmnmyAKzMOVsRDo9edLFNuZ9GIvysUCwQfq3WlQ==", @@ -3543,7 +3922,7 @@ "readonly-date": "^1.0.0" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/json-rpc": { + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@cosmjs/json-rpc": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.30.1.tgz", "integrity": "sha512-pitfC/2YN9t+kXZCbNuyrZ6M8abnCC2n62m+JtU9vQUfaEtVsgy+1Fk4TRQ175+pIWSdBMFi2wT8FWVEE4RhxQ==", @@ -3552,7 +3931,7 @@ "xstream": "^11.14.0" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/math": { + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@cosmjs/math": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.30.1.tgz", "integrity": "sha512-yaoeI23pin9ZiPHIisa6qqLngfnBR/25tSaWpkTm8Cy10MX70UF5oN4+/t1heLaM6SSmRrhk3psRkV4+7mH51Q==", @@ -3560,7 +3939,7 @@ "bn.js": "^5.2.0" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/proto-signing": { + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@cosmjs/proto-signing": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.30.1.tgz", "integrity": "sha512-tXh8pPYXV4aiJVhTKHGyeZekjj+K9s2KKojMB93Gcob2DxUjfKapFYBMJSgfKPuWUPEmyr8Q9km2hplI38ILgQ==", @@ -3574,7 +3953,7 @@ "long": "^4.0.0" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/socket": { + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@cosmjs/socket": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.30.1.tgz", "integrity": "sha512-r6MpDL+9N+qOS/D5VaxnPaMJ3flwQ36G+vPvYJsXArj93BjgyFB7BwWwXCQDzZ+23cfChPUfhbINOenr8N2Kow==", @@ -3585,7 +3964,7 @@ "xstream": "^11.14.0" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/stargate": { + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@cosmjs/stargate": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.30.1.tgz", "integrity": "sha512-RdbYKZCGOH8gWebO7r6WvNnQMxHrNXInY/gPHPzMjbQF6UatA6fNM2G2tdgS5j5u7FTqlCI10stNXrknaNdzog==", @@ -3604,7 +3983,7 @@ "xstream": "^11.14.0" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/stream": { + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@cosmjs/stream": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.30.1.tgz", "integrity": "sha512-Fg0pWz1zXQdoxQZpdHRMGvUH5RqS6tPv+j9Eh7Q953UjMlrwZVo0YFLC8OTf/HKVf10E4i0u6aM8D69Q6cNkgQ==", @@ -3612,7 +3991,7 @@ "xstream": "^11.14.0" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/tendermint-rpc": { + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@cosmjs/tendermint-rpc": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.30.1.tgz", "integrity": "sha512-Z3nCwhXSbPZJ++v85zHObeUggrEHVfm1u18ZRwXxFE9ZMl5mXTybnwYhczuYOl7KRskgwlB+rID0WYACxj4wdQ==", @@ -3629,35 +4008,359 @@ "xstream": "^11.14.0" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/utils": { + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@cosmjs/utils": { "version": "0.30.1", "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.30.1.tgz", "integrity": "sha512-KvvX58MGMWh7xA+N+deCfunkA/ZNDvFLw4YbOmX3f/XBIkqrVY7qlotfy2aNb1kgp6h4B6Yc8YawJPDTfvWX7g==" }, - "node_modules/@lit-protocol/lit-node-client/node_modules/axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/access-control-conditions": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/access-control-conditions/-/access-control-conditions-3.1.1.tgz", + "integrity": "sha512-+I2+FO1ZmCVRXmlliE/gYEhDqDZp/37x2hgqb4jRYtRdclLgMke5RuEJYE+dLX07VgsoK1DmPlG385T2AGIPbA==", "dependencies": { - "follow-redirects": "^1.14.0" + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/constants": "3.1.1", + "@lit-protocol/logger": "3.1.1", + "@lit-protocol/misc": "3.1.1", + "@lit-protocol/types": "3.1.1", + "@lit-protocol/uint8arrays": "3.1.1", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", + "uint8arrays": "^4.0.3" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/cosmjs-types": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.7.2.tgz", - "integrity": "sha512-vf2uLyktjr/XVAgEq0DjMxeAWh1yYREe7AMHDKd7EiHVqxBPCaBS+qEEQUkXbR9ndnckqr1sUG8BQhazh4X5lA==", + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/auth-browser": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-browser/-/auth-browser-3.1.1.tgz", + "integrity": "sha512-1zfZO6BRuoXFE0ZmZYH7vGWhJpOzfTly7FypoZfNWbm0UWXKQZYh05w73mKg3YWVPtLlJsS8eleVq9txV6KL0w==", "dependencies": { - "long": "^4.0.0", - "protobufjs": "~6.11.2" + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/constants": "3.1.1", + "@lit-protocol/logger": "3.1.1", + "@lit-protocol/misc": "3.1.1", + "@lit-protocol/misc-browser": "3.1.1", + "@lit-protocol/types": "3.1.1", + "@lit-protocol/uint8arrays": "3.1.1", + "@walletconnect/ethereum-provider": "2.9.2", + "@walletconnect/modal": "2.6.1", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "lit-siwe": "^1.1.8", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", + "tweetnacl": "^1.0.3", + "tweetnacl-util": "^0.13.3", + "uint8arrays": "^4.0.3", + "util": "^0.12.4", + "web-vitals": "^3.0.4" } }, - "node_modules/@lit-protocol/lit-node-client/node_modules/protobufjs": { - "version": "6.11.4", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.4.tgz", - "integrity": "sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/auth-browser/node_modules/tweetnacl-util": { + "version": "0.13.5", + "resolved": "https://registry.npmjs.org/tweetnacl-util/-/tweetnacl-util-0.13.5.tgz", + "integrity": "sha512-/4Q3hpPFAnbBjNLLOmdTdyvInBfZcQBTWy+LWbypmWxAKwOpSQOyyv4ZZts4CoiYtS8Skyix5CkOWytf7XNK9A==" + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/bls-sdk": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/bls-sdk/-/bls-sdk-3.1.1.tgz", + "integrity": "sha512-oss7LGd0Oq9VOCcN3ZLFoKHKx0CGAbXkCW98DFRtamoubSgVGPF2q+F5jp/HMMmstr5rirrHSwwVTnf/ZIdxRQ==", + "dependencies": { + "pako": "^2.1.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/constants": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-3.1.1.tgz", + "integrity": "sha512-eIelpP4gJx4GlEDKTcABQvwJtV7SNIUeMmP4wYY451cXQssaxcBh2vqFzf1S7jyxylIy/gPXsFtyVF0hbUMQ0A==", + "dependencies": { + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/types": "3.1.1", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/contracts-sdk": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/contracts-sdk/-/contracts-sdk-3.1.1.tgz", + "integrity": "sha512-rsYfQF0zDfQduahGgb80s4vsaDG1jrVMciEd4SYO5WU1L+kCGQMVRsPc6bVzi9w+0LBDFFmP6R/m4+sXB10s0g==", + "dependencies": { + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/constants": "3.1.1", + "@lit-protocol/logger": "3.1.1", + "@lit-protocol/misc": "3.1.1", + "@lit-protocol/types": "3.1.1", + "bitcoinjs-lib": "^6.1.0", + "bs58": "^5.0.0", + "date-and-time": "^2.4.1", + "ethers": "^5.7.1", + "jose": "^4.14.4", + "jszip": "^3.10.1", + "multiformats": "^9.7.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", + "uint8arrays": "^4.0.3" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/contracts-sdk/node_modules/multiformats": { + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", + "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/core": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/core/-/core-3.1.1.tgz", + "integrity": "sha512-hk/900EwmN5HVi5EgmnRqR9C4SNg4wO6WoXFgnW47Y/YxlQDCUiVlEAIepJQs0ihQwrtKbfJN8o6ER8n0o2HDw==", + "dependencies": { + "@lit-protocol/access-control-conditions": "3.1.1", + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/bls-sdk": "3.1.1", + "@lit-protocol/constants": "3.1.1", + "@lit-protocol/contracts-sdk": "3.1.1", + "@lit-protocol/crypto": "3.1.1", + "@lit-protocol/ecdsa-sdk": "3.1.1", + "@lit-protocol/logger": "3.1.1", + "@lit-protocol/misc": "3.1.1", + "@lit-protocol/nacl": "3.1.1", + "@lit-protocol/sev-snp-utils-sdk": "3.1.1", + "@lit-protocol/types": "3.1.1", + "@lit-protocol/uint8arrays": "3.1.1", + "bitcoinjs-lib": "^6.1.0", + "bs58": "^5.0.0", + "date-and-time": "^2.4.1", + "ethers": "^5.7.1", + "jose": "^4.14.4", + "jszip": "^3.10.1", + "multiformats": "^12.1.3", + "node-fetch": "^2.6.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", + "uint8arrays": "^4.0.3" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/crypto": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/crypto/-/crypto-3.1.1.tgz", + "integrity": "sha512-qSFuiakVfwDffPcU8P6ljYNrjPxE9UWAdxKDicGG12YQbVSNO+TSA5MgAVFV/6uLxKoUJVXoumkXl1wN8Yxznw==", + "dependencies": { + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/bls-sdk": "3.1.1", + "@lit-protocol/constants": "3.1.1", + "@lit-protocol/ecdsa-sdk": "3.1.1", + "@lit-protocol/logger": "3.1.1", + "@lit-protocol/misc": "3.1.1", + "@lit-protocol/nacl": "3.1.1", + "@lit-protocol/sev-snp-utils-sdk": "3.1.1", + "@lit-protocol/types": "3.1.1", + "@lit-protocol/uint8arrays": "3.1.1", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "node-fetch": "^2.6.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", + "uint8arrays": "^4.0.3" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/ecdsa-sdk": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/ecdsa-sdk/-/ecdsa-sdk-3.1.1.tgz", + "integrity": "sha512-mhv3uiZk9lxpHd3B0GUkImORo64iay0VfI36G4foU9fQx0okG3TWkWeLe5gL0cUJlsFdftIsavXL4JvUqG5mQQ==", + "dependencies": { + "pako": "^2.1.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/encryption": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/encryption/-/encryption-3.1.1.tgz", + "integrity": "sha512-HeK3v8gTnOoraq8yEBewYc+h7vA9mk7SIYSrb9VurYFl9uEsgsRMpXKeveiSBhs2mhlMXYA0mBXqXrUrCE0OKg==", + "dependencies": { + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/bls-sdk": "3.1.1", + "@lit-protocol/constants": "3.1.1", + "@lit-protocol/crypto": "3.1.1", + "@lit-protocol/ecdsa-sdk": "3.1.1", + "@lit-protocol/logger": "3.1.1", + "@lit-protocol/misc": "3.1.1", + "@lit-protocol/nacl": "3.1.1", + "@lit-protocol/sev-snp-utils-sdk": "3.1.1", + "@lit-protocol/types": "3.1.1", + "@lit-protocol/uint8arrays": "3.1.1", + "ethers": "^5.7.1", + "ipfs-http-client": "56.0.0", + "jszip": "^3.10.1", + "node-fetch": "^2.6.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", + "uint8arrays": "^4.0.3" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/lit-node-client-nodejs": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/lit-node-client-nodejs/-/lit-node-client-nodejs-3.1.1.tgz", + "integrity": "sha512-ecTDAe/rVC6t1XZh3lfDWdHQJ0yqS2H6mA+gu+eMA6dYq7RVQ/VBsJwwIv9ZNq0EFJfvVYH5kvdY5xmjHfNb6w==", + "dependencies": { + "@cosmjs/proto-signing": "^0.30.1", + "@cosmjs/stargate": "^0.30.1", + "@lit-protocol/access-control-conditions": "3.1.1", + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/bls-sdk": "3.1.1", + "@lit-protocol/constants": "3.1.1", + "@lit-protocol/contracts-sdk": "3.1.1", + "@lit-protocol/core": "3.1.1", + "@lit-protocol/crypto": "3.1.1", + "@lit-protocol/ecdsa-sdk": "3.1.1", + "@lit-protocol/encryption": "3.1.1", + "@lit-protocol/lit-third-party-libs": "3.1.1", + "@lit-protocol/logger": "3.1.1", + "@lit-protocol/misc": "3.1.1", + "@lit-protocol/misc-browser": "3.1.1", + "@lit-protocol/nacl": "3.1.1", + "@lit-protocol/sev-snp-utils-sdk": "3.1.1", + "@lit-protocol/types": "3.1.1", + "@lit-protocol/uint8arrays": "3.1.1", + "bitcoinjs-lib": "^6.1.0", + "blockstore-core": "^3.0.0", + "bs58": "^5.0.0", + "date-and-time": "^2.4.1", + "ethers": "^5.7.1", + "ipfs-http-client": "56.0.0", + "ipfs-unixfs-importer": "^12.0.0", + "jose": "^4.14.4", + "jszip": "^3.10.1", + "lit-siwe": "^1.1.8", + "multiformats": "^12.1.3", + "node-fetch": "^2.6.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", + "uint8arrays": "^4.0.3" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/logger": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/logger/-/logger-3.1.1.tgz", + "integrity": "sha512-NkcJD0ofzIe1OmfvR4BP0eGgINcRx3Rca586avGX8qL5yDEl+U/g6PUg4Z+8QrALQMhgg3Gbb1i8tpD5+NtGTA==", + "dependencies": { + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/constants": "3.1.1", + "@lit-protocol/types": "3.1.1", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", + "uint8arrays": "^4.0.3" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/misc": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/misc/-/misc-3.1.1.tgz", + "integrity": "sha512-au2r9NbLaYzwFB+n3XkxLx8BpwG28N7goqLKuQCabTRnIDqaoZRs0IAlSC/gvB194yk0Z3TiHY9Q9KamFsh1ng==", + "dependencies": { + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/constants": "3.1.1", + "@lit-protocol/logger": "3.1.1", + "@lit-protocol/types": "3.1.1", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0", + "uint8arrays": "^4.0.3" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/misc-browser": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/misc-browser/-/misc-browser-3.1.1.tgz", + "integrity": "sha512-7BzDKtR4WpFFdhK8mjkwBlOyZi4+l+n9yS2IZ5Yr+2iLQXSibxXgEWxMv4jqCRD6sANmb+DyS5r6G1FyFk6P/Q==", + "dependencies": { + "@lit-protocol/auth-helpers": "3.1.1", + "@lit-protocol/constants": "3.1.1", + "@lit-protocol/types": "3.1.1", + "@lit-protocol/uint8arrays": "3.1.1", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/nacl": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/nacl/-/nacl-3.1.1.tgz", + "integrity": "sha512-/tb+oemgiaRyCv4OBFBl7nDMFDZNJf2VPsWjVdYoUbcvnF32/DUQ9GlmRfY0M4mkZlSPaZhwE+JxJ725bbstrw==", + "dependencies": { + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/sev-snp-utils-sdk": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/sev-snp-utils-sdk/-/sev-snp-utils-sdk-3.1.1.tgz", + "integrity": "sha512-2LOrGhzlvPYBaNr2REDHo0OHHhkCo84WAMOxJIIRlM0TRUUyTT/5/B+L2sZH6QxfRQdwNi1ei64TuKGbdHV5dw==", + "dependencies": { + "@lit-protocol/uint8arrays": "3.1.1", + "node-fetch": "^2.6.1", + "pako": "^2.1.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/types": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-3.1.1.tgz", + "integrity": "sha512-hWNN/6BfclplGNipsKAO2RVgvKv5lVqLUCtC+q4YhEWo43WitcFWq4dWPK3eYNJLE6eALSeDF7MJwIj7/5yg/Q==", + "dependencies": { + "@lit-protocol/auth-helpers": "3.1.1", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/@lit-protocol/uint8arrays": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/uint8arrays/-/uint8arrays-3.1.1.tgz", + "integrity": "sha512-8p7QxHA8y1eqasuL4iqBIq0fFj4A0t7vdMZZkPUO16NqtC+QUp407mHRXaeC2nNASYiHqqVf1dlhy7GsKXB+vw==", + "dependencies": { + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "dependencies": { + "follow-redirects": "^1.14.0" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/cosmjs-types": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.7.2.tgz", + "integrity": "sha512-vf2uLyktjr/XVAgEq0DjMxeAWh1yYREe7AMHDKd7EiHVqxBPCaBS+qEEQUkXbR9ndnckqr1sUG8BQhazh4X5lA==", + "dependencies": { + "long": "^4.0.0", + "protobufjs": "~6.11.2" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/protobufjs": { + "version": "6.11.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.4.tgz", + "integrity": "sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw==", + "hasInstallScript": true, + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", "@protobufjs/codegen": "^2.0.4", "@protobufjs/eventemitter": "^1.1.0", @@ -3676,6 +4379,140 @@ "pbts": "bin/pbts" } }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/uint8arrays": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.10.tgz", + "integrity": "sha512-AnJNUGGDJAgFw/eWu/Xb9zrVKEGlwJJCaeInlf3BkecE/zcTobk5YXYIPNQJO1q5Hh1QZrQQHf0JvcHqz2hqoA==", + "dependencies": { + "multiformats": "^12.0.1" + } + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/amino": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.30.1.tgz", + "integrity": "sha512-yNHnzmvAlkETDYIpeCTdVqgvrdt1qgkOXwuRVi8s27UKI5hfqyE9fJ/fuunXE6ZZPnKkjIecDznmuUOMrMvw4w==", + "dependencies": { + "@cosmjs/crypto": "^0.30.1", + "@cosmjs/encoding": "^0.30.1", + "@cosmjs/math": "^0.30.1", + "@cosmjs/utils": "^0.30.1" + } + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/crypto": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.30.1.tgz", + "integrity": "sha512-rAljUlake3MSXs9xAm87mu34GfBLN0h/1uPPV6jEwClWjNkAMotzjC0ab9MARy5FFAvYHL3lWb57bhkbt2GtzQ==", + "dependencies": { + "@cosmjs/encoding": "^0.30.1", + "@cosmjs/math": "^0.30.1", + "@cosmjs/utils": "^0.30.1", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers": "^0.7.6" + } + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/encoding": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.30.1.tgz", + "integrity": "sha512-rXmrTbgqwihORwJ3xYhIgQFfMSrwLu1s43RIK9I8EBudPx3KmnmyAKzMOVsRDo9edLFNuZ9GIvysUCwQfq3WlQ==", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/math": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.30.1.tgz", + "integrity": "sha512-yaoeI23pin9ZiPHIisa6qqLngfnBR/25tSaWpkTm8Cy10MX70UF5oN4+/t1heLaM6SSmRrhk3psRkV4+7mH51Q==", + "dependencies": { + "bn.js": "^5.2.0" + } + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/@cosmjs/utils": { + "version": "0.30.1", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.30.1.tgz", + "integrity": "sha512-KvvX58MGMWh7xA+N+deCfunkA/ZNDvFLw4YbOmX3f/XBIkqrVY7qlotfy2aNb1kgp6h4B6Yc8YawJPDTfvWX7g==" + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/@lit-protocol/auth-helpers": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-6.4.1.tgz", + "integrity": "sha512-qFAtV3BmDlB8B7TgZ6UYvZlP5JCACOzWfQTkX0RbvulkkA6kmAx56srEtq34UyygLsxB9S3IhzpxjTYfT4vHaQ==", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@lit-protocol/access-control-conditions": "6.4.1", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/logger": "6.4.1", + "@lit-protocol/misc": "6.4.1", + "@lit-protocol/types": "6.4.1", + "@lit-protocol/uint8arrays": "6.4.1", + "ajv": "^8.12.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "punycode": "2.3.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "2.6.0", + "uint8arrays": "^4.0.3", + "util": "0.12.5" + } + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/cross-fetch": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", + "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "dependencies": { + "node-fetch": "2.6.1" + } + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/multiformats": { + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", + "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "engines": { + "node": "4.x || >=6.0.0" + } + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/tslib": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", + "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==" + }, "node_modules/@lit-protocol/lit-node-client/node_modules/uint8arrays": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.10.tgz", @@ -3684,6 +4521,15 @@ "multiformats": "^12.0.1" } }, + "node_modules/@lit-protocol/lit-node-client/node_modules/uint8arrays/node_modules/multiformats": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@lit-protocol/lit-third-party-libs": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/@lit-protocol/lit-third-party-libs/-/lit-third-party-libs-3.1.1.tgz", @@ -3865,21 +4711,28 @@ } }, "node_modules/@lit-protocol/logger": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/logger/-/logger-3.1.1.tgz", - "integrity": "sha512-NkcJD0ofzIe1OmfvR4BP0eGgINcRx3Rca586avGX8qL5yDEl+U/g6PUg4Z+8QrALQMhgg3Gbb1i8tpD5+NtGTA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/logger/-/logger-6.4.1.tgz", + "integrity": "sha512-9a8FeyiHZHGtdSMtwVrjTGb8spxeKg11+PEVkRt2jpz2yQn6EXQt/46HZwjygpJDqy/hxnVXNvx6kUbys9jpUQ==", "dependencies": { - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/constants": "3.1.1", - "@lit-protocol/types": "3.1.1", + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/types": "6.4.1", "ethers": "^5.7.1", "jszip": "^3.10.1", + "punycode": "2.3.1", "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0", + "tslib": "1.14.1", "uint8arrays": "^4.0.3" } }, + "node_modules/@lit-protocol/logger/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/@lit-protocol/logger/node_modules/uint8arrays": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.10.tgz", @@ -3889,38 +4742,75 @@ } }, "node_modules/@lit-protocol/misc": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/misc/-/misc-3.1.1.tgz", - "integrity": "sha512-au2r9NbLaYzwFB+n3XkxLx8BpwG28N7goqLKuQCabTRnIDqaoZRs0IAlSC/gvB194yk0Z3TiHY9Q9KamFsh1ng==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/misc/-/misc-6.4.1.tgz", + "integrity": "sha512-ycwpFK9lLNzlMaPQ6Jbf7uTmX1oNQScWSXFRiALDlYJHMh5Zhsf1yW5EgPPhdEfabslrOUaSG8E8uT8eOc7ZtA==", "dependencies": { - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/constants": "3.1.1", - "@lit-protocol/logger": "3.1.1", - "@lit-protocol/types": "3.1.1", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/logger": "6.4.1", + "@lit-protocol/types": "6.4.1", + "ajv": "^8.12.0", "ethers": "^5.7.1", "jszip": "^3.10.1", + "punycode": "2.3.1", "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0", - "uint8arrays": "^4.0.3" + "tslib": "1.14.1", + "uint8arrays": "^4.0.3", + "util": "0.12.5" } }, "node_modules/@lit-protocol/misc-browser": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/misc-browser/-/misc-browser-3.1.1.tgz", - "integrity": "sha512-7BzDKtR4WpFFdhK8mjkwBlOyZi4+l+n9yS2IZ5Yr+2iLQXSibxXgEWxMv4jqCRD6sANmb+DyS5r6G1FyFk6P/Q==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/misc-browser/-/misc-browser-6.4.1.tgz", + "integrity": "sha512-Xv971LPsbvvenjPxkJGd6e144P4IAiUW1p2/0a/vKZQlKSNzueyEZ3dCmRoYvSzpOIUvtQbBp5TS9nDfLOHucw==", "dependencies": { - "@lit-protocol/auth-helpers": "3.1.1", - "@lit-protocol/constants": "3.1.1", - "@lit-protocol/types": "3.1.1", - "@lit-protocol/uint8arrays": "3.1.1", + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/constants": "6.4.1", + "@lit-protocol/contracts": "^0.0.39", + "@lit-protocol/types": "6.4.1", + "@lit-protocol/uint8arrays": "6.4.1", "ethers": "^5.7.1", "jszip": "^3.10.1", "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0" + "tslib": "1.14.1" + } + }, + "node_modules/@lit-protocol/misc-browser/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/@lit-protocol/misc/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/@lit-protocol/misc/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "node_modules/@lit-protocol/misc/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/@lit-protocol/misc/node_modules/uint8arrays": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.10.tgz", @@ -3930,35 +4820,59 @@ } }, "node_modules/@lit-protocol/nacl": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/nacl/-/nacl-3.1.1.tgz", - "integrity": "sha512-/tb+oemgiaRyCv4OBFBl7nDMFDZNJf2VPsWjVdYoUbcvnF32/DUQ9GlmRfY0M4mkZlSPaZhwE+JxJ725bbstrw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/nacl/-/nacl-6.4.1.tgz", + "integrity": "sha512-xt6kzgYWilKrbqnzcf8bTvNPu9WTpZe9CMW6fQpnDYUHRQ5CXA4/5tsHlFjeghqR1485PpPzwRpO5TBy5K5d0g==", "dependencies": { - "tslib": "^2.3.0" + "tslib": "1.14.1" } }, + "node_modules/@lit-protocol/nacl/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/@lit-protocol/sev-snp-utils-sdk": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/sev-snp-utils-sdk/-/sev-snp-utils-sdk-3.1.1.tgz", - "integrity": "sha512-2LOrGhzlvPYBaNr2REDHo0OHHhkCo84WAMOxJIIRlM0TRUUyTT/5/B+L2sZH6QxfRQdwNi1ei64TuKGbdHV5dw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/sev-snp-utils-sdk/-/sev-snp-utils-sdk-6.4.1.tgz", + "integrity": "sha512-HR2gXIDR9RAQMSOUyDhiSWR9yUp6XRNVnIEXmv4hGrcf/zL92YXcRB1oDsNiPNd6C06V1XYIOT/OaOkkPj8iqA==", "dependencies": { - "@lit-protocol/uint8arrays": "3.1.1", - "node-fetch": "^2.6.1", - "pako": "^2.1.0", - "tslib": "^2.3.0" + "cross-fetch": "3.1.4", + "tslib": "1.14.1" + } + }, + "node_modules/@lit-protocol/sev-snp-utils-sdk/node_modules/cross-fetch": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", + "integrity": "sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ==", + "dependencies": { + "node-fetch": "2.6.1" + } + }, + "node_modules/@lit-protocol/sev-snp-utils-sdk/node_modules/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "engines": { + "node": "4.x || >=6.0.0" } }, + "node_modules/@lit-protocol/sev-snp-utils-sdk/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/@lit-protocol/types": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-3.1.1.tgz", - "integrity": "sha512-hWNN/6BfclplGNipsKAO2RVgvKv5lVqLUCtC+q4YhEWo43WitcFWq4dWPK3eYNJLE6eALSeDF7MJwIj7/5yg/Q==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-6.4.1.tgz", + "integrity": "sha512-TSY05CHAM5fBMIlnE3PgWx3VHfFuKhl9HQJrEV7abgr5y8Fy5QZglYa04/MVGf7IMnEIdrXUXtb7RFufCh0Eng==", "dependencies": { - "@lit-protocol/auth-helpers": "3.1.1", + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.9", "ethers": "^5.7.1", "jszip": "^3.10.1", "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0" + "tslib": "1.14.1" } }, "node_modules/@lit-protocol/types-v2": { @@ -3986,14 +4900,45 @@ "tslib": "^2.3.0" } }, - "node_modules/@lit-protocol/uint8arrays": { + "node_modules/@lit-protocol/types-v3": { + "name": "@lit-protocol/types", "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/uint8arrays/-/uint8arrays-3.1.1.tgz", - "integrity": "sha512-8p7QxHA8y1eqasuL4iqBIq0fFj4A0t7vdMZZkPUO16NqtC+QUp407mHRXaeC2nNASYiHqqVf1dlhy7GsKXB+vw==", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-3.1.1.tgz", + "integrity": "sha512-hWNN/6BfclplGNipsKAO2RVgvKv5lVqLUCtC+q4YhEWo43WitcFWq4dWPK3eYNJLE6eALSeDF7MJwIj7/5yg/Q==", + "dev": true, "dependencies": { + "@lit-protocol/auth-helpers": "3.1.1", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", "tslib": "^2.3.0" } }, + "node_modules/@lit-protocol/types/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/@lit-protocol/uint8arrays": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/uint8arrays/-/uint8arrays-6.4.1.tgz", + "integrity": "sha512-e2bhCsisACJzSEWBuj6e0HtEtc5eA002omT31snyPSPfLiHlV2eumOZhKacRORCvTv57hf5aJByhokpy9E95rA==", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "0.0.9", + "@lit-protocol/contracts": "^0.0.39", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "tslib": "1.14.1" + } + }, + "node_modules/@lit-protocol/uint8arrays/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/@lit/reactive-element": { "version": "1.6.3", "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-1.6.3.tgz", @@ -4111,11 +5056,22 @@ } }, "node_modules/@noble/curves": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.3.0.tgz", - "integrity": "sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", + "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", "dependencies": { - "@noble/hashes": "1.3.3" + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/curves/node_modules/@noble/hashes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", + "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", + "engines": { + "node": ">= 16" }, "funding": { "url": "https://paulmillr.com/funding/" @@ -4319,162 +5275,29 @@ "dependencies": { "detect-libc": "^1.0.3", "is-glob": "^4.0.3", - "micromatch": "^4.0.5", - "node-addon-api": "^7.0.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "optionalDependencies": { - "@parcel/watcher-android-arm64": "2.4.0", - "@parcel/watcher-darwin-arm64": "2.4.0", - "@parcel/watcher-darwin-x64": "2.4.0", - "@parcel/watcher-freebsd-x64": "2.4.0", - "@parcel/watcher-linux-arm-glibc": "2.4.0", - "@parcel/watcher-linux-arm64-glibc": "2.4.0", - "@parcel/watcher-linux-arm64-musl": "2.4.0", - "@parcel/watcher-linux-x64-glibc": "2.4.0", - "@parcel/watcher-linux-x64-musl": "2.4.0", - "@parcel/watcher-win32-arm64": "2.4.0", - "@parcel/watcher-win32-ia32": "2.4.0", - "@parcel/watcher-win32-x64": "2.4.0" - } - }, - "node_modules/@parcel/watcher-android-arm64": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.4.0.tgz", - "integrity": "sha512-+fPtO/GsbYX1LJnCYCaDVT3EOBjvSFdQN9Mrzh9zWAOOfvidPWyScTrHIZHHfJBvlHzNA0Gy0U3NXFA/M7PHUA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-darwin-arm64": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.4.0.tgz", - "integrity": "sha512-T/At5pansFuQ8VJLRx0C6C87cgfqIYhW2N/kBfLCUvDhCah0EnLLwaD/6MW3ux+rpgkpQAnMELOCTKlbwncwiA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-darwin-x64": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.4.0.tgz", - "integrity": "sha512-vZMv9jl+szz5YLsSqEGCMSllBl1gU1snfbRL5ysJU03MEa6gkVy9OMcvXV1j4g0++jHEcvzhs3Z3LpeEbVmY6Q==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-freebsd-x64": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.4.0.tgz", - "integrity": "sha512-dHTRMIplPDT1M0+BkXjtMN+qLtqq24sLDUhmU+UxxLP2TEY2k8GIoqIJiVrGWGomdWsy5IO27aDV1vWyQ6gfHA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm-glibc": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.4.0.tgz", - "integrity": "sha512-9NQXD+qk46RwATNC3/UB7HWurscY18CnAPMTFcI9Y8CTbtm63/eex1SNt+BHFinEQuLBjaZwR2Lp+n7pmEJPpQ==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-glibc": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.4.0.tgz", - "integrity": "sha512-QuJTAQdsd7PFW9jNGaV9Pw+ZMWV9wKThEzzlY3Lhnnwy7iW23qtQFPql8iEaSFMCVI5StNNmONUopk+MFKpiKg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10.0.0" + "micromatch": "^4.0.5", + "node-addon-api": "^7.0.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-linux-arm64-musl": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.4.0.tgz", - "integrity": "sha512-oyN+uA9xcTDo/45bwsd6TFHa7Lc7hKujyMlvwrCLvSckvWogndCEoVYFNfZ6JJ2KNL/6fFiGPcbjp8jJmEh5Ng==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], "engines": { "node": ">= 10.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.4.0", + "@parcel/watcher-darwin-arm64": "2.4.0", + "@parcel/watcher-darwin-x64": "2.4.0", + "@parcel/watcher-freebsd-x64": "2.4.0", + "@parcel/watcher-linux-arm-glibc": "2.4.0", + "@parcel/watcher-linux-arm64-glibc": "2.4.0", + "@parcel/watcher-linux-arm64-musl": "2.4.0", + "@parcel/watcher-linux-x64-glibc": "2.4.0", + "@parcel/watcher-linux-x64-musl": "2.4.0", + "@parcel/watcher-win32-arm64": "2.4.0", + "@parcel/watcher-win32-ia32": "2.4.0", + "@parcel/watcher-win32-x64": "2.4.0" } }, "node_modules/@parcel/watcher-linux-x64-glibc": { @@ -4540,63 +5363,6 @@ "inBundle": true, "license": "MIT" }, - "node_modules/@parcel/watcher-win32-arm64": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.4.0.tgz", - "integrity": "sha512-NOej2lqlq8bQNYhUMnOD0nwvNql8ToQF+1Zhi9ULZoG+XTtJ9hNnCFfyICxoZLXor4bBPTOnzs/aVVoefYnjIg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-ia32": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.4.0.tgz", - "integrity": "sha512-IO/nM+K2YD/iwjWAfHFMBPz4Zqn6qBDqZxY4j2n9s+4+OuTSRM/y/irksnuqcspom5DjkSeF9d0YbO+qpys+JA==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@parcel/watcher-win32-x64": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.4.0.tgz", - "integrity": "sha512-pAUyUVjfFjWaf/pShmJpJmNxZhbMvJASUpdes9jL6bTEJ+gDxPRSpXTIemNyNsb9AtbiGXs9XduP1reThmd+dA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, "node_modules/@parcel/watcher/node_modules/node-addon-api": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.0.tgz", @@ -4701,9 +5467,9 @@ "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, "node_modules/@scure/base": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.5.tgz", - "integrity": "sha512-Brj9FiG2W1MRQSTB212YVPRrcbjkv48FoZi/u4l/zds/ieRrqsh7aUf6CLwkAq61oKXr/ZlTzlY66gLIj3TFTQ==", + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.7.tgz", + "integrity": "sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==", "funding": { "url": "https://paulmillr.com/funding/" } @@ -4732,21 +5498,22 @@ } }, "node_modules/@semantic-release/commit-analyzer": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-11.1.0.tgz", - "integrity": "sha512-cXNTbv3nXR2hlzHjAMgbuiQVtvWHTlwwISt60B+4NZv01y/QRY7p2HcJm8Eh2StzcTJoNnflvKjHH/cjFS7d5g==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-13.0.0.tgz", + "integrity": "sha512-KtXWczvTAB1ZFZ6B4O+w8HkfYm/OgQb1dUGNFZtDgQ0csggrmkq8sTxhd+lwGF8kMb59/RnG9o4Tn7M/I8dQ9Q==", "dev": true, "dependencies": { - "conventional-changelog-angular": "^7.0.0", - "conventional-commits-filter": "^4.0.0", - "conventional-commits-parser": "^5.0.0", + "conventional-changelog-angular": "^8.0.0", + "conventional-changelog-writer": "^8.0.0", + "conventional-commits-filter": "^5.0.0", + "conventional-commits-parser": "^6.0.0", "debug": "^4.0.0", "import-from-esm": "^1.0.3", "lodash-es": "^4.17.21", "micromatch": "^4.0.2" }, "engines": { - "node": "^18.17 || >=20.6.1" + "node": ">=20.8.1" }, "peerDependencies": { "semantic-release": ">=20.1.0" @@ -4969,16 +5736,16 @@ } }, "node_modules/@semantic-release/npm/node_modules/execa": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-9.3.0.tgz", - "integrity": "sha512-l6JFbqnHEadBoVAVpN5dl2yCyfX28WoBAGaoQcNmLLSedOxTxcn2Qa83s8I/PA5i56vWru2OHOtrwF7Om2vqlg==", + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-9.3.1.tgz", + "integrity": "sha512-gdhefCCNy/8tpH/2+ajP9IQc14vXchNdd0weyzSJEFURhRMGncQ+zKFxwjAufIewPEJm9BPOaJnvg2UtlH2gPQ==", "dev": true, "dependencies": { "@sindresorhus/merge-streams": "^4.0.0", "cross-spawn": "^7.0.3", "figures": "^6.1.0", "get-stream": "^9.0.0", - "human-signals": "^7.0.0", + "human-signals": "^8.0.0", "is-plain-obj": "^4.1.0", "is-stream": "^4.0.1", "npm-run-path": "^5.2.0", @@ -5011,9 +5778,9 @@ } }, "node_modules/@semantic-release/npm/node_modules/human-signals": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-7.0.0.tgz", - "integrity": "sha512-74kytxOUSvNbjrT9KisAbaTZ/eJwD/LrbM/kh5j0IhPuJzwuA19dWvniFGwBzN9rVjg+O/e+F310PjObDXS+9Q==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.0.tgz", + "integrity": "sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==", "dev": true, "engines": { "node": ">=18.18.0" @@ -5107,24 +5874,24 @@ } }, "node_modules/@semantic-release/release-notes-generator": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-12.1.0.tgz", - "integrity": "sha512-g6M9AjUKAZUZnxaJZnouNBeDNTCUrJ5Ltj+VJ60gJeDaRRahcHsry9HW8yKrnKkKNkx5lbWiEP1FPMqVNQz8Kg==", + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.1.tgz", + "integrity": "sha512-K0w+5220TM4HZTthE5dDpIuFrnkN1NfTGPidJFm04ULT1DEZ9WG89VNXN7F0c+6nMEpWgqmPvb7vY7JkB2jyyA==", "dev": true, "dependencies": { - "conventional-changelog-angular": "^7.0.0", - "conventional-changelog-writer": "^7.0.0", - "conventional-commits-filter": "^4.0.0", - "conventional-commits-parser": "^5.0.0", + "conventional-changelog-angular": "^8.0.0", + "conventional-changelog-writer": "^8.0.0", + "conventional-commits-filter": "^5.0.0", + "conventional-commits-parser": "^6.0.0", "debug": "^4.0.0", "get-stream": "^7.0.0", "import-from-esm": "^1.0.3", "into-stream": "^7.0.0", "lodash-es": "^4.17.21", - "read-pkg-up": "^11.0.0" + "read-package-up": "^11.0.0" }, "engines": { - "node": "^18.17 || >=20.6.1" + "node": ">=20.8.1" }, "peerDependencies": { "semantic-release": ">=20.1.0" @@ -5468,6 +6235,12 @@ "@types/node": "*" } }, + "node_modules/@types/semver": { + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", + "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", + "dev": true + }, "node_modules/@types/stack-utils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", @@ -5501,16 +6274,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.1.0.tgz", - "integrity": "sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.2.0.tgz", + "integrity": "sha512-02tJIs655em7fvt9gps/+4k4OsKULYGtLBPJfOsmOq1+3cdClYiF0+d6mHu6qDnTcg88wJBkcPLpQhq7FyDz0A==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.1.0", - "@typescript-eslint/type-utils": "8.1.0", - "@typescript-eslint/utils": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0", + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/type-utils": "8.2.0", + "@typescript-eslint/utils": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -5534,16 +6307,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.1.0.tgz", - "integrity": "sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.2.0.tgz", + "integrity": "sha512-j3Di+o0lHgPrb7FxL3fdEy6LJ/j2NE8u+AP/5cQ9SKb+JLH6V6UHDqJ+e0hXBkHP1wn1YDFjYCS9LBQsZDlDEg==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "8.1.0", - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/typescript-estree": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0", + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/typescript-estree": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "debug": "^4.3.4" }, "engines": { @@ -5563,14 +6335,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.1.0.tgz", - "integrity": "sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.2.0.tgz", + "integrity": "sha512-OFn80B38yD6WwpoHU2Tz/fTz7CgFqInllBoC3WP+/jLbTb4gGPTy9HBSTsbDWkMdN55XlVU0mMDYAtgvlUspGw==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0" + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -5581,13 +6352,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.1.0.tgz", - "integrity": "sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.2.0.tgz", + "integrity": "sha512-g1CfXGFMQdT5S+0PSO0fvGXUaiSkl73U1n9LTK5aRAFnPlJ8dLKkXr4AaLFvPedW8lVDoMgLLE3JN98ZZfsj0w==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.1.0", - "@typescript-eslint/utils": "8.1.0", + "@typescript-eslint/typescript-estree": "8.2.0", + "@typescript-eslint/utils": "8.2.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -5605,11 +6376,10 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.1.0.tgz", - "integrity": "sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.2.0.tgz", + "integrity": "sha512-6a9QSK396YqmiBKPkJtxsgZZZVjYQ6wQ/TlI0C65z7vInaETuC6HAHD98AGLC8DyIPqHytvNuS8bBVvNLKyqvQ==", "dev": true, - "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -5619,14 +6389,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.1.0.tgz", - "integrity": "sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.2.0.tgz", + "integrity": "sha512-kiG4EDUT4dImplOsbh47B1QnNmXSoUqOjWDvCJw/o8LgfD0yr7k2uy54D5Wm0j4t71Ge1NkynGhpWdS0dEIAUA==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -5652,7 +6421,6 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, - "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -5662,7 +6430,6 @@ "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", "dev": true, - "license": "MIT", "dependencies": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -5683,7 +6450,6 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, - "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -5699,21 +6465,20 @@ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, - "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/@typescript-eslint/utils": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.1.0.tgz", - "integrity": "sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.2.0.tgz", + "integrity": "sha512-O46eaYKDlV3TvAVDNcoDzd5N550ckSe8G4phko++OCSC1dYIb9LTc3HDGYdWqWIAT5qDUKphO6sd9RrpIJJPfg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.1.0", - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/typescript-estree": "8.1.0" + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/typescript-estree": "8.2.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -5727,13 +6492,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.1.0.tgz", - "integrity": "sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.2.0.tgz", + "integrity": "sha512-sbgsPMW9yLvS7IhCi8IpuK1oBmtbWUNP+hBdwl/I9nzqVsszGnNGti5r9dUtF5RLivHUFFIdRvLiTsPhzSyJ3Q==", "dev": true, - "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/types": "8.2.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -6733,15 +7497,14 @@ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true, - "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/async": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", - "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "dev": true }, "node_modules/asynckit": { @@ -6979,9 +7742,9 @@ } }, "node_modules/bitcoinjs-lib": { - "version": "6.1.5", - "resolved": "https://registry.npmjs.org/bitcoinjs-lib/-/bitcoinjs-lib-6.1.5.tgz", - "integrity": "sha512-yuf6xs9QX/E8LWE2aMJPNd0IxGofwfuVOiYdNUESkc+2bHHVKjhJd8qewqapeoolh9fihzHGoDCB5Vkr57RZCQ==", + "version": "6.1.6", + "resolved": "https://registry.npmjs.org/bitcoinjs-lib/-/bitcoinjs-lib-6.1.6.tgz", + "integrity": "sha512-Fk8+Vc+e2rMoDU5gXkW9tD+313rhkm5h6N9HfZxXvYU9LedttVvmXKTgd9k5rsQJjkSfsv6XRM8uhJv94SrvcA==", "dependencies": { "@noble/hashes": "^1.2.0", "bech32": "^2.0.0", @@ -7683,74 +8446,70 @@ } }, "node_modules/conventional-changelog-angular": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-7.0.0.tgz", - "integrity": "sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-8.0.0.tgz", + "integrity": "sha512-CLf+zr6St0wIxos4bmaKHRXWAcsCXrJU6F4VdNDrGRK3B8LDLKoX3zuMV5GhtbGkVR/LohZ6MT6im43vZLSjmA==", "dev": true, "dependencies": { "compare-func": "^2.0.0" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/conventional-changelog-conventionalcommits": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz", - "integrity": "sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-8.0.0.tgz", + "integrity": "sha512-eOvlTO6OcySPyyyk8pKz2dP4jjElYunj9hn9/s0OB+gapTO8zwS9UQWrZ1pmF2hFs3vw1xhonOLGcGjy/zgsuA==", "dev": true, "dependencies": { "compare-func": "^2.0.0" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/conventional-changelog-writer": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-7.0.1.tgz", - "integrity": "sha512-Uo+R9neH3r/foIvQ0MKcsXkX642hdm9odUp7TqgFS7BsalTcjzRlIfWZrZR1gbxOozKucaKt5KAbjW8J8xRSmA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-8.0.0.tgz", + "integrity": "sha512-TQcoYGRatlAnT2qEWDON/XSfnVG38JzA7E0wcGScu7RElQBkg9WWgZd1peCWFcWDh1xfb2CfsrcvOn1bbSzztA==", "dev": true, "dependencies": { - "conventional-commits-filter": "^4.0.0", + "@types/semver": "^7.5.5", + "conventional-commits-filter": "^5.0.0", "handlebars": "^4.7.7", - "json-stringify-safe": "^5.0.1", - "meow": "^12.0.1", - "semver": "^7.5.2", - "split2": "^4.0.0" + "meow": "^13.0.0", + "semver": "^7.5.2" }, "bin": { - "conventional-changelog-writer": "cli.mjs" + "conventional-changelog-writer": "dist/cli/index.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/conventional-commits-filter": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-4.0.0.tgz", - "integrity": "sha512-rnpnibcSOdFcdclpFwWa+pPlZJhXE7l+XK04zxhbWrhgpR96h33QLz8hITTXbcYICxVr3HZFtbtUAQ+4LdBo9A==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-5.0.0.tgz", + "integrity": "sha512-tQMagCOC59EVgNZcC5zl7XqO30Wki9i9J3acbUvkaosCT6JX3EeFwJD7Qqp4MCikRnzS18WXV3BLIQ66ytu6+Q==", "dev": true, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/conventional-commits-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz", - "integrity": "sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.0.0.tgz", + "integrity": "sha512-TbsINLp48XeMXR8EvGjTnKGsZqBemisPoyWESlpRyR8lif0lcwzqz+NMtYSj1ooF/WYjSuu7wX0CtdeeMEQAmA==", "dev": true, "dependencies": { - "is-text-path": "^2.0.0", - "JSONStream": "^1.3.5", - "meow": "^12.0.1", - "split2": "^4.0.0" + "meow": "^13.0.0" }, "bin": { - "conventional-commits-parser": "cli.mjs" + "conventional-commits-parser": "dist/cli/index.js" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/convert-hrtime": { @@ -8834,8 +9593,7 @@ "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "node_modules/fast-fifo": { "version": "1.3.2", @@ -8890,6 +9648,11 @@ "node": ">=6" } }, + "node_modules/fast-uri": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", + "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==" + }, "node_modules/fastq": { "version": "1.17.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.0.tgz", @@ -9194,19 +9957,6 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -10459,18 +11209,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-text-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-2.0.0.tgz", - "integrity": "sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==", - "dev": true, - "dependencies": { - "text-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/is-typed-array": { "version": "1.1.12", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", @@ -11391,9 +12129,9 @@ } }, "node_modules/jose": { - "version": "4.15.4", - "resolved": "https://registry.npmjs.org/jose/-/jose-4.15.4.tgz", - "integrity": "sha512-W+oqK4H+r5sITxfxpSU+MMdr/YSWGvgZMQDIsNoBDGGy4i7GBPTtvFKibQzW06n3U3TqHjhvBJsirShsEJ6eeQ==", + "version": "4.15.9", + "resolved": "https://registry.npmjs.org/jose/-/jose-4.15.9.tgz", + "integrity": "sha512-1vUQX+IdDMVPj4k8kOxgUqlcK518yluMuGZwqlr44FS1ppZB/5GWh4rZG89erpOBOJjU/OBsnCVFfapsRz6nEA==", "funding": { "url": "https://github.com/sponsors/panva" } @@ -11462,12 +12200,6 @@ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "dev": true }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true - }, "node_modules/json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", @@ -11557,31 +12289,6 @@ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, - "node_modules/jsonparse": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", - "dev": true, - "engines": [ - "node >= 0.2.0" - ] - }, - "node_modules/JSONStream": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", - "dev": true, - "dependencies": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - }, - "bin": { - "JSONStream": "bin.js" - }, - "engines": { - "node": "*" - } - }, "node_modules/jszip": { "version": "3.10.1", "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", @@ -11701,9 +12408,9 @@ "integrity": "sha512-mK8ju0fnrKXXfleL53vtp9xiPq5hKM0zbDQtcxQIsSmxNgSxqCj6R7Hl9PkrNe2j29T4yoDaF7DJLK9/i5iWUw==" }, "node_modules/libsodium-sumo": { - "version": "0.7.13", - "resolved": "https://registry.npmjs.org/libsodium-sumo/-/libsodium-sumo-0.7.13.tgz", - "integrity": "sha512-zTGdLu4b9zSNLfovImpBCbdAA4xkpkZbMnSQjP8HShyOutnGjRHmSOKlsylh1okao6QhLiz7nG98EGn+04cZjQ==" + "version": "0.7.15", + "resolved": "https://registry.npmjs.org/libsodium-sumo/-/libsodium-sumo-0.7.15.tgz", + "integrity": "sha512-5tPmqPmq8T8Nikpm1Nqj0hBHvsLFCXvdhBFV7SGOitQPZAA6jso8XoL0r4L7vmfKXr486fiQInvErHtEvizFMw==" }, "node_modules/libsodium-wrappers": { "version": "0.7.13", @@ -11714,11 +12421,11 @@ } }, "node_modules/libsodium-wrappers-sumo": { - "version": "0.7.13", - "resolved": "https://registry.npmjs.org/libsodium-wrappers-sumo/-/libsodium-wrappers-sumo-0.7.13.tgz", - "integrity": "sha512-lz4YdplzDRh6AhnLGF2Dj2IUj94xRN6Bh8T0HLNwzYGwPehQJX6c7iYVrFUPZ3QqxE0bqC+K0IIqqZJYWumwSQ==", + "version": "0.7.15", + "resolved": "https://registry.npmjs.org/libsodium-wrappers-sumo/-/libsodium-wrappers-sumo-0.7.15.tgz", + "integrity": "sha512-aSWY8wKDZh5TC7rMvEdTHoyppVq/1dTSAeAR7H6pzd6QRT3vQWcT5pGwCotLcpPEOLXX6VvqihSPkpEhYAjANA==", "dependencies": { - "libsodium-sumo": "^0.7.13" + "libsodium-sumo": "^0.7.15" } }, "node_modules/lie": { @@ -12047,12 +12754,12 @@ } }, "node_modules/meow": { - "version": "12.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", - "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", + "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==", "dev": true, "engines": { - "node": ">=16.10" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -15880,6 +16587,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "engines": { + "node": ">= 0.6.0" + } + }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", @@ -16292,36 +17007,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/read-pkg-up": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-11.0.0.tgz", - "integrity": "sha512-LOVbvF1Q0SZdjClSefZ0Nz5z8u+tIE7mV5NibzmE9VYmDe9CaBbAVtz1veOSZbofrdsilxuDAYnFenukZVp8/Q==", - "deprecated": "Renamed to read-package-up", - "dev": true, - "dependencies": { - "find-up-simple": "^1.0.0", - "read-pkg": "^9.0.0", - "type-fest": "^4.6.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg-up/node_modules/type-fest": { - "version": "4.10.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.10.2.tgz", - "integrity": "sha512-anpAG63wSpdEbLwOqH8L84urkL6PiVIov3EMmgIhhThevh9aiMQov+6Btx0wldNcvm4wV+e2/Rt1QdDwKHFbHw==", - "dev": true, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/read-pkg/node_modules/parse-json": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.1.0.tgz", @@ -16436,6 +17121,14 @@ "node": ">=0.10.0" } }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/require-main-filename": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", @@ -16588,16 +17281,16 @@ } }, "node_modules/semantic-release": { - "version": "23.1.1", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-23.1.1.tgz", - "integrity": "sha512-qqJDBhbtHsjUEMsojWKGuL5lQFCJuPtiXKEIlFKyTzDDGTAE/oyvznaP8GeOr5PvcqBJ6LQz4JCENWPLeehSpA==", + "version": "24.1.0", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.1.0.tgz", + "integrity": "sha512-FwaE2hKDHQn9G6GA7xmqsc9WnsjaFD/ppLM5PUg56Do9oKSCf+vH6cPeb3hEBV/m06n8Sh9vbVqPjHu/1onzQw==", "dev": true, "dependencies": { - "@semantic-release/commit-analyzer": "^12.0.0", + "@semantic-release/commit-analyzer": "^13.0.0-beta.1", "@semantic-release/error": "^4.0.0", "@semantic-release/github": "^10.0.0", "@semantic-release/npm": "^12.0.0", - "@semantic-release/release-notes-generator": "^13.0.0", + "@semantic-release/release-notes-generator": "^14.0.0-beta.1", "aggregate-error": "^5.0.0", "cosmiconfig": "^9.0.0", "debug": "^4.0.0", @@ -16630,27 +17323,6 @@ "node": ">=20.8.1" } }, - "node_modules/semantic-release/node_modules/@semantic-release/commit-analyzer": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-12.0.0.tgz", - "integrity": "sha512-qG+md5gdes+xa8zP7lIo1fWE17zRdO8yMCaxh9lyL65TQleoSv8WHHOqRURfghTytUh+NpkSyBprQ5hrkxOKVQ==", - "dev": true, - "dependencies": { - "conventional-changelog-angular": "^7.0.0", - "conventional-commits-filter": "^4.0.0", - "conventional-commits-parser": "^5.0.0", - "debug": "^4.0.0", - "import-from-esm": "^1.0.3", - "lodash-es": "^4.17.21", - "micromatch": "^4.0.2" - }, - "engines": { - "node": ">=20.8.1" - }, - "peerDependencies": { - "semantic-release": ">=20.1.0" - } - }, "node_modules/semantic-release/node_modules/@semantic-release/error": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-4.0.0.tgz", @@ -16660,42 +17332,6 @@ "node": ">=18" } }, - "node_modules/semantic-release/node_modules/@semantic-release/release-notes-generator": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-13.0.0.tgz", - "integrity": "sha512-LEeZWb340keMYuREMyxrODPXJJ0JOL8D/mCl74B4LdzbxhtXV2LrPN2QBEcGJrlQhoqLO0RhxQb6masHytKw+A==", - "dev": true, - "dependencies": { - "conventional-changelog-angular": "^7.0.0", - "conventional-changelog-writer": "^7.0.0", - "conventional-commits-filter": "^4.0.0", - "conventional-commits-parser": "^5.0.0", - "debug": "^4.0.0", - "get-stream": "^7.0.0", - "import-from-esm": "^1.0.3", - "into-stream": "^7.0.0", - "lodash-es": "^4.17.21", - "read-pkg-up": "^11.0.0" - }, - "engines": { - "node": ">=20.8.1" - }, - "peerDependencies": { - "semantic-release": ">=20.1.0" - } - }, - "node_modules/semantic-release/node_modules/@semantic-release/release-notes-generator/node_modules/get-stream": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-7.0.1.tgz", - "integrity": "sha512-3M8C1EOFN6r8AMUhwUAACIoXZJEOufDU5+0gFFN5uNs6XYOralD2Pqkl7m046va6x77FwposWXbAhPPIOus7mQ==", - "dev": true, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/semantic-release/node_modules/@sindresorhus/merge-streams": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", @@ -17560,18 +18196,6 @@ "node": ">=8" } }, - "node_modules/text-extensions": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-2.4.0.tgz", - "integrity": "sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -17607,12 +18231,6 @@ "real-require": "^0.1.0" } }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", - "dev": true - }, "node_modules/through2": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", @@ -17821,7 +18439,6 @@ "version": "5.5.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", - "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -17836,9 +18453,9 @@ "integrity": "sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==" }, "node_modules/uglify-js": { - "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "version": "3.19.2", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.2.tgz", + "integrity": "sha512-S8KA6DDI47nQXJSi2ctQ629YzwOVs+bQML6DAtvy0wgNdpi+0ySpQK0g2pxBq2xfF2z3YCscu7NNA8nXT9PlIQ==", "dev": true, "optional": true, "bin": { diff --git a/package.json b/package.json index d3d70349..46fa0719 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cheqd/did-provider-cheqd", - "version": "4.1.2-develop.1", + "version": "4.1.2-develop.2", "description": "Veramo SDK plugin for the did:cheqd DID method", "license": "Apache-2.0", "author": "Cheqd Foundation Limited (https://github.com/cheqd)", @@ -94,7 +94,9 @@ ] }, "dependencies": { - "@cheqd/sdk": "^4.0.2", + "@lit-protocol/lit-node-client": "^6.4.1", + "@lit-protocol/lit-node-client-v3": "npm:@lit-protocol/lit-node-client@3.1.1", + "@cheqd/sdk": "^4.0.3", "@cheqd/ts-proto": "^3.4.4", "@cosmjs/amino": "^0.32.4", "@cosmjs/crypto": "^0.32.4", @@ -102,7 +104,6 @@ "@cosmjs/stargate": "^0.32.4", "@cosmjs/utils": "^0.32.4", "@digitalbazaar/vc-status-list": "^8.0.0", - "@lit-protocol/lit-node-client": "^3.1.1", "@lit-protocol/lit-node-client-v2": "npm:@lit-protocol/lit-node-client@2.2.63", "@lit-protocol/encryption-v2": "npm:@lit-protocol/encryption@2.2.63", "@veramo/core": "^6.0.0", @@ -118,27 +119,28 @@ "uuid": "^10.0.0" }, "devDependencies": { - "@lit-protocol/types": "^3.0.27", + "@lit-protocol/types": "^6.4.1", + "@lit-protocol/types-v3": "npm:@lit-protocol/types@3.1.1", "@lit-protocol/types-v2": "npm:@lit-protocol/types@^2.2.63", "@semantic-release/changelog": "^6.0.3", - "@semantic-release/commit-analyzer": "^11.1.0", + "@semantic-release/commit-analyzer": "^13.0.0", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^10.1.6", "@semantic-release/npm": "^12.0.1", - "@semantic-release/release-notes-generator": "^12.1.0", + "@semantic-release/release-notes-generator": "^14.0.1", "@types/debug": "^4.1.12", "@types/jest": "^29.5.12", + "conventional-changelog-conventionalcommits": "^8.0.0", "@types/uuid": "^10.0.0", "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", - "conventional-changelog-conventionalcommits": "^7.0.2", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-config-typescript": "^3.0.0", "jest": "^29.7.0", "long": "^4.0.0", + "semantic-release": "^24.1.0", "prettier": "^3.3.3", - "semantic-release": "^23.1.1", "ts-jest": "^29.2.4", "typescript": "^5.5.4" }, diff --git a/src/agent/ICheqd.ts b/src/agent/ICheqd.ts index 7ac4f146..538ce230 100644 --- a/src/agent/ICheqd.ts +++ b/src/agent/ICheqd.ts @@ -16,7 +16,6 @@ import { createKeyPairBase64, createKeyPairHex, createVerificationKeys, - toMultibaseRaw, } from '@cheqd/sdk'; import { Coin, DeliverTxResponse } from '@cosmjs/stargate'; import { @@ -39,7 +38,6 @@ import { IResolver, W3CVerifiableCredential, ICredentialVerifier, - DIDResolutionResult, } from '@veramo/core'; import { CheqdDIDProvider, @@ -54,7 +52,6 @@ import { DefaultStatusList2021Encoding, DefaultStatusList2021ResourceType, DefaultStatusList2021StatusPurposeType, - createMsgCreateDidDocPayloadToSign, TPublicKeyEd25519, } from '../did-manager/cheqd-did-provider.js'; import { fromString, toString } from 'uint8arrays'; @@ -69,7 +66,7 @@ import { LitCompatibleCosmosChains, LitNetwork, LitProtocol, -} from '../dkg-threshold/lit-protocol/v3.js'; +} from '../dkg-threshold/lit-protocol/v6.js'; import { blobToHexString, getEncodedList, diff --git a/src/did-manager/cheqd-did-provider.ts b/src/did-manager/cheqd-did-provider.ts index 8528c4de..50df17cf 100644 --- a/src/did-manager/cheqd-did-provider.ts +++ b/src/did-manager/cheqd-did-provider.ts @@ -43,7 +43,7 @@ import { LitCompatibleCosmosChains, LitNetwork, LitNetworks, -} from '../dkg-threshold/lit-protocol/v3.js'; +} from '../dkg-threshold/lit-protocol/v6.js'; import { IContext } from '../agent/ICheqd.js'; import { getControllers } from '../utils/helpers.js'; @@ -466,9 +466,9 @@ export class CheqdDIDProvider extends AbstractIdentifierProvider { chain: options.dkgOptions.chain ? options.dkgOptions.chain : DefaultDkgSupportedChains[this.network], - network: options.dkgOptions.network ? options.dkgOptions.network : LitNetworks.cayenne, + network: options.dkgOptions.network ? options.dkgOptions.network : LitNetworks.datildev, } - : { chain: DefaultDkgSupportedChains[this.network], network: LitNetworks.cayenne }; + : { chain: DefaultDkgSupportedChains[this.network], network: LitNetworks.datildev }; if (!options?.cosmosPayerSeed || options.cosmosPayerSeed === '') { this.cosmosPayerWallet = DirectSecp256k1HdWallet.generate(); diff --git a/src/dkg-threshold/index.ts b/src/dkg-threshold/index.ts index a734a403..e6f922f4 100644 --- a/src/dkg-threshold/index.ts +++ b/src/dkg-threshold/index.ts @@ -1 +1 @@ -export * from './lit-protocol/v3.js'; +export * from './lit-protocol/v6.js'; diff --git a/src/dkg-threshold/lit-protocol/v3.ts b/src/dkg-threshold/lit-protocol/v3.ts index 41f40dc7..7aedbfe4 100644 --- a/src/dkg-threshold/lit-protocol/v3.ts +++ b/src/dkg-threshold/lit-protocol/v3.ts @@ -1,8 +1,8 @@ import { OfflineAminoSigner, Secp256k1HdWallet, StdSignDoc } from '@cosmjs/amino'; import { toString } from 'uint8arrays/to-string'; import { sha256 } from '@cosmjs/crypto'; -import { LitNodeClientNodeJs, LitNodeClient } from '@lit-protocol/lit-node-client'; -import { DecryptResponse, EncryptResponse, UnifiedAccessControlConditions } from '@lit-protocol/types'; +import { LitNodeClientNodeJs, LitNodeClient } from '@lit-protocol/lit-node-client-v3'; +import { DecryptResponse, EncryptResponse, UnifiedAccessControlConditions } from '@lit-protocol/types-v3'; import { generateSymmetricKey, randomBytes } from '../../utils/helpers.js'; import { isBrowser, isNode } from '../../utils/env.js'; import { v4 } from 'uuid'; @@ -32,14 +32,14 @@ export type CosmosReturnValueTest = { comparator: string; value: string; }; -export type CosmosAccessControlCondition = { +export interface CosmosAccessControlCondition { conditionType: 'cosmos'; path: string; chain: LitCompatibleCosmosChain; method?: string; parameters?: string[]; returnValueTest: CosmosReturnValueTest; -}; +} export type SaveEncryptionKeyArgs = { unifiedAccessControlConditions: CosmosAccessControlCondition[]; symmetricKey: CryptoKey; @@ -59,8 +59,8 @@ export type DecryptToStringMethod = ( encryptedString: Blob, symmetricKey: Uint8Array ) => Promise; -export type LitNetwork = (typeof LitNetworks)[keyof typeof LitNetworks]; -export type LitCompatibleCosmosChain = (typeof LitCompatibleCosmosChains)[keyof typeof LitCompatibleCosmosChains]; +export type LitNetwork = (typeof LitNetworksV3)[keyof typeof LitNetworksV3]; +export type LitCompatibleCosmosChain = (typeof LitCompatibleCosmosChainsV3)[keyof typeof LitCompatibleCosmosChainsV3]; export type LitProtocolOptions = { cosmosAuthWallet: Secp256k1HdWallet; litNetwork?: LitNetwork; @@ -68,12 +68,12 @@ export type LitProtocolOptions = { }; export type TxNonceFormat = (typeof TxNonceFormats)[keyof typeof TxNonceFormats]; -export const LitNetworks = { +export const LitNetworksV3 = { cayenne: 'cayenne', localhost: 'localhost', custom: 'custom', } as const; -export const LitCompatibleCosmosChains = { +export const LitCompatibleCosmosChainsV3 = { cosmos: 'cosmos', cheqdMainnet: 'cheqdMainnet', cheqdTestnet: 'cheqdTestnet', @@ -82,15 +82,15 @@ export const TxNonceFormats = { entropy: 'entropy', uuid: 'uuid', timestamp: 'ti export class LitProtocol { client: LitNodeClientNodeJs | LitNodeClient; - litNetwork: LitNetwork = LitNetworks.cayenne; - chain: LitCompatibleCosmosChain = LitCompatibleCosmosChains.cheqdTestnet; + litNetwork: LitNetwork = LitNetworksV3.cayenne; + chain: LitCompatibleCosmosChain = LitCompatibleCosmosChainsV3.cheqdTestnet; private readonly cosmosAuthWallet: Secp256k1HdWallet; private constructor(options: LitProtocolOptions) { // validate options - if (options.litNetwork && !Object.values(LitNetworks).includes(options.litNetwork)) + if (options.litNetwork && !Object.values(LitNetworksV3).includes(options.litNetwork)) throw new Error(`[did-provider-cheqd]: lit-protocol: Invalid LitNetwork: ${options.litNetwork}`); - if (options.chain && !Object.values(LitCompatibleCosmosChains).includes(options.chain)) + if (options.chain && !Object.values(LitCompatibleCosmosChainsV3).includes(options.chain)) throw new Error(`[did-provider-cheqd]: lit-protocol: Invalid LitCompatibleCosmosChain: ${options.chain}`); // set options @@ -231,10 +231,10 @@ export class LitProtocol { }); // validate top-level options chain - if (!options?.chain) options.chain = LitCompatibleCosmosChains.cheqdTestnet; + if (!options?.chain) options.chain = LitCompatibleCosmosChainsV3.cheqdTestnet; // validate top-level options litNetwork - if (!options?.litNetwork) options.litNetwork = LitNetworks.cayenne; + if (!options?.litNetwork) options.litNetwork = LitNetworksV3.cayenne; const litProtocol = new LitProtocol(options as LitProtocolOptions); await litProtocol.connect(); @@ -243,11 +243,11 @@ export class LitProtocol { static async getCosmosWalletPrefix(chain?: LitCompatibleCosmosChain): Promise { switch (chain) { - case LitCompatibleCosmosChains.cosmos: + case LitCompatibleCosmosChainsV3.cosmos: return 'cosmos'; - case LitCompatibleCosmosChains.cheqdMainnet: + case LitCompatibleCosmosChainsV3.cheqdMainnet: return 'cheqd'; - case LitCompatibleCosmosChains.cheqdTestnet: + case LitCompatibleCosmosChainsV3.cheqdTestnet: return 'cheqd'; default: return 'cheqd'; @@ -308,7 +308,7 @@ export class LitProtocol { static async generateCosmosAccessControlConditionBalance( returnValueTest: CosmosReturnValueTest, - chain: LitCompatibleCosmosChain = LitCompatibleCosmosChains.cheqdTestnet, + chain: LitCompatibleCosmosChain = LitCompatibleCosmosChainsV3.cheqdTestnet, address = ':userAddress' ): Promise { return { @@ -324,7 +324,7 @@ export class LitProtocol { amount: string, sender: string, recipient = ':userAddress', - chain: LitCompatibleCosmosChain = LitCompatibleCosmosChains.cheqdTestnet + chain: LitCompatibleCosmosChain = LitCompatibleCosmosChainsV3.cheqdTestnet ): Promise { return { conditionType: 'cosmos', @@ -339,7 +339,7 @@ export class LitProtocol { amount: string, recipient = ':userAddress', blockHeight = 'latest', - chain: LitCompatibleCosmosChain = LitCompatibleCosmosChains.cheqdTestnet + chain: LitCompatibleCosmosChain = LitCompatibleCosmosChainsV3.cheqdTestnet ): Promise { return { conditionType: 'cosmos', diff --git a/src/dkg-threshold/lit-protocol/v6.ts b/src/dkg-threshold/lit-protocol/v6.ts new file mode 100644 index 00000000..f3a7cd43 --- /dev/null +++ b/src/dkg-threshold/lit-protocol/v6.ts @@ -0,0 +1,348 @@ +import { OfflineAminoSigner, Secp256k1HdWallet, StdSignDoc } from '@cosmjs/amino'; +import { toString } from 'uint8arrays/to-string'; +import { sha256 } from '@cosmjs/crypto'; +import { LitNodeClientNodeJs, LitNodeClient } from '@lit-protocol/lit-node-client'; +import { + AccsCOSMOSParams, + ConditionType, + DecryptResponse, + EncryptResponse, + UnifiedAccessControlConditions, +} from '@lit-protocol/types'; +import { generateSymmetricKey, randomBytes } from '../../utils/helpers.js'; +import { isBrowser, isNode } from '../../utils/env.js'; +import { v4 } from 'uuid'; +import { fromString } from 'uint8arrays'; +import { LitProtocolDebugEnabled } from '../../utils/constants.js'; + +export type ThresholdEncryptionResult = { + encryptedString: Uint8Array; + stringHash: string; +}; +export type SymmetricEncryptionResult = { + encryptedString: Blob; + stringHash: string; + symmetricKey: Uint8Array; +}; +export type AuthSignature = { + sig: string; + derivedVia: 'cosmos.signArbitrary'; + signedMessage: string; + address: string; +}; +export type CosmosAuthSignature = { + cosmos: AuthSignature; +}; +export type CosmosAccessControlCondition = AccsCOSMOSParams & { + conditionType: ConditionType; +} +export type CosmosReturnValueTest = CosmosAccessControlCondition['returnValueTest']; +export type SaveEncryptionKeyArgs = { + unifiedAccessControlConditions: CosmosAccessControlCondition[]; + symmetricKey: CryptoKey; + authSig: CosmosAuthSignature; + chain: string; +}; +export type GetEncryptionKeyArgs = { + unifiedAccessControlConditions: CosmosAccessControlCondition[]; + toDecrypt: string; + authSig: CosmosAuthSignature; + chain: string; +}; +export type EncryptStringMethodResult = EncryptResponse; +export type DecryptToStringMethodResult = DecryptResponse; +export type EncryptStringMethod = (str: string) => Promise; +export type DecryptToStringMethod = ( + encryptedString: Blob, + symmetricKey: Uint8Array +) => Promise; +export type LitNetwork = (typeof LitNetworks)[keyof typeof LitNetworks]; +export type LitCompatibleCosmosChain = (typeof LitCompatibleCosmosChains)[keyof typeof LitCompatibleCosmosChains]; +export type LitProtocolOptions = { + cosmosAuthWallet: Secp256k1HdWallet; + litNetwork?: LitNetwork; + chain?: LitCompatibleCosmosChain; +}; +export type TxNonceFormat = (typeof TxNonceFormats)[keyof typeof TxNonceFormats]; + +export const LitNetworks = { + datildev: 'datil-dev', + localhost: 'localhost', + custom: 'custom', +} as const; +export const LitCompatibleCosmosChains = { + cosmos: 'cosmos', + cheqdMainnet: 'cheqdMainnet', + cheqdTestnet: 'cheqdTestnet', +} as const; +export const TxNonceFormats = { entropy: 'entropy', uuid: 'uuid', timestamp: 'timestamp' } as const; + +export class LitProtocol { + client: LitNodeClientNodeJs | LitNodeClient; + litNetwork: LitNetwork = LitNetworks.datildev; + chain: LitCompatibleCosmosChain = LitCompatibleCosmosChains.cosmos; + private readonly cosmosAuthWallet: Secp256k1HdWallet; + + private constructor(options: LitProtocolOptions) { + // validate options + if (options.litNetwork && !Object.values(LitNetworks).includes(options.litNetwork)) + throw new Error(`[did-provider-cheqd]: lit-protocol: Invalid LitNetwork: ${options.litNetwork}`); + if (options.chain && !Object.values(LitCompatibleCosmosChains).includes(options.chain)) + throw new Error(`[did-provider-cheqd]: lit-protocol: Invalid LitCompatibleCosmosChain: ${options.chain}`); + + // set options + if (options.litNetwork) this.litNetwork = options.litNetwork; + if (options.chain) this.chain = options.chain; + this.cosmosAuthWallet = options.cosmosAuthWallet; + + // set client as per environment + this.client = (function (that: LitProtocol) { + if (isNode) return new LitNodeClientNodeJs({ litNetwork: that.litNetwork, debug: LitProtocolDebugEnabled }); + if (isBrowser) return new LitNodeClient({ litNetwork: that.litNetwork, debug: LitProtocolDebugEnabled }); + throw new Error('[did-provider-cheqd]: lit-protocol: Unsupported runtime environment'); + })(this); + } + + async connect(): Promise { + return await this.client.connect(); + } + + async encrypt( + secret: Uint8Array, + unifiedAccessControlConditions: NonNullable + ): Promise { + // generate auth signature + const authSig = await LitProtocol.generateAuthSignature(this.cosmosAuthWallet); + + // encrypt + const { ciphertext: encryptedString, dataToEncryptHash: stringHash } = (await this.client.encrypt({ + dataToEncrypt: secret, + unifiedAccessControlConditions, + })) satisfies EncryptStringMethodResult; + + return { + encryptedString: fromString(encryptedString, 'base64'), + stringHash, + }; + } + + async decrypt( + encryptedString: string, + stringHash: string, + unifiedAccessControlConditions: NonNullable + ): Promise { + // generate auth signature + const authSig = await LitProtocol.generateAuthSignature(this.cosmosAuthWallet); + + // decrypt + const { decryptedData } = (await this.client.decrypt({ + chain: this.chain, + ciphertext: encryptedString, + dataToEncryptHash: stringHash, + unifiedAccessControlConditions, + authSig, + })) satisfies DecryptToStringMethodResult; + + return toString(decryptedData, 'utf-8'); + } + + static async encryptDirect(data: Uint8Array): Promise { + try { + // generate symmetric key + const symmetricKey = await generateSymmetricKey(); + + // generate iv + const iv = crypto.getRandomValues(new Uint8Array(12)); + + // encrypt + const encrypted = await crypto.subtle.encrypt( + { + name: 'AES-GCM', + iv, + }, + symmetricKey, + data + ); + + // export symmetric key + const exportedSymmetricKey = await crypto.subtle.exportKey('raw', symmetricKey); + + return { + encryptedString: new Blob([iv, new Uint8Array(encrypted)]), + stringHash: toString(new Uint8Array(await crypto.subtle.digest('SHA-256', data)), 'hex'), + symmetricKey: new Uint8Array(exportedSymmetricKey), + } satisfies SymmetricEncryptionResult; + } catch (error) { + // standardize error + throw new Error( + `[did-provider-cheqd]: symmetric-encryption: Encryption failed: ${(error as Error).message || error}` + ); + } + } + + static async decryptDirect(encryptedString: Blob, symmetricKey: Uint8Array): Promise { + try { + // import symmetric key + const importedSymmetricKey = await crypto.subtle.importKey( + 'raw', + symmetricKey, + { + name: 'AES-GCM', + }, + true, + ['encrypt', 'decrypt'] + ); + + // extract iv and encrypted data + const [iv, encryptedData] = await Promise.all([ + encryptedString.slice(0, 12).arrayBuffer(), + encryptedString.slice(12).arrayBuffer(), + ]); + + // decrypt + const decrypted = await crypto.subtle.decrypt( + { + name: 'AES-GCM', + iv: new Uint8Array(iv), + }, + importedSymmetricKey, + encryptedData + ); + + return new Uint8Array(decrypted); + } catch (error) { + // standardize error + throw new Error( + `[did-provider-cheqd]: symmetric-decryption: Decryption failed: ${(error as Error).message || error}` + ); + } + } + + static async create(options: Partial): Promise { + // instantiate underlying cosmos auth wallet + if (!options.cosmosAuthWallet) + options.cosmosAuthWallet = await Secp256k1HdWallet.generate(24, { + prefix: await LitProtocol.getCosmosWalletPrefix(options?.chain), + }); + + // validate top-level options chain + if (!options?.chain) options.chain = LitCompatibleCosmosChains.cheqdTestnet; + + // validate top-level options litNetwork + if (!options?.litNetwork) options.litNetwork = LitNetworks.datildev; + + const litProtocol = new LitProtocol(options as LitProtocolOptions); + await litProtocol.connect(); + return litProtocol; + } + + static async getCosmosWalletPrefix(chain?: LitCompatibleCosmosChain): Promise { + switch (chain) { + case LitCompatibleCosmosChains.cosmos: + return 'cosmos'; + case LitCompatibleCosmosChains.cheqdMainnet: + return 'cheqd'; + case LitCompatibleCosmosChains.cheqdTestnet: + return 'cheqd'; + default: + return 'cheqd'; + } + } + + static async generateAuthSignature(wallet: OfflineAminoSigner): Promise { + const signerAddress = (await wallet.getAccounts())[0].address; + const signData = await LitProtocol.generateSignData(); + const signDoc = await LitProtocol.generateSignDoc(signerAddress, signData); + const result = await wallet.signAmino(signerAddress, signDoc); + return { + address: signerAddress, + derivedVia: 'cosmos.signArbitrary', + sig: result.signature.signature, + signedMessage: toString(sha256(new TextEncoder().encode(JSON.stringify(signDoc))), 'hex'), // <-- hex encoded sha256 hash of the json stringified signDoc + }; + } + + static async generateSignDoc(address: string, data: Uint8Array): Promise { + return { + account_number: '0', + chain_id: '', + fee: { + amount: [], + gas: '0', + }, + memo: '', + msgs: [ + { + type: 'sign/MsgSignData', + value: { + data: toString(data, 'base64'), + signer: address, + }, + }, + ], + sequence: '0', + }; // <-- should be sorted alphabetically + } + + static async generateSignData(): Promise { + return new TextEncoder().encode(`I am creating an account to use Lit Protocol at 2023-02-21T16:40:15.305Z`); // <-- lit nodes search for this string in the signData + } + + static async generateTxNonce(format?: TxNonceFormat, entropyLength?: number): Promise { + switch (format) { + case TxNonceFormats.entropy: + return toString(await randomBytes(entropyLength || 64), 'hex'); + case TxNonceFormats.uuid: + return v4(); + case TxNonceFormats.timestamp: + return new Date().toISOString(); + default: + return v4(); + } + } + + static async generateCosmosAccessControlConditionBalance( + returnValueTest: CosmosReturnValueTest, + chain: LitCompatibleCosmosChain = LitCompatibleCosmosChains.cheqdTestnet, + address = ':userAddress' + ): Promise { + return { + conditionType: 'cosmos', + path: `/cosmos/bank/v1beta1/balances/${address}`, + chain, + returnValueTest, + }; + } + + static async generateCosmosAccessControlConditionTransactionMemo( + returnValueTest: CosmosReturnValueTest, + amount: string, + sender: string, + recipient = ':userAddress', + chain: LitCompatibleCosmosChain = LitCompatibleCosmosChains.cheqdTestnet + ): Promise { + return { + conditionType: 'cosmos', + path: `/cosmos/tx/v1beta1/txs?events=transfer.recipient='${recipient}'&events=transfer.sender='${sender}'&events=transfer.amount='${amount}'&order_by=2`, + chain, + returnValueTest, + }; + } + + static async generateCosmosAccessControlConditionInverseTimelock( + returnValueTest: CosmosReturnValueTest, + amount: string, + recipient = ':userAddress', + blockHeight = 'latest', + chain: LitCompatibleCosmosChain = LitCompatibleCosmosChains.cheqdTestnet + ): Promise { + return { + conditionType: 'cosmos', + path: `/cosmos/tx/v1beta1/txs?events=transfer.recipient='${recipient}'&events=transfer.amount='${amount}'&order_by=2&pagination.limit=1`, + chain, + method: 'timelock', + parameters: [blockHeight], + returnValueTest, + }; + } +}