diff --git a/package-lock.json b/package-lock.json index c65000c..bd0ad41 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,8 @@ "@cosmjs/stargate": "^0.32.4", "@cosmjs/utils": "^0.32.4", "@digitalbazaar/vc-status-list": "^8.0.0", + "@lit-protocol/auth-helpers": "^6.5.1", + "@lit-protocol/constants": "^6.5.1", "@lit-protocol/contracts-sdk": "^6.5.1", "@lit-protocol/encryption-v2": "npm:@lit-protocol/encryption@~2.2.63", "@lit-protocol/lit-node-client": "^6.4.10", @@ -30,6 +32,7 @@ "debug": "^4.3.6", "did-jwt": "^8.0.4", "did-resolver": "^4.1.0", + "ethers": "^6.13.2", "generate-password": "^1.7.1", "uint8arrays": "^5.1.0", "uuid": "^10.0.0" @@ -1711,7 +1714,6 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], - "license": "MIT", "dependencies": { "@ethersproject/bignumber": "^5.7.0", "@ethersproject/bytes": "^5.7.0", @@ -1783,7 +1785,6 @@ "url": "https://www.buymeacoffee.com/ricmoo" } ], - "license": "MIT", "dependencies": { "@ethersproject/bignumber": "^5.7.0", "@ethersproject/constants": "^5.7.0", @@ -2584,6 +2585,53 @@ "tslib": "1.14.1" } }, + "node_modules/@lit-protocol/access-control-conditions/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, "node_modules/@lit-protocol/access-control-conditions/node_modules/multiformats": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", @@ -2701,6 +2749,53 @@ "tslib": "1.14.1" } }, + "node_modules/@lit-protocol/auth-browser/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, "node_modules/@lit-protocol/auth-browser/node_modules/multiformats": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", @@ -2727,70 +2822,37 @@ } }, "node_modules/@lit-protocol/auth-helpers": { - "version": "2.2.63", - "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-2.2.63.tgz", - "integrity": "sha512-2U0IMy2lnLV4A9IZUPgEoF4U29ef5RR9kDDZ7+a6+hN6IjEUhLTGkRicMUNe+QEgb5G6CFOd4Ze0/1fkchFcQQ==", - "license": "MIT", - "dependencies": { - "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0" - } - }, - "node_modules/@lit-protocol/bls-sdk": { - "version": "2.2.63", - "resolved": "https://registry.npmjs.org/@lit-protocol/bls-sdk/-/bls-sdk-2.2.63.tgz", - "integrity": "sha512-2ahRBjxpm3SrkhGeb/CULPapmFtayZMgEHwrO7CqPA0M7GrqWvAAg0JFhUlSEdos3/q/Kei7B+ohsG7xPoBOfQ==", - "license": "MIT", - "dependencies": { - "pako": "^2.1.0", - "tslib": "^2.3.0" - } - }, - "node_modules/@lit-protocol/constants": { - "version": "2.2.63", - "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-2.2.63.tgz", - "integrity": "sha512-YY2/ErJnosC8mwyBVfa6gVnHSF+2XMzoGAkFndBeb3rtanxN5JbrmBUGjkc1U1lo4NhmxhI2/inK84h637xypQ==", - "license": "MIT", - "dependencies": { - "@lit-protocol/auth-helpers": "2.2.63", - "@lit-protocol/types": "2.2.63", - "ethers": "^5.7.1", - "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0" - } - }, - "node_modules/@lit-protocol/constants/node_modules/@lit-protocol/types": { - "version": "2.2.63", - "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-2.2.63.tgz", - "integrity": "sha512-Ky3nhjvZuuJMRUXQBa4pwthVozL2mDEj/qTYDYOfmOOzco0QW9vppGMsyNdro48+4rt7yWZLNvSSfRcXXeMvcw==", - "license": "MIT", + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-6.5.1.tgz", + "integrity": "sha512-LpDTzgOHS1bKx7ZdmlP40d5/8wmqwsNzv6Th2bsIkVRg2vtnuAqmTZQ1NP68BiswmjclHMb8xgnQUFCt2zX+Wg==", "dependencies": { - "@lit-protocol/auth-helpers": "2.2.63", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@lit-protocol/access-control-conditions": "6.5.1", + "@lit-protocol/accs-schemas": "^0.0.12", + "@lit-protocol/constants": "6.5.1", + "@lit-protocol/contracts": "^0.0.63", + "@lit-protocol/logger": "6.5.1", + "@lit-protocol/misc": "6.5.1", + "@lit-protocol/types": "6.5.1", + "@lit-protocol/uint8arrays": "6.5.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" - } - }, - "node_modules/@lit-protocol/contracts": { - "version": "0.0.63", - "resolved": "https://registry.npmjs.org/@lit-protocol/contracts/-/contracts-0.0.63.tgz", - "integrity": "sha512-CAorNt72ybIY/g//dDeR837izNGuYQR99XwPSK2X2AJ6c+aZX1kdXCrOnxsbY40BzFrOk/dIFo+ymJ9E3qh48w==", - "peerDependencies": { - "typescript": "^5.0.0" + "tslib": "2.6.0", + "uint8arrays": "^4.0.3", + "util": "0.12.5" } }, - "node_modules/@lit-protocol/contracts-sdk": { + "node_modules/@lit-protocol/auth-helpers/node_modules/@lit-protocol/access-control-conditions": { "version": "6.5.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/contracts-sdk/-/contracts-sdk-6.5.1.tgz", - "integrity": "sha512-HTBKeFW5EBq7qH82bYp74hBpMqPc+qgvQdLywbVVJg6lGGzOGhRr7H+tr29EhR4Dchd7/TxpKt18jjrgp4ds5g==", + "resolved": "https://registry.npmjs.org/@lit-protocol/access-control-conditions/-/access-control-conditions-6.5.1.tgz", + "integrity": "sha512-SFPGSr//yaSUGm/WdKUj3U9Z4raraQyOQLMUAB86GBdqiqdXoMHwQ4JV/TLiasO8FyIoprdRU9QNnyU363WLhw==", "dependencies": { - "@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", @@ -2800,12 +2862,10 @@ "@lit-protocol/logger": "6.5.1", "@lit-protocol/misc": "6.5.1", "@lit-protocol/types": "6.5.1", + "@lit-protocol/uint8arrays": "6.5.1", "ajv": "^8.12.0", - "bitcoinjs-lib": "^6.1.0", "ethers": "^5.7.1", - "jose": "^4.14.4", "jszip": "^3.10.1", - "process": "0.11.10", "punycode": "2.3.1", "siwe": "^2.0.5", "tslib": "1.14.1", @@ -2813,60 +2873,12 @@ "util": "0.12.5" } }, - "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==", - "license": "Apache-2.0", - "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==", - "license": "Apache-2.0", - "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==", - "license": "Apache-2.0", - "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==", - "license": "Apache-2.0", - "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==", - "license": "Apache-2.0" + "node_modules/@lit-protocol/auth-helpers/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/contracts-sdk/node_modules/@lit-protocol/accs-schemas": { + "node_modules/@lit-protocol/auth-helpers/node_modules/@lit-protocol/accs-schemas": { "version": "0.0.12", "resolved": "https://registry.npmjs.org/@lit-protocol/accs-schemas/-/accs-schemas-0.0.12.tgz", "integrity": "sha512-tkAddbEexpjbIY01TFB8YWffe6PFWkxdiSZsriPINfVAL5VmTiL6YH9D3faDP+rNaGMUXu0/AMQ0Dft/iGuLLA==", @@ -2874,22 +2886,7 @@ "ajv": "^8.12.0" } }, - "node_modules/@lit-protocol/contracts-sdk/node_modules/@lit-protocol/constants": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-6.5.1.tgz", - "integrity": "sha512-BQlklrLFtLbugab17SNFU2tzAgT/zXkhrTtgaOOOn/HUrSYzhNe/S68TSmODV4b3dU/Eo0ZBN3sjH+3epLxtrQ==", - "dependencies": { - "@ethersproject/abstract-provider": "5.7.0", - "@lit-protocol/accs-schemas": "^0.0.12", - "@lit-protocol/contracts": "^0.0.63", - "@lit-protocol/types": "6.5.1", - "ethers": "^5.7.1", - "jszip": "^3.10.1", - "siwe": "^2.0.5", - "tslib": "1.14.1" - } - }, - "node_modules/@lit-protocol/contracts-sdk/node_modules/@lit-protocol/logger": { + "node_modules/@lit-protocol/auth-helpers/node_modules/@lit-protocol/logger": { "version": "6.5.1", "resolved": "https://registry.npmjs.org/@lit-protocol/logger/-/logger-6.5.1.tgz", "integrity": "sha512-oHWIeqNOwZGd0RchBoGKUvEAVWNj3L3k7GR8V+0GOaCkX2bqGjtJfZqpX4ANSssVYFvUonZl+rq+WcP0sR123g==", @@ -2907,7 +2904,12 @@ "uint8arrays": "^4.0.3" } }, - "node_modules/@lit-protocol/contracts-sdk/node_modules/@lit-protocol/misc": { + "node_modules/@lit-protocol/auth-helpers/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/auth-helpers/node_modules/@lit-protocol/misc": { "version": "6.5.1", "resolved": "https://registry.npmjs.org/@lit-protocol/misc/-/misc-6.5.1.tgz", "integrity": "sha512-FFth4zmOkiA2dPdB/n5fwzVYZe7rE182vYa4N/dnMNMRwwmmlLzKTSfWs3UrQ+ui6b9Z+4B/ra//FITLevM5tg==", @@ -2930,7 +2932,12 @@ "util": "0.12.5" } }, - "node_modules/@lit-protocol/contracts-sdk/node_modules/@lit-protocol/types": { + "node_modules/@lit-protocol/auth-helpers/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/auth-helpers/node_modules/@lit-protocol/types": { "version": "6.5.1", "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-6.5.1.tgz", "integrity": "sha512-Vqf3txWivc1UGbCDk8/vnfUusG5CiZRU2oeUIz5AZr5a5djcGWNwL/hqblyMTiaB3OB7cLyLUENI4Mt8VYd54w==", @@ -2943,12 +2950,426 @@ "tslib": "1.14.1" } }, - "node_modules/@lit-protocol/contracts-sdk/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", + "node_modules/@lit-protocol/auth-helpers/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/auth-helpers/node_modules/@lit-protocol/uint8arrays": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/uint8arrays/-/uint8arrays-6.5.1.tgz", + "integrity": "sha512-8yoRkE1lvZiQdEmpQAdmgGgId5JlIlT4eCjQqbYqcnf3/8iLvUI3oGCE2WVYNxFEJRPQprP5QCAk/bfgA4aL+g==", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "^0.0.12", + "@lit-protocol/contracts": "^0.0.63", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "tslib": "1.14.1" + } + }, + "node_modules/@lit-protocol/auth-helpers/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-protocol/auth-helpers/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "node_modules/@lit-protocol/auth-helpers/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/auth-helpers/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } + }, + "node_modules/@lit-protocol/auth-helpers/node_modules/siwe-recap/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@lit-protocol/auth-helpers/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/auth-helpers/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/bls-sdk": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/bls-sdk/-/bls-sdk-2.2.63.tgz", + "integrity": "sha512-2ahRBjxpm3SrkhGeb/CULPapmFtayZMgEHwrO7CqPA0M7GrqWvAAg0JFhUlSEdos3/q/Kei7B+ohsG7xPoBOfQ==", + "license": "MIT", + "dependencies": { + "pako": "^2.1.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/constants": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-6.5.1.tgz", + "integrity": "sha512-BQlklrLFtLbugab17SNFU2tzAgT/zXkhrTtgaOOOn/HUrSYzhNe/S68TSmODV4b3dU/Eo0ZBN3sjH+3epLxtrQ==", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "^0.0.12", + "@lit-protocol/contracts": "^0.0.63", + "@lit-protocol/types": "6.5.1", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "tslib": "1.14.1" + } + }, + "node_modules/@lit-protocol/constants/node_modules/@lit-protocol/accs-schemas": { + "version": "0.0.12", + "resolved": "https://registry.npmjs.org/@lit-protocol/accs-schemas/-/accs-schemas-0.0.12.tgz", + "integrity": "sha512-tkAddbEexpjbIY01TFB8YWffe6PFWkxdiSZsriPINfVAL5VmTiL6YH9D3faDP+rNaGMUXu0/AMQ0Dft/iGuLLA==", + "dependencies": { + "ajv": "^8.12.0" + } + }, + "node_modules/@lit-protocol/constants/node_modules/@lit-protocol/types": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-6.5.1.tgz", + "integrity": "sha512-Vqf3txWivc1UGbCDk8/vnfUusG5CiZRU2oeUIz5AZr5a5djcGWNwL/hqblyMTiaB3OB7cLyLUENI4Mt8VYd54w==", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "^0.0.12", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "tslib": "1.14.1" + } + }, + "node_modules/@lit-protocol/constants/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "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.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/contracts/-/contracts-0.0.63.tgz", + "integrity": "sha512-CAorNt72ybIY/g//dDeR837izNGuYQR99XwPSK2X2AJ6c+aZX1kdXCrOnxsbY40BzFrOk/dIFo+ymJ9E3qh48w==", + "peerDependencies": { + "typescript": "^5.0.0" + } + }, + "node_modules/@lit-protocol/contracts-sdk": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/contracts-sdk/-/contracts-sdk-6.5.1.tgz", + "integrity": "sha512-HTBKeFW5EBq7qH82bYp74hBpMqPc+qgvQdLywbVVJg6lGGzOGhRr7H+tr29EhR4Dchd7/TxpKt18jjrgp4ds5g==", + "dependencies": { + "@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.12", + "@lit-protocol/constants": "6.5.1", + "@lit-protocol/contracts": "^0.0.63", + "@lit-protocol/logger": "6.5.1", + "@lit-protocol/misc": "6.5.1", + "@lit-protocol/types": "6.5.1", + "ajv": "^8.12.0", + "bitcoinjs-lib": "^6.1.0", + "ethers": "^5.7.1", + "jose": "^4.14.4", + "jszip": "^3.10.1", + "process": "0.11.10", + "punycode": "2.3.1", + "siwe": "^2.0.5", + "tslib": "1.14.1", + "uint8arrays": "^4.0.3", + "util": "0.12.5" + } + }, + "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==", + "license": "Apache-2.0", + "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==", + "license": "Apache-2.0", + "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==", + "license": "Apache-2.0", + "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==", + "license": "Apache-2.0", + "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==", + "license": "Apache-2.0" + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/@lit-protocol/accs-schemas": { + "version": "0.0.12", + "resolved": "https://registry.npmjs.org/@lit-protocol/accs-schemas/-/accs-schemas-0.0.12.tgz", + "integrity": "sha512-tkAddbEexpjbIY01TFB8YWffe6PFWkxdiSZsriPINfVAL5VmTiL6YH9D3faDP+rNaGMUXu0/AMQ0Dft/iGuLLA==", + "dependencies": { + "ajv": "^8.12.0" + } + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/@lit-protocol/logger": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/logger/-/logger-6.5.1.tgz", + "integrity": "sha512-oHWIeqNOwZGd0RchBoGKUvEAVWNj3L3k7GR8V+0GOaCkX2bqGjtJfZqpX4ANSssVYFvUonZl+rq+WcP0sR123g==", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "^0.0.12", + "@lit-protocol/constants": "6.5.1", + "@lit-protocol/contracts": "^0.0.63", + "@lit-protocol/types": "6.5.1", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "punycode": "2.3.1", + "siwe": "^2.0.5", + "tslib": "1.14.1", + "uint8arrays": "^4.0.3" + } + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/@lit-protocol/misc": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/misc/-/misc-6.5.1.tgz", + "integrity": "sha512-FFth4zmOkiA2dPdB/n5fwzVYZe7rE182vYa4N/dnMNMRwwmmlLzKTSfWs3UrQ+ui6b9Z+4B/ra//FITLevM5tg==", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@lit-protocol/accs-schemas": "^0.0.12", + "@lit-protocol/constants": "6.5.1", + "@lit-protocol/contracts": "^0.0.63", + "@lit-protocol/logger": "6.5.1", + "@lit-protocol/types": "6.5.1", + "ajv": "^8.12.0", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "punycode": "2.3.1", + "siwe": "^2.0.5", + "tslib": "1.14.1", + "uint8arrays": "^4.0.3", + "util": "0.12.5" + } + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/@lit-protocol/types": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-6.5.1.tgz", + "integrity": "sha512-Vqf3txWivc1UGbCDk8/vnfUusG5CiZRU2oeUIz5AZr5a5djcGWNwL/hqblyMTiaB3OB7cLyLUENI4Mt8VYd54w==", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "^0.0.12", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "tslib": "1.14.1" + } + }, + "node_modules/@lit-protocol/contracts-sdk/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "node_modules/@lit-protocol/contracts-sdk/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" } }, @@ -3210,6 +3631,53 @@ "tslib": "1.14.1" } }, + "node_modules/@lit-protocol/core/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, "node_modules/@lit-protocol/core/node_modules/multiformats": { "version": "9.9.0", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", @@ -3237,47 +3705,139 @@ "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==", - "license": "Apache-2.0 OR MIT", + "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==", + "license": "Apache-2.0 OR MIT", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@lit-protocol/crypto": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/crypto/-/crypto-2.2.63.tgz", + "integrity": "sha512-ZBcp1wERw3B3HI/l8RVxfMhNVK4dQtnltsUiWDPspqCRHuAxdtHlyeX3sknu2bM+gp2xeTsS/SGH2m+RUSLQzw==", + "license": "MIT", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.63", + "@lit-protocol/bls-sdk": "2.2.63", + "@lit-protocol/constants": "2.2.63", + "@lit-protocol/ecdsa-sdk": "2.2.63", + "@lit-protocol/misc": "2.2.63", + "@lit-protocol/nacl": "2.2.63", + "@lit-protocol/types": "2.2.63", + "@lit-protocol/uint8arrays": "2.2.63", + "ethers": "^5.7.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/crypto/node_modules/@lit-protocol/auth-helpers": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-2.2.63.tgz", + "integrity": "sha512-2U0IMy2lnLV4A9IZUPgEoF4U29ef5RR9kDDZ7+a6+hN6IjEUhLTGkRicMUNe+QEgb5G6CFOd4Ze0/1fkchFcQQ==", + "dependencies": { + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/crypto/node_modules/@lit-protocol/constants": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-2.2.63.tgz", + "integrity": "sha512-YY2/ErJnosC8mwyBVfa6gVnHSF+2XMzoGAkFndBeb3rtanxN5JbrmBUGjkc1U1lo4NhmxhI2/inK84h637xypQ==", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.63", + "@lit-protocol/types": "2.2.63", + "ethers": "^5.7.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/crypto/node_modules/@lit-protocol/types": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-2.2.63.tgz", + "integrity": "sha512-Ky3nhjvZuuJMRUXQBa4pwthVozL2mDEj/qTYDYOfmOOzco0QW9vppGMsyNdro48+4rt7yWZLNvSSfRcXXeMvcw==", + "license": "MIT", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.63", + "ethers": "^5.7.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/crypto/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "node_modules/@lit-protocol/crypto/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" } }, - "node_modules/@lit-protocol/crypto": { - "version": "2.2.63", - "resolved": "https://registry.npmjs.org/@lit-protocol/crypto/-/crypto-2.2.63.tgz", - "integrity": "sha512-ZBcp1wERw3B3HI/l8RVxfMhNVK4dQtnltsUiWDPspqCRHuAxdtHlyeX3sknu2bM+gp2xeTsS/SGH2m+RUSLQzw==", - "license": "MIT", - "dependencies": { - "@lit-protocol/auth-helpers": "2.2.63", - "@lit-protocol/bls-sdk": "2.2.63", - "@lit-protocol/constants": "2.2.63", - "@lit-protocol/ecdsa-sdk": "2.2.63", - "@lit-protocol/misc": "2.2.63", - "@lit-protocol/nacl": "2.2.63", - "@lit-protocol/types": "2.2.63", - "@lit-protocol/uint8arrays": "2.2.63", - "ethers": "^5.7.1", - "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0" - } - }, - "node_modules/@lit-protocol/crypto/node_modules/@lit-protocol/types": { - "version": "2.2.63", - "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-2.2.63.tgz", - "integrity": "sha512-Ky3nhjvZuuJMRUXQBa4pwthVozL2mDEj/qTYDYOfmOOzco0QW9vppGMsyNdro48+4rt7yWZLNvSSfRcXXeMvcw==", - "license": "MIT", + "node_modules/@lit-protocol/crypto/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", "dependencies": { - "@lit-protocol/auth-helpers": "2.2.63", - "ethers": "^5.7.1", - "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0" + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" } }, "node_modules/@lit-protocol/ecdsa-sdk": { @@ -3346,6 +3906,29 @@ "tslib": "^2.3.0" } }, + "node_modules/@lit-protocol/encryption-v2/node_modules/@lit-protocol/auth-helpers": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-2.2.63.tgz", + "integrity": "sha512-2U0IMy2lnLV4A9IZUPgEoF4U29ef5RR9kDDZ7+a6+hN6IjEUhLTGkRicMUNe+QEgb5G6CFOd4Ze0/1fkchFcQQ==", + "dependencies": { + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/encryption-v2/node_modules/@lit-protocol/constants": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-2.2.63.tgz", + "integrity": "sha512-YY2/ErJnosC8mwyBVfa6gVnHSF+2XMzoGAkFndBeb3rtanxN5JbrmBUGjkc1U1lo4NhmxhI2/inK84h637xypQ==", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.63", + "@lit-protocol/types": "2.2.63", + "ethers": "^5.7.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, "node_modules/@lit-protocol/encryption-v2/node_modules/@lit-protocol/types": { "version": "2.2.63", "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-2.2.63.tgz", @@ -3359,6 +3942,75 @@ "tslib": "^2.3.0" } }, + "node_modules/@lit-protocol/encryption-v2/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "node_modules/@lit-protocol/encryption-v2/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@lit-protocol/encryption-v2/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } + }, "node_modules/@lit-protocol/encryption/node_modules/@lit-protocol/bls-sdk": { "version": "6.4.10", "resolved": "https://registry.npmjs.org/@lit-protocol/bls-sdk/-/bls-sdk-6.4.10.tgz", @@ -3475,6 +4127,53 @@ "tslib": "1.14.1" } }, + "node_modules/@lit-protocol/encryption/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, "node_modules/@lit-protocol/encryption/node_modules/multiformats": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", @@ -3891,17 +4590,86 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "license": "0BSD" }, + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, "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==", "license": "(Apache-2.0 AND MIT)" }, - "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==", - "license": "(MIT AND Zlib)" + "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==", + "license": "(MIT AND Zlib)" + }, + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } + }, + "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/siwe-recap/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } }, "node_modules/@lit-protocol/lit-node-client-nodejs/node_modules/tslib": { "version": "2.6.0", @@ -4154,6 +4922,29 @@ "integrity": "sha512-/4Q3hpPFAnbBjNLLOmdTdyvInBfZcQBTWy+LWbypmWxAKwOpSQOyyv4ZZts4CoiYtS8Skyix5CkOWytf7XNK9A==", "license": "Unlicense" }, + "node_modules/@lit-protocol/lit-node-client-v2/node_modules/@lit-protocol/auth-helpers": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-2.2.63.tgz", + "integrity": "sha512-2U0IMy2lnLV4A9IZUPgEoF4U29ef5RR9kDDZ7+a6+hN6IjEUhLTGkRicMUNe+QEgb5G6CFOd4Ze0/1fkchFcQQ==", + "dependencies": { + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/lit-node-client-v2/node_modules/@lit-protocol/constants": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-2.2.63.tgz", + "integrity": "sha512-YY2/ErJnosC8mwyBVfa6gVnHSF+2XMzoGAkFndBeb3rtanxN5JbrmBUGjkc1U1lo4NhmxhI2/inK84h637xypQ==", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.63", + "@lit-protocol/types": "2.2.63", + "ethers": "^5.7.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, "node_modules/@lit-protocol/lit-node-client-v2/node_modules/@lit-protocol/core": { "version": "2.2.63", "resolved": "https://registry.npmjs.org/@lit-protocol/core/-/core-2.2.63.tgz", @@ -4281,6 +5072,62 @@ "protobufjs": "~6.11.2" } }, + "node_modules/@lit-protocol/lit-node-client-v2/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "node_modules/@lit-protocol/lit-node-client-v2/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "node_modules/@lit-protocol/lit-node-client-v2/node_modules/protobufjs": { "version": "6.11.4", "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.4.tgz", @@ -4307,6 +5154,19 @@ "pbts": "bin/pbts" } }, + "node_modules/@lit-protocol/lit-node-client-v2/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } + }, "node_modules/@lit-protocol/lit-node-client-v3": { "name": "@lit-protocol/lit-node-client", "version": "3.1.1", @@ -4879,6 +5739,53 @@ "protobufjs": "~6.11.2" } }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, "node_modules/@lit-protocol/lit-node-client-v3/node_modules/multiformats": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", @@ -4915,6 +5822,28 @@ "pbts": "bin/pbts" } }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } + }, + "node_modules/@lit-protocol/lit-node-client-v3/node_modules/siwe-recap/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "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", @@ -5199,6 +6128,53 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "license": "0BSD" }, + "node_modules/@lit-protocol/lit-node-client/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, "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", @@ -5211,6 +6187,28 @@ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", "license": "(MIT AND Zlib)" }, + "node_modules/@lit-protocol/lit-node-client/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } + }, + "node_modules/@lit-protocol/lit-node-client/node_modules/siwe-recap/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, "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", @@ -5456,13 +6454,60 @@ "license": "MIT", "dependencies": { "@ethersproject/abstract-provider": "5.7.0", - "@lit-protocol/accs-schemas": "^0.0.11", - "@lit-protocol/contracts": "^0.0.63", - "@lit-protocol/types": "6.4.10", - "ethers": "^5.7.1", - "jszip": "^3.10.1", - "siwe": "^2.0.5", - "tslib": "1.14.1" + "@lit-protocol/accs-schemas": "^0.0.11", + "@lit-protocol/contracts": "^0.0.63", + "@lit-protocol/types": "6.4.10", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "tslib": "1.14.1" + } + }, + "node_modules/@lit-protocol/logger/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" } }, "node_modules/@lit-protocol/logger/node_modules/multiformats": { @@ -5554,12 +6599,82 @@ "tslib": "1.14.1" } }, + "node_modules/@lit-protocol/misc-browser/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, "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==", "license": "0BSD" }, + "node_modules/@lit-protocol/misc/node_modules/@lit-protocol/auth-helpers": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-2.2.63.tgz", + "integrity": "sha512-2U0IMy2lnLV4A9IZUPgEoF4U29ef5RR9kDDZ7+a6+hN6IjEUhLTGkRicMUNe+QEgb5G6CFOd4Ze0/1fkchFcQQ==", + "dependencies": { + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/misc/node_modules/@lit-protocol/constants": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/constants/-/constants-2.2.63.tgz", + "integrity": "sha512-YY2/ErJnosC8mwyBVfa6gVnHSF+2XMzoGAkFndBeb3rtanxN5JbrmBUGjkc1U1lo4NhmxhI2/inK84h637xypQ==", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.63", + "@lit-protocol/types": "2.2.63", + "ethers": "^5.7.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, "node_modules/@lit-protocol/misc/node_modules/@lit-protocol/types": { "version": "2.2.63", "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-2.2.63.tgz", @@ -5573,6 +6688,75 @@ "tslib": "^2.3.0" } }, + "node_modules/@lit-protocol/misc/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "node_modules/@lit-protocol/misc/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@lit-protocol/misc/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } + }, "node_modules/@lit-protocol/nacl": { "version": "2.2.63", "resolved": "https://registry.npmjs.org/@lit-protocol/nacl/-/nacl-2.2.63.tgz", @@ -5598,33 +6782,116 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "license": "0BSD" }, - "node_modules/@lit-protocol/types": { - "version": "6.4.10", - "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-6.4.10.tgz", - "integrity": "sha512-Js4F/VsB2bWJwSbXcxw3KQxnGqjUSyaPo0BMir3xKkRufV25iZvI9858twK1Ca8cT9+Vou2YtxaDYHd/T7I9CA==", - "license": "MIT", - "dependencies": { - "@ethersproject/abstract-provider": "5.7.0", - "@lit-protocol/accs-schemas": "^0.0.11", - "ethers": "^5.7.1", - "jszip": "^3.10.1", - "siwe": "^2.0.5", - "tslib": "1.14.1" + "node_modules/@lit-protocol/types": { + "version": "6.4.10", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-6.4.10.tgz", + "integrity": "sha512-Js4F/VsB2bWJwSbXcxw3KQxnGqjUSyaPo0BMir3xKkRufV25iZvI9858twK1Ca8cT9+Vou2YtxaDYHd/T7I9CA==", + "license": "MIT", + "dependencies": { + "@ethersproject/abstract-provider": "5.7.0", + "@lit-protocol/accs-schemas": "^0.0.11", + "ethers": "^5.7.1", + "jszip": "^3.10.1", + "siwe": "^2.0.5", + "tslib": "1.14.1" + } + }, + "node_modules/@lit-protocol/types-v2": { + "name": "@lit-protocol/types", + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-2.2.63.tgz", + "integrity": "sha512-Ky3nhjvZuuJMRUXQBa4pwthVozL2mDEj/qTYDYOfmOOzco0QW9vppGMsyNdro48+4rt7yWZLNvSSfRcXXeMvcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@lit-protocol/auth-helpers": "2.2.63", + "ethers": "^5.7.1", + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/types-v2/node_modules/@lit-protocol/auth-helpers": { + "version": "2.2.63", + "resolved": "https://registry.npmjs.org/@lit-protocol/auth-helpers/-/auth-helpers-2.2.63.tgz", + "integrity": "sha512-2U0IMy2lnLV4A9IZUPgEoF4U29ef5RR9kDDZ7+a6+hN6IjEUhLTGkRicMUNe+QEgb5G6CFOd4Ze0/1fkchFcQQ==", + "dev": true, + "dependencies": { + "siwe": "^2.0.5", + "siwe-recap": "0.0.2-alpha.0", + "tslib": "^2.3.0" + } + }, + "node_modules/@lit-protocol/types-v2/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "node_modules/@lit-protocol/types-v2/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "dev": true, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" } }, - "node_modules/@lit-protocol/types-v2": { - "name": "@lit-protocol/types", - "version": "2.2.63", - "resolved": "https://registry.npmjs.org/@lit-protocol/types/-/types-2.2.63.tgz", - "integrity": "sha512-Ky3nhjvZuuJMRUXQBa4pwthVozL2mDEj/qTYDYOfmOOzco0QW9vppGMsyNdro48+4rt7yWZLNvSSfRcXXeMvcw==", + "node_modules/@lit-protocol/types-v2/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", "dev": true, - "license": "MIT", "dependencies": { - "@lit-protocol/auth-helpers": "2.2.63", - "ethers": "^5.7.1", - "siwe": "^2.0.5", - "siwe-recap": "0.0.2-alpha.0", - "tslib": "^2.3.0" + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" } }, "node_modules/@lit-protocol/types-v3": { @@ -5655,6 +6922,125 @@ "tslib": "^2.3.0" } }, + "node_modules/@lit-protocol/types-v3/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, + "node_modules/@lit-protocol/types-v3/node_modules/multiformats": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", + "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", + "dev": true, + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@lit-protocol/types-v3/node_modules/siwe-recap": { + "version": "0.0.2-alpha.0", + "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", + "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", + "dev": true, + "dependencies": { + "canonicalize": "^2.0.0", + "multiformats": "^11.0.2", + "siwe": "^2.1.4" + }, + "peerDependencies": { + "ethers": "^5.5.1" + } + }, + "node_modules/@lit-protocol/types/node_modules/ethers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", + "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.7.0", + "@ethersproject/abstract-provider": "5.7.0", + "@ethersproject/abstract-signer": "5.7.0", + "@ethersproject/address": "5.7.0", + "@ethersproject/base64": "5.7.0", + "@ethersproject/basex": "5.7.0", + "@ethersproject/bignumber": "5.7.0", + "@ethersproject/bytes": "5.7.0", + "@ethersproject/constants": "5.7.0", + "@ethersproject/contracts": "5.7.0", + "@ethersproject/hash": "5.7.0", + "@ethersproject/hdnode": "5.7.0", + "@ethersproject/json-wallets": "5.7.0", + "@ethersproject/keccak256": "5.7.0", + "@ethersproject/logger": "5.7.0", + "@ethersproject/networks": "5.7.1", + "@ethersproject/pbkdf2": "5.7.0", + "@ethersproject/properties": "5.7.0", + "@ethersproject/providers": "5.7.2", + "@ethersproject/random": "5.7.0", + "@ethersproject/rlp": "5.7.0", + "@ethersproject/sha2": "5.7.0", + "@ethersproject/signing-key": "5.7.0", + "@ethersproject/solidity": "5.7.0", + "@ethersproject/strings": "5.7.0", + "@ethersproject/transactions": "5.7.0", + "@ethersproject/units": "5.7.0", + "@ethersproject/wallet": "5.7.0", + "@ethersproject/web": "5.7.1", + "@ethersproject/wordlists": "5.7.0" + } + }, "node_modules/@lit-protocol/types/node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", @@ -7552,116 +8938,25 @@ "node_modules/@veramo/did-manager": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/@veramo/did-manager/-/did-manager-6.0.0.tgz", - "integrity": "sha512-sjF0d0ZE+h7Jw7WwGtyRhjT5MhKBwGLx2AsR2Ao0qqyloVAxVS9jDcl2DP1ZdCKC+7BR4X30E1ja99N7q3INDg==", - "license": "Apache-2.0", - "dependencies": { - "@veramo/core-types": "^6.0.0", - "@veramo/did-discovery": "^6.0.0" - } - }, - "node_modules/@veramo/did-provider-key": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@veramo/did-provider-key/-/did-provider-key-6.0.0.tgz", - "integrity": "sha512-vEA1CpaGUWzGqTk0s5mhyaSgt1o09mjMWm/HAS0RR7Z+FTorlx7Kc7rhINBUmylzVKTsZQqeRlx0aSJhUxdUUw==", - "license": "Apache-2.0", - "dependencies": { - "@veramo/core-types": "^6.0.0", - "@veramo/did-manager": "^6.0.0", - "@veramo/utils": "^6.0.0", - "debug": "^4.3.3", - "did-resolver": "^4.1.0", - "ethers": "^6.11.1" - } - }, - "node_modules/@veramo/did-provider-key/node_modules/@noble/curves": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", - "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "1.3.2" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@veramo/did-provider-key/node_modules/@noble/hashes": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", - "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", - "license": "MIT", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@veramo/did-provider-key/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", - "license": "MIT" - }, - "node_modules/@veramo/did-provider-key/node_modules/aes-js": { - "version": "4.0.0-beta.5", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", - "license": "MIT" - }, - "node_modules/@veramo/did-provider-key/node_modules/ethers": { - "version": "6.13.2", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", - "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/ethers-io/" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@adraffy/ens-normalize": "1.10.1", - "@noble/curves": "1.2.0", - "@noble/hashes": "1.3.2", - "@types/node": "18.15.13", - "aes-js": "4.0.0-beta.5", - "tslib": "2.4.0", - "ws": "8.17.1" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@veramo/did-provider-key/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "license": "0BSD" - }, - "node_modules/@veramo/did-provider-key/node_modules/ws": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", - "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", - "license": "MIT", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } + "integrity": "sha512-sjF0d0ZE+h7Jw7WwGtyRhjT5MhKBwGLx2AsR2Ao0qqyloVAxVS9jDcl2DP1ZdCKC+7BR4X30E1ja99N7q3INDg==", + "license": "Apache-2.0", + "dependencies": { + "@veramo/core-types": "^6.0.0", + "@veramo/did-discovery": "^6.0.0" + } + }, + "node_modules/@veramo/did-provider-key": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@veramo/did-provider-key/-/did-provider-key-6.0.0.tgz", + "integrity": "sha512-vEA1CpaGUWzGqTk0s5mhyaSgt1o09mjMWm/HAS0RR7Z+FTorlx7Kc7rhINBUmylzVKTsZQqeRlx0aSJhUxdUUw==", + "license": "Apache-2.0", + "dependencies": { + "@veramo/core-types": "^6.0.0", + "@veramo/did-manager": "^6.0.0", + "@veramo/utils": "^6.0.0", + "debug": "^4.3.3", + "did-resolver": "^4.1.0", + "ethers": "^6.11.1" } }, "node_modules/@veramo/key-manager": { @@ -7704,46 +8999,6 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/@veramo/key-manager/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", - "license": "MIT" - }, - "node_modules/@veramo/key-manager/node_modules/aes-js": { - "version": "4.0.0-beta.5", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", - "license": "MIT" - }, - "node_modules/@veramo/key-manager/node_modules/ethers": { - "version": "6.13.2", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", - "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/ethers-io/" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@adraffy/ens-normalize": "1.10.1", - "@noble/curves": "1.2.0", - "@noble/hashes": "1.3.2", - "@types/node": "18.15.13", - "aes-js": "4.0.0-beta.5", - "tslib": "2.4.0", - "ws": "8.17.1" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/@veramo/key-manager/node_modules/multiformats": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", @@ -7754,12 +9009,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@veramo/key-manager/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "license": "0BSD" - }, "node_modules/@veramo/key-manager/node_modules/uint8arrays": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.10.tgz", @@ -7782,27 +9031,6 @@ "uuid": "dist/bin/uuid" } }, - "node_modules/@veramo/key-manager/node_modules/ws": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", - "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", - "license": "MIT", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/@veramo/utils": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/@veramo/utils/-/utils-6.0.0.tgz", @@ -7848,18 +9076,6 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/@veramo/utils/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", - "license": "MIT" - }, - "node_modules/@veramo/utils/node_modules/aes-js": { - "version": "4.0.0-beta.5", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", - "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", - "license": "MIT" - }, "node_modules/@veramo/utils/node_modules/cross-fetch": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", @@ -7869,40 +9085,6 @@ "node-fetch": "^2.6.12" } }, - "node_modules/@veramo/utils/node_modules/ethers": { - "version": "6.13.2", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", - "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/ethers-io/" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "license": "MIT", - "dependencies": { - "@adraffy/ens-normalize": "1.10.1", - "@noble/curves": "1.2.0", - "@noble/hashes": "1.3.2", - "@types/node": "18.15.13", - "aes-js": "4.0.0-beta.5", - "tslib": "2.4.0", - "ws": "8.17.1" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@veramo/utils/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "license": "0BSD" - }, "node_modules/@veramo/utils/node_modules/uint8arrays": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-4.0.10.tgz", @@ -7922,27 +9104,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@veramo/utils/node_modules/ws": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", - "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", - "license": "MIT", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/@walletconnect/core": { "version": "2.9.2", "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.9.2.tgz", @@ -10850,51 +12011,87 @@ } }, "node_modules/ethers": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", - "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", + "version": "6.13.2", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.2.tgz", + "integrity": "sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg==", "funding": [ { "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + "url": "https://github.com/sponsors/ethers-io/" }, { "type": "individual", "url": "https://www.buymeacoffee.com/ricmoo" } ], - "license": "MIT", "dependencies": { - "@ethersproject/abi": "5.7.0", - "@ethersproject/abstract-provider": "5.7.0", - "@ethersproject/abstract-signer": "5.7.0", - "@ethersproject/address": "5.7.0", - "@ethersproject/base64": "5.7.0", - "@ethersproject/basex": "5.7.0", - "@ethersproject/bignumber": "5.7.0", - "@ethersproject/bytes": "5.7.0", - "@ethersproject/constants": "5.7.0", - "@ethersproject/contracts": "5.7.0", - "@ethersproject/hash": "5.7.0", - "@ethersproject/hdnode": "5.7.0", - "@ethersproject/json-wallets": "5.7.0", - "@ethersproject/keccak256": "5.7.0", - "@ethersproject/logger": "5.7.0", - "@ethersproject/networks": "5.7.1", - "@ethersproject/pbkdf2": "5.7.0", - "@ethersproject/properties": "5.7.0", - "@ethersproject/providers": "5.7.2", - "@ethersproject/random": "5.7.0", - "@ethersproject/rlp": "5.7.0", - "@ethersproject/sha2": "5.7.0", - "@ethersproject/signing-key": "5.7.0", - "@ethersproject/solidity": "5.7.0", - "@ethersproject/strings": "5.7.0", - "@ethersproject/transactions": "5.7.0", - "@ethersproject/units": "5.7.0", - "@ethersproject/wallet": "5.7.0", - "@ethersproject/web": "5.7.1", - "@ethersproject/wordlists": "5.7.0" + "@adraffy/ens-normalize": "1.10.1", + "@noble/curves": "1.2.0", + "@noble/hashes": "1.3.2", + "@types/node": "18.15.13", + "aes-js": "4.0.0-beta.5", + "tslib": "2.4.0", + "ws": "8.17.1" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/ethers/node_modules/@noble/curves": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", + "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "dependencies": { + "@noble/hashes": "1.3.2" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/ethers/node_modules/@noble/hashes": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", + "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/ethers/node_modules/@types/node": { + "version": "18.15.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", + "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==" + }, + "node_modules/ethers/node_modules/aes-js": { + "version": "4.0.0-beta.5", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + }, + "node_modules/ethers/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, + "node_modules/ethers/node_modules/ws": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } } }, "node_modules/event-target-shim": { @@ -19396,30 +20593,6 @@ "ethers": "^5.6.8 || ^6.0.8" } }, - "node_modules/siwe-recap": { - "version": "0.0.2-alpha.0", - "resolved": "https://registry.npmjs.org/siwe-recap/-/siwe-recap-0.0.2-alpha.0.tgz", - "integrity": "sha512-xqFUnvrACWW/Q4s5HQ02avg8IyH2RcgkUzfvN4scYaaHErotLVtTGDZkSS0sn/oNK4MXRt83lTqredsvXgt8iA==", - "license": "MIT", - "dependencies": { - "canonicalize": "^2.0.0", - "multiformats": "^11.0.2", - "siwe": "^2.1.4" - }, - "peerDependencies": { - "ethers": "^5.5.1" - } - }, - "node_modules/siwe-recap/node_modules/multiformats": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-11.0.2.tgz", - "integrity": "sha512-b5mYMkOkARIuVZCpvijFj9a6m5wMVLC7cf/jIPd5D/ARDOfLC5+IFkbgDXQgcU2goIsTD/O9NY4DI/Mt4OGvlg==", - "license": "Apache-2.0 OR MIT", - "engines": { - "node": ">=16.0.0", - "npm": ">=7.0.0" - } - }, "node_modules/siwe/node_modules/@spruceid/siwe-parser": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/@spruceid/siwe-parser/-/siwe-parser-2.1.2.tgz", diff --git a/package.json b/package.json index fd5c62e..23a355f 100644 --- a/package.json +++ b/package.json @@ -102,6 +102,8 @@ "@cosmjs/stargate": "^0.32.4", "@cosmjs/utils": "^0.32.4", "@digitalbazaar/vc-status-list": "^8.0.0", + "@lit-protocol/auth-helpers": "^6.5.1", + "@lit-protocol/constants": "^6.5.1", "@lit-protocol/contracts-sdk": "^6.5.1", "@lit-protocol/encryption-v2": "npm:@lit-protocol/encryption@~2.2.63", "@lit-protocol/lit-node-client": "^6.4.10", @@ -115,6 +117,7 @@ "debug": "^4.3.6", "did-jwt": "^8.0.4", "did-resolver": "^4.1.0", + "ethers": "^6.13.2", "generate-password": "^1.7.1", "uint8arrays": "^5.1.0", "uuid": "^10.0.0" diff --git a/src/dkg-threshold/lit-protocol/v6.ts b/src/dkg-threshold/lit-protocol/v6.ts index 06b1363..57f0d8d 100644 --- a/src/dkg-threshold/lit-protocol/v6.ts +++ b/src/dkg-threshold/lit-protocol/v6.ts @@ -8,6 +8,7 @@ import { ConditionType, DecryptResponse, EncryptResponse, + LitAbility, UnifiedAccessControlConditions, } from '@lit-protocol/types'; import { generateSymmetricKey, randomBytes } from '../../utils/helpers.js'; @@ -15,6 +16,9 @@ import { isBrowser, isNode } from '../../utils/env.js'; import { v4 } from 'uuid'; import { fromString } from 'uint8arrays'; import { LitProtocolDebugEnabled } from '../../utils/constants.js'; +import { LitAccessControlConditionResource } from '@lit-protocol/auth-helpers'; +import ethers from 'ethers'; +import { LIT_RPC } from '@lit-protocol/constants'; export type ThresholdEncryptionResult = { encryptedString: Uint8Array; @@ -67,9 +71,9 @@ export type LitProtocolOptions = { export type TxNonceFormat = (typeof TxNonceFormats)[keyof typeof TxNonceFormats]; export const LitNetworks = { + datil: 'datil', datildev: 'datil-dev', localhost: 'localhost', - custom: 'custom', } as const; export const LitCompatibleCosmosChains = { cosmos: 'cosmos', @@ -77,6 +81,11 @@ export const LitCompatibleCosmosChains = { cheqdTestnet: 'cheqdTestnet', } as const; export const TxNonceFormats = { entropy: 'entropy', uuid: 'uuid', timestamp: 'timestamp' } as const; +export const DefaultLitNetworkRPCUrls = { + [LitNetworks.datil]: LIT_RPC.CHRONICLE, + [LitNetworks.datildev]: LIT_RPC.CHRONICLE_YELLOWSTONE, + [LitNetworks.localhost]: LIT_RPC.LOCAL_ANVIL, +} as const; export class LitProtocol { client: LitNodeClientNodeJs | LitNodeClient; @@ -104,7 +113,14 @@ export class LitProtocol { throw new Error('[did-provider-cheqd]: lit-protocol: Unsupported runtime environment'); })(this); - this.contractClient = new LitContracts({ network: this.litNetwork, signer: this.cosmosAuthWallet }); + // instantiate LitContracts client + this.contractClient = new LitContracts({ + network: this.litNetwork, + signer: new ethers.Wallet( + this.cosmosAuthWallet.mnemonic, + new ethers.JsonRpcProvider(DefaultLitNetworkRPCUrls[this.litNetwork]) + ), + }); } async connect(): Promise { @@ -132,21 +148,41 @@ export class LitProtocol { stringHash: string, unifiedAccessControlConditions: NonNullable ): Promise { - // generate auth signature - const authSig = await LitProtocol.generateAuthSignature(this.cosmosAuthWallet); - // mint capacity credits - await this.contractClient.mintCapacityCreditsNFT({ + const { capacityTokenIdStr } = await this.contractClient.mintCapacityCreditsNFT({ daysUntilUTCMidnightExpiration: 1, }); + const { capacityDelegationAuthSig } = await this.client.createCapacityDelegationAuthSig({ + uses: '1', + dAppOwnerWallet: this.contractClient.signer, + capacityTokenId: capacityTokenIdStr, + }); + + // generate session signatures + const sessionSigs = await this.client.getSessionSigs({ + chain: 'cheqd', + resourceAbilityRequests: [ + { + resource: new LitAccessControlConditionResource('*'), + ability: LitAbility.AccessControlConditionDecryption, + }, + ], + capabilityAuthSigs: [capacityDelegationAuthSig], + authNeededCallback: async ({}) => { + // generate auth signature + const authSig = await LitProtocol.generateAuthSignature(this.cosmosAuthWallet); + return authSig; + }, + }); + // decrypt const { decryptedData } = (await this.client.decrypt({ chain: this.chain, ciphertext: encryptedString, dataToEncryptHash: stringHash, unifiedAccessControlConditions, - authSig, + sessionSigs, })) satisfies DecryptToStringMethodResult; return toString(decryptedData, 'utf-8');