From 10624e94db6f6331a141f8fbb84e186f75d463c9 Mon Sep 17 00:00:00 2001 From: guru-web3 <105355858+guru-web3@users.noreply.github.com> Date: Fri, 30 Jun 2023 13:16:28 +0530 Subject: [PATCH 1/9] feat: openlogin version upgrade --- package-lock.json | 2196 +++++++++++++++------ package.json | 21 +- src/auth/OpenLoginHandler.ts | 3 +- src/components/frame/PopupLogin.vue | 2 +- src/components/login/LoginButtons.vue | 2 +- src/components/login/LoginTitle.vue | 2 +- src/config.ts | 3 +- src/controllers/TorusController.ts | 12 +- src/modules/controllers.ts | 20 +- src/pages/End.vue | 7 +- src/pages/Login.vue | 2 +- src/plugins/Topup/moonpay.ts | 2 +- src/utils/enums.ts | 5 +- src/utils/tkey/storageLayer.ts | 5 +- tests/controller/controllerModule.test.ts | 8 +- tests/controller/mockConnection.ts | 17 +- vue.config.js | 2 + 17 files changed, 1680 insertions(+), 629 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1faadb61..a3581718 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,17 +21,18 @@ "@solana/spl-name-service": "^0.1.4", "@solana/spl-token": "0.2.0", "@solana/web3.js": "^1.63.1", - "@toruslabs/base-controllers": "^2.2.6", + "@toruslabs/base-controllers": "^3.0.3", "@toruslabs/broadcast-channel": "^5.0.2", "@toruslabs/eccrypto": "^1.1.8", "@toruslabs/http-helpers": "^3.0.0", "@toruslabs/loglevel-sentry": "^4.0.0", - "@toruslabs/openlogin": "^3.1.0", + "@toruslabs/metadata-helpers": "^4.0.0", + "@toruslabs/openlogin": "^4.5.4", "@toruslabs/openlogin-ed25519": "^2.0.0", - "@toruslabs/openlogin-jrpc": "^2.5.0", - "@toruslabs/openlogin-subkey": "^2.1.0", - "@toruslabs/openlogin-utils": "^2.1.0", - "@toruslabs/solana-controllers": "^2.4.0", + "@toruslabs/openlogin-jrpc": "^4.6.0", + "@toruslabs/openlogin-subkey": "^4.2.0", + "@toruslabs/openlogin-utils": "^4.5.1", + "@toruslabs/solana-controllers": "^3.0.3", "@toruslabs/tweetnacl-js": "^1.0.3", "@toruslabs/vue-components": "^2.0.1", "@toruslabs/vue-icons": "^2.0.0", @@ -42,6 +43,7 @@ "async-mutex": "^0.3.2", "bignumber.js": "^9.0.2", "bowser": "^2.11.0", + "browserify-zlib": "^0.2.0", "bs58": "^4.0.1", "color": "^4.2.3", "copy-to-clipboard": "^3.3.2", @@ -57,6 +59,7 @@ "readable-stream": "^3.6.0", "register-service-worker": "^1.7.2", "safe-stable-stringify": "^2.3.1", + "url": "^0.11.1", "vue": "^3.2.37", "vue-eslint-parser": "^9.0.3", "vue-gtag": "^2.0.1", @@ -135,12 +138,12 @@ "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "tailwindcss": "^3.0.24", - "ts-node": "^10.7.0", + "ts-node": "^10.9.1", "typescript": "^4.6.4" }, "engines": { - "node": ">=14.17.0", - "npm": ">=6.x", + "node": ">=16.18.1", + "npm": ">=8.x", "yarn": "please use npm" } }, @@ -1682,11 +1685,11 @@ } }, "node_modules/@babel/runtime": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz", - "integrity": "sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.5.tgz", + "integrity": "sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA==", "dependencies": { - "regenerator-runtime": "^0.13.4" + "regenerator-runtime": "^0.13.11" }, "engines": { "node": ">=6.9.0" @@ -2204,25 +2207,28 @@ "node": ">=v12" } }, - "node_modules/@cspotcode/source-map-consumer": { - "version": "0.8.0", - "devOptional": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">= 12" - } - }, "node_modules/@cspotcode/source-map-support": { - "version": "0.7.0", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", "devOptional": true, - "license": "MIT", "dependencies": { - "@cspotcode/source-map-consumer": "0.8.0" + "@jridgewell/trace-mapping": "0.3.9" }, "engines": { "node": ">=12" } }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "devOptional": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, "node_modules/@eslint/eslintrc": { "version": "1.3.0", "license": "MIT", @@ -2282,6 +2288,75 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@ethereumjs/common": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-3.2.0.tgz", + "integrity": "sha512-pksvzI0VyLgmuEF2FA/JR/4/y6hcPq8OUail3/AvycBaW1d5VSauOZzqGvJ3RTmR4MU35lWE8KseKOsEhrFRBA==", + "dependencies": { + "@ethereumjs/util": "^8.1.0", + "crc-32": "^1.2.0" + } + }, + "node_modules/@ethereumjs/rlp": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@ethereumjs/rlp/-/rlp-4.0.1.tgz", + "integrity": "sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw==", + "bin": { + "rlp": "bin/rlp" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@ethereumjs/tx": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-4.2.0.tgz", + "integrity": "sha512-1nc6VO4jtFd172BbSnTnDQVr9IYBFl1y4xPzZdtkrkKIncBCkdbgfdRV+MiTkJYAtTxvV12GRZLqBFT1PNK6Yw==", + "dependencies": { + "@ethereumjs/common": "^3.2.0", + "@ethereumjs/rlp": "^4.0.1", + "@ethereumjs/util": "^8.1.0", + "ethereum-cryptography": "^2.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@ethereumjs/tx/node_modules/ethereum-cryptography": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.0.0.tgz", + "integrity": "sha512-g25m4EtfQGjstWgVE1aIz7XYYjf3kH5kG17ULWVB5dH6uLahsoltOhACzSxyDV+fhn4gbR4xRrOXGe6r2uh4Bg==", + "dependencies": { + "@noble/curves": "1.0.0", + "@noble/hashes": "1.3.0", + "@scure/bip32": "1.3.0", + "@scure/bip39": "1.2.0" + } + }, + "node_modules/@ethereumjs/util": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/util/-/util-8.1.0.tgz", + "integrity": "sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA==", + "dependencies": { + "@ethereumjs/rlp": "^4.0.1", + "ethereum-cryptography": "^2.0.0", + "micro-ftch": "^0.3.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@ethereumjs/util/node_modules/ethereum-cryptography": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.0.0.tgz", + "integrity": "sha512-g25m4EtfQGjstWgVE1aIz7XYYjf3kH5kG17ULWVB5dH6uLahsoltOhACzSxyDV+fhn4gbR4xRrOXGe6r2uh4Bg==", + "dependencies": { + "@noble/curves": "1.0.0", + "@noble/hashes": "1.3.0", + "@scure/bip32": "1.3.0", + "@scure/bip39": "1.2.0" + } + }, "node_modules/@ethersproject/bytes": { "version": "5.6.1", "funding": [ @@ -2592,7 +2667,7 @@ }, "node_modules/@jridgewell/resolve-uri": { "version": "3.1.0", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=6.0.0" @@ -2608,7 +2683,7 @@ }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.14", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { @@ -2620,9 +2695,75 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@metamask/rpc-errors": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@metamask/rpc-errors/-/rpc-errors-5.1.1.tgz", + "integrity": "sha512-JjZnDi2y2CfvbohhBl+FOQRzmFlJpybcQlIk37zEX8B96eVSPbH/T8S0p7cSF8IE33IWx6JkD8Ycsd+2TXFxCw==", + "dependencies": { + "@metamask/utils": "^5.0.0", + "fast-safe-stringify": "^2.0.6" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@metamask/utils": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-5.0.2.tgz", + "integrity": "sha512-yfmE79bRQtnMzarnKfX7AEJBwFTxvTyw3nBQlu/5rmGXrjAeAMltoGxO62TFurxrQAFMNa/fEjIHNvungZp0+g==", + "dependencies": { + "@ethereumjs/tx": "^4.1.2", + "@types/debug": "^4.1.7", + "debug": "^4.3.4", + "semver": "^7.3.8", + "superstruct": "^1.0.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@metamask/utils/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/@metamask/utils/node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@metamask/utils/node_modules/superstruct": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-1.0.3.tgz", + "integrity": "sha512-8iTn3oSS8nRGn+C2pgXSKPI3jmpm6FExNazNpjvqS6ZUJQCej3PUXEKM8NjHBOs54ExM+LPW/FBRhymrdcCiSg==", + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/@metaplex-foundation/beet": { - "version": "0.1.4", - "license": "Apache-2.0", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/@metaplex-foundation/beet/-/beet-0.7.1.tgz", + "integrity": "sha512-hNCEnS2WyCiYyko82rwuISsBY3KYpe828ubsd2ckeqZr7tl0WVLivGkoyA/qdiaaHEBGdGl71OpfWa2rqL3DiA==", "dependencies": { "ansicolors": "^0.3.2", "bn.js": "^5.2.0", @@ -2630,16 +2771,49 @@ } }, "node_modules/@metaplex-foundation/beet-solana": { - "version": "0.1.1", - "license": "Apache-2.0", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@metaplex-foundation/beet-solana/-/beet-solana-0.4.0.tgz", + "integrity": "sha512-B1L94N3ZGMo53b0uOSoznbuM5GBNJ8LwSeznxBxJ+OThvfHQ4B5oMUqb+0zdLRfkKGS7Q6tpHK9P+QK0j3w2cQ==", "dependencies": { "@metaplex-foundation/beet": ">=0.1.0", - "@solana/web3.js": "^1.31.0" + "@solana/web3.js": "^1.56.2", + "bs58": "^5.0.0", + "debug": "^4.3.4" + } + }, + "node_modules/@metaplex-foundation/beet-solana/node_modules/base-x": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", + "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" + }, + "node_modules/@metaplex-foundation/beet-solana/node_modules/bs58": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", + "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", + "dependencies": { + "base-x": "^4.0.0" + } + }, + "node_modules/@metaplex-foundation/beet-solana/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, "node_modules/@metaplex-foundation/beet/node_modules/debug": { "version": "4.3.4", - "license": "MIT", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dependencies": { "ms": "2.1.2" }, @@ -2654,7 +2828,8 @@ }, "node_modules/@metaplex-foundation/cusper": { "version": "0.0.2", - "license": "Apache-2.0" + "resolved": "https://registry.npmjs.org/@metaplex-foundation/cusper/-/cusper-0.0.2.tgz", + "integrity": "sha512-S9RulC2fFCFOQraz61bij+5YCHhSO9llJegK8c8Y6731fSi6snUSQJdCUqYS8AIgR0TKbQvdvgSyIIdbDFZbBA==" }, "node_modules/@metaplex-foundation/mpl-core": { "version": "0.0.2", @@ -2747,35 +2922,30 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/@noble/ed25519": { - "version": "1.7.1", + "node_modules/@noble/curves": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.0.0.tgz", + "integrity": "sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw==", "funding": [ { "type": "individual", "url": "https://paulmillr.com/funding/" } ], - "license": "MIT" + "dependencies": { + "@noble/hashes": "1.3.0" + } }, "node_modules/@noble/hashes": { - "version": "1.1.3", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "license": "MIT" - }, - "node_modules/@noble/secp256k1": { - "version": "1.7.0", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", + "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==", "funding": [ { "type": "individual", "url": "https://paulmillr.com/funding/" } - ], - "license": "MIT" + ] }, "node_modules/@node-ipc/js-queue": { "version": "2.0.3", @@ -2930,6 +3100,48 @@ "dev": true, "license": "MIT" }, + "node_modules/@scure/base": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.1.tgz", + "integrity": "sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "node_modules/@scure/bip32": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.3.0.tgz", + "integrity": "sha512-bcKpo1oj54hGholplGLpqPHRbIsnbixFtc06nwuNM5/dwSXOq/AAYoIBRsBmnZJSdfeNW5rnff7NTAz3ZCqR9Q==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "@noble/curves": "~1.0.0", + "@noble/hashes": "~1.3.0", + "@scure/base": "~1.1.0" + } + }, + "node_modules/@scure/bip39": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.2.0.tgz", + "integrity": "sha512-SX/uKq52cuxm4YFXWFaVByaSHJh2w3BnokVSeUJVCv6K7WulT9u2BuNRBhuFl8vAuYnzx9bEu9WgpcNYTrYieg==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "@noble/hashes": "~1.3.0", + "@scure/base": "~1.1.0" + } + }, "node_modules/@sentry/browser": { "version": "7.0.0", "license": "BSD-3-Clause", @@ -3108,7 +3320,8 @@ }, "node_modules/@socket.io/component-emitter": { "version": "3.1.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", + "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==" }, "node_modules/@soda/friendly-errors-webpack-plugin": { "version": "1.8.1", @@ -3280,49 +3493,25 @@ } }, "node_modules/@solana/web3.js": { - "version": "1.64.0", - "license": "MIT", + "version": "1.77.3", + "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.77.3.tgz", + "integrity": "sha512-PHaO0BdoiQRPpieC1p31wJsBaxwIOWLh8j2ocXNKX8boCQVldt26Jqm2tZE4KlrvnCIV78owPLv1pEUgqhxZ3w==", "dependencies": { "@babel/runtime": "^7.12.5", - "@noble/ed25519": "^1.7.0", - "@noble/hashes": "^1.1.2", - "@noble/secp256k1": "^1.6.3", + "@noble/curves": "^1.0.0", + "@noble/hashes": "^1.3.0", "@solana/buffer-layout": "^4.0.0", + "agentkeepalive": "^4.2.1", "bigint-buffer": "^1.1.5", "bn.js": "^5.0.0", "borsh": "^0.7.0", "bs58": "^4.0.1", - "buffer": "6.0.1", + "buffer": "6.0.3", "fast-stable-stringify": "^1.0.0", - "jayson": "^3.4.4", - "node-fetch": "2", - "rpc-websockets": "^7.5.0", + "jayson": "^4.1.0", + "node-fetch": "^2.6.7", + "rpc-websockets": "^7.5.1", "superstruct": "^0.14.2" - }, - "engines": { - "node": ">=12.20.0" - } - }, - "node_modules/@solana/web3.js/node_modules/buffer": { - "version": "6.0.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" } }, "node_modules/@surma/rollup-plugin-off-main-thread": { @@ -3355,40 +3544,121 @@ } }, "node_modules/@toruslabs/base-controllers": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-2.2.6.tgz", - "integrity": "sha512-spN4ltQv9ulzgxZIskfME4i1qSaW+eywpEJuOjRJ3vw07WPydXNzO4xAMHoE4Q5Wf/Y34rZUwJcLYjqieM+rgQ==", - "dependencies": { - "@toruslabs/broadcast-channel": "^6.0.0", - "@toruslabs/http-helpers": "^3.0.0", - "@toruslabs/openlogin-jrpc": "^2.1.0", - "async-mutex": "^0.3.2", - "bignumber.js": "^9.0.2", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-3.1.0.tgz", + "integrity": "sha512-1f3L2c0JI5PG5TGWCG6vE866WHptVz1pTb8C6nX47+9xFsctCKn0kIaGfjwxh6+vh8XECm8yDnM/esElAmtrLw==", + "dependencies": { + "@ethereumjs/util": "^8.0.6", + "@metamask/rpc-errors": "^5.1.1", + "@toruslabs/broadcast-channel": "^7.0.0", + "@toruslabs/http-helpers": "^4.0.0", + "@toruslabs/openlogin-jrpc": "^4.6.0", + "async-mutex": "^0.4.0", + "bignumber.js": "^9.1.1", "bowser": "^2.11.0", - "eth-rpc-errors": "^4.0.3", - "ethereumjs-util": "^7.1.5", - "json-rpc-random-id": "^1.0.1", "lodash": "^4.17.21", - "loglevel": "^1.8.0" + "loglevel": "^1.8.1" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" }, "peerDependencies": { "@babel/runtime": "7.x" } }, "node_modules/@toruslabs/base-controllers/node_modules/@toruslabs/broadcast-channel": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-6.1.1.tgz", - "integrity": "sha512-FapnmyPLpqfrdbfyawlReRpluEKQ2riqCNOOZQz9KHPF8a/XsgYi/UAdrR02k6BHaZYyV6D52Oji1gM6CPj6EQ==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-7.0.0.tgz", + "integrity": "sha512-lyt2Els735qUXczPk743aHbIXZn+TeK/7YqKpUrY+xTyvXs9JyE6RahW+EY4yU90KAJx8+N9ZXZlcJP617T4bg==", "dependencies": { - "@babel/runtime": "^7.19.4", - "@toruslabs/eccrypto": "^1.1.8", - "@toruslabs/metadata-helpers": "^3.0.0", + "@babel/runtime": "^7.21.5", + "@toruslabs/eccrypto": "^3.0.0", + "@toruslabs/metadata-helpers": "^4.0.0", "bowser": "^2.11.0", - "keccak": "^3.0.2", - "loglevel": "^1.8.0", + "loglevel": "^1.8.1", "oblivious-set": "1.1.1", - "socket.io-client": "^4.5.3", - "unload": "^2.3.1" + "socket.io-client": "^4.6.1", + "unload": "^2.4.1" + } + }, + "node_modules/@toruslabs/base-controllers/node_modules/@toruslabs/eccrypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-3.0.0.tgz", + "integrity": "sha512-+lFjV+0FZ3S4zH5T/Gnc795HoqpzLLDW28fSkibZRlx1Nx8uwbl3pyJSfya0C0bRHH1/+NTeBogUDijaRJ1NCw==", + "dependencies": { + "elliptic": "^6.5.4" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" + } + }, + "node_modules/@toruslabs/base-controllers/node_modules/@toruslabs/http-helpers": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-4.0.0.tgz", + "integrity": "sha512-ef/Svevk54JANOn3Kf6UPf8X/vZlYHrusNFt8VV/LLahhVNXCXEcO8goC1bHkecu/u20CUyo9HJa0pn8fHh1sg==", + "dependencies": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.8.1" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } + } + }, + "node_modules/@toruslabs/base-controllers/node_modules/async-mutex": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/async-mutex/-/async-mutex-0.4.0.tgz", + "integrity": "sha512-eJFZ1YhRR8UN8eBLoNzcDPcy/jqjsg6I1AP+KvWQX80BqOSW1oJPJXDylPUEeMr2ZQvHgnQ//Lp6f3RQ1zI7HA==", + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@toruslabs/base-session-manager": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@toruslabs/base-session-manager/-/base-session-manager-1.1.0.tgz", + "integrity": "sha512-CcP8/4U7fq4jrHit8iTbCCWWXSP8rK3x9Pyk2qVXyMsrdzsWV6w5oTTbmggG9Cg8dBgYHrW5M8ITJr9oiiSqmg==", + "dependencies": { + "@toruslabs/http-helpers": "^4.0.0" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" + }, + "peerDependencies": { + "@babel/runtime": "7.x" + } + }, + "node_modules/@toruslabs/base-session-manager/node_modules/@toruslabs/http-helpers": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-4.0.0.tgz", + "integrity": "sha512-ef/Svevk54JANOn3Kf6UPf8X/vZlYHrusNFt8VV/LLahhVNXCXEcO8goC1bHkecu/u20CUyo9HJa0pn8fHh1sg==", + "dependencies": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.8.1" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } } }, "node_modules/@toruslabs/broadcast-channel": { @@ -3406,6 +3676,44 @@ "unload": "^2.3.1" } }, + "node_modules/@toruslabs/broadcast-channel/node_modules/@toruslabs/metadata-helpers": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/metadata-helpers/-/metadata-helpers-3.2.0.tgz", + "integrity": "sha512-2bCc6PNKd9y+aWfZQ1FXd47QmfyT4NmmqPGfsqk+sQS2o+MlxIyLuh9uh7deMgXo4b4qBDX+RQGbIKM1zVk56w==", + "dependencies": { + "@toruslabs/eccrypto": "^2.1.1", + "@toruslabs/http-helpers": "^3.4.0", + "elliptic": "^6.5.4", + "ethereum-cryptography": "^2.0.0", + "json-stable-stringify": "^1.0.2" + }, + "engines": { + "node": ">=14.17.0", + "npm": ">=6.x" + }, + "peerDependencies": { + "@babel/runtime": "7.x" + } + }, + "node_modules/@toruslabs/broadcast-channel/node_modules/@toruslabs/metadata-helpers/node_modules/@toruslabs/eccrypto": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-2.2.1.tgz", + "integrity": "sha512-7sviL0wLYsfA5ogEAOIdb0tu/QAOFXfHc9B8ONYtF04x4Mg3Nr89LL35FhjaEm055q8Ru7cUQhEFSiqJqm9GCw==", + "dependencies": { + "elliptic": "^6.5.4" + } + }, + "node_modules/@toruslabs/broadcast-channel/node_modules/ethereum-cryptography": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.0.0.tgz", + "integrity": "sha512-g25m4EtfQGjstWgVE1aIz7XYYjf3kH5kG17ULWVB5dH6uLahsoltOhACzSxyDV+fhn4gbR4xRrOXGe6r2uh4Bg==", + "dependencies": { + "@noble/curves": "1.0.0", + "@noble/hashes": "1.3.0", + "@scure/bip32": "1.3.0", + "@scure/bip39": "1.2.0" + } + }, "node_modules/@toruslabs/eccrypto": { "version": "1.1.8", "hasInstallScript": true, @@ -3475,13 +3783,22 @@ "typescript": "^4.x" } }, + "node_modules/@toruslabs/ffjavascript": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/ffjavascript/-/ffjavascript-1.0.0.tgz", + "integrity": "sha512-oOwRG1ZjOmCxmg8kz1HnLML3RB4fNbSaxKuTjFC3Mtg11mXIDhsAoYzBdZW6WOcoKpr4JkV6i9Qv+YPuNIo+Ag==", + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" + } + }, "node_modules/@toruslabs/http-helpers": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-3.2.0.tgz", - "integrity": "sha512-fCfvBHfYzd7AyOYlBo7wihh5nj6+4Ik6V5+nI7H63oiKICjMlByTXSauTUa/qm2mjZJn/OmVYeV5guPIgxoW1w==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-3.4.0.tgz", + "integrity": "sha512-CoeJSL32mpp0gmYjxv48odu6pfjHk/rbJHDwCtYPcMHAl+qUQ/DTpVOOn9U0fGkD+fYZrQmZbRkXFgLhiT0ajQ==", "dependencies": { "lodash.merge": "^4.6.2", - "loglevel": "^1.8.0" + "loglevel": "^1.8.1" }, "engines": { "node": ">=14.17.0", @@ -3514,34 +3831,86 @@ } }, "node_modules/@toruslabs/metadata-helpers": { - "version": "3.0.0", - "license": "MIT", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/metadata-helpers/-/metadata-helpers-4.0.0.tgz", + "integrity": "sha512-E8wDP9YaeT/Aciq36fLiwykQ1++pKW9AtRa+OMxT+BQWUIDpayI1K/uTwTWsjob6sLpjIHpJMQ66o7s2z54NNQ==", "dependencies": { - "@toruslabs/eccrypto": "^1.1.8", - "@toruslabs/http-helpers": "^3.0.0", + "@toruslabs/eccrypto": "^3.0.0", + "@toruslabs/http-helpers": "^4.0.0", "elliptic": "^6.5.4", - "json-stable-stringify": "^1.0.1", - "keccak": "^3.0.2" + "ethereum-cryptography": "^2.0.0", + "json-stable-stringify": "^1.0.2" }, "engines": { - "node": ">=14.17.0", - "npm": ">=6.x" + "node": ">=16.18.1", + "npm": ">=8.x" }, "peerDependencies": { "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/openlogin": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-3.1.0.tgz", - "integrity": "sha512-9IQRxiITd07I5P7mU23qSTD4C5mQUtE+hjkh2Piku8Y+2PnvIXCSWOaRkEwxEHoBs6i27t6v2qix+v8NYS2mlA==", + "node_modules/@toruslabs/metadata-helpers/node_modules/@toruslabs/eccrypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-3.0.0.tgz", + "integrity": "sha512-+lFjV+0FZ3S4zH5T/Gnc795HoqpzLLDW28fSkibZRlx1Nx8uwbl3pyJSfya0C0bRHH1/+NTeBogUDijaRJ1NCw==", "dependencies": { - "@toruslabs/eccrypto": "^1.1.8", - "@toruslabs/http-helpers": "^3.2.0", - "@toruslabs/openlogin-jrpc": "^3.0.0", - "@toruslabs/openlogin-utils": "^3.0.0", + "elliptic": "^6.5.4" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" + } + }, + "node_modules/@toruslabs/metadata-helpers/node_modules/@toruslabs/http-helpers": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-4.0.0.tgz", + "integrity": "sha512-ef/Svevk54JANOn3Kf6UPf8X/vZlYHrusNFt8VV/LLahhVNXCXEcO8goC1bHkecu/u20CUyo9HJa0pn8fHh1sg==", + "dependencies": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.8.1" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } + } + }, + "node_modules/@toruslabs/metadata-helpers/node_modules/ethereum-cryptography": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.0.0.tgz", + "integrity": "sha512-g25m4EtfQGjstWgVE1aIz7XYYjf3kH5kG17ULWVB5dH6uLahsoltOhACzSxyDV+fhn4gbR4xRrOXGe6r2uh4Bg==", + "dependencies": { + "@noble/curves": "1.0.0", + "@noble/hashes": "1.3.0", + "@scure/bip32": "1.3.0", + "@scure/bip39": "1.2.0" + } + }, + "node_modules/@toruslabs/openlogin": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-4.7.0.tgz", + "integrity": "sha512-ldDtC1snkL2Onsiw57lwW5/oD5N/zLMDqgnvO7Y6n+TO22y8RbBwNsbjT+b5CLsNYGcuZYS4gsLxy59JBOZ7Fw==", + "dependencies": { + "@toruslabs/broadcast-channel": "^7.0.0", + "@toruslabs/eccrypto": "^3.0.0", + "@toruslabs/metadata-helpers": "^4.0.0", + "@toruslabs/openlogin-session-manager": "^1.1.0", + "@toruslabs/openlogin-utils": "^4.7.0", + "events": "^3.3.0", "loglevel": "^1.8.1", - "pump": "^3.0.0" + "ts-custom-error": "^3.3.1" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" }, "peerDependencies": { "@babel/runtime": "7.x" @@ -3558,148 +3927,251 @@ } }, "node_modules/@toruslabs/openlogin-jrpc": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-2.13.0.tgz", - "integrity": "sha512-TEg50/84xSocHLb3MEtw0DaIa+bXU66TJJjjDrqGPjoRo97fn8F8jDW2AcVV+eug39xpfxPIw1FFdCtgunmz7w==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-4.7.0.tgz", + "integrity": "sha512-7Zke2ky9e6HgM6Rs8ByXqrT6s5/l8wn7I11UOUPNPrP9AcYk8n7lDlVu8hniNADDc/IwHZGS0mAbtpRbWletuQ==", "dependencies": { - "@toruslabs/openlogin-utils": "^2.13.0", + "@metamask/rpc-errors": "^5.1.1", + "@toruslabs/openlogin-utils": "^4.7.0", "end-of-stream": "^1.4.4", - "eth-rpc-errors": "^4.0.3", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", "once": "^1.4.0", "pump": "^3.0.0", - "readable-stream": "^3.6.0" + "readable-stream": "^4.4.1" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" }, "peerDependencies": { "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/openlogin-subkey": { - "version": "2.1.0", - "license": "ISC", + "node_modules/@toruslabs/openlogin-jrpc/node_modules/readable-stream": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.4.1.tgz", + "integrity": "sha512-llAHX9QC25bz5RPIoTeJxPaA/hgryaldValRhVZ2fK9bzbmFiscpz8fw6iBTvJfAk1w4FC1KXQme/nO7fbKyKg==", "dependencies": { - "@toruslabs/openlogin-utils": "^2.1.0", - "bn.js": "^5.2.1", - "ffjavascript": "^0.2.55" + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10" }, - "peerDependencies": { - "@babel/runtime": "7.x" + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@toruslabs/openlogin-utils": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-2.13.0.tgz", - "integrity": "sha512-g4pj6hIdKcuyetVsUWqiAJmCooTS9hOADL31m7LTqgdXzX9oR437A+c8Dw8gzFVcHmkK16Yt2//GvlKnSsGILg==", + "node_modules/@toruslabs/openlogin-session-manager": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-session-manager/-/openlogin-session-manager-1.1.0.tgz", + "integrity": "sha512-S4Wad1VRrfcCVvJ/vRAPOUuwOa1h7N/QZIvd/NgJe5o29YgEFxF2pHw+ZaPFMNjyvPJiX+hUEl548qbEkY9NsQ==", "dependencies": { - "base64url": "^3.0.1", - "keccak": "^3.0.3", - "randombytes": "^2.1.0" + "@toruslabs/base-session-manager": "^1.1.0", + "@toruslabs/eccrypto": "^3.0.0", + "@toruslabs/metadata-helpers": "4.0.0" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" }, "peerDependencies": { "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/openlogin/node_modules/@toruslabs/openlogin-jrpc": { + "node_modules/@toruslabs/openlogin-session-manager/node_modules/@toruslabs/eccrypto": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-3.0.0.tgz", - "integrity": "sha512-EbrPxx9JJDzTGPRGhpnoqngrwVRgNxwY86f6Vp4hCJnZNn/IgNz39KGROEi8SDNWADYuT29d8gyZ5Y0o79TOMA==", + "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-3.0.0.tgz", + "integrity": "sha512-+lFjV+0FZ3S4zH5T/Gnc795HoqpzLLDW28fSkibZRlx1Nx8uwbl3pyJSfya0C0bRHH1/+NTeBogUDijaRJ1NCw==", "dependencies": { - "@toruslabs/openlogin-utils": "^3.0.0", - "end-of-stream": "^1.4.4", - "eth-rpc-errors": "^4.0.3", - "events": "^3.3.0", - "fast-safe-stringify": "^2.1.1", - "once": "^1.4.0", - "pump": "^3.0.0", - "readable-stream": "^3.6.0" + "elliptic": "^6.5.4" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" + } + }, + "node_modules/@toruslabs/openlogin-subkey": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-subkey/-/openlogin-subkey-4.2.0.tgz", + "integrity": "sha512-B8G5+dHVUEN7aUN8qOUGPXshhWiu74r7U6cr2BLPXOoROExB4wclXs3V3VrDL245WmxMl/1eBNHymwUSVlRGCA==", + "dependencies": { + "@toruslabs/ffjavascript": "^1.0.0", + "@toruslabs/metadata-helpers": "^4.0.0", + "bn.js": "^5.2.1" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" }, "peerDependencies": { - "@babel/runtime": "7.x" + "@babel/runtime": "7.x", + "@types/bn.js": "^5.1.1" } }, - "node_modules/@toruslabs/openlogin/node_modules/@toruslabs/openlogin-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-3.0.0.tgz", - "integrity": "sha512-T5t29/AIFqXc84x4OoAkZWjd0uoP2Lk6iaFndnIIMzCPu+BwwV0spX/jd/3YYNjZ8Po8D+faEnwAhiqemYeK2w==", + "node_modules/@toruslabs/openlogin-utils": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-4.7.0.tgz", + "integrity": "sha512-w6XkHs4WKuufsf/zzteBzs4EJuOknrUmJ+iv5FZ8HzIpMQeL/984CP8HYaFSEYkbGCP4ydAnhY4Uh0QAhpDbPg==", "dependencies": { - "base64url": "^3.0.1", - "keccak": "^3.0.3", - "randombytes": "^2.1.0" + "base64url": "^3.0.1" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" }, "peerDependencies": { "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/solana-controllers": { - "version": "2.4.0", - "license": "ISC", + "node_modules/@toruslabs/openlogin/node_modules/@toruslabs/broadcast-channel": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-7.0.0.tgz", + "integrity": "sha512-lyt2Els735qUXczPk743aHbIXZn+TeK/7YqKpUrY+xTyvXs9JyE6RahW+EY4yU90KAJx8+N9ZXZlcJP617T4bg==", "dependencies": { - "@metaplex-foundation/mpl-token-metadata": "^2.1.2", - "@solana/spl-token": "0.1.8", - "@solana/web3.js": "^1.63.1", - "@toruslabs/base-controllers": "^2.2.6", - "@toruslabs/http-helpers": "^3.0.0", - "@toruslabs/openlogin-ed25519": "^2.0.0", - "@toruslabs/openlogin-jrpc": "^2.1.0", - "@toruslabs/tweetnacl-js": "^1.0.3", - "async-mutex": "^0.3.2", - "bignumber.js": "^9.0.2", - "bs58": "^4.0.1", - "deep-equal-in-any-order": "^1.1.19", - "json-rpc-random-id": "^1.0.1", + "@babel/runtime": "^7.21.5", + "@toruslabs/eccrypto": "^3.0.0", + "@toruslabs/metadata-helpers": "^4.0.0", + "bowser": "^2.11.0", + "loglevel": "^1.8.1", + "oblivious-set": "1.1.1", + "socket.io-client": "^4.6.1", + "unload": "^2.4.1" + } + }, + "node_modules/@toruslabs/openlogin/node_modules/@toruslabs/eccrypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-3.0.0.tgz", + "integrity": "sha512-+lFjV+0FZ3S4zH5T/Gnc795HoqpzLLDW28fSkibZRlx1Nx8uwbl3pyJSfya0C0bRHH1/+NTeBogUDijaRJ1NCw==", + "dependencies": { + "elliptic": "^6.5.4" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" + } + }, + "node_modules/@toruslabs/solana-controllers": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@toruslabs/solana-controllers/-/solana-controllers-3.1.0.tgz", + "integrity": "sha512-srznH4+728Vggdfdb+trM2TLvcpOS7T06vi5GbOqk3M+95mCxeE25ua+BA77avlaJeLh3DhJr5z8CfaiuXTa0w==", + "dependencies": { + "@metaplex-foundation/mpl-token-metadata": "^2.12.0", + "@solana/spl-token": "0.3.8", + "@solana/web3.js": "^1.77.3", + "@toruslabs/base-controllers": "^3.1.0", + "@toruslabs/http-helpers": "^4.0.0", + "@toruslabs/openlogin-ed25519": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^4.6.0", + "@toruslabs/tweetnacl-js": "^1.0.4", + "async-mutex": "^0.4.0", + "bignumber.js": "^9.1.1", + "bs58": "^5.0.0", + "deep-equal-in-any-order": "^2.0.6", "lodash": "^4.17.21", - "loglevel": "^1.8.0", + "loglevel": "^1.8.1", "pify": "^5.0.0" }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" + }, "peerDependencies": { "@babel/runtime": "7.x" } }, "node_modules/@toruslabs/solana-controllers/node_modules/@metaplex-foundation/mpl-token-metadata": { - "version": "2.2.0", - "license": "MIT", + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/@metaplex-foundation/mpl-token-metadata/-/mpl-token-metadata-2.12.0.tgz", + "integrity": "sha512-DetC2F5MwMRt4TmLXwj8PJ8nClRYGMecSQ4pr9iKKa+rWertHgKoJHl2XhheRa084GtL7i0ssOKbX2gfYFosuQ==", "dependencies": { - "@metaplex-foundation/beet": "^0.1.0", - "@metaplex-foundation/beet-solana": "^0.1.1", + "@metaplex-foundation/beet": "^0.7.1", + "@metaplex-foundation/beet-solana": "^0.4.0", "@metaplex-foundation/cusper": "^0.0.2", - "@solana/spl-token": "^0.2.0", - "@solana/web3.js": "^1.35.1", + "@solana/spl-token": "^0.3.6", + "@solana/web3.js": "^1.66.2", "bn.js": "^5.2.0", - "debug": "^4.3.3" + "debug": "^4.3.4" } }, - "node_modules/@toruslabs/solana-controllers/node_modules/@metaplex-foundation/mpl-token-metadata/node_modules/@solana/spl-token": { - "version": "0.2.0", - "license": "Apache-2.0", + "node_modules/@toruslabs/solana-controllers/node_modules/@solana/spl-token": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@solana/spl-token/-/spl-token-0.3.8.tgz", + "integrity": "sha512-ogwGDcunP9Lkj+9CODOWMiVJEdRtqHAtX2rWF62KxnnSWtMZtV9rDhTrZFshiyJmxDnRL/1nKE1yJHg4jjs3gg==", "dependencies": { "@solana/buffer-layout": "^4.0.0", "@solana/buffer-layout-utils": "^0.2.0", - "@solana/web3.js": "^1.32.0", - "start-server-and-test": "^1.14.0" + "buffer": "^6.0.3" }, "engines": { - "node": ">= 14" + "node": ">=16" + }, + "peerDependencies": { + "@solana/web3.js": "^1.47.4" } }, - "node_modules/@toruslabs/solana-controllers/node_modules/@solana/spl-token": { - "version": "0.1.8", - "license": "MIT", + "node_modules/@toruslabs/solana-controllers/node_modules/@toruslabs/http-helpers": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-4.0.0.tgz", + "integrity": "sha512-ef/Svevk54JANOn3Kf6UPf8X/vZlYHrusNFt8VV/LLahhVNXCXEcO8goC1bHkecu/u20CUyo9HJa0pn8fHh1sg==", "dependencies": { - "@babel/runtime": "^7.10.5", - "@solana/web3.js": "^1.21.0", - "bn.js": "^5.1.0", - "buffer": "6.0.3", - "buffer-layout": "^1.2.0", - "dotenv": "10.0.0" + "lodash.merge": "^4.6.2", + "loglevel": "^1.8.1" }, "engines": { - "node": ">= 10" + "node": ">=16.18.1", + "npm": ">=8.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@sentry/types": "^7.x" + }, + "peerDependenciesMeta": { + "@sentry/types": { + "optional": true + } + } + }, + "node_modules/@toruslabs/solana-controllers/node_modules/@toruslabs/openlogin-ed25519": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-ed25519/-/openlogin-ed25519-4.2.0.tgz", + "integrity": "sha512-pjCX3WgdFGmZMlo7G2MFvXkE04lnth21DSgGW4Cy7XjmoKAYryo22sarLTtm8kwDrTz94h/GxxwhfJfGsHGdMQ==", + "dependencies": { + "@toruslabs/tweetnacl-js": "^1.0.4" + }, + "engines": { + "node": ">=16.18.1", + "npm": ">=8.x" + }, + "peerDependencies": { + "@babel/runtime": "7.x" + } + }, + "node_modules/@toruslabs/solana-controllers/node_modules/async-mutex": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/async-mutex/-/async-mutex-0.4.0.tgz", + "integrity": "sha512-eJFZ1YhRR8UN8eBLoNzcDPcy/jqjsg6I1AP+KvWQX80BqOSW1oJPJXDylPUEeMr2ZQvHgnQ//Lp6f3RQ1zI7HA==", + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@toruslabs/solana-controllers/node_modules/base-x": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", + "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" + }, + "node_modules/@toruslabs/solana-controllers/node_modules/bs58": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", + "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", + "dependencies": { + "base-x": "^4.0.0" } }, "node_modules/@toruslabs/solana-controllers/node_modules/debug": { "version": "4.3.4", - "license": "MIT", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dependencies": { "ms": "2.1.2" }, @@ -3712,13 +4184,6 @@ } } }, - "node_modules/@toruslabs/solana-controllers/node_modules/dotenv": { - "version": "10.0.0", - "license": "BSD-2-Clause", - "engines": { - "node": ">=10" - } - }, "node_modules/@toruslabs/solana-controllers/node_modules/pify": { "version": "5.0.0", "license": "MIT", @@ -3730,8 +4195,9 @@ } }, "node_modules/@toruslabs/tweetnacl-js": { - "version": "1.0.3", - "license": "Unlicense" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@toruslabs/tweetnacl-js/-/tweetnacl-js-1.0.4.tgz", + "integrity": "sha512-h8fVemW5pstsKbm/fTx+y61dZkh5Pepy/92lsyKp83KErf96jT+w4LGx4nEgeAVrdYQDTLg2tO7vu/boEb23Iw==" }, "node_modules/@toruslabs/vue-components": { "version": "2.0.1", @@ -3781,8 +4247,9 @@ "license": "MIT" }, "node_modules/@types/bn.js": { - "version": "5.1.0", - "license": "MIT", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.1.tgz", + "integrity": "sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g==", "dependencies": { "@types/node": "*" } @@ -3854,6 +4321,14 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/debug": { + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.8.tgz", + "integrity": "sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==", + "dependencies": { + "@types/ms": "*" + } + }, "node_modules/@types/elliptic": { "version": "6.4.14", "license": "MIT", @@ -3897,6 +4372,7 @@ }, "node_modules/@types/express-serve-static-core": { "version": "4.17.28", + "dev": true, "license": "MIT", "dependencies": { "@types/node": "*", @@ -3943,6 +4419,7 @@ }, "node_modules/@types/lodash": { "version": "4.14.181", + "dev": true, "license": "MIT" }, "node_modules/@types/lodash-es": { @@ -3968,6 +4445,11 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/ms": { + "version": "0.7.31", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.31.tgz", + "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" + }, "node_modules/@types/node": { "version": "17.0.45", "license": "MIT" @@ -4003,10 +4485,12 @@ }, "node_modules/@types/qs": { "version": "6.9.7", + "dev": true, "license": "MIT" }, "node_modules/@types/range-parser": { "version": "1.2.4", + "dev": true, "license": "MIT" }, "node_modules/@types/readable-stream": { @@ -4088,7 +4572,8 @@ }, "node_modules/@types/ws": { "version": "7.4.7", - "license": "MIT", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", + "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", "dependencies": { "@types/node": "*" } @@ -6086,6 +6571,17 @@ "dev": true, "license": "BSD-3-Clause" }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, "node_modules/accepts": { "version": "1.3.8", "dev": true, @@ -6204,6 +6700,27 @@ "node": ">= 6.0.0" } }, + "node_modules/agentkeepalive": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", + "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", + "dependencies": { + "debug": "^4.1.0", + "depd": "^2.0.0", + "humanize-ms": "^1.2.1" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/agentkeepalive/node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/aggregate-error": { "version": "3.1.0", "dev": true, @@ -6286,7 +6803,8 @@ }, "node_modules/ansicolors": { "version": "0.3.2", - "license": "MIT" + "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz", + "integrity": "sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==" }, "node_modules/any-promise": { "version": "1.3.0", @@ -6795,7 +7313,8 @@ }, "node_modules/base64url": { "version": "3.0.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/base64url/-/base64url-3.0.1.tgz", + "integrity": "sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A==", "engines": { "node": ">=6.0.0" } @@ -6805,13 +7324,6 @@ "dev": true, "license": "MIT" }, - "node_modules/big-integer": { - "version": "1.6.51", - "license": "Unlicense", - "engines": { - "node": ">=0.6" - } - }, "node_modules/big.js": { "version": "5.2.2", "dev": true, @@ -6832,8 +7344,9 @@ } }, "node_modules/bignumber.js": { - "version": "9.0.2", - "license": "MIT", + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.1.tgz", + "integrity": "sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==", "engines": { "node": "*" } @@ -7050,6 +7563,14 @@ "safe-buffer": "^5.2.0" } }, + "node_modules/browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "dependencies": { + "pako": "~1.0.5" + } + }, "node_modules/browserslist": { "version": "4.21.3", "dev": true, @@ -7236,7 +7757,6 @@ }, "node_modules/call-bind": { "version": "1.0.2", - "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.1", @@ -8201,6 +8721,17 @@ "typescript": ">=3" } }, + "node_modules/crc-32": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz", + "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==", + "bin": { + "crc32": "bin/crc32.njs" + }, + "engines": { + "node": ">=0.8" + } + }, "node_modules/create-ecdh": { "version": "4.0.4", "dev": true, @@ -8704,8 +9235,9 @@ } }, "node_modules/deep-equal-in-any-order": { - "version": "1.1.19", - "license": "MIT", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/deep-equal-in-any-order/-/deep-equal-in-any-order-2.0.6.tgz", + "integrity": "sha512-RfnWHQzph10YrUjvWwhd15Dne8ciSJcZ3U6OD7owPwiVwsdE5IFSoZGg8rlwJD11ES+9H5y8j3fCofviRHOqLQ==", "dependencies": { "lodash.mapvalues": "^4.6.0", "sort-any": "^2.0.0" @@ -8775,7 +9307,8 @@ }, "node_modules/delay": { "version": "5.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", + "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", "engines": { "node": ">=10" }, @@ -8820,6 +9353,7 @@ }, "node_modules/detect-node": { "version": "2.1.0", + "dev": true, "license": "MIT" }, "node_modules/detective": { @@ -9131,21 +9665,21 @@ } }, "node_modules/engine.io-client": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.2.3.tgz", - "integrity": "sha512-aXPtgF1JS3RuuKcpSrBtimSjYvrbhKW9froICH4s0F3XQWLxsKNxqzG39nnvQZQnva4CMvUK63T7shevxRyYHw==", + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.5.1.tgz", + "integrity": "sha512-hE5wKXH8Ru4L19MbM1GgYV/2Qo54JSMh1rlJbfpa40bEWkCKNo3ol2eOtGmowcr+ysgbI7+SGL+by42Q3pt/Ng==", "dependencies": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.1", - "engine.io-parser": "~5.0.3", - "ws": "~8.2.3", + "engine.io-parser": "~5.1.0", + "ws": "~8.11.0", "xmlhttprequest-ssl": "~2.0.0" } }, "node_modules/engine.io-client/node_modules/ws": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz", - "integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", "engines": { "node": ">=10.0.0" }, @@ -9163,9 +9697,9 @@ } }, "node_modules/engine.io-parser": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.4.tgz", - "integrity": "sha512-+nVFp+5z1E3HcToEnO7ZIj3g+3k9389DvWtvJZz0T6/eOCPIyyxehFcedoYrZQrp0LgQbD9pPXhpMBKMd5QURg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.1.0.tgz", + "integrity": "sha512-enySgNiK5tyZFynt3z7iqBR+Bto9EVVVvDFuTT0ioHCGbzirZVGDGiQjZzEp8hWl6hd5FSVytJGuScX1C1C35w==", "engines": { "node": ">=10.0.0" } @@ -9281,7 +9815,8 @@ }, "node_modules/es6-promisify": { "version": "5.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", + "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", "dependencies": { "es6-promise": "^4.0.3" } @@ -10442,6 +10977,14 @@ "through": "~2.3.1" } }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "engines": { + "node": ">=6" + } + }, "node_modules/eventemitter3": { "version": "4.0.7", "license": "MIT" @@ -10542,6 +11085,8 @@ }, "node_modules/eyes": { "version": "0.1.8", + "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", + "integrity": "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==", "engines": { "node": "> 0.1.90" } @@ -10661,16 +11206,6 @@ "node": ">=0.8.0" } }, - "node_modules/ffjavascript": { - "version": "0.2.55", - "license": "GPL-3.0", - "dependencies": { - "big-integer": "^1.6.48", - "wasmbuilder": "^0.0.12", - "wasmcurves": "0.1.0", - "web-worker": "^1.2.0" - } - }, "node_modules/figures": { "version": "2.0.0", "dev": true, @@ -11230,7 +11765,6 @@ }, "node_modules/get-intrinsic": { "version": "1.1.1", - "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.1", @@ -11418,7 +11952,6 @@ }, "node_modules/has-symbols": { "version": "1.0.3", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -11746,6 +12279,14 @@ "node": ">=10.17.0" } }, + "node_modules/humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", + "dependencies": { + "ms": "^2.0.0" + } + }, "node_modules/husky": { "version": "8.0.1", "dev": true, @@ -12302,7 +12843,8 @@ }, "node_modules/isomorphic-ws": { "version": "4.0.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz", + "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==", "peerDependencies": { "ws": "*" } @@ -12458,12 +13000,11 @@ "license": "MIT" }, "node_modules/jayson": { - "version": "3.6.6", - "license": "MIT", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.1.0.tgz", + "integrity": "sha512-R6JlbyLN53Mjku329XoRT2zJAE6ZgOQ8f91ucYdMCD4nkGCF9kZSrcGXpHIU4jeKj58zUZke2p+cdQchU7Ly7A==", "dependencies": { "@types/connect": "^3.4.33", - "@types/express-serve-static-core": "^4.17.9", - "@types/lodash": "^4.14.159", "@types/node": "^12.12.54", "@types/ws": "^7.4.4", "commander": "^2.20.3", @@ -12473,7 +13014,6 @@ "isomorphic-ws": "^4.0.1", "json-stringify-safe": "^5.0.1", "JSONStream": "^1.3.5", - "lodash": "^4.17.20", "uuid": "^8.3.2", "ws": "^7.4.5" }, @@ -12485,8 +13025,9 @@ } }, "node_modules/jayson/node_modules/@types/node": { - "version": "12.20.47", - "license": "MIT" + "version": "12.20.55", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", + "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==" }, "node_modules/jest-diff": { "version": "27.5.1", @@ -12732,10 +13273,6 @@ "dev": true, "license": "MIT" }, - "node_modules/json-rpc-random-id": { - "version": "1.0.1", - "license": "ISC" - }, "node_modules/json-schema": { "version": "0.4.0", "dev": true, @@ -12747,10 +13284,14 @@ "license": "MIT" }, "node_modules/json-stable-stringify": { - "version": "1.0.1", - "license": "MIT", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.2.tgz", + "integrity": "sha512-eunSSaEnxV12z+Z73y/j5N37/In40GK4GmsSy+tEHJMxknvqnA7/djeYtAgW0GsWHUfg+847WJjKaEylk2y09g==", "dependencies": { - "jsonify": "~0.0.0" + "jsonify": "^0.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/json-stable-stringify-without-jsonify": { @@ -12784,8 +13325,12 @@ } }, "node_modules/jsonify": { - "version": "0.0.0", - "license": "Public Domain" + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.1.tgz", + "integrity": "sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/jsonparse": { "version": "1.3.1", @@ -13600,6 +14145,11 @@ "node": ">= 0.6" } }, + "node_modules/micro-ftch": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/micro-ftch/-/micro-ftch-0.3.1.tgz", + "integrity": "sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg==" + }, "node_modules/miller-rabin": { "version": "4.0.1", "dev": true, @@ -14618,7 +15168,6 @@ }, "node_modules/object-inspect": { "version": "1.12.2", - "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -14884,6 +15433,11 @@ "node": ">=8" } }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, "node_modules/param-case": { "version": "3.0.4", "dev": true, @@ -15767,7 +16321,6 @@ }, "node_modules/process": { "version": "0.11.10", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6.0" @@ -16184,8 +16737,9 @@ } }, "node_modules/regenerator-runtime": { - "version": "0.13.9", - "license": "MIT" + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" }, "node_modules/regenerator-transform": { "version": "0.14.5", @@ -16470,8 +17024,9 @@ } }, "node_modules/rpc-websockets": { - "version": "7.5.0", - "license": "LGPL-3.0-only", + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-7.5.1.tgz", + "integrity": "sha512-kGFkeTsmd37pHPMaHIgN1LVKXMi0JD782v4Ds9ZKtLlwdTKjn+CxM9A9/gLT2LaOuEcEFGL98h1QWQtlOIdW0w==", "dependencies": { "@babel/runtime": "^7.17.2", "eventemitter3": "^4.0.7", @@ -16488,14 +17043,15 @@ } }, "node_modules/rpc-websockets/node_modules/ws": { - "version": "8.9.0", - "license": "MIT", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -16781,7 +17337,6 @@ }, "node_modules/side-channel": { "version": "1.0.4", - "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.0", @@ -16891,22 +17446,23 @@ } }, "node_modules/socket.io-client": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.5.3.tgz", - "integrity": "sha512-I/hqDYpQ6JKwtJOf5ikM+Qz+YujZPMEl6qBLhxiP0nX+TfXKhW4KZZG8lamrD6Y5ngjmYHreESVasVCgi5Kl3A==", + "version": "4.7.1", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.7.1.tgz", + "integrity": "sha512-Qk3Xj8ekbnzKu3faejo4wk2MzXA029XppiXtTF/PkbTg+fcwaTw1PlDrTrrrU4mKoYC4dvlApOnSeyLCKwek2w==", "dependencies": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.2", - "engine.io-client": "~6.2.3", - "socket.io-parser": "~4.2.0" + "engine.io-client": "~6.5.1", + "socket.io-parser": "~4.2.4" }, "engines": { "node": ">=10.0.0" } }, "node_modules/socket.io-parser": { - "version": "4.2.0", - "license": "MIT", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz", + "integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==", "dependencies": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.1" @@ -16927,7 +17483,8 @@ }, "node_modules/sort-any": { "version": "2.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/sort-any/-/sort-any-2.0.0.tgz", + "integrity": "sha512-T9JoiDewQEmWcnmPn/s9h/PH9t3d/LSWi0RgVmXSuDYeZXTZOZ1/wrK2PHaptuR1VXe3clLLt0pD6sgVOwjNEA==", "dependencies": { "lodash": "^4.17.21" } @@ -17962,6 +18519,14 @@ "node": ">=8" } }, + "node_modules/ts-custom-error": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/ts-custom-error/-/ts-custom-error-3.3.1.tgz", + "integrity": "sha512-5OX1tzOjxWEgsr/YEUWSuPrQ00deKLh6D7OTWcvNHm12/7QPyRh8SYpyWvA4IZv8H/+GQWQEh/kwo95Q9OVW1A==", + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/ts-loader": { "version": "9.2.8", "dev": true, @@ -18068,11 +18633,12 @@ } }, "node_modules/ts-node": { - "version": "10.7.0", + "version": "10.9.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", + "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", "devOptional": true, - "license": "MIT", "dependencies": { - "@cspotcode/source-map-support": "0.7.0", + "@cspotcode/source-map-support": "^0.8.0", "@tsconfig/node10": "^1.0.7", "@tsconfig/node12": "^1.0.7", "@tsconfig/node14": "^1.0.0", @@ -18083,7 +18649,7 @@ "create-require": "^1.1.0", "diff": "^4.0.1", "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.0", + "v8-compile-cache-lib": "^3.0.1", "yn": "3.1.1" }, "bin": { @@ -18132,8 +18698,9 @@ } }, "node_modules/tslib": { - "version": "2.3.1", - "license": "0BSD" + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", + "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==" }, "node_modules/tsutils": { "version": "3.21.0", @@ -18208,9 +18775,10 @@ } }, "node_modules/typescript": { - "version": "4.6.4", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "devOptional": true, - "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -18289,11 +18857,11 @@ } }, "node_modules/unload": { - "version": "2.3.1", - "license": "Apache-2.0", - "dependencies": { - "@babel/runtime": "^7.6.2", - "detect-node": "2.1.0" + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/unload/-/unload-2.4.1.tgz", + "integrity": "sha512-IViSAm8Z3sRBYA+9wc0fLQmU9Nrxb16rcDmIiR6Y9LJSZzI7QY5QsDhqPpKOjAn0O9/kfK1TfNEMMAGPTIraPw==", + "funding": { + "url": "https://github.com/sponsors/pubkey" } }, "node_modules/unpipe": { @@ -18345,6 +18913,34 @@ "punycode": "^2.1.0" } }, + "node_modules/url": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.1.tgz", + "integrity": "sha512-rWS3H04/+mzzJkv0eZ7vEDGiQbgquI1fGfOad6zKvgYQi1SzMmhl7c/DdRGxhaWrVH6z0qWITo8rpnxK/RfEhA==", + "dependencies": { + "punycode": "^1.4.1", + "qs": "^6.11.0" + } + }, + "node_modules/url/node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==" + }, + "node_modules/url/node_modules/qs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz", + "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/utf-8-validate": { "version": "5.0.9", "hasInstallScript": true, @@ -18399,9 +18995,10 @@ "license": "MIT" }, "node_modules/v8-compile-cache-lib": { - "version": "3.0.0", - "devOptional": true, - "license": "MIT" + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "devOptional": true }, "node_modules/validate-npm-package-license": { "version": "3.0.4", @@ -18652,21 +19249,6 @@ "follow-redirects": "^1.14.0" } }, - "node_modules/wasmbuilder": { - "version": "0.0.12", - "license": "GPL-3.0", - "dependencies": { - "big-integer": "^1.6.48" - } - }, - "node_modules/wasmcurves": { - "version": "0.1.0", - "license": "GPL-3.0", - "dependencies": { - "big-integer": "^1.6.42", - "blakejs": "^1.1.0" - } - }, "node_modules/watchpack": { "version": "2.3.1", "dev": true, @@ -18695,10 +19277,6 @@ "defaults": "^1.0.3" } }, - "node_modules/web-worker": { - "version": "1.2.0", - "license": "Apache-2.0" - }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -20633,11 +21211,11 @@ } }, "@babel/runtime": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz", - "integrity": "sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.5.tgz", + "integrity": "sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA==", "requires": { - "regenerator-runtime": "^0.13.4" + "regenerator-runtime": "^0.13.11" } }, "@babel/template": { @@ -20984,15 +21562,25 @@ "chalk": "^4.0.0" } }, - "@cspotcode/source-map-consumer": { - "version": "0.8.0", - "devOptional": true - }, "@cspotcode/source-map-support": { - "version": "0.7.0", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", "devOptional": true, "requires": { - "@cspotcode/source-map-consumer": "0.8.0" + "@jridgewell/trace-mapping": "0.3.9" + }, + "dependencies": { + "@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "devOptional": true, + "requires": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + } } }, "@eslint/eslintrc": { @@ -21032,6 +21620,67 @@ } } }, + "@ethereumjs/common": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-3.2.0.tgz", + "integrity": "sha512-pksvzI0VyLgmuEF2FA/JR/4/y6hcPq8OUail3/AvycBaW1d5VSauOZzqGvJ3RTmR4MU35lWE8KseKOsEhrFRBA==", + "requires": { + "@ethereumjs/util": "^8.1.0", + "crc-32": "^1.2.0" + } + }, + "@ethereumjs/rlp": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@ethereumjs/rlp/-/rlp-4.0.1.tgz", + "integrity": "sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw==" + }, + "@ethereumjs/tx": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-4.2.0.tgz", + "integrity": "sha512-1nc6VO4jtFd172BbSnTnDQVr9IYBFl1y4xPzZdtkrkKIncBCkdbgfdRV+MiTkJYAtTxvV12GRZLqBFT1PNK6Yw==", + "requires": { + "@ethereumjs/common": "^3.2.0", + "@ethereumjs/rlp": "^4.0.1", + "@ethereumjs/util": "^8.1.0", + "ethereum-cryptography": "^2.0.0" + }, + "dependencies": { + "ethereum-cryptography": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.0.0.tgz", + "integrity": "sha512-g25m4EtfQGjstWgVE1aIz7XYYjf3kH5kG17ULWVB5dH6uLahsoltOhACzSxyDV+fhn4gbR4xRrOXGe6r2uh4Bg==", + "requires": { + "@noble/curves": "1.0.0", + "@noble/hashes": "1.3.0", + "@scure/bip32": "1.3.0", + "@scure/bip39": "1.2.0" + } + } + } + }, + "@ethereumjs/util": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/util/-/util-8.1.0.tgz", + "integrity": "sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA==", + "requires": { + "@ethereumjs/rlp": "^4.0.1", + "ethereum-cryptography": "^2.0.0", + "micro-ftch": "^0.3.1" + }, + "dependencies": { + "ethereum-cryptography": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.0.0.tgz", + "integrity": "sha512-g25m4EtfQGjstWgVE1aIz7XYYjf3kH5kG17ULWVB5dH6uLahsoltOhACzSxyDV+fhn4gbR4xRrOXGe6r2uh4Bg==", + "requires": { + "@noble/curves": "1.0.0", + "@noble/hashes": "1.3.0", + "@scure/bip32": "1.3.0", + "@scure/bip39": "1.2.0" + } + } + } + }, "@ethersproject/bytes": { "version": "5.6.1", "requires": { @@ -21213,7 +21862,7 @@ }, "@jridgewell/resolve-uri": { "version": "3.1.0", - "dev": true + "devOptional": true }, "@jridgewell/set-array": { "version": "1.1.2", @@ -21221,7 +21870,7 @@ }, "@jridgewell/sourcemap-codec": { "version": "1.4.14", - "dev": true + "devOptional": true }, "@jridgewell/trace-mapping": { "version": "0.3.15", @@ -21231,8 +21880,54 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "@metamask/rpc-errors": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@metamask/rpc-errors/-/rpc-errors-5.1.1.tgz", + "integrity": "sha512-JjZnDi2y2CfvbohhBl+FOQRzmFlJpybcQlIk37zEX8B96eVSPbH/T8S0p7cSF8IE33IWx6JkD8Ycsd+2TXFxCw==", + "requires": { + "@metamask/utils": "^5.0.0", + "fast-safe-stringify": "^2.0.6" + } + }, + "@metamask/utils": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-5.0.2.tgz", + "integrity": "sha512-yfmE79bRQtnMzarnKfX7AEJBwFTxvTyw3nBQlu/5rmGXrjAeAMltoGxO62TFurxrQAFMNa/fEjIHNvungZp0+g==", + "requires": { + "@ethereumjs/tx": "^4.1.2", + "@types/debug": "^4.1.7", + "debug": "^4.3.4", + "semver": "^7.3.8", + "superstruct": "^1.0.3" + }, + "dependencies": { + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + }, + "semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "requires": { + "lru-cache": "^6.0.0" + } + }, + "superstruct": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-1.0.3.tgz", + "integrity": "sha512-8iTn3oSS8nRGn+C2pgXSKPI3jmpm6FExNazNpjvqS6ZUJQCej3PUXEKM8NjHBOs54ExM+LPW/FBRhymrdcCiSg==" + } + } + }, "@metaplex-foundation/beet": { - "version": "0.1.4", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/@metaplex-foundation/beet/-/beet-0.7.1.tgz", + "integrity": "sha512-hNCEnS2WyCiYyko82rwuISsBY3KYpe828ubsd2ckeqZr7tl0WVLivGkoyA/qdiaaHEBGdGl71OpfWa2rqL3DiA==", "requires": { "ansicolors": "^0.3.2", "bn.js": "^5.2.0", @@ -21241,6 +21936,8 @@ "dependencies": { "debug": { "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "requires": { "ms": "2.1.2" } @@ -21248,14 +21945,43 @@ } }, "@metaplex-foundation/beet-solana": { - "version": "0.1.1", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@metaplex-foundation/beet-solana/-/beet-solana-0.4.0.tgz", + "integrity": "sha512-B1L94N3ZGMo53b0uOSoznbuM5GBNJ8LwSeznxBxJ+OThvfHQ4B5oMUqb+0zdLRfkKGS7Q6tpHK9P+QK0j3w2cQ==", "requires": { "@metaplex-foundation/beet": ">=0.1.0", - "@solana/web3.js": "^1.31.0" + "@solana/web3.js": "^1.56.2", + "bs58": "^5.0.0", + "debug": "^4.3.4" + }, + "dependencies": { + "base-x": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", + "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" + }, + "bs58": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", + "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", + "requires": { + "base-x": "^4.0.0" + } + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + } } }, "@metaplex-foundation/cusper": { - "version": "0.0.2" + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@metaplex-foundation/cusper/-/cusper-0.0.2.tgz", + "integrity": "sha512-S9RulC2fFCFOQraz61bij+5YCHhSO9llJegK8c8Y6731fSi6snUSQJdCUqYS8AIgR0TKbQvdvgSyIIdbDFZbBA==" }, "@metaplex-foundation/mpl-core": { "version": "0.0.2", @@ -21330,14 +22056,18 @@ } } }, - "@noble/ed25519": { - "version": "1.7.1" + "@noble/curves": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.0.0.tgz", + "integrity": "sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw==", + "requires": { + "@noble/hashes": "1.3.0" + } }, "@noble/hashes": { - "version": "1.1.3" - }, - "@noble/secp256k1": { - "version": "1.7.0" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz", + "integrity": "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==" }, "@node-ipc/js-queue": { "version": "2.0.3", @@ -21429,6 +22159,30 @@ } } }, + "@scure/base": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.1.tgz", + "integrity": "sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==" + }, + "@scure/bip32": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.3.0.tgz", + "integrity": "sha512-bcKpo1oj54hGholplGLpqPHRbIsnbixFtc06nwuNM5/dwSXOq/AAYoIBRsBmnZJSdfeNW5rnff7NTAz3ZCqR9Q==", + "requires": { + "@noble/curves": "~1.0.0", + "@noble/hashes": "~1.3.0", + "@scure/base": "~1.1.0" + } + }, + "@scure/bip39": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.2.0.tgz", + "integrity": "sha512-SX/uKq52cuxm4YFXWFaVByaSHJh2w3BnokVSeUJVCv6K7WulT9u2BuNRBhuFl8vAuYnzx9bEu9WgpcNYTrYieg==", + "requires": { + "@noble/hashes": "~1.3.0", + "@scure/base": "~1.1.0" + } + }, "@sentry/browser": { "version": "7.0.0", "requires": { @@ -21566,7 +22320,9 @@ "dev": true }, "@socket.io/component-emitter": { - "version": "3.1.0" + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", + "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==" }, "@soda/friendly-errors-webpack-plugin": { "version": "1.8.1", @@ -21693,32 +22449,25 @@ } }, "@solana/web3.js": { - "version": "1.64.0", + "version": "1.77.3", + "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.77.3.tgz", + "integrity": "sha512-PHaO0BdoiQRPpieC1p31wJsBaxwIOWLh8j2ocXNKX8boCQVldt26Jqm2tZE4KlrvnCIV78owPLv1pEUgqhxZ3w==", "requires": { "@babel/runtime": "^7.12.5", - "@noble/ed25519": "^1.7.0", - "@noble/hashes": "^1.1.2", - "@noble/secp256k1": "^1.6.3", + "@noble/curves": "^1.0.0", + "@noble/hashes": "^1.3.0", "@solana/buffer-layout": "^4.0.0", + "agentkeepalive": "^4.2.1", "bigint-buffer": "^1.1.5", "bn.js": "^5.0.0", "borsh": "^0.7.0", "bs58": "^4.0.1", - "buffer": "6.0.1", + "buffer": "6.0.3", "fast-stable-stringify": "^1.0.0", - "jayson": "^3.4.4", - "node-fetch": "2", - "rpc-websockets": "^7.5.0", + "jayson": "^4.1.0", + "node-fetch": "^2.6.7", + "rpc-websockets": "^7.5.1", "superstruct": "^0.14.2" - }, - "dependencies": { - "buffer": { - "version": "6.0.1", - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - } } }, "@surma/rollup-plugin-off-main-thread": { @@ -21742,37 +22491,79 @@ "dev": true }, "@toruslabs/base-controllers": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-2.2.6.tgz", - "integrity": "sha512-spN4ltQv9ulzgxZIskfME4i1qSaW+eywpEJuOjRJ3vw07WPydXNzO4xAMHoE4Q5Wf/Y34rZUwJcLYjqieM+rgQ==", - "requires": { - "@toruslabs/broadcast-channel": "^6.0.0", - "@toruslabs/http-helpers": "^3.0.0", - "@toruslabs/openlogin-jrpc": "^2.1.0", - "async-mutex": "^0.3.2", - "bignumber.js": "^9.0.2", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-3.1.0.tgz", + "integrity": "sha512-1f3L2c0JI5PG5TGWCG6vE866WHptVz1pTb8C6nX47+9xFsctCKn0kIaGfjwxh6+vh8XECm8yDnM/esElAmtrLw==", + "requires": { + "@ethereumjs/util": "^8.0.6", + "@metamask/rpc-errors": "^5.1.1", + "@toruslabs/broadcast-channel": "^7.0.0", + "@toruslabs/http-helpers": "^4.0.0", + "@toruslabs/openlogin-jrpc": "^4.6.0", + "async-mutex": "^0.4.0", + "bignumber.js": "^9.1.1", "bowser": "^2.11.0", - "eth-rpc-errors": "^4.0.3", - "ethereumjs-util": "^7.1.5", - "json-rpc-random-id": "^1.0.1", "lodash": "^4.17.21", - "loglevel": "^1.8.0" + "loglevel": "^1.8.1" }, "dependencies": { "@toruslabs/broadcast-channel": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-6.1.1.tgz", - "integrity": "sha512-FapnmyPLpqfrdbfyawlReRpluEKQ2riqCNOOZQz9KHPF8a/XsgYi/UAdrR02k6BHaZYyV6D52Oji1gM6CPj6EQ==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-7.0.0.tgz", + "integrity": "sha512-lyt2Els735qUXczPk743aHbIXZn+TeK/7YqKpUrY+xTyvXs9JyE6RahW+EY4yU90KAJx8+N9ZXZlcJP617T4bg==", "requires": { - "@babel/runtime": "^7.19.4", - "@toruslabs/eccrypto": "^1.1.8", - "@toruslabs/metadata-helpers": "^3.0.0", + "@babel/runtime": "^7.21.5", + "@toruslabs/eccrypto": "^3.0.0", + "@toruslabs/metadata-helpers": "^4.0.0", "bowser": "^2.11.0", - "keccak": "^3.0.2", - "loglevel": "^1.8.0", + "loglevel": "^1.8.1", "oblivious-set": "1.1.1", - "socket.io-client": "^4.5.3", - "unload": "^2.3.1" + "socket.io-client": "^4.6.1", + "unload": "^2.4.1" + } + }, + "@toruslabs/eccrypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-3.0.0.tgz", + "integrity": "sha512-+lFjV+0FZ3S4zH5T/Gnc795HoqpzLLDW28fSkibZRlx1Nx8uwbl3pyJSfya0C0bRHH1/+NTeBogUDijaRJ1NCw==", + "requires": { + "elliptic": "^6.5.4" + } + }, + "@toruslabs/http-helpers": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-4.0.0.tgz", + "integrity": "sha512-ef/Svevk54JANOn3Kf6UPf8X/vZlYHrusNFt8VV/LLahhVNXCXEcO8goC1bHkecu/u20CUyo9HJa0pn8fHh1sg==", + "requires": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.8.1" + } + }, + "async-mutex": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/async-mutex/-/async-mutex-0.4.0.tgz", + "integrity": "sha512-eJFZ1YhRR8UN8eBLoNzcDPcy/jqjsg6I1AP+KvWQX80BqOSW1oJPJXDylPUEeMr2ZQvHgnQ//Lp6f3RQ1zI7HA==", + "requires": { + "tslib": "^2.4.0" + } + } + } + }, + "@toruslabs/base-session-manager": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@toruslabs/base-session-manager/-/base-session-manager-1.1.0.tgz", + "integrity": "sha512-CcP8/4U7fq4jrHit8iTbCCWWXSP8rK3x9Pyk2qVXyMsrdzsWV6w5oTTbmggG9Cg8dBgYHrW5M8ITJr9oiiSqmg==", + "requires": { + "@toruslabs/http-helpers": "^4.0.0" + }, + "dependencies": { + "@toruslabs/http-helpers": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-4.0.0.tgz", + "integrity": "sha512-ef/Svevk54JANOn3Kf6UPf8X/vZlYHrusNFt8VV/LLahhVNXCXEcO8goC1bHkecu/u20CUyo9HJa0pn8fHh1sg==", + "requires": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.8.1" } } } @@ -21789,6 +22580,41 @@ "oblivious-set": "1.1.1", "socket.io-client": "^4.5.1", "unload": "^2.3.1" + }, + "dependencies": { + "@toruslabs/metadata-helpers": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/metadata-helpers/-/metadata-helpers-3.2.0.tgz", + "integrity": "sha512-2bCc6PNKd9y+aWfZQ1FXd47QmfyT4NmmqPGfsqk+sQS2o+MlxIyLuh9uh7deMgXo4b4qBDX+RQGbIKM1zVk56w==", + "requires": { + "@toruslabs/eccrypto": "^2.1.1", + "@toruslabs/http-helpers": "^3.4.0", + "elliptic": "^6.5.4", + "ethereum-cryptography": "^2.0.0", + "json-stable-stringify": "^1.0.2" + }, + "dependencies": { + "@toruslabs/eccrypto": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-2.2.1.tgz", + "integrity": "sha512-7sviL0wLYsfA5ogEAOIdb0tu/QAOFXfHc9B8ONYtF04x4Mg3Nr89LL35FhjaEm055q8Ru7cUQhEFSiqJqm9GCw==", + "requires": { + "elliptic": "^6.5.4" + } + } + } + }, + "ethereum-cryptography": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.0.0.tgz", + "integrity": "sha512-g25m4EtfQGjstWgVE1aIz7XYYjf3kH5kG17ULWVB5dH6uLahsoltOhACzSxyDV+fhn4gbR4xRrOXGe6r2uh4Bg==", + "requires": { + "@noble/curves": "1.0.0", + "@noble/hashes": "1.3.0", + "@scure/bip32": "1.3.0", + "@scure/bip39": "1.2.0" + } + } } }, "@toruslabs/eccrypto": { @@ -21833,13 +22659,18 @@ "eslint-config-standard": "^17.0.0" } }, + "@toruslabs/ffjavascript": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/ffjavascript/-/ffjavascript-1.0.0.tgz", + "integrity": "sha512-oOwRG1ZjOmCxmg8kz1HnLML3RB4fNbSaxKuTjFC3Mtg11mXIDhsAoYzBdZW6WOcoKpr4JkV6i9Qv+YPuNIo+Ag==" + }, "@toruslabs/http-helpers": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-3.2.0.tgz", - "integrity": "sha512-fCfvBHfYzd7AyOYlBo7wihh5nj6+4Ik6V5+nI7H63oiKICjMlByTXSauTUa/qm2mjZJn/OmVYeV5guPIgxoW1w==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-3.4.0.tgz", + "integrity": "sha512-CoeJSL32mpp0gmYjxv48odu6pfjHk/rbJHDwCtYPcMHAl+qUQ/DTpVOOn9U0fGkD+fYZrQmZbRkXFgLhiT0ajQ==", "requires": { "lodash.merge": "^4.6.2", - "loglevel": "^1.8.0" + "loglevel": "^1.8.1" } }, "@toruslabs/loglevel-sentry": { @@ -21849,51 +22680,83 @@ } }, "@toruslabs/metadata-helpers": { - "version": "3.0.0", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/metadata-helpers/-/metadata-helpers-4.0.0.tgz", + "integrity": "sha512-E8wDP9YaeT/Aciq36fLiwykQ1++pKW9AtRa+OMxT+BQWUIDpayI1K/uTwTWsjob6sLpjIHpJMQ66o7s2z54NNQ==", "requires": { - "@toruslabs/eccrypto": "^1.1.8", - "@toruslabs/http-helpers": "^3.0.0", + "@toruslabs/eccrypto": "^3.0.0", + "@toruslabs/http-helpers": "^4.0.0", "elliptic": "^6.5.4", - "json-stable-stringify": "^1.0.1", - "keccak": "^3.0.2" + "ethereum-cryptography": "^2.0.0", + "json-stable-stringify": "^1.0.2" + }, + "dependencies": { + "@toruslabs/eccrypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-3.0.0.tgz", + "integrity": "sha512-+lFjV+0FZ3S4zH5T/Gnc795HoqpzLLDW28fSkibZRlx1Nx8uwbl3pyJSfya0C0bRHH1/+NTeBogUDijaRJ1NCw==", + "requires": { + "elliptic": "^6.5.4" + } + }, + "@toruslabs/http-helpers": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-4.0.0.tgz", + "integrity": "sha512-ef/Svevk54JANOn3Kf6UPf8X/vZlYHrusNFt8VV/LLahhVNXCXEcO8goC1bHkecu/u20CUyo9HJa0pn8fHh1sg==", + "requires": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.8.1" + } + }, + "ethereum-cryptography": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.0.0.tgz", + "integrity": "sha512-g25m4EtfQGjstWgVE1aIz7XYYjf3kH5kG17ULWVB5dH6uLahsoltOhACzSxyDV+fhn4gbR4xRrOXGe6r2uh4Bg==", + "requires": { + "@noble/curves": "1.0.0", + "@noble/hashes": "1.3.0", + "@scure/bip32": "1.3.0", + "@scure/bip39": "1.2.0" + } + } } }, "@toruslabs/openlogin": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-3.1.0.tgz", - "integrity": "sha512-9IQRxiITd07I5P7mU23qSTD4C5mQUtE+hjkh2Piku8Y+2PnvIXCSWOaRkEwxEHoBs6i27t6v2qix+v8NYS2mlA==", - "requires": { - "@toruslabs/eccrypto": "^1.1.8", - "@toruslabs/http-helpers": "^3.2.0", - "@toruslabs/openlogin-jrpc": "^3.0.0", - "@toruslabs/openlogin-utils": "^3.0.0", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-4.7.0.tgz", + "integrity": "sha512-ldDtC1snkL2Onsiw57lwW5/oD5N/zLMDqgnvO7Y6n+TO22y8RbBwNsbjT+b5CLsNYGcuZYS4gsLxy59JBOZ7Fw==", + "requires": { + "@toruslabs/broadcast-channel": "^7.0.0", + "@toruslabs/eccrypto": "^3.0.0", + "@toruslabs/metadata-helpers": "^4.0.0", + "@toruslabs/openlogin-session-manager": "^1.1.0", + "@toruslabs/openlogin-utils": "^4.7.0", + "events": "^3.3.0", "loglevel": "^1.8.1", - "pump": "^3.0.0" + "ts-custom-error": "^3.3.1" }, "dependencies": { - "@toruslabs/openlogin-jrpc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-3.0.0.tgz", - "integrity": "sha512-EbrPxx9JJDzTGPRGhpnoqngrwVRgNxwY86f6Vp4hCJnZNn/IgNz39KGROEi8SDNWADYuT29d8gyZ5Y0o79TOMA==", + "@toruslabs/broadcast-channel": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-7.0.0.tgz", + "integrity": "sha512-lyt2Els735qUXczPk743aHbIXZn+TeK/7YqKpUrY+xTyvXs9JyE6RahW+EY4yU90KAJx8+N9ZXZlcJP617T4bg==", "requires": { - "@toruslabs/openlogin-utils": "^3.0.0", - "end-of-stream": "^1.4.4", - "eth-rpc-errors": "^4.0.3", - "events": "^3.3.0", - "fast-safe-stringify": "^2.1.1", - "once": "^1.4.0", - "pump": "^3.0.0", - "readable-stream": "^3.6.0" + "@babel/runtime": "^7.21.5", + "@toruslabs/eccrypto": "^3.0.0", + "@toruslabs/metadata-helpers": "^4.0.0", + "bowser": "^2.11.0", + "loglevel": "^1.8.1", + "oblivious-set": "1.1.1", + "socket.io-client": "^4.6.1", + "unload": "^2.4.1" } }, - "@toruslabs/openlogin-utils": { + "@toruslabs/eccrypto": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-3.0.0.tgz", - "integrity": "sha512-T5t29/AIFqXc84x4OoAkZWjd0uoP2Lk6iaFndnIIMzCPu+BwwV0spX/jd/3YYNjZ8Po8D+faEnwAhiqemYeK2w==", + "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-3.0.0.tgz", + "integrity": "sha512-+lFjV+0FZ3S4zH5T/Gnc795HoqpzLLDW28fSkibZRlx1Nx8uwbl3pyJSfya0C0bRHH1/+NTeBogUDijaRJ1NCw==", "requires": { - "base64url": "^3.0.1", - "keccak": "^3.0.3", - "randombytes": "^2.1.0" + "elliptic": "^6.5.4" } } } @@ -21905,109 +22768,172 @@ } }, "@toruslabs/openlogin-jrpc": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-2.13.0.tgz", - "integrity": "sha512-TEg50/84xSocHLb3MEtw0DaIa+bXU66TJJjjDrqGPjoRo97fn8F8jDW2AcVV+eug39xpfxPIw1FFdCtgunmz7w==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-4.7.0.tgz", + "integrity": "sha512-7Zke2ky9e6HgM6Rs8ByXqrT6s5/l8wn7I11UOUPNPrP9AcYk8n7lDlVu8hniNADDc/IwHZGS0mAbtpRbWletuQ==", "requires": { - "@toruslabs/openlogin-utils": "^2.13.0", + "@metamask/rpc-errors": "^5.1.1", + "@toruslabs/openlogin-utils": "^4.7.0", "end-of-stream": "^1.4.4", - "eth-rpc-errors": "^4.0.3", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", "once": "^1.4.0", "pump": "^3.0.0", - "readable-stream": "^3.6.0" + "readable-stream": "^4.4.1" + }, + "dependencies": { + "readable-stream": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.4.1.tgz", + "integrity": "sha512-llAHX9QC25bz5RPIoTeJxPaA/hgryaldValRhVZ2fK9bzbmFiscpz8fw6iBTvJfAk1w4FC1KXQme/nO7fbKyKg==", + "requires": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10" + } + } + } + }, + "@toruslabs/openlogin-session-manager": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-session-manager/-/openlogin-session-manager-1.1.0.tgz", + "integrity": "sha512-S4Wad1VRrfcCVvJ/vRAPOUuwOa1h7N/QZIvd/NgJe5o29YgEFxF2pHw+ZaPFMNjyvPJiX+hUEl548qbEkY9NsQ==", + "requires": { + "@toruslabs/base-session-manager": "^1.1.0", + "@toruslabs/eccrypto": "^3.0.0", + "@toruslabs/metadata-helpers": "4.0.0" + }, + "dependencies": { + "@toruslabs/eccrypto": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-3.0.0.tgz", + "integrity": "sha512-+lFjV+0FZ3S4zH5T/Gnc795HoqpzLLDW28fSkibZRlx1Nx8uwbl3pyJSfya0C0bRHH1/+NTeBogUDijaRJ1NCw==", + "requires": { + "elliptic": "^6.5.4" + } + } } }, "@toruslabs/openlogin-subkey": { - "version": "2.1.0", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-subkey/-/openlogin-subkey-4.2.0.tgz", + "integrity": "sha512-B8G5+dHVUEN7aUN8qOUGPXshhWiu74r7U6cr2BLPXOoROExB4wclXs3V3VrDL245WmxMl/1eBNHymwUSVlRGCA==", "requires": { - "@toruslabs/openlogin-utils": "^2.1.0", - "bn.js": "^5.2.1", - "ffjavascript": "^0.2.55" + "@toruslabs/ffjavascript": "^1.0.0", + "@toruslabs/metadata-helpers": "^4.0.0", + "bn.js": "^5.2.1" } }, "@toruslabs/openlogin-utils": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-2.13.0.tgz", - "integrity": "sha512-g4pj6hIdKcuyetVsUWqiAJmCooTS9hOADL31m7LTqgdXzX9oR437A+c8Dw8gzFVcHmkK16Yt2//GvlKnSsGILg==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-4.7.0.tgz", + "integrity": "sha512-w6XkHs4WKuufsf/zzteBzs4EJuOknrUmJ+iv5FZ8HzIpMQeL/984CP8HYaFSEYkbGCP4ydAnhY4Uh0QAhpDbPg==", "requires": { - "base64url": "^3.0.1", - "keccak": "^3.0.3", - "randombytes": "^2.1.0" + "base64url": "^3.0.1" } }, "@toruslabs/solana-controllers": { - "version": "2.4.0", - "requires": { - "@metaplex-foundation/mpl-token-metadata": "^2.1.2", - "@solana/spl-token": "0.1.8", - "@solana/web3.js": "^1.63.1", - "@toruslabs/base-controllers": "^2.2.6", - "@toruslabs/http-helpers": "^3.0.0", - "@toruslabs/openlogin-ed25519": "^2.0.0", - "@toruslabs/openlogin-jrpc": "^2.1.0", - "@toruslabs/tweetnacl-js": "^1.0.3", - "async-mutex": "^0.3.2", - "bignumber.js": "^9.0.2", - "bs58": "^4.0.1", - "deep-equal-in-any-order": "^1.1.19", - "json-rpc-random-id": "^1.0.1", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@toruslabs/solana-controllers/-/solana-controllers-3.1.0.tgz", + "integrity": "sha512-srznH4+728Vggdfdb+trM2TLvcpOS7T06vi5GbOqk3M+95mCxeE25ua+BA77avlaJeLh3DhJr5z8CfaiuXTa0w==", + "requires": { + "@metaplex-foundation/mpl-token-metadata": "^2.12.0", + "@solana/spl-token": "0.3.8", + "@solana/web3.js": "^1.77.3", + "@toruslabs/base-controllers": "^3.1.0", + "@toruslabs/http-helpers": "^4.0.0", + "@toruslabs/openlogin-ed25519": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^4.6.0", + "@toruslabs/tweetnacl-js": "^1.0.4", + "async-mutex": "^0.4.0", + "bignumber.js": "^9.1.1", + "bs58": "^5.0.0", + "deep-equal-in-any-order": "^2.0.6", "lodash": "^4.17.21", - "loglevel": "^1.8.0", + "loglevel": "^1.8.1", "pify": "^5.0.0" }, "dependencies": { "@metaplex-foundation/mpl-token-metadata": { - "version": "2.2.0", + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/@metaplex-foundation/mpl-token-metadata/-/mpl-token-metadata-2.12.0.tgz", + "integrity": "sha512-DetC2F5MwMRt4TmLXwj8PJ8nClRYGMecSQ4pr9iKKa+rWertHgKoJHl2XhheRa084GtL7i0ssOKbX2gfYFosuQ==", "requires": { - "@metaplex-foundation/beet": "^0.1.0", - "@metaplex-foundation/beet-solana": "^0.1.1", + "@metaplex-foundation/beet": "^0.7.1", + "@metaplex-foundation/beet-solana": "^0.4.0", "@metaplex-foundation/cusper": "^0.0.2", - "@solana/spl-token": "^0.2.0", - "@solana/web3.js": "^1.35.1", + "@solana/spl-token": "^0.3.6", + "@solana/web3.js": "^1.66.2", "bn.js": "^5.2.0", - "debug": "^4.3.3" - }, - "dependencies": { - "@solana/spl-token": { - "version": "0.2.0", - "requires": { - "@solana/buffer-layout": "^4.0.0", - "@solana/buffer-layout-utils": "^0.2.0", - "@solana/web3.js": "^1.32.0", - "start-server-and-test": "^1.14.0" - } - } + "debug": "^4.3.4" } }, "@solana/spl-token": { - "version": "0.1.8", + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@solana/spl-token/-/spl-token-0.3.8.tgz", + "integrity": "sha512-ogwGDcunP9Lkj+9CODOWMiVJEdRtqHAtX2rWF62KxnnSWtMZtV9rDhTrZFshiyJmxDnRL/1nKE1yJHg4jjs3gg==", "requires": { - "@babel/runtime": "^7.10.5", - "@solana/web3.js": "^1.21.0", - "bn.js": "^5.1.0", - "buffer": "6.0.3", - "buffer-layout": "^1.2.0", - "dotenv": "10.0.0" + "@solana/buffer-layout": "^4.0.0", + "@solana/buffer-layout-utils": "^0.2.0", + "buffer": "^6.0.3" + } + }, + "@toruslabs/http-helpers": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-4.0.0.tgz", + "integrity": "sha512-ef/Svevk54JANOn3Kf6UPf8X/vZlYHrusNFt8VV/LLahhVNXCXEcO8goC1bHkecu/u20CUyo9HJa0pn8fHh1sg==", + "requires": { + "lodash.merge": "^4.6.2", + "loglevel": "^1.8.1" + } + }, + "@toruslabs/openlogin-ed25519": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-ed25519/-/openlogin-ed25519-4.2.0.tgz", + "integrity": "sha512-pjCX3WgdFGmZMlo7G2MFvXkE04lnth21DSgGW4Cy7XjmoKAYryo22sarLTtm8kwDrTz94h/GxxwhfJfGsHGdMQ==", + "requires": { + "@toruslabs/tweetnacl-js": "^1.0.4" + } + }, + "async-mutex": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/async-mutex/-/async-mutex-0.4.0.tgz", + "integrity": "sha512-eJFZ1YhRR8UN8eBLoNzcDPcy/jqjsg6I1AP+KvWQX80BqOSW1oJPJXDylPUEeMr2ZQvHgnQ//Lp6f3RQ1zI7HA==", + "requires": { + "tslib": "^2.4.0" + } + }, + "base-x": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", + "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" + }, + "bs58": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", + "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", + "requires": { + "base-x": "^4.0.0" } }, "debug": { "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "requires": { "ms": "2.1.2" } }, - "dotenv": { - "version": "10.0.0" - }, "pify": { "version": "5.0.0" } } }, "@toruslabs/tweetnacl-js": { - "version": "1.0.3" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@toruslabs/tweetnacl-js/-/tweetnacl-js-1.0.4.tgz", + "integrity": "sha512-h8fVemW5pstsKbm/fTx+y61dZkh5Pepy/92lsyKp83KErf96jT+w4LGx4nEgeAVrdYQDTLg2tO7vu/boEb23Iw==" }, "@toruslabs/vue-components": { "version": "2.0.1", @@ -22041,7 +22967,9 @@ "devOptional": true }, "@types/bn.js": { - "version": "5.1.0", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.1.tgz", + "integrity": "sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g==", "requires": { "@types/node": "*" } @@ -22104,6 +23032,14 @@ "version": "5.0.0", "dev": true }, + "@types/debug": { + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.8.tgz", + "integrity": "sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==", + "requires": { + "@types/ms": "*" + } + }, "@types/elliptic": { "version": "6.4.14", "requires": { @@ -22142,6 +23078,7 @@ }, "@types/express-serve-static-core": { "version": "4.17.28", + "dev": true, "requires": { "@types/node": "*", "@types/qs": "*", @@ -22180,7 +23117,8 @@ "dev": true }, "@types/lodash": { - "version": "4.14.181" + "version": "4.14.181", + "dev": true }, "@types/lodash-es": { "version": "4.17.6", @@ -22201,6 +23139,11 @@ "version": "9.1.1", "dev": true }, + "@types/ms": { + "version": "0.7.31", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.31.tgz", + "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" + }, "@types/node": { "version": "17.0.45" }, @@ -22229,10 +23172,12 @@ } }, "@types/qs": { - "version": "6.9.7" + "version": "6.9.7", + "dev": true }, "@types/range-parser": { - "version": "1.2.4" + "version": "1.2.4", + "dev": true }, "@types/readable-stream": { "version": "2.3.14", @@ -22302,6 +23247,8 @@ }, "@types/ws": { "version": "7.4.7", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", + "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", "requires": { "@types/node": "*" } @@ -23543,6 +24490,14 @@ "version": "2.0.5", "dev": true }, + "abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "requires": { + "event-target-shim": "^5.0.0" + } + }, "accepts": { "version": "1.3.8", "dev": true, @@ -23612,6 +24567,23 @@ "debug": "4" } }, + "agentkeepalive": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", + "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", + "requires": { + "debug": "^4.1.0", + "depd": "^2.0.0", + "humanize-ms": "^1.2.1" + }, + "dependencies": { + "depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" + } + } + }, "aggregate-error": { "version": "3.1.0", "dev": true, @@ -23656,7 +24628,9 @@ } }, "ansicolors": { - "version": "0.3.2" + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz", + "integrity": "sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==" }, "any-promise": { "version": "1.3.0", @@ -23974,15 +24948,14 @@ "version": "1.5.1" }, "base64url": { - "version": "3.0.1" + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/base64url/-/base64url-3.0.1.tgz", + "integrity": "sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A==" }, "batch": { "version": "0.6.1", "dev": true }, - "big-integer": { - "version": "1.6.51" - }, "big.js": { "version": "5.2.2", "dev": true @@ -23994,7 +24967,9 @@ } }, "bignumber.js": { - "version": "9.0.2" + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.1.tgz", + "integrity": "sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==" }, "bindings": { "version": "1.5.0", @@ -24168,6 +25143,14 @@ "safe-buffer": "^5.2.0" } }, + "browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "requires": { + "pako": "~1.0.5" + } + }, "browserslist": { "version": "4.21.3", "dev": true, @@ -24280,7 +25263,6 @@ }, "call-bind": { "version": "1.0.2", - "dev": true, "requires": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" @@ -24903,6 +25885,11 @@ "ts-node": "^10.7.0" } }, + "crc-32": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz", + "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==" + }, "create-ecdh": { "version": "4.0.4", "dev": true, @@ -25226,7 +26213,9 @@ } }, "deep-equal-in-any-order": { - "version": "1.1.19", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/deep-equal-in-any-order/-/deep-equal-in-any-order-2.0.6.tgz", + "integrity": "sha512-RfnWHQzph10YrUjvWwhd15Dne8ciSJcZ3U6OD7owPwiVwsdE5IFSoZGg8rlwJD11ES+9H5y8j3fCofviRHOqLQ==", "requires": { "lodash.mapvalues": "^4.6.0", "sort-any": "^2.0.0" @@ -25274,7 +26263,9 @@ "version": "1.0.0" }, "delay": { - "version": "5.0.0" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", + "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==" }, "delayed-stream": { "version": "1.0.0", @@ -25301,7 +26292,8 @@ "dev": true }, "detect-node": { - "version": "2.1.0" + "version": "2.1.0", + "dev": true }, "detective": { "version": "5.2.0", @@ -25516,29 +26508,29 @@ } }, "engine.io-client": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.2.3.tgz", - "integrity": "sha512-aXPtgF1JS3RuuKcpSrBtimSjYvrbhKW9froICH4s0F3XQWLxsKNxqzG39nnvQZQnva4CMvUK63T7shevxRyYHw==", + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.5.1.tgz", + "integrity": "sha512-hE5wKXH8Ru4L19MbM1GgYV/2Qo54JSMh1rlJbfpa40bEWkCKNo3ol2eOtGmowcr+ysgbI7+SGL+by42Q3pt/Ng==", "requires": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.1", - "engine.io-parser": "~5.0.3", - "ws": "~8.2.3", + "engine.io-parser": "~5.1.0", + "ws": "~8.11.0", "xmlhttprequest-ssl": "~2.0.0" }, "dependencies": { "ws": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz", - "integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", + "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==", "requires": {} } } }, "engine.io-parser": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.4.tgz", - "integrity": "sha512-+nVFp+5z1E3HcToEnO7ZIj3g+3k9389DvWtvJZz0T6/eOCPIyyxehFcedoYrZQrp0LgQbD9pPXhpMBKMd5QURg==" + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.1.0.tgz", + "integrity": "sha512-enySgNiK5tyZFynt3z7iqBR+Bto9EVVVvDFuTT0ioHCGbzirZVGDGiQjZzEp8hWl6hd5FSVytJGuScX1C1C35w==" }, "enhanced-resolve": { "version": "0.9.1", @@ -25625,6 +26617,8 @@ }, "es6-promisify": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", + "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", "requires": { "es6-promise": "^4.0.3" } @@ -26337,6 +27331,11 @@ "through": "~2.3.1" } }, + "event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" + }, "eventemitter3": { "version": "4.0.7" }, @@ -26418,7 +27417,9 @@ } }, "eyes": { - "version": "0.1.8" + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", + "integrity": "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==" }, "fast-deep-equal": { "version": "3.1.3" @@ -26498,15 +27499,6 @@ "websocket-driver": ">=0.5.1" } }, - "ffjavascript": { - "version": "0.2.55", - "requires": { - "big-integer": "^1.6.48", - "wasmbuilder": "^0.0.12", - "wasmcurves": "0.1.0", - "web-worker": "^1.2.0" - } - }, "figures": { "version": "2.0.0", "dev": true, @@ -26845,7 +27837,6 @@ }, "get-intrinsic": { "version": "1.1.1", - "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -26954,8 +27945,7 @@ "dev": true }, "has-symbols": { - "version": "1.0.3", - "dev": true + "version": "1.0.3" }, "has-tostringtag": { "version": "1.0.0", @@ -27173,6 +28163,14 @@ "human-signals": { "version": "2.1.0" }, + "humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", + "requires": { + "ms": "^2.0.0" + } + }, "husky": { "version": "8.0.1", "dev": true @@ -27472,6 +28470,8 @@ }, "isomorphic-ws": { "version": "4.0.1", + "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz", + "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==", "requires": {} }, "istanbul-lib-coverage": { @@ -27578,11 +28578,11 @@ "dev": true }, "jayson": { - "version": "3.6.6", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.1.0.tgz", + "integrity": "sha512-R6JlbyLN53Mjku329XoRT2zJAE6ZgOQ8f91ucYdMCD4nkGCF9kZSrcGXpHIU4jeKj58zUZke2p+cdQchU7Ly7A==", "requires": { "@types/connect": "^3.4.33", - "@types/express-serve-static-core": "^4.17.9", - "@types/lodash": "^4.14.159", "@types/node": "^12.12.54", "@types/ws": "^7.4.4", "commander": "^2.20.3", @@ -27592,13 +28592,14 @@ "isomorphic-ws": "^4.0.1", "json-stringify-safe": "^5.0.1", "JSONStream": "^1.3.5", - "lodash": "^4.17.20", "uuid": "^8.3.2", "ws": "^7.4.5" }, "dependencies": { "@types/node": { - "version": "12.20.47" + "version": "12.20.55", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", + "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==" } } }, @@ -27759,9 +28760,6 @@ "version": "2.3.1", "dev": true }, - "json-rpc-random-id": { - "version": "1.0.1" - }, "json-schema": { "version": "0.4.0", "dev": true @@ -27771,9 +28769,11 @@ "dev": true }, "json-stable-stringify": { - "version": "1.0.1", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.2.tgz", + "integrity": "sha512-eunSSaEnxV12z+Z73y/j5N37/In40GK4GmsSy+tEHJMxknvqnA7/djeYtAgW0GsWHUfg+847WJjKaEylk2y09g==", "requires": { - "jsonify": "~0.0.0" + "jsonify": "^0.0.1" } }, "json-stable-stringify-without-jsonify": { @@ -27795,7 +28795,9 @@ } }, "jsonify": { - "version": "0.0.0" + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.1.tgz", + "integrity": "sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==" }, "jsonparse": { "version": "1.3.1" @@ -28310,6 +29312,11 @@ "version": "1.1.2", "dev": true }, + "micro-ftch": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/micro-ftch/-/micro-ftch-0.3.1.tgz", + "integrity": "sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg==" + }, "miller-rabin": { "version": "4.0.1", "dev": true, @@ -28941,8 +29948,7 @@ "version": "3.0.0" }, "object-inspect": { - "version": "1.12.2", - "dev": true + "version": "1.12.2" }, "object-is": { "version": "1.1.5", @@ -29105,6 +30111,11 @@ "release-zalgo": "^1.0.0" } }, + "pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, "param-case": { "version": "3.0.4", "dev": true, @@ -29579,8 +30590,7 @@ } }, "process": { - "version": "0.11.10", - "dev": true + "version": "0.11.10" }, "process-nextick-args": { "version": "2.0.1", @@ -29851,7 +30861,9 @@ } }, "regenerator-runtime": { - "version": "0.13.9" + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" }, "regenerator-transform": { "version": "0.14.5", @@ -30038,7 +31050,9 @@ } }, "rpc-websockets": { - "version": "7.5.0", + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-7.5.1.tgz", + "integrity": "sha512-kGFkeTsmd37pHPMaHIgN1LVKXMi0JD782v4Ds9ZKtLlwdTKjn+CxM9A9/gLT2LaOuEcEFGL98h1QWQtlOIdW0w==", "requires": { "@babel/runtime": "^7.17.2", "bufferutil": "^4.0.1", @@ -30049,7 +31063,9 @@ }, "dependencies": { "ws": { - "version": "8.9.0", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", "requires": {} } } @@ -30240,7 +31256,6 @@ }, "side-channel": { "version": "1.0.4", - "dev": true, "requires": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -30311,18 +31326,20 @@ } }, "socket.io-client": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.5.3.tgz", - "integrity": "sha512-I/hqDYpQ6JKwtJOf5ikM+Qz+YujZPMEl6qBLhxiP0nX+TfXKhW4KZZG8lamrD6Y5ngjmYHreESVasVCgi5Kl3A==", + "version": "4.7.1", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.7.1.tgz", + "integrity": "sha512-Qk3Xj8ekbnzKu3faejo4wk2MzXA029XppiXtTF/PkbTg+fcwaTw1PlDrTrrrU4mKoYC4dvlApOnSeyLCKwek2w==", "requires": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.2", - "engine.io-client": "~6.2.3", - "socket.io-parser": "~4.2.0" + "engine.io-client": "~6.5.1", + "socket.io-parser": "~4.2.4" } }, "socket.io-parser": { - "version": "4.2.0", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz", + "integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==", "requires": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.1" @@ -30339,6 +31356,8 @@ }, "sort-any": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/sort-any/-/sort-any-2.0.0.tgz", + "integrity": "sha512-T9JoiDewQEmWcnmPn/s9h/PH9t3d/LSWi0RgVmXSuDYeZXTZOZ1/wrK2PHaptuR1VXe3clLLt0pD6sgVOwjNEA==", "requires": { "lodash": "^4.17.21" } @@ -31001,6 +32020,11 @@ "version": "3.0.1", "dev": true }, + "ts-custom-error": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/ts-custom-error/-/ts-custom-error-3.3.1.tgz", + "integrity": "sha512-5OX1tzOjxWEgsr/YEUWSuPrQ00deKLh6D7OTWcvNHm12/7QPyRh8SYpyWvA4IZv8H/+GQWQEh/kwo95Q9OVW1A==" + }, "ts-loader": { "version": "9.2.8", "dev": true, @@ -31066,10 +32090,12 @@ } }, "ts-node": { - "version": "10.7.0", + "version": "10.9.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", + "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", "devOptional": true, "requires": { - "@cspotcode/source-map-support": "0.7.0", + "@cspotcode/source-map-support": "^0.8.0", "@tsconfig/node10": "^1.0.7", "@tsconfig/node12": "^1.0.7", "@tsconfig/node14": "^1.0.0", @@ -31080,7 +32106,7 @@ "create-require": "^1.1.0", "diff": "^4.0.1", "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.0", + "v8-compile-cache-lib": "^3.0.1", "yn": "3.1.1" } }, @@ -31104,7 +32130,9 @@ } }, "tslib": { - "version": "2.3.1" + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.0.tgz", + "integrity": "sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==" }, "tsutils": { "version": "3.21.0", @@ -31152,7 +32180,9 @@ } }, "typescript": { - "version": "4.6.4", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "devOptional": true }, "unbox-primitive": { @@ -31197,11 +32227,9 @@ "dev": true }, "unload": { - "version": "2.3.1", - "requires": { - "@babel/runtime": "^7.6.2", - "detect-node": "2.1.0" - } + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/unload/-/unload-2.4.1.tgz", + "integrity": "sha512-IViSAm8Z3sRBYA+9wc0fLQmU9Nrxb16rcDmIiR6Y9LJSZzI7QY5QsDhqPpKOjAn0O9/kfK1TfNEMMAGPTIraPw==" }, "unpipe": { "version": "1.0.0", @@ -31225,6 +32253,30 @@ "punycode": "^2.1.0" } }, + "url": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.1.tgz", + "integrity": "sha512-rWS3H04/+mzzJkv0eZ7vEDGiQbgquI1fGfOad6zKvgYQi1SzMmhl7c/DdRGxhaWrVH6z0qWITo8rpnxK/RfEhA==", + "requires": { + "punycode": "^1.4.1", + "qs": "^6.11.0" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==" + }, + "qs": { + "version": "6.11.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz", + "integrity": "sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==", + "requires": { + "side-channel": "^1.0.4" + } + } + } + }, "utf-8-validate": { "version": "5.0.9", "optional": true, @@ -31262,7 +32314,9 @@ "version": "2.3.0" }, "v8-compile-cache-lib": { - "version": "3.0.0", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", "devOptional": true }, "validate-npm-package-license": { @@ -31424,19 +32478,6 @@ } } }, - "wasmbuilder": { - "version": "0.0.12", - "requires": { - "big-integer": "^1.6.48" - } - }, - "wasmcurves": { - "version": "0.1.0", - "requires": { - "big-integer": "^1.6.42", - "blakejs": "^1.1.0" - } - }, "watchpack": { "version": "2.3.1", "dev": true, @@ -31459,9 +32500,6 @@ "defaults": "^1.0.3" } }, - "web-worker": { - "version": "1.2.0" - }, "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", diff --git a/package.json b/package.json index 7ef04c0b..7ec45c7d 100644 --- a/package.json +++ b/package.json @@ -32,17 +32,18 @@ "@solana/spl-name-service": "^0.1.4", "@solana/spl-token": "0.2.0", "@solana/web3.js": "^1.63.1", - "@toruslabs/base-controllers": "^2.2.6", + "@toruslabs/base-controllers": "^3.0.3", "@toruslabs/broadcast-channel": "^5.0.2", "@toruslabs/eccrypto": "^1.1.8", "@toruslabs/http-helpers": "^3.0.0", "@toruslabs/loglevel-sentry": "^4.0.0", - "@toruslabs/openlogin": "^3.1.0", + "@toruslabs/metadata-helpers": "^4.0.0", + "@toruslabs/openlogin": "^4.5.4", "@toruslabs/openlogin-ed25519": "^2.0.0", - "@toruslabs/openlogin-jrpc": "^2.5.0", - "@toruslabs/openlogin-subkey": "^2.1.0", - "@toruslabs/openlogin-utils": "^2.1.0", - "@toruslabs/solana-controllers": "^2.4.0", + "@toruslabs/openlogin-jrpc": "^4.6.0", + "@toruslabs/openlogin-subkey": "^4.2.0", + "@toruslabs/openlogin-utils": "^4.5.1", + "@toruslabs/solana-controllers": "^3.0.3", "@toruslabs/tweetnacl-js": "^1.0.3", "@toruslabs/vue-components": "^2.0.1", "@toruslabs/vue-icons": "^2.0.0", @@ -53,6 +54,7 @@ "async-mutex": "^0.3.2", "bignumber.js": "^9.0.2", "bowser": "^2.11.0", + "browserify-zlib": "^0.2.0", "bs58": "^4.0.1", "color": "^4.2.3", "copy-to-clipboard": "^3.3.2", @@ -68,6 +70,7 @@ "readable-stream": "^3.6.0", "register-service-worker": "^1.7.2", "safe-stable-stringify": "^2.3.1", + "url": "^0.11.1", "vue": "^3.2.37", "vue-eslint-parser": "^9.0.3", "vue-gtag": "^2.0.1", @@ -146,12 +149,12 @@ "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "tailwindcss": "^3.0.24", - "ts-node": "^10.7.0", + "ts-node": "^10.9.1", "typescript": "^4.6.4" }, "engines": { - "node": ">=14.17.0", - "npm": ">=6.x", + "node": ">=16.18.1", + "npm": ">=8.x", "yarn": "please use npm" } } diff --git a/src/auth/OpenLoginHandler.ts b/src/auth/OpenLoginHandler.ts index c416f6bf..a6e83586 100644 --- a/src/auth/OpenLoginHandler.ts +++ b/src/auth/OpenLoginHandler.ts @@ -1,7 +1,6 @@ import { PopupWithBcHandler, randomId } from "@toruslabs/base-controllers"; -import { LOGIN_PROVIDER_TYPE } from "@toruslabs/openlogin"; import { JRPCEngine, SafeEventEmitter } from "@toruslabs/openlogin-jrpc"; -import { safebtoa } from "@toruslabs/openlogin-utils"; +import { LOGIN_PROVIDER_TYPE, safebtoa } from "@toruslabs/openlogin-utils"; import log from "loglevel"; import type { OpenLoginPopupResponse } from "@/utils/enums"; diff --git a/src/components/frame/PopupLogin.vue b/src/components/frame/PopupLogin.vue index 505cba24..b5671097 100755 --- a/src/components/frame/PopupLogin.vue +++ b/src/components/frame/PopupLogin.vue @@ -1,7 +1,7 @@ diff --git a/src/components/transfer/PreviewNFT.vue b/src/components/transfer/PreviewNFT.vue index 6bb19751..d2e806db 100644 --- a/src/components/transfer/PreviewNFT.vue +++ b/src/components/transfer/PreviewNFT.vue @@ -27,6 +27,7 @@ const { t } = useI18n(); class="property-value text-app-text-500 dark:text-app-text-dark-500" :href="`https://solscan.io/token/${props.mintAddress}`" target="_blank" + rel="noopener noreferrer" >{{ props.token?.name }} diff --git a/src/components/transfer/TransferTokenSelect.vue b/src/components/transfer/TransferTokenSelect.vue index c67af24a..a3c0c0f8 100644 --- a/src/components/transfer/TransferTokenSelect.vue +++ b/src/components/transfer/TransferTokenSelect.vue @@ -1,7 +1,7 @@