diff --git a/README.md b/README.md index 48e58fc91..29216f566 100644 --- a/README.md +++ b/README.md @@ -249,4 +249,3 @@ For more detailed examples, visit our [Web3Auth Examples repository](https://git - Have a look at our [Community Portal](https://community.web3auth.io/) to see if anyone has any questions or issues you might be having. Feel free to create new topics and we'll help you out as soon as possible. - Checkout our [Troubleshooting Documentation Page](https://web3auth.io/docs/troubleshooting) to know the common issues and solutions. - For Priority Support, please have a look at our [Pricing Page](https://web3auth.io/pricing.html) for the plan that suits your needs. - diff --git a/demo/vue-app-new/package-lock.json b/demo/vue-app-new/package-lock.json index fb43457c4..e1fb0463d 100644 --- a/demo/vue-app-new/package-lock.json +++ b/demo/vue-app-new/package-lock.json @@ -8,16 +8,16 @@ "name": "vue-app-new", "version": "0.0.0", "dependencies": { - "@solana/web3.js": "^1.98.4", + "@solana-program/system": "^0.12.0", + "@solana/kit": "^6.1.0", "@tanstack/vue-query": "^5.92.6", "@toruslabs/base-controllers": "^8.15.0", - "@toruslabs/bs58": "^1.0.0", "@toruslabs/ethereum-controllers": "^8.15.0", "@toruslabs/solana-controllers": "^8.15.0", "@toruslabs/tweetnacl-js": "^1.0.4", "@toruslabs/vue-components": "^8.1.2", "@toruslabs/vue-icons": "^8.0.4", - "@wagmi/vue": "^0.4.11", + "@wagmi/vue": "^0.4.14", "@web3auth/auth": "^10.8.0", "@web3auth/modal": "file:../../packages/modal", "@web3auth/no-modal": "file:../../packages/no-modal", @@ -49,13 +49,13 @@ }, "../../packages/modal": { "name": "@web3auth/modal", - "version": "10.13.1", + "version": "10.14.1", "dependencies": { "@hcaptcha/react-hcaptcha": "^2.0.1", "@toruslabs/base-controllers": "^8.15.0", "@toruslabs/http-helpers": "^8.1.1", "@web3auth/auth": "^10.8.0", - "@web3auth/no-modal": "^10.13.0", + "@web3auth/no-modal": "^10.14.1", "bowser": "^2.13.1", "classnames": "^2.5.1", "clsx": "^2.1.1", @@ -74,7 +74,7 @@ "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-replace": "^6.0.3", "@rollup/plugin-url": "^8.0.2", - "@solana/web3.js": "^1.98.4", + "@solana/kit": "^6.1.0", "@svgr/rollup": "^8.1.0", "@svgr/webpack": "^8.1.0", "@toruslabs/eslint-config-react": "^4.1.4", @@ -83,8 +83,8 @@ "@toruslabs/vue-components": "^8.1.2", "@types/react": "^19.2.8", "@types/react-dom": "^19.2.3", - "@wagmi/core": "^3.2.2", - "@wagmi/vue": "^0.4.11", + "@wagmi/core": "^3.3.1", + "@wagmi/vue": "^0.4.14", "autoprefixer": "^10.4.23", "css-loader": "^7.1.2", "live-server": "^1.2.2", @@ -98,9 +98,9 @@ "style-loader": "^4.0.0", "tailwindcss": "^3.4.17", "url-loader": "^4.1.1", - "viem": "^2.44.2", + "viem": "^2.45.0", "vue": "^3.5.26", - "wagmi": "^3.3.4" + "wagmi": "^3.4.1" }, "engines": { "node": ">=20.x", @@ -109,10 +109,10 @@ "peerDependencies": { "@babel/runtime": "^7.x", "@coinbase/wallet-sdk": "^4.3.x", - "@solana/web3.js": ">=1.98", + "@solana/kit": ">=6.1.0", "react": ">=18", "react-dom": ">=18", - "viem": ">=2.23", + "viem": ">=2.45", "vue": ">=3.x" }, "peerDependenciesMeta": { @@ -129,16 +129,15 @@ }, "../../packages/no-modal": { "name": "@web3auth/no-modal", - "version": "10.13.0", + "version": "10.14.1", "license": "ISC", "dependencies": { "@ethereumjs/util": "^10.1.0", "@metamask/sdk": "^0.34.0", "@segment/analytics-next": "^1.81.1", + "@solana/kit": "^6.1.0", "@solana/wallet-standard-features": "^1.3.0", - "@solana/web3.js": "^1.98.4", "@toruslabs/base-controllers": "^8.15.0", - "@toruslabs/bs58": "^1.0.0", "@toruslabs/constants": "^15.0.0", "@toruslabs/eccrypto": "^6.2.0", "@toruslabs/ethereum-controllers": "^8.15.0", @@ -165,7 +164,7 @@ "jwt-decode": "^4.0.0", "loglevel": "^1.9.2", "mipd": "^0.0.7", - "permissionless": "^0.3.2", + "permissionless": "^0.3.4", "ripple-keypairs": "^1.3.1", "ts-custom-error": "^3.3.1", "xrpl": "^2.14.0" @@ -175,12 +174,12 @@ "@types/elliptic": "6.4.18", "@types/json-rpc-random-id": "^1.0.3", "@types/react": "^19.2.8", - "@wagmi/core": "^3.2.2", - "@wagmi/vue": "^0.4.11", + "@wagmi/core": "^3.3.1", + "@wagmi/vue": "^0.4.14", "react": "^19.2.3", - "viem": "^2.44.2", + "viem": "^2.45.0", "vue": "^3.x", - "wagmi": "^3.3.4" + "wagmi": "^3.4.1" }, "engines": { "node": ">=20.x", @@ -190,7 +189,7 @@ "@babel/runtime": "^7.x", "@coinbase/wallet-sdk": "^4.3.x", "react": ">=18", - "viem": ">=2.29", + "viem": ">=2.45", "vue": "^3.x" }, "peerDependenciesMeta": { @@ -320,6 +319,24 @@ "node": ">=10" } }, + "node_modules/@coral-xyz/anchor/node_modules/base-x": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz", + "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/@coral-xyz/anchor/node_modules/bs58": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", + "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, "node_modules/@coral-xyz/anchor/node_modules/superstruct": { "version": "0.15.5", "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-0.15.5.tgz", @@ -2132,6 +2149,266 @@ "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==", "license": "MIT" }, + "node_modules/@solana-program/system": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@solana-program/system/-/system-0.12.0.tgz", + "integrity": "sha512-ZnAAWeGVMWNtJhw3GdifI2HnhZ0A0H0qs8tBkcFvxp/8wIavvO+GOM4Jd0N22u2+Lni2zcwvcrxrsxj6Mjphng==", + "license": "Apache-2.0", + "peerDependencies": { + "@solana/kit": "^6.1.0" + } + }, + "node_modules/@solana/accounts": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/accounts/-/accounts-6.1.0.tgz", + "integrity": "sha512-0jhmhSSS71ClLtBQIDrLlhkiNER4M9RIXTl1eJ1yJoFlE608JaKHTjNWsdVKdke7uBD6exdjNZkIVmouQPHMcA==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "6.1.0", + "@solana/codecs-core": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/rpc-spec": "6.1.0", + "@solana/rpc-types": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/accounts/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/accounts/node_modules/@solana/codecs-numbers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-6.1.0.tgz", + "integrity": "sha512-YPQwwl6LE3igH23ah+d8kgpyE5xFcPbuwhxCDsLWqY/ESrvO/0YQSbsgIXahbhZxN59ZC4uq1LnHhBNbpCSVQg==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/accounts/node_modules/@solana/codecs-strings": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-6.1.0.tgz", + "integrity": "sha512-pRH5uAn4VCFUs2rYiDITyWsRnpvs3Uh/nhSc6OSP/kusghcCcCJcUzHBIjT4x08MVacXmGUlSLe/9qPQO+QK3Q==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/accounts/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/addresses": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/addresses/-/addresses-6.1.0.tgz", + "integrity": "sha512-QT04Vie4iICaalQQRJFMGj/P56IxXiwFtVuZHu1qjZUNmuGTOvX6G98b27RaGtLzpJ3NIku/6OtKxLUBqAKAyQ==", + "license": "MIT", + "dependencies": { + "@solana/assertions": "6.1.0", + "@solana/codecs-core": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/nominal-types": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/addresses/node_modules/@solana/assertions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/assertions/-/assertions-6.1.0.tgz", + "integrity": "sha512-pLgxB2xxTk2QfTaWpnRpSMYgaPkKYDQgptRvbwmuDQnOW1Zopg+42MT2UrDGd3UFMML1uOFPxIwKM6m51H0uXw==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/addresses/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/addresses/node_modules/@solana/codecs-numbers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-6.1.0.tgz", + "integrity": "sha512-YPQwwl6LE3igH23ah+d8kgpyE5xFcPbuwhxCDsLWqY/ESrvO/0YQSbsgIXahbhZxN59ZC4uq1LnHhBNbpCSVQg==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/addresses/node_modules/@solana/codecs-strings": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-6.1.0.tgz", + "integrity": "sha512-pRH5uAn4VCFUs2rYiDITyWsRnpvs3Uh/nhSc6OSP/kusghcCcCJcUzHBIjT4x08MVacXmGUlSLe/9qPQO+QK3Q==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/addresses/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/@solana/assertions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@solana/assertions/-/assertions-2.3.0.tgz", @@ -2455,64 +2732,73 @@ "typescript": ">=5.3.3" } }, - "node_modules/@solana/options": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0.tgz", - "integrity": "sha512-OVc4KnYosB8oAukQ/htgrxXSxlUP6gUu5Aau6d/BgEkPQzWd/Pr+w91VWw3i3zZuu2SGpedbyh05RoJBe/hSXA==", + "node_modules/@solana/fast-stable-stringify": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/fast-stable-stringify/-/fast-stable-stringify-6.1.0.tgz", + "integrity": "sha512-QXUfDFaJCFeARsxJgScWmJ153Tit7Cimk9y0UWWreNBr2Aphi67Nlcj/tr7UABTO0Qaw/0gwrK76zz3m1t3nIw==", "license": "MIT", - "dependencies": { - "@solana/codecs-core": "2.0.0", - "@solana/codecs-data-structures": "2.0.0", - "@solana/codecs-numbers": "2.0.0", - "@solana/codecs-strings": "2.0.0", - "@solana/errors": "2.0.0" - }, "engines": { "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/options/node_modules/@solana/codecs-core": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0.tgz", - "integrity": "sha512-qCG+3hDU5Pm8V6joJjR4j4Zv9md1z0RaecniNDIkEglnxmOUODnmPLWbtOjnDylfItyuZeDihK8hkewdj8cUtw==", + "node_modules/@solana/functional": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/functional/-/functional-6.1.0.tgz", + "integrity": "sha512-+Sm8ldVxSTHIKaZDvcBu81FPjknXx6OMPlakkKmXjKxPgVLl86ruqMo2yEwoDUHV7DysLrLLcRNn13rfulomRw==", "license": "MIT", - "dependencies": { - "@solana/errors": "2.0.0" - }, "engines": { "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/options/node_modules/@solana/codecs-numbers": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0.tgz", - "integrity": "sha512-r66i7VzJO1MZkQWZIAI6jjJOFVpnq0+FIabo2Z2ZDtrArFus/SbSEv543yCLeD2tdR/G/p+1+P5On10qF50Y1Q==", + "node_modules/@solana/instruction-plans": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/instruction-plans/-/instruction-plans-6.1.0.tgz", + "integrity": "sha512-zcsHg544t1zn7LLOVUxOWYlsKn9gvT7R+pL3cTiP2wFNoUN0h9En87H6nVqkZ8LWw23asgW0uM5uJGwfBx2h1Q==", "license": "MIT", "dependencies": { - "@solana/codecs-core": "2.0.0", - "@solana/errors": "2.0.0" + "@solana/errors": "6.1.0", + "@solana/instructions": "6.1.0", + "@solana/keys": "6.1.0", + "@solana/promises": "6.1.0", + "@solana/transaction-messages": "6.1.0", + "@solana/transactions": "6.1.0" }, "engines": { "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/options/node_modules/@solana/errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.0.0.tgz", - "integrity": "sha512-IHlaPFSy4lvYco1oHJ3X8DbchWwAwJaL/4wZKnF1ugwZ0g0re8wbABrqNOe/jyZ84VU9Z14PYM8W9oDAebdJbw==", + "node_modules/@solana/instruction-plans/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", "license": "MIT", "dependencies": { - "chalk": "^5.3.0", - "commander": "^12.1.0" + "chalk": "5.6.2", + "commander": "14.0.3" }, "bin": { "errors": "bin/cli.mjs" @@ -2521,300 +2807,2456 @@ "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/options/node_modules/commander": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", - "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "node_modules/@solana/instructions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/instructions/-/instructions-6.1.0.tgz", + "integrity": "sha512-w1LdbJ3yanESckNTYC5KPckgN/25FyGCm07WWrs+dCnnpRNeLiVHIytXCPmArOVAXVkOYidXzhWmqCzqKUjYaA==", "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" + }, "engines": { - "node": ">=18" - } - }, - "node_modules/@solana/spl-token": { - "version": "0.4.14", + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/instructions/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/instructions/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/keys": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/keys/-/keys-6.1.0.tgz", + "integrity": "sha512-C/SGCl3VOgBQZ0mLrMxCcJYnMsGpgE8wbx29jqRY+R91m5YhS1f/GfXJPR1lN/h7QGrJ6YDm8eI0Y3AZ7goKHg==", + "license": "MIT", + "dependencies": { + "@solana/assertions": "6.1.0", + "@solana/codecs-core": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/nominal-types": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/keys/node_modules/@solana/assertions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/assertions/-/assertions-6.1.0.tgz", + "integrity": "sha512-pLgxB2xxTk2QfTaWpnRpSMYgaPkKYDQgptRvbwmuDQnOW1Zopg+42MT2UrDGd3UFMML1uOFPxIwKM6m51H0uXw==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/keys/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/keys/node_modules/@solana/codecs-numbers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-6.1.0.tgz", + "integrity": "sha512-YPQwwl6LE3igH23ah+d8kgpyE5xFcPbuwhxCDsLWqY/ESrvO/0YQSbsgIXahbhZxN59ZC4uq1LnHhBNbpCSVQg==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/keys/node_modules/@solana/codecs-strings": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-6.1.0.tgz", + "integrity": "sha512-pRH5uAn4VCFUs2rYiDITyWsRnpvs3Uh/nhSc6OSP/kusghcCcCJcUzHBIjT4x08MVacXmGUlSLe/9qPQO+QK3Q==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/keys/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/kit": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/kit/-/kit-6.1.0.tgz", + "integrity": "sha512-24exn11BPonquufyCkGgypVtmN4JOsdGMsbF3EZ4kFyk7ZNryCn/N8eELr1FCVrHWRXoc0xy/HFaESBULTMf6g==", + "license": "MIT", + "dependencies": { + "@solana/accounts": "6.1.0", + "@solana/addresses": "6.1.0", + "@solana/codecs": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/functional": "6.1.0", + "@solana/instruction-plans": "6.1.0", + "@solana/instructions": "6.1.0", + "@solana/keys": "6.1.0", + "@solana/offchain-messages": "6.1.0", + "@solana/plugin-core": "6.1.0", + "@solana/plugin-interfaces": "6.1.0", + "@solana/program-client-core": "6.1.0", + "@solana/programs": "6.1.0", + "@solana/rpc": "6.1.0", + "@solana/rpc-api": "6.1.0", + "@solana/rpc-parsed-types": "6.1.0", + "@solana/rpc-spec-types": "6.1.0", + "@solana/rpc-subscriptions": "6.1.0", + "@solana/rpc-types": "6.1.0", + "@solana/signers": "6.1.0", + "@solana/sysvars": "6.1.0", + "@solana/transaction-confirmation": "6.1.0", + "@solana/transaction-messages": "6.1.0", + "@solana/transactions": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/kit/node_modules/@solana/codecs": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs/-/codecs-6.1.0.tgz", + "integrity": "sha512-VHBS3t8fyVjE0Nqo6b4TUnzdwdRaVo+B5ufHhPLbbjkEXzz8HB4E/OBjgasn+zWGlfScfQAiBFOsfZjbVWu4XA==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-data-structures": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/options": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/kit/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/kit/node_modules/@solana/codecs-data-structures": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-6.1.0.tgz", + "integrity": "sha512-1cb9g5hrrucTuGkGxqVVq7dCwSMnn4YqwTe365iKkK8HBpLBmUl8XATf1MUs5UtDun1g9eNWOL72Psr8mIUqTQ==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/kit/node_modules/@solana/codecs-numbers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-6.1.0.tgz", + "integrity": "sha512-YPQwwl6LE3igH23ah+d8kgpyE5xFcPbuwhxCDsLWqY/ESrvO/0YQSbsgIXahbhZxN59ZC4uq1LnHhBNbpCSVQg==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/kit/node_modules/@solana/codecs-strings": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-6.1.0.tgz", + "integrity": "sha512-pRH5uAn4VCFUs2rYiDITyWsRnpvs3Uh/nhSc6OSP/kusghcCcCJcUzHBIjT4x08MVacXmGUlSLe/9qPQO+QK3Q==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/kit/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/kit/node_modules/@solana/options": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/options/-/options-6.1.0.tgz", + "integrity": "sha512-/4FtVfR6nkHkMCumyh7/lJ6jMqyES6tKUbOJRa6gJxcIUWeRDu+XrHTHLf3gRNUqDAbFvW8FMIrQm7PdreZgRA==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-data-structures": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/nominal-types": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/nominal-types/-/nominal-types-6.1.0.tgz", + "integrity": "sha512-+skHjN0arNNB9TLsGqA94VCx7euyGURI+qG6wck6E4D7hH6i6DxGiVrtKRghx+smJkkLtTm9BvdVKGoeNQYr7Q==", + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/offchain-messages": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/offchain-messages/-/offchain-messages-6.1.0.tgz", + "integrity": "sha512-jrUb7HGUnRA+k44upcqKeevtEdqMxYRSlFdE0JTctZunGlP3GCcTl12tFOpbnFHvBLt8RwS62+nyeES8zzNwXA==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "6.1.0", + "@solana/codecs-core": "6.1.0", + "@solana/codecs-data-structures": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/keys": "6.1.0", + "@solana/nominal-types": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/offchain-messages/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/offchain-messages/node_modules/@solana/codecs-data-structures": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-6.1.0.tgz", + "integrity": "sha512-1cb9g5hrrucTuGkGxqVVq7dCwSMnn4YqwTe365iKkK8HBpLBmUl8XATf1MUs5UtDun1g9eNWOL72Psr8mIUqTQ==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/offchain-messages/node_modules/@solana/codecs-numbers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-6.1.0.tgz", + "integrity": "sha512-YPQwwl6LE3igH23ah+d8kgpyE5xFcPbuwhxCDsLWqY/ESrvO/0YQSbsgIXahbhZxN59ZC4uq1LnHhBNbpCSVQg==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/offchain-messages/node_modules/@solana/codecs-strings": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-6.1.0.tgz", + "integrity": "sha512-pRH5uAn4VCFUs2rYiDITyWsRnpvs3Uh/nhSc6OSP/kusghcCcCJcUzHBIjT4x08MVacXmGUlSLe/9qPQO+QK3Q==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/offchain-messages/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/options": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0.tgz", + "integrity": "sha512-OVc4KnYosB8oAukQ/htgrxXSxlUP6gUu5Aau6d/BgEkPQzWd/Pr+w91VWw3i3zZuu2SGpedbyh05RoJBe/hSXA==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0", + "@solana/codecs-data-structures": "2.0.0", + "@solana/codecs-numbers": "2.0.0", + "@solana/codecs-strings": "2.0.0", + "@solana/errors": "2.0.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/options/node_modules/@solana/codecs-core": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0.tgz", + "integrity": "sha512-qCG+3hDU5Pm8V6joJjR4j4Zv9md1z0RaecniNDIkEglnxmOUODnmPLWbtOjnDylfItyuZeDihK8hkewdj8cUtw==", + "license": "MIT", + "dependencies": { + "@solana/errors": "2.0.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/options/node_modules/@solana/codecs-numbers": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0.tgz", + "integrity": "sha512-r66i7VzJO1MZkQWZIAI6jjJOFVpnq0+FIabo2Z2ZDtrArFus/SbSEv543yCLeD2tdR/G/p+1+P5On10qF50Y1Q==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0", + "@solana/errors": "2.0.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/options/node_modules/@solana/errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.0.0.tgz", + "integrity": "sha512-IHlaPFSy4lvYco1oHJ3X8DbchWwAwJaL/4wZKnF1ugwZ0g0re8wbABrqNOe/jyZ84VU9Z14PYM8W9oDAebdJbw==", + "license": "MIT", + "dependencies": { + "chalk": "^5.3.0", + "commander": "^12.1.0" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/options/node_modules/commander": { + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", + "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@solana/plugin-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/plugin-core/-/plugin-core-6.1.0.tgz", + "integrity": "sha512-2nmNCPa6B1QArqpAZHWUkK6K7UXLTrekfcfJm2V//ATEtLpKEBlv0c3mrhOYwNAKP2TpNuvEV33InXWKst9oXQ==", + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/plugin-interfaces": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/plugin-interfaces/-/plugin-interfaces-6.1.0.tgz", + "integrity": "sha512-eWSzfOuwtHUp8vljf5V24Tkz3WxqxiV0vD/BJZBNRZMdYRw3Cw3oeWcvEqHHxGUOie6AjIK8GrKggi8F73ZXbg==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "6.1.0", + "@solana/instruction-plans": "6.1.0", + "@solana/keys": "6.1.0", + "@solana/rpc-spec": "6.1.0", + "@solana/rpc-subscriptions-spec": "6.1.0", + "@solana/rpc-types": "6.1.0", + "@solana/signers": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/program-client-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/program-client-core/-/program-client-core-6.1.0.tgz", + "integrity": "sha512-5Apka+ulWNfLNLYNR63pLnr5XvkXTQWeaftWED93iTWTZrZv9SyFWcmIsaes6eqGXMQ3RhlebnrWODtKuAA62g==", + "license": "MIT", + "dependencies": { + "@solana/accounts": "6.1.0", + "@solana/addresses": "6.1.0", + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/instruction-plans": "6.1.0", + "@solana/instructions": "6.1.0", + "@solana/plugin-interfaces": "6.1.0", + "@solana/rpc-api": "6.1.0", + "@solana/signers": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/program-client-core/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/program-client-core/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/programs": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/programs/-/programs-6.1.0.tgz", + "integrity": "sha512-i4L4gSlIHDsdYRt3/YKVKMIN3UuYSKHRqK9B+AejcIc0y6Y/AXnHqzmpBRXEhvTXz18nt59MLXpVU4wu7ASjJA==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/programs/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/promises": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/promises/-/promises-6.1.0.tgz", + "integrity": "sha512-/mUW6peXQiEOaylLpGv4vtkvPzQvSbfhX9j5PNIK/ry4S3SHRQ3j3W/oGy4y3LR5alwo7NcVbubrkh4e4xwcww==", + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc/-/rpc-6.1.0.tgz", + "integrity": "sha512-R3y5PklW9mPy5Y34hsXj40R28zN2N7AGLnHqYJVkXkllwVub/QCNpSdDxAnbbS5EGOYGoUOW8s5LFoXwMSr1LQ==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0", + "@solana/fast-stable-stringify": "6.1.0", + "@solana/functional": "6.1.0", + "@solana/rpc-api": "6.1.0", + "@solana/rpc-spec": "6.1.0", + "@solana/rpc-spec-types": "6.1.0", + "@solana/rpc-transformers": "6.1.0", + "@solana/rpc-transport-http": "6.1.0", + "@solana/rpc-types": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-api": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-api/-/rpc-api-6.1.0.tgz", + "integrity": "sha512-+hO5+kZjJHuUNATUQxlJ1+ztXFkgn1j46zRwt3X7kF+VHkW3wsQ7up0JTS+Xsacmkrj1WKfymQweq8JTrsAG8A==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "6.1.0", + "@solana/codecs-core": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/keys": "6.1.0", + "@solana/rpc-parsed-types": "6.1.0", + "@solana/rpc-spec": "6.1.0", + "@solana/rpc-transformers": "6.1.0", + "@solana/rpc-types": "6.1.0", + "@solana/transaction-messages": "6.1.0", + "@solana/transactions": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-api/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-api/node_modules/@solana/codecs-numbers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-6.1.0.tgz", + "integrity": "sha512-YPQwwl6LE3igH23ah+d8kgpyE5xFcPbuwhxCDsLWqY/ESrvO/0YQSbsgIXahbhZxN59ZC4uq1LnHhBNbpCSVQg==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-api/node_modules/@solana/codecs-strings": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-6.1.0.tgz", + "integrity": "sha512-pRH5uAn4VCFUs2rYiDITyWsRnpvs3Uh/nhSc6OSP/kusghcCcCJcUzHBIjT4x08MVacXmGUlSLe/9qPQO+QK3Q==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-api/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-parsed-types": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-parsed-types/-/rpc-parsed-types-6.1.0.tgz", + "integrity": "sha512-YKccynVgWt/gbs0tBYstNw6BSVuOeWdeAldTB2OgH95o2Q04DpO4v97X1MZDysA4SvSZM30Ek5Ni5ss3kskgdw==", + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-spec": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-spec/-/rpc-spec-6.1.0.tgz", + "integrity": "sha512-RxpkIGizCYhXGUcap7npV2S/rAXZ7P/liozY/ExjMmCxYTDwGIW33kp/uH/JRxuzrL8+f8FqY76VsqqIe+2VZw==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0", + "@solana/rpc-spec-types": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-spec-types": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-spec-types/-/rpc-spec-types-6.1.0.tgz", + "integrity": "sha512-tldMv1b6VGcvcRrY5MDWKlsyEKH6K96zE7gAIpKDX2G4T47ZOV+OMA3nh6xQpRgtyCUBsej0t80qmvTBDX/5IQ==", + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-spec/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-subscriptions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions/-/rpc-subscriptions-6.1.0.tgz", + "integrity": "sha512-sqwj+cQinWcZ7M/9+cudKxMPTkTQyGP73980vPCWM7vCpPkp2qzgrEie4DdgDGo+NMwIjeFgu2kdUuLHI3GD/g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0", + "@solana/fast-stable-stringify": "6.1.0", + "@solana/functional": "6.1.0", + "@solana/promises": "6.1.0", + "@solana/rpc-spec-types": "6.1.0", + "@solana/rpc-subscriptions-api": "6.1.0", + "@solana/rpc-subscriptions-channel-websocket": "6.1.0", + "@solana/rpc-subscriptions-spec": "6.1.0", + "@solana/rpc-transformers": "6.1.0", + "@solana/rpc-types": "6.1.0", + "@solana/subscribable": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-subscriptions-api": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions-api/-/rpc-subscriptions-api-6.1.0.tgz", + "integrity": "sha512-I6J+3VU0dda6EySKbDyd+1urC7RGIRPRp0DcWRVcy68NOLbq0I5C40Dn9O2Zf8iCdK4PbQ7JKdCvZ/bDd45hdg==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "6.1.0", + "@solana/keys": "6.1.0", + "@solana/rpc-subscriptions-spec": "6.1.0", + "@solana/rpc-transformers": "6.1.0", + "@solana/rpc-types": "6.1.0", + "@solana/transaction-messages": "6.1.0", + "@solana/transactions": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-subscriptions-channel-websocket": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions-channel-websocket/-/rpc-subscriptions-channel-websocket-6.1.0.tgz", + "integrity": "sha512-vsx9b+uyCr9L3giao/BTiBFA8DxV5+gDNFq0t5uL21uQ17JXzBektwzHuHoth9IjkvXV/h+IhwXfuLE9Qm4GQg==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0", + "@solana/functional": "6.1.0", + "@solana/rpc-subscriptions-spec": "6.1.0", + "@solana/subscribable": "6.1.0", + "ws": "^8.19.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-subscriptions-channel-websocket/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-subscriptions-channel-websocket/node_modules/ws": { + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz", + "integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-subscriptions-spec": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions-spec/-/rpc-subscriptions-spec-6.1.0.tgz", + "integrity": "sha512-P06jhqzHpZGaLeJmIQkpDeMDD1xUp53ARpmXMsduMC+U5ZKQt29CLo+JrR18boNtls6WfttjVMEbzF25/4UPVA==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0", + "@solana/promises": "6.1.0", + "@solana/rpc-spec-types": "6.1.0", + "@solana/subscribable": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-subscriptions-spec/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-subscriptions/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-transformers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-transformers/-/rpc-transformers-6.1.0.tgz", + "integrity": "sha512-OsSuuRPmsmS02eR9Zz+4iTsr+21hvEMEex5vwbwN6LAGPFlQ4ohqGkxgZCwmYd+Q5HWpnn9Uuf1MDTLLrKQkig==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0", + "@solana/functional": "6.1.0", + "@solana/nominal-types": "6.1.0", + "@solana/rpc-spec-types": "6.1.0", + "@solana/rpc-types": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-transformers/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-transport-http": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-transport-http/-/rpc-transport-http-6.1.0.tgz", + "integrity": "sha512-3ebaTYuglLJagaXtjwDPVI7SQeeeFN2fpetpGKsuMAiti4fzYqEkNN8FIo+nXBzqqG/cVc2421xKjXl6sO1k/g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0", + "@solana/rpc-spec": "6.1.0", + "@solana/rpc-spec-types": "6.1.0", + "undici-types": "^7.21.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-transport-http/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-transport-http/node_modules/undici-types": { + "version": "7.22.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.22.0.tgz", + "integrity": "sha512-RKZvifiL60xdsIuC80UY0dq8Z7DbJUV8/l2hOVbyZAxBzEeQU4Z58+4ZzJ6WN2Lidi9KzT5EbiGX+PI/UGYuRw==", + "license": "MIT" + }, + "node_modules/@solana/rpc-types": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-types/-/rpc-types-6.1.0.tgz", + "integrity": "sha512-lR+Cb3v5Rpl49HsXWASy++TSE1AD86eRKabY+iuWnbBMYVGI4MamAvYwgBiygsCNc30nyO2TFNj9STMeSD/gAg==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "6.1.0", + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/nominal-types": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-types/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-types/node_modules/@solana/codecs-numbers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-6.1.0.tgz", + "integrity": "sha512-YPQwwl6LE3igH23ah+d8kgpyE5xFcPbuwhxCDsLWqY/ESrvO/0YQSbsgIXahbhZxN59ZC4uq1LnHhBNbpCSVQg==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-types/node_modules/@solana/codecs-strings": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-6.1.0.tgz", + "integrity": "sha512-pRH5uAn4VCFUs2rYiDITyWsRnpvs3Uh/nhSc6OSP/kusghcCcCJcUzHBIjT4x08MVacXmGUlSLe/9qPQO+QK3Q==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-types/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/signers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/signers/-/signers-6.1.0.tgz", + "integrity": "sha512-WDPGZJr6jIe2dEChv/2KQBnaga8dqOjd6ceBj/HcDHxnCudo66t7GlyZ9+9jMO40AgOOb7EDE5FDqPMrHMg5Yw==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "6.1.0", + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/instructions": "6.1.0", + "@solana/keys": "6.1.0", + "@solana/nominal-types": "6.1.0", + "@solana/offchain-messages": "6.1.0", + "@solana/transaction-messages": "6.1.0", + "@solana/transactions": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/signers/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/signers/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/spl-token": { + "version": "0.4.14", "resolved": "https://registry.npmjs.org/@solana/spl-token/-/spl-token-0.4.14.tgz", "integrity": "sha512-u09zr96UBpX4U685MnvQsNzlvw9TiY005hk1vJmJr7gMJldoPG1eYU5/wNEyOA5lkMLiR/gOi9SFD4MefOYEsA==", "license": "Apache-2.0", "dependencies": { - "@solana/buffer-layout": "^4.0.0", - "@solana/buffer-layout-utils": "^0.2.0", - "@solana/spl-token-group": "^0.0.7", - "@solana/spl-token-metadata": "^0.1.6", + "@solana/buffer-layout": "^4.0.0", + "@solana/buffer-layout-utils": "^0.2.0", + "@solana/spl-token-group": "^0.0.7", + "@solana/spl-token-metadata": "^0.1.6", + "buffer": "^6.0.3" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "@solana/web3.js": "^1.95.5" + } + }, + "node_modules/@solana/spl-token-group": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/@solana/spl-token-group/-/spl-token-group-0.0.7.tgz", + "integrity": "sha512-V1N/iX7Cr7H0uazWUT2uk27TMqlqedpXHRqqAbVO2gvmJyT0E0ummMEAVQeXZ05ZhQ/xF39DLSdBp90XebWEug==", + "license": "Apache-2.0", + "dependencies": { + "@solana/codecs": "2.0.0-rc.1" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "@solana/web3.js": "^1.95.3" + } + }, + "node_modules/@solana/spl-token-group/node_modules/@solana/codecs": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/codecs/-/codecs-2.0.0-rc.1.tgz", + "integrity": "sha512-qxoR7VybNJixV51L0G1RD2boZTcxmwUWnKCaJJExQ5qNKwbpSyDdWfFJfM5JhGyKe9DnPVOZB+JHWXnpbZBqrQ==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0-rc.1", + "@solana/codecs-data-structures": "2.0.0-rc.1", + "@solana/codecs-numbers": "2.0.0-rc.1", + "@solana/codecs-strings": "2.0.0-rc.1", + "@solana/options": "2.0.0-rc.1" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-group/node_modules/@solana/codecs-core": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0-rc.1.tgz", + "integrity": "sha512-bauxqMfSs8EHD0JKESaNmNuNvkvHSuN3bbWAF5RjOfDu2PugxHrvRebmYauvSumZ3cTfQ4HJJX6PG5rN852qyQ==", + "license": "MIT", + "dependencies": { + "@solana/errors": "2.0.0-rc.1" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-group/node_modules/@solana/codecs-data-structures": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-2.0.0-rc.1.tgz", + "integrity": "sha512-rinCv0RrAVJ9rE/rmaibWJQxMwC5lSaORSZuwjopSUE6T0nb/MVg6Z1siNCXhh/HFTOg0l8bNvZHgBcN/yvXog==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0-rc.1", + "@solana/codecs-numbers": "2.0.0-rc.1", + "@solana/errors": "2.0.0-rc.1" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-group/node_modules/@solana/codecs-numbers": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0-rc.1.tgz", + "integrity": "sha512-J5i5mOkvukXn8E3Z7sGIPxsThRCgSdgTWJDQeZvucQ9PT6Y3HiVXJ0pcWiOWAoQ3RX8e/f4I3IC+wE6pZiJzDQ==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0-rc.1", + "@solana/errors": "2.0.0-rc.1" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-group/node_modules/@solana/codecs-strings": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-2.0.0-rc.1.tgz", + "integrity": "sha512-9/wPhw8TbGRTt6mHC4Zz1RqOnuPTqq1Nb4EyuvpZ39GW6O2t2Q7Q0XxiB3+BdoEjwA2XgPw6e2iRfvYgqty44g==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0-rc.1", + "@solana/codecs-numbers": "2.0.0-rc.1", + "@solana/errors": "2.0.0-rc.1" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-group/node_modules/@solana/errors": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.0.0-rc.1.tgz", + "integrity": "sha512-ejNvQ2oJ7+bcFAYWj225lyRkHnixuAeb7RQCixm+5mH4n1IA4Qya/9Bmfy5RAAHQzxK43clu3kZmL5eF9VGtYQ==", + "license": "MIT", + "dependencies": { + "chalk": "^5.3.0", + "commander": "^12.1.0" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-group/node_modules/@solana/options": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0-rc.1.tgz", + "integrity": "sha512-mLUcR9mZ3qfHlmMnREdIFPf9dpMc/Bl66tLSOOWxw4ml5xMT2ohFn7WGqoKcu/UHkT9CrC6+amEdqCNvUqI7AA==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0-rc.1", + "@solana/codecs-data-structures": "2.0.0-rc.1", + "@solana/codecs-numbers": "2.0.0-rc.1", + "@solana/codecs-strings": "2.0.0-rc.1", + "@solana/errors": "2.0.0-rc.1" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-group/node_modules/commander": { + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", + "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@solana/spl-token-metadata": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@solana/spl-token-metadata/-/spl-token-metadata-0.1.6.tgz", + "integrity": "sha512-7sMt1rsm/zQOQcUWllQX9mD2O6KhSAtY1hFR2hfFwgqfFWzSY9E9GDvFVNYUI1F0iQKcm6HmePU9QbKRXTEBiA==", + "license": "Apache-2.0", + "dependencies": { + "@solana/codecs": "2.0.0-rc.1" + }, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "@solana/web3.js": "^1.95.3" + } + }, + "node_modules/@solana/spl-token-metadata/node_modules/@solana/codecs": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/codecs/-/codecs-2.0.0-rc.1.tgz", + "integrity": "sha512-qxoR7VybNJixV51L0G1RD2boZTcxmwUWnKCaJJExQ5qNKwbpSyDdWfFJfM5JhGyKe9DnPVOZB+JHWXnpbZBqrQ==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0-rc.1", + "@solana/codecs-data-structures": "2.0.0-rc.1", + "@solana/codecs-numbers": "2.0.0-rc.1", + "@solana/codecs-strings": "2.0.0-rc.1", + "@solana/options": "2.0.0-rc.1" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-metadata/node_modules/@solana/codecs-core": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0-rc.1.tgz", + "integrity": "sha512-bauxqMfSs8EHD0JKESaNmNuNvkvHSuN3bbWAF5RjOfDu2PugxHrvRebmYauvSumZ3cTfQ4HJJX6PG5rN852qyQ==", + "license": "MIT", + "dependencies": { + "@solana/errors": "2.0.0-rc.1" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-metadata/node_modules/@solana/codecs-data-structures": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-2.0.0-rc.1.tgz", + "integrity": "sha512-rinCv0RrAVJ9rE/rmaibWJQxMwC5lSaORSZuwjopSUE6T0nb/MVg6Z1siNCXhh/HFTOg0l8bNvZHgBcN/yvXog==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0-rc.1", + "@solana/codecs-numbers": "2.0.0-rc.1", + "@solana/errors": "2.0.0-rc.1" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-metadata/node_modules/@solana/codecs-numbers": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0-rc.1.tgz", + "integrity": "sha512-J5i5mOkvukXn8E3Z7sGIPxsThRCgSdgTWJDQeZvucQ9PT6Y3HiVXJ0pcWiOWAoQ3RX8e/f4I3IC+wE6pZiJzDQ==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0-rc.1", + "@solana/errors": "2.0.0-rc.1" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-metadata/node_modules/@solana/codecs-strings": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-2.0.0-rc.1.tgz", + "integrity": "sha512-9/wPhw8TbGRTt6mHC4Zz1RqOnuPTqq1Nb4EyuvpZ39GW6O2t2Q7Q0XxiB3+BdoEjwA2XgPw6e2iRfvYgqty44g==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0-rc.1", + "@solana/codecs-numbers": "2.0.0-rc.1", + "@solana/errors": "2.0.0-rc.1" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-metadata/node_modules/@solana/errors": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.0.0-rc.1.tgz", + "integrity": "sha512-ejNvQ2oJ7+bcFAYWj225lyRkHnixuAeb7RQCixm+5mH4n1IA4Qya/9Bmfy5RAAHQzxK43clu3kZmL5eF9VGtYQ==", + "license": "MIT", + "dependencies": { + "chalk": "^5.3.0", + "commander": "^12.1.0" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-metadata/node_modules/@solana/options": { + "version": "2.0.0-rc.1", + "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0-rc.1.tgz", + "integrity": "sha512-mLUcR9mZ3qfHlmMnREdIFPf9dpMc/Bl66tLSOOWxw4ml5xMT2ohFn7WGqoKcu/UHkT9CrC6+amEdqCNvUqI7AA==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "2.0.0-rc.1", + "@solana/codecs-data-structures": "2.0.0-rc.1", + "@solana/codecs-numbers": "2.0.0-rc.1", + "@solana/codecs-strings": "2.0.0-rc.1", + "@solana/errors": "2.0.0-rc.1" + }, + "peerDependencies": { + "typescript": ">=5" + } + }, + "node_modules/@solana/spl-token-metadata/node_modules/commander": { + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", + "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@solana/spl-type-length-value": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@solana/spl-type-length-value/-/spl-type-length-value-0.2.0.tgz", + "integrity": "sha512-PWi0CcK4xuztJ4YvbzilF99xxRXGKJsNFYRA+3XIF0AZVl55H6EMFyUxit3FOtk9PSsmgQWIC2WChTZE5W2g0w==", + "license": "Apache-2.0", + "dependencies": { + "@solana/assertions": "^2.0.0-rc.1", "buffer": "^6.0.3" }, "engines": { - "node": ">=16" + "node": ">=19" + } + }, + "node_modules/@solana/subscribable": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/subscribable/-/subscribable-6.1.0.tgz", + "integrity": "sha512-HiUfkxN7638uxPmY4t0gI4+yqnFLZYJKFaT9EpWIuGrOB1d9n+uOHNs3NU7cVMwWXgfZUbztTCKyCVTbcwesNg==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "@solana/web3.js": "^1.95.5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-group": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/@solana/spl-token-group/-/spl-token-group-0.0.7.tgz", - "integrity": "sha512-V1N/iX7Cr7H0uazWUT2uk27TMqlqedpXHRqqAbVO2gvmJyT0E0ummMEAVQeXZ05ZhQ/xF39DLSdBp90XebWEug==", - "license": "Apache-2.0", + "node_modules/@solana/subscribable/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", "dependencies": { - "@solana/codecs": "2.0.0-rc.1" + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" }, "engines": { - "node": ">=16" + "node": ">=20.18.0" }, "peerDependencies": { - "@solana/web3.js": "^1.95.3" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-group/node_modules/@solana/codecs": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/codecs/-/codecs-2.0.0-rc.1.tgz", - "integrity": "sha512-qxoR7VybNJixV51L0G1RD2boZTcxmwUWnKCaJJExQ5qNKwbpSyDdWfFJfM5JhGyKe9DnPVOZB+JHWXnpbZBqrQ==", + "node_modules/@solana/sysvars": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/sysvars/-/sysvars-6.1.0.tgz", + "integrity": "sha512-KwJyBBrAOx0BgkiZqOKAaySDb/0JrUFSBQL9/O1kSKGy9TCRX55Ytr1HxNTcTPppWNpbM6JZVK+yW3Ruey0HRw==", "license": "MIT", "dependencies": { - "@solana/codecs-core": "2.0.0-rc.1", - "@solana/codecs-data-structures": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/codecs-strings": "2.0.0-rc.1", - "@solana/options": "2.0.0-rc.1" + "@solana/accounts": "6.1.0", + "@solana/codecs": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/rpc-types": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-group/node_modules/@solana/codecs-core": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0-rc.1.tgz", - "integrity": "sha512-bauxqMfSs8EHD0JKESaNmNuNvkvHSuN3bbWAF5RjOfDu2PugxHrvRebmYauvSumZ3cTfQ4HJJX6PG5rN852qyQ==", + "node_modules/@solana/sysvars/node_modules/@solana/codecs": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs/-/codecs-6.1.0.tgz", + "integrity": "sha512-VHBS3t8fyVjE0Nqo6b4TUnzdwdRaVo+B5ufHhPLbbjkEXzz8HB4E/OBjgasn+zWGlfScfQAiBFOsfZjbVWu4XA==", "license": "MIT", "dependencies": { - "@solana/errors": "2.0.0-rc.1" + "@solana/codecs-core": "6.1.0", + "@solana/codecs-data-structures": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/options": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-group/node_modules/@solana/codecs-data-structures": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-2.0.0-rc.1.tgz", - "integrity": "sha512-rinCv0RrAVJ9rE/rmaibWJQxMwC5lSaORSZuwjopSUE6T0nb/MVg6Z1siNCXhh/HFTOg0l8bNvZHgBcN/yvXog==", + "node_modules/@solana/sysvars/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", "license": "MIT", "dependencies": { - "@solana/codecs-core": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-group/node_modules/@solana/codecs-numbers": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0-rc.1.tgz", - "integrity": "sha512-J5i5mOkvukXn8E3Z7sGIPxsThRCgSdgTWJDQeZvucQ9PT6Y3HiVXJ0pcWiOWAoQ3RX8e/f4I3IC+wE6pZiJzDQ==", + "node_modules/@solana/sysvars/node_modules/@solana/codecs-data-structures": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-6.1.0.tgz", + "integrity": "sha512-1cb9g5hrrucTuGkGxqVVq7dCwSMnn4YqwTe365iKkK8HBpLBmUl8XATf1MUs5UtDun1g9eNWOL72Psr8mIUqTQ==", "license": "MIT", "dependencies": { - "@solana/codecs-core": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-group/node_modules/@solana/codecs-strings": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-2.0.0-rc.1.tgz", - "integrity": "sha512-9/wPhw8TbGRTt6mHC4Zz1RqOnuPTqq1Nb4EyuvpZ39GW6O2t2Q7Q0XxiB3+BdoEjwA2XgPw6e2iRfvYgqty44g==", + "node_modules/@solana/sysvars/node_modules/@solana/codecs-numbers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-6.1.0.tgz", + "integrity": "sha512-YPQwwl6LE3igH23ah+d8kgpyE5xFcPbuwhxCDsLWqY/ESrvO/0YQSbsgIXahbhZxN59ZC4uq1LnHhBNbpCSVQg==", "license": "MIT", "dependencies": { - "@solana/codecs-core": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/sysvars/node_modules/@solana/codecs-strings": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-6.1.0.tgz", + "integrity": "sha512-pRH5uAn4VCFUs2rYiDITyWsRnpvs3Uh/nhSc6OSP/kusghcCcCJcUzHBIjT4x08MVacXmGUlSLe/9qPQO+QK3Q==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { "fastestsmallesttextencoderdecoder": "^1.0.22", - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/sysvars/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/sysvars/node_modules/@solana/options": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/options/-/options-6.1.0.tgz", + "integrity": "sha512-/4FtVfR6nkHkMCumyh7/lJ6jMqyES6tKUbOJRa6gJxcIUWeRDu+XrHTHLf3gRNUqDAbFvW8FMIrQm7PdreZgRA==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-data-structures": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/transaction-confirmation": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/transaction-confirmation/-/transaction-confirmation-6.1.0.tgz", + "integrity": "sha512-akSjcqAMOGPFvKctFDSzhjcRc/45WbEVdVQ9mjgH6OYo7B11WZZZaeGPlzAw5KyuG34Px941xmICkBmNqEH47Q==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/keys": "6.1.0", + "@solana/promises": "6.1.0", + "@solana/rpc": "6.1.0", + "@solana/rpc-subscriptions": "6.1.0", + "@solana/rpc-types": "6.1.0", + "@solana/transaction-messages": "6.1.0", + "@solana/transactions": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/transaction-confirmation/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", + "license": "MIT", + "dependencies": { + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/transaction-confirmation/node_modules/@solana/codecs-numbers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-6.1.0.tgz", + "integrity": "sha512-YPQwwl6LE3igH23ah+d8kgpyE5xFcPbuwhxCDsLWqY/ESrvO/0YQSbsgIXahbhZxN59ZC4uq1LnHhBNbpCSVQg==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/transaction-confirmation/node_modules/@solana/codecs-strings": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-6.1.0.tgz", + "integrity": "sha512-pRH5uAn4VCFUs2rYiDITyWsRnpvs3Uh/nhSc6OSP/kusghcCcCJcUzHBIjT4x08MVacXmGUlSLe/9qPQO+QK3Q==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/transaction-confirmation/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-group/node_modules/@solana/errors": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.0.0-rc.1.tgz", - "integrity": "sha512-ejNvQ2oJ7+bcFAYWj225lyRkHnixuAeb7RQCixm+5mH4n1IA4Qya/9Bmfy5RAAHQzxK43clu3kZmL5eF9VGtYQ==", + "node_modules/@solana/transaction-messages": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/transaction-messages/-/transaction-messages-6.1.0.tgz", + "integrity": "sha512-Dpv54LRVcfFbFEa/uB53LaY/TRfKuPGMKR7Z4F290zBgkj9xkpZkI+WLiJBiSloI7Qo2KZqXj3514BIeZvJLcg==", "license": "MIT", "dependencies": { - "chalk": "^5.3.0", - "commander": "^12.1.0" + "@solana/addresses": "6.1.0", + "@solana/codecs-core": "6.1.0", + "@solana/codecs-data-structures": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/functional": "6.1.0", + "@solana/instructions": "6.1.0", + "@solana/nominal-types": "6.1.0", + "@solana/rpc-types": "6.1.0" }, - "bin": { - "errors": "bin/cli.mjs" + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-group/node_modules/@solana/options": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0-rc.1.tgz", - "integrity": "sha512-mLUcR9mZ3qfHlmMnREdIFPf9dpMc/Bl66tLSOOWxw4ml5xMT2ohFn7WGqoKcu/UHkT9CrC6+amEdqCNvUqI7AA==", + "node_modules/@solana/transaction-messages/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", "license": "MIT", "dependencies": { - "@solana/codecs-core": "2.0.0-rc.1", - "@solana/codecs-data-structures": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/codecs-strings": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-group/node_modules/commander": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", - "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "node_modules/@solana/transaction-messages/node_modules/@solana/codecs-data-structures": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-6.1.0.tgz", + "integrity": "sha512-1cb9g5hrrucTuGkGxqVVq7dCwSMnn4YqwTe365iKkK8HBpLBmUl8XATf1MUs5UtDun1g9eNWOL72Psr8mIUqTQ==", "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@solana/spl-token-metadata": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@solana/spl-token-metadata/-/spl-token-metadata-0.1.6.tgz", - "integrity": "sha512-7sMt1rsm/zQOQcUWllQX9mD2O6KhSAtY1hFR2hfFwgqfFWzSY9E9GDvFVNYUI1F0iQKcm6HmePU9QbKRXTEBiA==", - "license": "Apache-2.0", "dependencies": { - "@solana/codecs": "2.0.0-rc.1" + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" }, "engines": { - "node": ">=16" + "node": ">=20.18.0" }, "peerDependencies": { - "@solana/web3.js": "^1.95.3" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-metadata/node_modules/@solana/codecs": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/codecs/-/codecs-2.0.0-rc.1.tgz", - "integrity": "sha512-qxoR7VybNJixV51L0G1RD2boZTcxmwUWnKCaJJExQ5qNKwbpSyDdWfFJfM5JhGyKe9DnPVOZB+JHWXnpbZBqrQ==", + "node_modules/@solana/transaction-messages/node_modules/@solana/codecs-numbers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-6.1.0.tgz", + "integrity": "sha512-YPQwwl6LE3igH23ah+d8kgpyE5xFcPbuwhxCDsLWqY/ESrvO/0YQSbsgIXahbhZxN59ZC4uq1LnHhBNbpCSVQg==", "license": "MIT", "dependencies": { - "@solana/codecs-core": "2.0.0-rc.1", - "@solana/codecs-data-structures": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/codecs-strings": "2.0.0-rc.1", - "@solana/options": "2.0.0-rc.1" + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-metadata/node_modules/@solana/codecs-core": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0-rc.1.tgz", - "integrity": "sha512-bauxqMfSs8EHD0JKESaNmNuNvkvHSuN3bbWAF5RjOfDu2PugxHrvRebmYauvSumZ3cTfQ4HJJX6PG5rN852qyQ==", + "node_modules/@solana/transaction-messages/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", "license": "MIT", "dependencies": { - "@solana/errors": "2.0.0-rc.1" + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-metadata/node_modules/@solana/codecs-data-structures": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-2.0.0-rc.1.tgz", - "integrity": "sha512-rinCv0RrAVJ9rE/rmaibWJQxMwC5lSaORSZuwjopSUE6T0nb/MVg6Z1siNCXhh/HFTOg0l8bNvZHgBcN/yvXog==", + "node_modules/@solana/transactions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/transactions/-/transactions-6.1.0.tgz", + "integrity": "sha512-1dkiNJcTtlHm4Fvs5VohNVpv7RbvbUYYKV7lYXMPIskoLF1eZp0tVlEqD/cRl91RNz7HEysfHqBAwlcJcRmrRg==", "license": "MIT", "dependencies": { - "@solana/codecs-core": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/addresses": "6.1.0", + "@solana/codecs-core": "6.1.0", + "@solana/codecs-data-structures": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/codecs-strings": "6.1.0", + "@solana/errors": "6.1.0", + "@solana/functional": "6.1.0", + "@solana/instructions": "6.1.0", + "@solana/keys": "6.1.0", + "@solana/nominal-types": "6.1.0", + "@solana/rpc-types": "6.1.0", + "@solana/transaction-messages": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-metadata/node_modules/@solana/codecs-numbers": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0-rc.1.tgz", - "integrity": "sha512-J5i5mOkvukXn8E3Z7sGIPxsThRCgSdgTWJDQeZvucQ9PT6Y3HiVXJ0pcWiOWAoQ3RX8e/f4I3IC+wE6pZiJzDQ==", + "node_modules/@solana/transactions/node_modules/@solana/codecs-core": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-6.1.0.tgz", + "integrity": "sha512-5rNnDOOm2GRFMJbd9imYCPNvGOrQ+TZ53NCkFFWbbB7f+L9KkLeuuAsDMFN1lCziJFlymvN785YtDnMeWj2W+g==", "license": "MIT", "dependencies": { - "@solana/codecs-core": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-metadata/node_modules/@solana/codecs-strings": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-2.0.0-rc.1.tgz", - "integrity": "sha512-9/wPhw8TbGRTt6mHC4Zz1RqOnuPTqq1Nb4EyuvpZ39GW6O2t2Q7Q0XxiB3+BdoEjwA2XgPw6e2iRfvYgqty44g==", + "node_modules/@solana/transactions/node_modules/@solana/codecs-data-structures": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-6.1.0.tgz", + "integrity": "sha512-1cb9g5hrrucTuGkGxqVVq7dCwSMnn4YqwTe365iKkK8HBpLBmUl8XATf1MUs5UtDun1g9eNWOL72Psr8mIUqTQ==", "license": "MIT", "dependencies": { - "@solana/codecs-core": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "fastestsmallesttextencoderdecoder": "^1.0.22", - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-metadata/node_modules/@solana/errors": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.0.0-rc.1.tgz", - "integrity": "sha512-ejNvQ2oJ7+bcFAYWj225lyRkHnixuAeb7RQCixm+5mH4n1IA4Qya/9Bmfy5RAAHQzxK43clu3kZmL5eF9VGtYQ==", + "node_modules/@solana/transactions/node_modules/@solana/codecs-numbers": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-6.1.0.tgz", + "integrity": "sha512-YPQwwl6LE3igH23ah+d8kgpyE5xFcPbuwhxCDsLWqY/ESrvO/0YQSbsgIXahbhZxN59ZC4uq1LnHhBNbpCSVQg==", "license": "MIT", "dependencies": { - "chalk": "^5.3.0", - "commander": "^12.1.0" + "@solana/codecs-core": "6.1.0", + "@solana/errors": "6.1.0" }, - "bin": { - "errors": "bin/cli.mjs" + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-metadata/node_modules/@solana/options": { - "version": "2.0.0-rc.1", - "resolved": "https://registry.npmjs.org/@solana/options/-/options-2.0.0-rc.1.tgz", - "integrity": "sha512-mLUcR9mZ3qfHlmMnREdIFPf9dpMc/Bl66tLSOOWxw4ml5xMT2ohFn7WGqoKcu/UHkT9CrC6+amEdqCNvUqI7AA==", + "node_modules/@solana/transactions/node_modules/@solana/codecs-strings": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-6.1.0.tgz", + "integrity": "sha512-pRH5uAn4VCFUs2rYiDITyWsRnpvs3Uh/nhSc6OSP/kusghcCcCJcUzHBIjT4x08MVacXmGUlSLe/9qPQO+QK3Q==", "license": "MIT", "dependencies": { - "@solana/codecs-core": "2.0.0-rc.1", - "@solana/codecs-data-structures": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/codecs-strings": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/codecs-core": "6.1.0", + "@solana/codecs-numbers": "6.1.0", + "@solana/errors": "6.1.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5" + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } } }, - "node_modules/@solana/spl-token-metadata/node_modules/commander": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", - "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "node_modules/@solana/transactions/node_modules/@solana/errors": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-6.1.0.tgz", + "integrity": "sha512-cqSwcw3Rmn85UR7PyF5nKPdlQsRYBkx7YGRvFaJ6Sal1PM+bfolhL5iT7STQoXxdhXGYwHMPg7kZYxmMdjwnJA==", "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@solana/spl-type-length-value": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@solana/spl-type-length-value/-/spl-type-length-value-0.2.0.tgz", - "integrity": "sha512-PWi0CcK4xuztJ4YvbzilF99xxRXGKJsNFYRA+3XIF0AZVl55H6EMFyUxit3FOtk9PSsmgQWIC2WChTZE5W2g0w==", - "license": "Apache-2.0", "dependencies": { - "@solana/assertions": "^2.0.0-rc.1", - "buffer": "^6.0.3" + "chalk": "5.6.2", + "commander": "14.0.3" + }, + "bin": { + "errors": "bin/cli.mjs" }, "engines": { - "node": ">=19" + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "node_modules/@solana/web3.js": { @@ -2840,6 +5282,24 @@ "superstruct": "^2.0.2" } }, + "node_modules/@solana/web3.js/node_modules/base-x": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz", + "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/@solana/web3.js/node_modules/bs58": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", + "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, "node_modules/@swc/helpers": { "version": "0.5.17", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.17.tgz", @@ -4362,9 +6822,9 @@ } }, "node_modules/@wagmi/connectors": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/@wagmi/connectors/-/connectors-7.1.2.tgz", - "integrity": "sha512-L5ATHwEjJCWOm/tRWAyQ42hFpe4UrrReqQT8pMEsM+A29CkJxEm0n7/C2Ki7O1hiZ2D/n5emp0s4MfCFe9pdwQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@wagmi/connectors/-/connectors-7.2.0.tgz", + "integrity": "sha512-QhMPNwUjKn6Gb7xlzlo0iv5UrWq4ATaC1xArElliaMcdO+FgJqKQLVUtkywly+xNuQ6aXvm8UAbWPZwkKX1hWQ==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/wevm" @@ -4372,11 +6832,10 @@ "peerDependencies": { "@base-org/account": "^2.5.1", "@coinbase/wallet-sdk": "^4.3.6", - "@gemini-wallet/core": "~0.3.1", "@metamask/sdk": "~0.33.1", "@safe-global/safe-apps-provider": "~0.18.6", "@safe-global/safe-apps-sdk": "^9.1.0", - "@wagmi/core": "3.2.2", + "@wagmi/core": "3.3.4", "@walletconnect/ethereum-provider": "^2.21.1", "porto": "~0.2.35", "typescript": ">=5.7.3", @@ -4389,9 +6848,6 @@ "@coinbase/wallet-sdk": { "optional": true }, - "@gemini-wallet/core": { - "optional": true - }, "@metamask/sdk": { "optional": true }, @@ -4413,9 +6869,9 @@ } }, "node_modules/@wagmi/core": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@wagmi/core/-/core-3.2.2.tgz", - "integrity": "sha512-nCCza85tmE/lNorZemv0ah0OwOewMRiNJbSkIkGPr/mSH6mAy+/D/GbP8Gb3j2Nw85LuF5wxgG1fFiU6mB3CyQ==", + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@wagmi/core/-/core-3.3.4.tgz", + "integrity": "sha512-ulG2C3z6SKPYkliWtZMUuY1IoZSIhgDziO7Vh9CWk5pyZSNe3uthWnXBYnzcVe6BUpc3UeDio3GDqBWC09rH7A==", "license": "MIT", "dependencies": { "eventemitter3": "5.0.1", @@ -4450,13 +6906,13 @@ "license": "MIT" }, "node_modules/@wagmi/vue": { - "version": "0.4.11", - "resolved": "https://registry.npmjs.org/@wagmi/vue/-/vue-0.4.11.tgz", - "integrity": "sha512-wQ21QbF/e8VEEMr/u0KuZV8iwkVf6W0GKNpMWoahTzaROGSqKGVXiDW6oDC29C0Kaj/w1YoMZPtEBB/arCLeFA==", + "version": "0.4.17", + "resolved": "https://registry.npmjs.org/@wagmi/vue/-/vue-0.4.17.tgz", + "integrity": "sha512-A3v1daxJ9Qg+R1MvGBWhzJ/pASqocmvQchJI1dCXQ6o1Rlv7auARIoBR3TWyfejVv9/FnTMsVCHb4X/8KK8jDg==", "license": "MIT", "dependencies": { - "@wagmi/connectors": "7.1.2", - "@wagmi/core": "3.2.2" + "@wagmi/connectors": "7.2.0", + "@wagmi/core": "3.3.4" }, "funding": { "url": "https://github.com/sponsors/wevm" @@ -4969,15 +7425,6 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "license": "MIT" }, - "node_modules/base-x": { - "version": "3.0.11", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz", - "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==", - "license": "MIT", - "dependencies": { - "safe-buffer": "^5.0.1" - } - }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -5092,6 +7539,24 @@ "text-encoding-utf-8": "^1.0.2" } }, + "node_modules/borsh/node_modules/base-x": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.11.tgz", + "integrity": "sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==", + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/borsh/node_modules/bs58": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", + "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, "node_modules/bowser": { "version": "2.13.1", "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.13.1.tgz", @@ -5160,15 +7625,6 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, - "node_modules/bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", - "license": "MIT", - "dependencies": { - "base-x": "^3.0.2" - } - }, "node_modules/buffer": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", @@ -5420,9 +7876,9 @@ } }, "node_modules/commander": { - "version": "14.0.2", - "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.2.tgz", - "integrity": "sha512-TywoWNNRbhoD0BXs1P3ZEScW8W5iKrnbithIl0YH+uCmBd0QpPOA8yc82DS3BIE5Ma6FnBVUsJ7wVUDz4dvOWQ==", + "version": "14.0.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", + "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", "license": "MIT", "engines": { "node": ">=20" diff --git a/demo/vue-app-new/package.json b/demo/vue-app-new/package.json index 07f7e9ecc..e7d47ba7d 100644 --- a/demo/vue-app-new/package.json +++ b/demo/vue-app-new/package.json @@ -10,10 +10,10 @@ "lint": "eslint --cache --fix" }, "dependencies": { - "@solana/web3.js": "^1.98.4", + "@solana/kit": "^6.1.0", + "@solana-program/system": "^0.12.0", "@tanstack/vue-query": "^5.92.6", "@toruslabs/base-controllers": "^8.15.0", - "@toruslabs/bs58": "^1.0.0", "@toruslabs/ethereum-controllers": "^8.15.0", "@toruslabs/solana-controllers": "^8.15.0", "@toruslabs/tweetnacl-js": "^1.0.4", diff --git a/demo/vue-app-new/src/components/AppDashboard.vue b/demo/vue-app-new/src/components/AppDashboard.vue index 522b69c41..8aacc11ae 100644 --- a/demo/vue-app-new/src/components/AppDashboard.vue +++ b/demo/vue-app-new/src/components/AppDashboard.vue @@ -20,12 +20,12 @@ import { useI18n } from "petite-vue-i18n"; import { useSignAndSendTransaction, useSignMessage as useSolanaSignMessage, useSignTransaction, useSolanaWallet } from "@web3auth/modal/vue/solana"; import { useConnection, useBalance, useChainId, useSignMessage, useSignTypedData, useSwitchChain as useWagmiSwitchChain } from "@wagmi/vue"; -import { LAMPORTS_PER_SOL, PublicKey, SystemProgram, Transaction } from "@solana/web3.js"; +import { generateLegacyTransaction, generateSolTransferInstruction } from "../utils/solana"; import { ProviderConfig } from "@toruslabs/base-controllers"; import { SUPPORTED_NETWORKS } from "@toruslabs/ethereum-controllers"; import { computed, ref, watch } from "vue"; import { getPrivateKey, sendEth, sendEthWithSmartAccount, signTransaction as signEthTransaction } from "../services/ethHandlers"; -import { getBalance as getSolBalance, getPrivateKey as getSolPrivateKey, signAllTransactions } from "../services/solHandlers"; +import { getBalance as getSolBalance, getPrivateKey as getSolPrivateKey } from "../services/solHandlers"; import { formDataStore } from "../store/form"; import { SOLANA_SUPPORTED_NETWORKS } from "../utils/constants"; @@ -59,7 +59,7 @@ const balance = useBalance({ address: address, }); -const { accounts: solanaAccounts, connection } = useSolanaWallet(); +const { accounts: solanaAccounts, rpc, solanaWallet } = useSolanaWallet(); const { signMessage: signSolanaMessage } = useSolanaSignMessage(); const { signTransaction: signSolTransaction } = useSignTransaction(); const { signAndSendTransaction } = useSignAndSendTransaction(); @@ -242,21 +242,11 @@ const onGetSolPrivateKey = async () => { const onSignAndSendTransaction = async () => { if (!solanaAccounts.value) throw new Error("No account connected"); - if (!connection.value) throw new Error("No connection"); - const block = await connection.value?.getLatestBlockhash("finalized"); + if (!rpc.value) throw new Error("No RPC connection"); const pubKey = solanaAccounts.value[0]; - const transactionInstruction = SystemProgram.transfer({ - fromPubkey: new PublicKey(pubKey), - toPubkey: new PublicKey(pubKey), - lamports: 0.01 * LAMPORTS_PER_SOL, - }); - - const transaction = new Transaction({ - blockhash: block.blockhash, - lastValidBlockHeight: block.lastValidBlockHeight, - feePayer: new PublicKey(pubKey), - }).add(transactionInstruction); + const instruction = generateSolTransferInstruction(pubKey, pubKey, 0.0001); + const transaction = await generateLegacyTransaction(rpc.value, pubKey, [instruction]); const data = await signAndSendTransaction(transaction); printToConsole("result", data); @@ -264,21 +254,11 @@ const onSignAndSendTransaction = async () => { const onSignSolTransaction = async () => { if (!solanaAccounts.value) throw new Error("No account connected"); - if (!connection.value) throw new Error("No connection"); - const block = await connection.value?.getLatestBlockhash("finalized"); + if (!rpc.value) throw new Error("No RPC connection"); const pubKey = solanaAccounts.value[0]; - const transactionInstruction = SystemProgram.transfer({ - fromPubkey: new PublicKey(pubKey), - toPubkey: new PublicKey(pubKey), - lamports: 0.01 * LAMPORTS_PER_SOL, - }); - - const transaction = new Transaction({ - blockhash: block.blockhash, - lastValidBlockHeight: block.lastValidBlockHeight, - feePayer: new PublicKey(pubKey), - }).add(transactionInstruction); + const instruction = generateSolTransferInstruction(pubKey, pubKey, 0.0000001); + const transaction = await generateLegacyTransaction(rpc.value, pubKey, [instruction]); const result = await signSolTransaction(transaction); printToConsole("result", result); @@ -290,11 +270,24 @@ const onSignSolMessage = async () => { }; const onGetSolBalance = async () => { - await getSolBalance(provider.value as IProvider, printToConsole); + if (!rpc.value) throw new Error("No RPC connection"); + if (!solanaAccounts.value) throw new Error("No account connected"); + await getSolBalance(rpc.value, solanaAccounts.value[0], printToConsole); }; const onSignAllTransactions = async () => { - await signAllTransactions(provider.value as IProvider, printToConsole); + if (!rpc.value) throw new Error("No RPC connection"); + if (!solanaAccounts.value) throw new Error("No account connected"); + if (!solanaWallet.value) throw new Error("No Solana wallet"); + + const account = solanaAccounts.value[0]; + const instruction = generateSolTransferInstruction(account, account, 0.0001); + const tx1 = await generateLegacyTransaction(rpc.value, account, [instruction]); + const tx2 = await generateLegacyTransaction(rpc.value, account, [instruction]); + const tx3 = await generateLegacyTransaction(rpc.value, account, [instruction]); + + const signedTransactions = await solanaWallet.value.signAllTransactions([tx1, tx2, tx3]); + printToConsole("signed transactions", { signedTransactions }); }; // Common diff --git a/demo/vue-app-new/src/services/solHandlers.ts b/demo/vue-app-new/src/services/solHandlers.ts index 99a0b4865..645d0bbe5 100644 --- a/demo/vue-app-new/src/services/solHandlers.ts +++ b/demo/vue-app-new/src/services/solHandlers.ts @@ -1,39 +1,11 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -import { Connection, LAMPORTS_PER_SOL, PublicKey, SystemProgram, Transaction } from "@solana/web3.js"; -import { CustomChainConfig, IProvider, log, SolanaWallet, TransactionOrVersionedTransaction } from "@web3auth/modal"; +import { address, type Rpc, type SolanaRpcApi } from "@solana/kit"; +import { IProvider, log } from "@web3auth/modal"; import { SOLANA_METHOD_TYPES } from "@web3auth/ws-embed"; -export const getConnection = async (provider: IProvider): Promise => { - const solanaWallet = new SolanaWallet(provider); +/** Logger function type for demo console output */ +type UIConsole = (title: string, data: unknown) => void; - const connectionConfig = await solanaWallet.request({ method: "solana_provider_config" }); - const conn = new Connection(connectionConfig.rpcTarget); - return conn; -}; - -function getNewTx(publicKeys: any, blockhash: any) { - const inst = SystemProgram.transfer({ - fromPubkey: new PublicKey(publicKeys[0]), - toPubkey: new PublicKey(publicKeys[0]), - lamports: 0.1 * LAMPORTS_PER_SOL, - }); - return new Transaction({ recentBlockhash: blockhash, feePayer: new PublicKey(publicKeys![0]) }).add(inst); -} - -export const getAccounts = async (provider: IProvider, uiConsole: any): Promise => { - try { - const solWeb3 = new SolanaWallet(provider); - const acc = await solWeb3.requestAccounts(); - uiConsole("accounts", acc); - return acc; - } catch (error) { - log.error("Error", error); - uiConsole("error", error); - return []; - } -}; - -export const getPrivateKey = async (provider: IProvider, uiConsole: any): Promise => { +export const getPrivateKey = async (provider: IProvider, uiConsole: UIConsole): Promise => { try { const privateKey = (await provider.request({ method: SOLANA_METHOD_TYPES.SOLANA_PRIVATE_KEY, @@ -48,105 +20,10 @@ export const getPrivateKey = async (provider: IProvider, uiConsole: any): Promis } }; -export const getBalance = async (provider: IProvider, uiConsole: any): Promise => { - try { - const conn = await getConnection(provider); - const solanaWallet = new SolanaWallet(provider); - const accounts = await solanaWallet.requestAccounts(); - const balance = await conn.getBalance(new PublicKey(accounts[0])); - uiConsole("balance", { balance }); - } catch (error) { - log.error("Error", error); - uiConsole("error", error); - } -}; - -export const signAndSendTransaction = async (provider: IProvider, uiConsole: any) => { - try { - const conn = await getConnection(provider); - const solWeb3 = new SolanaWallet(provider); - const pubKey = await solWeb3.requestAccounts(); - - const block = await conn.getLatestBlockhash("finalized"); - const transactionInstruction = SystemProgram.transfer({ - fromPubkey: new PublicKey(pubKey[0]), - toPubkey: new PublicKey(pubKey[0]), - lamports: 0.01 * LAMPORTS_PER_SOL, - }); - - const transaction = new Transaction({ - blockhash: block.blockhash, - lastValidBlockHeight: block.lastValidBlockHeight, - feePayer: new PublicKey(pubKey[0]), - }).add(transactionInstruction); - - const signature = await solWeb3.signAndSendTransaction(transaction as unknown as TransactionOrVersionedTransaction); - uiConsole("signature", { signature }); - } catch (error) { - log.error("Error", error); - uiConsole("error", error); - } -}; - -export const signTransaction = async (provider: IProvider, uiConsole: any) => { +export const getBalance = async (rpc: Rpc, account: string, uiConsole: UIConsole): Promise => { try { - const conn = await getConnection(provider); - const solWeb3 = new SolanaWallet(provider); - const pubKey = await solWeb3.requestAccounts(); - log.info("pubKey", pubKey); - - const transactionInstruction = SystemProgram.transfer({ - fromPubkey: new PublicKey(pubKey[0]), - toPubkey: new PublicKey(pubKey[0]), - lamports: 0 * LAMPORTS_PER_SOL, - }); - - const block = await conn.getLatestBlockhash("finalized"); - const transaction = new Transaction({ - blockhash: block.blockhash, - lastValidBlockHeight: block.lastValidBlockHeight, - feePayer: new PublicKey(pubKey[0]), - }).add(transactionInstruction); - - const signature = await solWeb3.signTransaction(transaction); - log.info("signedTx", signature); - uiConsole("signature", { signature }); - } catch (error) { - log.error("Error", error); - uiConsole("error", error); - } -}; - -export const signMessage = async (provider: IProvider, uiConsole: any) => { - try { - const solWeb3 = new SolanaWallet(provider); - const pubKey = await solWeb3.requestAccounts(); - log.info("pubKey", pubKey); - - const msg = "Test Signing Message"; - const signature = await solWeb3.signMessage(msg, pubKey[0]); - uiConsole("solana signed message", { signature }); - } catch (error) { - log.error("Error", error); - uiConsole("error", error); - } -}; - -export const signAllTransactions = async (provider: IProvider, uiConsole: any) => { - try { - const conn = await getConnection(provider); - const solWeb3 = new SolanaWallet(provider); - const publicKeys = await solWeb3.requestAccounts(); - const { blockhash } = await conn.getLatestBlockhash("finalized"); - log.info("blockhash", blockhash); - - const signedTransactions = await solWeb3.signAllTransactions([ - getNewTx(publicKeys, blockhash) as unknown as TransactionOrVersionedTransaction, - getNewTx(publicKeys, blockhash) as unknown as TransactionOrVersionedTransaction, - getNewTx(publicKeys, blockhash) as unknown as TransactionOrVersionedTransaction, - ]); - log.info("signedTransactions", signedTransactions); - uiConsole("signed transactions", { signedTransactions }); + const { value: balance } = await rpc.getBalance(address(account)).send(); + uiConsole("balance", { balance: balance.toString() }); } catch (error) { log.error("Error", error); uiConsole("error", error); diff --git a/demo/vue-app-new/src/services/walletServiceHandlers.ts b/demo/vue-app-new/src/services/walletServiceHandlers.ts deleted file mode 100644 index 35f6e39c2..000000000 --- a/demo/vue-app-new/src/services/walletServiceHandlers.ts +++ /dev/null @@ -1,143 +0,0 @@ -import { Connection, PublicKey } from "@solana/web3.js"; -import { bs58 } from "@toruslabs/bs58"; -import { sign } from "@toruslabs/tweetnacl-js"; -import { log, type WalletServicesPluginType } from "@web3auth/modal"; -import { verifyMessage as eipVerifyMessage } from "@web3auth/sign-in-with-ethereum"; -import { SOLANA_METHOD_TYPES as SOL_METHOD_TYPES } from "@web3auth/ws-embed"; -import { BrowserProvider, parseEther } from "ethers"; - -import { getV4TypedData } from "../config"; -import { generateSolTransferInstruction, generateVersionedTransaction } from "../utils/solana"; - -// EVM -export const walletSignPersonalMessage = async ( - provider: WalletServicesPluginType["provider"], - uiConsole: (name: string, value: unknown) => void -) => { - try { - const ethProvider = new BrowserProvider(provider); - const signer = await ethProvider.getSigner(); - const account = await signer.getAddress(); - const from = account; - - const originalMessage = "Example `personal_sign` messages"; - - // Sign the message - const signedMessage = await signer.signMessage(originalMessage); - - const valid = await eipVerifyMessage({ - provider: ethProvider, - message: originalMessage, - signature: signedMessage, - signer: from, - }); - - uiConsole(`Success`, { signedMessage, verify: valid }); - } catch (error) { - log.error("Error", error); - uiConsole("Error", error instanceof Error ? error.message : error); - } -}; - -export const walletSignTypedMessage = async (provider: WalletServicesPluginType["provider"], uiConsole: (name: string, value: unknown) => void) => { - try { - const ethProvider = new BrowserProvider(provider); - const signer = await ethProvider.getSigner(); - const account = await signer.getAddress(); - const from = account; - const typedData = getV4TypedData(provider.chainId); - - const signedMessage = await signer.signTypedData(typedData.domain, typedData.types, typedData.message); - - const valid = await eipVerifyMessage({ - provider: ethProvider, - typedData, - signature: signedMessage, - signer: from, - }); - - uiConsole(`Success`, { signedMessage, verify: valid }); - } catch (error) { - log.error("Error", error); - uiConsole("Error", error instanceof Error ? error.message : error); - } -}; - -export const walletSendEth = async (provider: WalletServicesPluginType["provider"], uiConsole: (name: string, value: unknown) => void) => { - try { - const ethProvider = new BrowserProvider(provider); - const signer = await ethProvider.getSigner(); - const account = await signer.getAddress(); - const txRes = await signer.sendTransaction({ - from: account, - to: account, - value: parseEther("0.01"), - }); - // check for big int before logging to not break the stringify - uiConsole("txRes", txRes.toJSON()); - } catch (error) { - log.info("error", error); - uiConsole("error", error instanceof Error ? error.message : error); - } -}; - -export const walletSignTransaction = async (provider: WalletServicesPluginType["provider"], uiConsole: (name: string, value: unknown) => void) => { - try { - const ethProvider = new BrowserProvider(provider); - const accounts = await provider.request({ method: "eth_accounts" }); - const smartAccountAddress = accounts[0]; - const signer = await ethProvider.getSigner(smartAccountAddress); - const account = await signer.getAddress(); - // only supported with social logins (openlogin adapter) - const serializedTx = await signer.signTransaction({ - from: account, - to: account, - value: parseEther("0.01"), - }); - - uiConsole("serialized user operation", serializedTx); - } catch (error) { - log.info("error", error); - uiConsole("error", error instanceof Error ? error.message : error); - } -}; - -// Solana -export const walletSignSolanaMessage = async (provider: WalletServicesPluginType["provider"], uiConsole: (name: string, value: unknown) => void) => { - try { - const message = "Test Signing Message"; - const accounts = await provider.request({ method: SOL_METHOD_TYPES.GET_ACCOUNTS }); - const account = accounts[0]; - - const signature = (await provider.request({ - method: SOL_METHOD_TYPES.SIGN_MESSAGE, - params: { data: message, from: account }, - })) as string; - sign.detached.verify(Buffer.from(message, "utf8"), bs58.decode(signature), new PublicKey(account).toBytes()); - uiConsole("Success", { signature }); - } catch (e) { - uiConsole("Error signing message", (e as Error).message); - } -}; - -export const walletSignSolanaVersionedTransaction = async ( - provider: WalletServicesPluginType["provider"], - connection: Connection, - uiConsole: (name: string, value?: unknown) => void -) => { - uiConsole("Signing Versioned Transaction"); - try { - const accounts = await provider.request({ method: SOL_METHOD_TYPES.GET_ACCOUNTS }); - const account = accounts[0]; - - const instruction = await generateSolTransferInstruction(account, account, 0); - const transaction = await generateVersionedTransaction(connection, account, [instruction]); - const signature = (await provider.request({ - method: SOL_METHOD_TYPES.SIGN_TRANSACTION, - params: { message: Buffer.from(transaction.serialize()).toString("base64") }, - })) as string; - uiConsole("Success", { signature }); - } catch (e) { - uiConsole("Error", (e as Error).message); - } -}; diff --git a/demo/vue-app-new/src/utils/solana.ts b/demo/vue-app-new/src/utils/solana.ts index ec6885b86..1654c438e 100644 --- a/demo/vue-app-new/src/utils/solana.ts +++ b/demo/vue-app-new/src/utils/solana.ts @@ -1,42 +1,79 @@ import { - Connection, - LAMPORTS_PER_SOL, - PublicKey, - SystemProgram, - Transaction, - TransactionInstruction, - TransactionMessage, - VersionedTransaction, -} from "@solana/web3.js"; - -export async function generateSolTransferInstruction(sender: string, receiver: string, amount: number) { - return SystemProgram.transfer({ - fromPubkey: new PublicKey(sender), - toPubkey: new PublicKey(receiver), - lamports: amount * LAMPORTS_PER_SOL, + address, + appendTransactionMessageInstructions, + compileTransaction, + createNoopSigner, + createTransactionMessage, + type Instruction, + lamports, + pipe, + type Rpc, + setTransactionMessageFeePayer, + setTransactionMessageLifetimeUsingBlockhash, + type SolanaRpcApi, + type Transaction, +} from "@solana/kit"; +import { getTransferSolInstruction, type TransferSolInstruction } from "@solana-program/system"; + +/** + * Generates a SOL transfer instruction + * Uses a noop signer since the actual signing happens in the wallet + */ +export function generateSolTransferInstruction(sender: string, receiver: string, amount: number): TransferSolInstruction { + // Create a noop signer for the source - the wallet will sign later + const sourceSigner = createNoopSigner(address(sender)); + + return getTransferSolInstruction({ + source: sourceSigner, + destination: address(receiver), + amount: lamports(BigInt(Math.floor(amount * 1_000_000_000))), }); } -export async function generateLegacyTransaction(connection: Connection | null, sender: string, instructions: TransactionInstruction[]) { - if (!connection) throw new Error("Connection not found"); - const latestBlockhash = await connection.getLatestBlockhash("finalized"); - const transaction = new Transaction({ - blockhash: latestBlockhash.blockhash, - lastValidBlockHeight: latestBlockhash.lastValidBlockHeight, - feePayer: new PublicKey(sender), - }).add(...instructions); - return transaction; +/** + * Generates a versioned transaction (v0) + * @param rpc - Solana RPC client + * @param sender - Sender's address (base58) + * @param instructions - Array of instructions to include + * @returns Compiled Transaction ready for signing + */ +export async function generateVersionedTransaction(rpc: Rpc | null, sender: string, instructions: Instruction[]): Promise { + if (!rpc) throw new Error("RPC not found"); + + const { value: latestBlockhash } = await rpc.getLatestBlockhash().send(); + + // Build transaction message using pipe + const message = pipe( + createTransactionMessage({ version: 0 }), + (m) => setTransactionMessageFeePayer(address(sender), m), + (m) => setTransactionMessageLifetimeUsingBlockhash(latestBlockhash, m), + (m) => appendTransactionMessageInstructions(instructions, m) + ); + + // Compile to Transaction + return compileTransaction(message); } -export async function generateVersionedTransaction(connection: Connection | null, sender: string, instructions: TransactionInstruction[]) { - if (!connection) throw new Error("Connection not found"); - const latestBlockhash = await connection.getLatestBlockhash("finalized"); - // create v0 compatible message - const messageV0 = new TransactionMessage({ - payerKey: new PublicKey(sender), - instructions, - recentBlockhash: latestBlockhash.blockhash, - }).compileToV0Message(); - const transactionV0 = new VersionedTransaction(messageV0); - return transactionV0; +/** + * Generates a legacy transaction + * @param rpc - Solana RPC client + * @param sender - Sender's address (base58) + * @param instructions - Array of instructions to include + * @returns Compiled Transaction ready for signing + */ +export async function generateLegacyTransaction(rpc: Rpc | null, sender: string, instructions: Instruction[]): Promise { + if (!rpc) throw new Error("RPC not found"); + + const { value: latestBlockhash } = await rpc.getLatestBlockhash().send(); + + // Build legacy transaction message using pipe + const message = pipe( + createTransactionMessage({ version: "legacy" }), + (m) => setTransactionMessageFeePayer(address(sender), m), + (m) => setTransactionMessageLifetimeUsingBlockhash(latestBlockhash, m), + (m) => appendTransactionMessageInstructions(instructions, m) + ); + + // Compile to Transaction + return compileTransaction(message); } diff --git a/package-lock.json b/package-lock.json index 89e8eae53..28e18f654 100644 --- a/package-lock.json +++ b/package-lock.json @@ -96,7 +96,6 @@ "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/generator": "^7.28.5", @@ -1769,7 +1768,6 @@ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.4.tgz", "integrity": "sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==", "license": "MIT", - "peer": true, "engines": { "node": ">=6.9.0" } @@ -4210,7 +4208,6 @@ "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz", "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==", "license": "MIT", - "peer": true, "engines": { "node": "^14.21.3 || >=16" }, @@ -5212,9 +5209,9 @@ ] }, "node_modules/@nx/nx-linux-x64-gnu": { - "version": "22.3.3", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-22.3.3.tgz", - "integrity": "sha512-04TEbvgwRaB9ifr39YwJmWh3RuXb4Ry4m84SOJyjNXAfPrepcWgfIQn1VL2ul1Ybq+P023dLO9ME8uqFh6j1YQ==", + "version": "22.5.3", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-22.5.3.tgz", + "integrity": "sha512-AgXCsPCzC0sAu2VRclMjs7LrvPQfqS3sFiehlXWTbNHQitPZLuAmQGb2l4T8lbMOs0Xn3EIrg6BF6/ntTTp6Xg==", "cpu": [ "x64" ], @@ -5282,7 +5279,6 @@ "integrity": "sha512-/g2d4sW9nUDJOMz3mabVQvOGhVa4e/BN/Um7yca9Bb2XTzPPnfTWHWQg+IsEYO7M3Vx+EXvaM/I2pJWIMun1bg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@octokit/auth-token": "^4.0.0", "@octokit/graphql": "^7.1.0", @@ -5936,9 +5932,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.55.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.55.1.tgz", - "integrity": "sha512-a8G4wiQxQG2BAvo+gU6XrReRRqj+pLS2NGXKm8io19goR+K8lw269eTrPkSdDTALwMmJp4th2Uh0D8J9bEV1vg==", + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.59.0.tgz", + "integrity": "sha512-3AHmtQq/ppNuUspKAlvA8HtLybkDflkMuLK4DPo77DfthRb71V84/c4MlWJXixZz4uruIH4uaa07IqoAkG64fg==", "cpu": [ "x64" ], @@ -6268,66 +6264,21 @@ "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==", "license": "MIT" }, - "node_modules/@solana/buffer-layout": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz", - "integrity": "sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==", - "license": "MIT", - "dependencies": { - "buffer": "~6.0.3" - }, - "engines": { - "node": ">=5.10" - } - }, - "node_modules/@solana/codecs-core": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.3.0.tgz", - "integrity": "sha512-oG+VZzN6YhBHIoSKgS5ESM9VIGzhWjEHEGNPSibiDTxFhsFWxNaz8LbMDPjBUE69r9wmdGLkrQ+wVPbnJcZPvw==", - "license": "MIT", - "dependencies": { - "@solana/errors": "2.3.0" - }, - "engines": { - "node": ">=20.18.0" - }, - "peerDependencies": { - "typescript": ">=5.3.3" - } - }, - "node_modules/@solana/codecs-numbers": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.3.0.tgz", - "integrity": "sha512-jFvvwKJKffvG7Iz9dmN51OGB7JBcy2CJ6Xf3NqD/VP90xak66m/Lg48T01u5IQ/hc15mChVHiBm+HHuOFDUrQg==", + "node_modules/@solana/plugin-core": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/plugin-core/-/plugin-core-5.4.0.tgz", + "integrity": "sha512-e1aLGLldW7C5113qTOjFYSGq95a4QC9TWb77iq+8l6h085DcNj+195r4E2zKaINrevQjQTwvxo00oUyHP7hSJA==", "license": "MIT", - "dependencies": { - "@solana/codecs-core": "2.3.0", - "@solana/errors": "2.3.0" - }, "engines": { "node": ">=20.18.0" }, "peerDependencies": { - "typescript": ">=5.3.3" - } - }, - "node_modules/@solana/errors": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.3.0.tgz", - "integrity": "sha512-66RI9MAbwYV0UtP7kGcTBVLxJgUxoZGm8Fbc0ah+lGiAw17Gugco6+9GrJCV83VyF2mDWyYnYM9qdI3yjgpnaQ==", - "license": "MIT", - "dependencies": { - "chalk": "^5.4.1", - "commander": "^14.0.0" - }, - "bin": { - "errors": "bin/cli.mjs" - }, - "engines": { - "node": ">=20.18.0" + "typescript": "^5.0.0" }, - "peerDependencies": { - "typescript": ">=5.3.3" + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "node_modules/@solana/wallet-standard-features": { @@ -6343,29 +6294,6 @@ "node": ">=16" } }, - "node_modules/@solana/web3.js": { - "version": "1.98.4", - "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.98.4.tgz", - "integrity": "sha512-vv9lfnvjUsRiq//+j5pBdXig0IQdtzA0BRZ3bXEP4KaIyF1CcaydWqgyzQgfZMNIsWNWmG+AUHwPy4AHOD6gpw==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.25.0", - "@noble/curves": "^1.4.2", - "@noble/hashes": "^1.4.0", - "@solana/buffer-layout": "^4.0.1", - "@solana/codecs-numbers": "^2.1.0", - "agentkeepalive": "^4.5.0", - "bn.js": "^5.2.1", - "borsh": "^0.7.0", - "bs58": "^4.0.1", - "buffer": "6.0.3", - "fast-stable-stringify": "^1.0.0", - "jayson": "^4.1.1", - "node-fetch": "^2.7.0", - "rpc-websockets": "^9.0.2", - "superstruct": "^2.0.2" - } - }, "node_modules/@svgr/babel-plugin-add-jsx-attribute": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-8.0.0.tgz", @@ -6535,7 +6463,6 @@ "integrity": "sha512-8QqtOQT5ACVlmsvKOJNEaWmRPmcojMOzCz4Hs2BGG/toAp/K38LcsMRyLp349glq5AzJbCEeimEoxaX6v/fLrA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/core": "^7.21.3", "@svgr/babel-preset": "8.1.0", @@ -6676,15 +6603,6 @@ "url": "https://github.com/sponsors/gregberge" } }, - "node_modules/@swc/helpers": { - "version": "0.5.17", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.17.tgz", - "integrity": "sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==", - "license": "Apache-2.0", - "dependencies": { - "tslib": "^2.8.0" - } - }, "node_modules/@tailwindcss/container-queries": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@tailwindcss/container-queries/-/container-queries-0.1.1.tgz", @@ -6701,6 +6619,7 @@ "integrity": "sha512-Wo1iKt2b9OT7d+YGhvEPD3DXvPv2etTusIMhMUoG7fbhmxcXCtIjJDEygy91Y2JFlwGyjqiBPRozme7UD8hoqg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "remove-accents": "0.5.0" }, @@ -6718,6 +6637,7 @@ "integrity": "sha512-6PN65csiuTNfBMXqQUxQhCNdtm1rV+9kC9YwWAIKcaxAauq3Wu7p18j3gQY3YIBJU70jT/wzCCZ2uqto/vQgiQ==", "dev": true, "license": "MIT", + "peer": true, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" @@ -6729,6 +6649,7 @@ "integrity": "sha512-qTZRZ4QyTzQc+M0IzrbKHxSeISUmRB3RPGmao5bT+sI6ayxSRhn0FXEnT5Hg3as8SBFcRosrXXRFB+yAcxVxJQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@tanstack/query-core": "5.90.19" }, @@ -6746,6 +6667,7 @@ "integrity": "sha512-GLW5sjPVIvH491VV1ufddnfldyVB+teCnpPIvweEfkpRx7CfUmUGhoh9cdcUKBh/KwVxk22aNEDxeTsvmyB/WA==", "dev": true, "license": "MIT", + "peer": true, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" @@ -7572,15 +7494,6 @@ "assertion-error": "^2.0.1" } }, - "node_modules/@types/connect": { - "version": "3.4.38", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", - "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/debug": { "version": "4.1.12", "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", @@ -7613,7 +7526,6 @@ "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/estree": "*", "@types/json-schema": "*" @@ -7723,7 +7635,6 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.0.tgz", "integrity": "sha512-qzQZRBqkFsYyaSWXuEHc2WR9c0a0CXwiE5FWUvn7ZM+vdy1uZLfCunD38UzhuB7YN/J11ndbDBcTmOdxJo9Q7A==", "license": "MIT", - "peer": true, "dependencies": { "undici-types": "~7.16.0" } @@ -7770,21 +7681,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/uuid": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", - "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==", - "license": "MIT" - }, - "node_modules/@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/yargs": { "version": "17.0.34", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.34.tgz", @@ -7848,7 +7744,6 @@ "integrity": "sha512-6m1I5RmHBGTnUGS113G04DMu3CpSdxCAU/UvtjNWL4Nuf3MW9tQhiJqRlHzChIkhy6kZSAQmc+I1bcGjE3yNKg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.46.3", "@typescript-eslint/types": "8.46.3", @@ -8074,34 +7969,6 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@unrs/resolver-binding-android-arm-eabi": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.11.1.tgz", - "integrity": "sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@unrs/resolver-binding-android-arm64": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.11.1.tgz", - "integrity": "sha512-lCxkVtb4wp1v+EoN+HjIG9cIIzPkX5OtM03pQYkG+U5O/wL53LC4QbIeazgiKqluGeVEeBlZahHalCaBvU1a2g==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "android" - ] - }, "node_modules/@unrs/resolver-binding-darwin-arm64": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.11.1.tgz", @@ -8116,257 +7983,6 @@ "darwin" ] }, - "node_modules/@unrs/resolver-binding-darwin-x64": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.11.1.tgz", - "integrity": "sha512-cFzP7rWKd3lZaCsDze07QX1SC24lO8mPty9vdP+YVa3MGdVgPmFc59317b2ioXtgCMKGiCLxJ4HQs62oz6GfRQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@unrs/resolver-binding-freebsd-x64": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.11.1.tgz", - "integrity": "sha512-fqtGgak3zX4DCB6PFpsH5+Kmt/8CIi4Bry4rb1ho6Av2QHTREM+47y282Uqiu3ZRF5IQioJQ5qWRV6jduA+iGw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] - }, - "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.11.1.tgz", - "integrity": "sha512-u92mvlcYtp9MRKmP+ZvMmtPN34+/3lMHlyMj7wXJDeXxuM0Vgzz0+PPJNsro1m3IZPYChIkn944wW8TYgGKFHw==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.11.1.tgz", - "integrity": "sha512-cINaoY2z7LVCrfHkIcmvj7osTOtm6VVT16b5oQdS4beibX2SYBwgYLmqhBjA1t51CarSaBuX5YNsWLjsqfW5Cw==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@unrs/resolver-binding-linux-arm64-gnu": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.11.1.tgz", - "integrity": "sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@unrs/resolver-binding-linux-arm64-musl": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.11.1.tgz", - "integrity": "sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.11.1.tgz", - "integrity": "sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==", - "cpu": [ - "ppc64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.11.1.tgz", - "integrity": "sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@unrs/resolver-binding-linux-riscv64-musl": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.11.1.tgz", - "integrity": "sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==", - "cpu": [ - "riscv64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@unrs/resolver-binding-linux-s390x-gnu": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.11.1.tgz", - "integrity": "sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==", - "cpu": [ - "s390x" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@unrs/resolver-binding-linux-x64-gnu": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.11.1.tgz", - "integrity": "sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@unrs/resolver-binding-linux-x64-musl": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.11.1.tgz", - "integrity": "sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@unrs/resolver-binding-wasm32-wasi": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.11.1.tgz", - "integrity": "sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==", - "cpu": [ - "wasm32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@napi-rs/wasm-runtime": "^0.2.11" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@unrs/resolver-binding-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": { - "version": "0.2.12", - "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz", - "integrity": "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@emnapi/core": "^1.4.3", - "@emnapi/runtime": "^1.4.3", - "@tybys/wasm-util": "^0.10.0" - } - }, - "node_modules/@unrs/resolver-binding-wasm32-wasi/node_modules/@tybys/wasm-util": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz", - "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "tslib": "^2.4.0" - } - }, - "node_modules/@unrs/resolver-binding-win32-arm64-msvc": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.11.1.tgz", - "integrity": "sha512-nRcz5Il4ln0kMhfL8S3hLkxI85BXs3o8EYoattsJNdsX4YUU89iOkVn7g0VHSRxFuVMdM4Q1jEpIId1Ihim/Uw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@unrs/resolver-binding-win32-ia32-msvc": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.11.1.tgz", - "integrity": "sha512-DCEI6t5i1NmAZp6pFonpD5m7i6aFrpofcp4LA2i8IIq60Jyo28hamKBxNrZcyOwVOZkgsRp9O2sXWBWP8MnvIQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@unrs/resolver-binding-win32-x64-msvc": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.11.1.tgz", - "integrity": "sha512-lrW200hZdbfRtztbygyaq/6jP6AKE8qQN2KvPcJ+x7wiD038YtnYtZ82IMNJ69GJibV7bwL3y9FgK+5w/pYt6g==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, "node_modules/@vitest/eslint-plugin": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/@vitest/eslint-plugin/-/eslint-plugin-1.4.1.tgz", @@ -8453,7 +8069,8 @@ "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.4.tgz", "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/@vue/eslint-config-typescript": { "version": "14.6.0", @@ -8640,7 +8257,6 @@ "integrity": "sha512-0Q8VYnVNPHe/gZsvj+Zddt8VpmKoMHXoVd887svL21QGKXEIVYiV/8R3qMv0SyC7q+GbQ5x9xezB56u3S8bWAQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "eventemitter3": "5.0.1", "mipd": "0.0.7", @@ -10048,7 +9664,6 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -10115,18 +9730,6 @@ "node": ">= 14" } }, - "node_modules/agentkeepalive": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.6.0.tgz", - "integrity": "sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==", - "license": "MIT", - "dependencies": { - "humanize-ms": "^1.2.1" - }, - "engines": { - "node": ">= 8.0.0" - } - }, "node_modules/aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", @@ -10147,7 +9750,6 @@ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -11334,17 +10936,6 @@ "dev": true, "license": "ISC" }, - "node_modules/borsh": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz", - "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==", - "license": "Apache-2.0", - "dependencies": { - "bn.js": "^5.2.0", - "bs58": "^4.0.0", - "text-encoding-utf-8": "^1.0.2" - } - }, "node_modules/bowser": { "version": "2.13.1", "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.13.1.tgz", @@ -11543,7 +11134,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.8.19", "caniuse-lite": "^1.0.30001751", @@ -12290,7 +11880,6 @@ "resolved": "https://registry.npmjs.org/color/-/color-5.0.3.tgz", "integrity": "sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA==", "license": "MIT", - "peer": true, "dependencies": { "color-convert": "^3.1.3", "color-string": "^2.1.3" @@ -12969,7 +12558,6 @@ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.1.0.tgz", "integrity": "sha512-uKm5PU+MHTootlWEY+mZ4vvXoCn4fLQxT9dSc1sXVMSFkINTJVN8cAQROpwcKm8bJ/c7rgZVIBWzH5T78sNZZw==", "license": "MIT", - "peer": true, "dependencies": { "node-fetch": "^2.7.0" } @@ -13673,18 +13261,6 @@ "node": ">= 14" } }, - "node_modules/delay": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", - "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -13968,7 +13544,6 @@ "resolved": "https://registry.npmjs.org/eciesjs/-/eciesjs-0.4.16.tgz", "integrity": "sha512-dS5cbA9rA2VR4Ybuvhg6jvdmp46ubLn3E+px8cG/35aEDNclrqoCjg6mt0HYZ/M+OoESS3jSkCrqk1kWAEhWAw==", "license": "MIT", - "peer": true, "dependencies": { "@ecies/ciphers": "^0.2.4", "@noble/ciphers": "^1.3.0", @@ -14422,21 +13997,6 @@ "benchmarks" ] }, - "node_modules/es6-promise": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", - "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", - "license": "MIT" - }, - "node_modules/es6-promisify": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", - "integrity": "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==", - "license": "MIT", - "dependencies": { - "es6-promise": "^4.0.3" - } - }, "node_modules/escalade": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", @@ -14508,7 +14068,6 @@ "integrity": "sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -14598,7 +14157,6 @@ "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", "dev": true, "license": "MIT", - "peer": true, "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -14994,7 +14552,6 @@ "integrity": "sha512-SbR9ZBUFKgvWAbq3RrdCtWaW0IKm6wwUiApxf3BVTNfqUIo4IQQmreMg2iHFJJ6C/0wss3LXURBJ1OwS/MhFcQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "natural-compare": "^1.4.0", @@ -15435,8 +14992,7 @@ "version": "6.4.9", "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.9.tgz", "integrity": "sha512-JEPTiaOt9f04oa6NOkc4aH+nVp5I3wEjpHbIPqfgCdD5v5bUzy7xQqwcVO2aDQgOWhI28da57HksMrzK9HlRxg==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/eventemitter3": { "version": "5.0.1", @@ -15646,14 +15202,6 @@ "node": ">= 0.4" } }, - "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" - } - }, "node_modules/fast-content-type-parse": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-3.0.0.tgz", @@ -15740,12 +15288,6 @@ "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", "license": "MIT" }, - "node_modules/fast-stable-stringify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz", - "integrity": "sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag==", - "license": "MIT" - }, "node_modules/fast-uri": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", @@ -17519,15 +17061,6 @@ "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==", - "license": "MIT", - "dependencies": { - "ms": "^2.0.0" - } - }, "node_modules/husky": { "version": "9.1.7", "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", @@ -17617,8 +17150,7 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-6.2.1.tgz", "integrity": "sha512-8Sb3veuYCyrZL+VBt9LJfZjLUPWVvqn8tG28VqYNFCo43KHcKuq+b4EiXGeuaLAQWL2YmyDgMp2aSpH9JHsEQg==", - "license": "Apache-2.0", - "peer": true + "license": "Apache-2.0" }, "node_modules/ieee754": { "version": "1.2.1", @@ -18783,15 +18315,6 @@ "node": ">=0.10.0" } }, - "node_modules/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==", - "license": "MIT", - "peerDependencies": { - "ws": "*" - } - }, "node_modules/isows": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/isows/-/isows-1.0.7.tgz", @@ -18876,53 +18399,6 @@ "node": ">=10" } }, - "node_modules/jayson": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.2.0.tgz", - "integrity": "sha512-VfJ9t1YLwacIubLhONk0KFeosUBwstRWQ0IRT1KDjEjnVnSOVHC3uwugyV7L0c7R9lpVyrUGT2XWiBA1UTtpyg==", - "license": "MIT", - "dependencies": { - "@types/connect": "^3.4.33", - "@types/node": "^12.12.54", - "@types/ws": "^7.4.4", - "commander": "^2.20.3", - "delay": "^5.0.0", - "es6-promisify": "^5.0.0", - "eyes": "^0.1.8", - "isomorphic-ws": "^4.0.1", - "json-stringify-safe": "^5.0.1", - "stream-json": "^1.9.1", - "uuid": "^8.3.2", - "ws": "^7.5.10" - }, - "bin": { - "jayson": "bin/jayson.js" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jayson/node_modules/@types/node": { - "version": "12.20.55", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", - "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", - "license": "MIT" - }, - "node_modules/jayson/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "license": "MIT" - }, - "node_modules/jayson/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/jest-diff": { "version": "30.2.0", "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-30.2.0.tgz", @@ -19220,6 +18696,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", + "dev": true, "license": "ISC" }, "node_modules/json5": { @@ -19241,6 +18718,7 @@ "integrity": "sha512-uuPNLJkKN8NXAlZlQ6kmUF9qO+T6Kyd7oV4+/7yy8Jz6+MZNyhPq8EdLpdfnPVzUC8qSf1b4j1azKaGnFsjmsw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "acorn": "^8.5.0", "eslint-visitor-keys": "^3.0.0", @@ -19260,6 +18738,7 @@ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, "license": "Apache-2.0", + "peer": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -19273,6 +18752,7 @@ "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, "license": "BSD-2-Clause", + "peer": true, "dependencies": { "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", @@ -19291,6 +18771,7 @@ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, "license": "ISC", + "peer": true, "bin": { "semver": "bin/semver.js" }, @@ -22238,6 +21719,7 @@ "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -22462,7 +21944,6 @@ "dev": true, "hasInstallScript": true, "license": "MIT", - "peer": true, "dependencies": { "@napi-rs/wasm-runtime": "0.2.4", "@yarnpkg/lockfile": "^1.1.0", @@ -24272,7 +23753,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -25246,7 +24726,6 @@ "integrity": "sha512-yEPsovQfpxYfgWNhCfECjG5AQaO+K3dp6XERmOepyPDVqcJm+bjyCVO3pmU+nAPe0N5dDvekfGezt/EIiRe1TA==", "dev": true, "license": "MIT", - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -26269,7 +25748,6 @@ "integrity": "sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@octokit/auth-token": "^6.0.0", "@octokit/graphql": "^9.0.3", @@ -26689,7 +26167,8 @@ "resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.5.0.tgz", "integrity": "sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/remove-trailing-separator": { "version": "1.1.0", @@ -27065,7 +26544,6 @@ "integrity": "sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/estree": "1.0.8" }, @@ -27220,68 +26698,6 @@ "linux" ] }, - "node_modules/rpc-websockets": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.3.0.tgz", - "integrity": "sha512-Sf6b6tCpLa6FxgZV20FC1GotVjinFfMkWWfuYtZOdoExvoXQl9ed1J7NdbybLZshNDHjWNa38U186MwElN1VjA==", - "license": "LGPL-3.0-only", - "dependencies": { - "@swc/helpers": "^0.5.11", - "@types/uuid": "^8.3.4", - "@types/ws": "^8.2.2", - "buffer": "^6.0.3", - "eventemitter3": "^5.0.1", - "uuid": "^8.3.2", - "ws": "^8.5.0" - }, - "funding": { - "type": "paypal", - "url": "https://paypal.me/kozjak" - }, - "optionalDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - } - }, - "node_modules/rpc-websockets/node_modules/@types/ws": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz", - "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/rpc-websockets/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/rpc-websockets/node_modules/ws": { - "version": "8.18.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", - "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", - "license": "MIT", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/run-applescript": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", @@ -27464,7 +26880,8 @@ "version": "0.26.0", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/schema-utils": { "version": "4.3.3", @@ -27492,7 +26909,6 @@ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -28147,7 +27563,6 @@ "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.8.1.tgz", "integrity": "sha512-hJVXfu3E28NmzGk8o1sHhN3om52tRvwYeidbj7xKy2eIIse5IoKX3USlS6Tqt3BHAtflLIkCQBkzVrEEfWUyYQ==", "license": "MIT", - "peer": true, "dependencies": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.2", @@ -28518,12 +27933,6 @@ "node": ">= 6" } }, - "node_modules/stream-chain": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/stream-chain/-/stream-chain-2.2.5.tgz", - "integrity": "sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==", - "license": "BSD-3-Clause" - }, "node_modules/stream-combiner": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz", @@ -28562,15 +27971,6 @@ "node": ">= 6" } }, - "node_modules/stream-json": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/stream-json/-/stream-json-1.9.1.tgz", - "integrity": "sha512-uWkjJ+2Nt/LO9Z/JyKZbMusL8Dkh97uUBTv3AJQ74y07lVahLY4eEFsPsE97pxYBwr8nnjMAIch5eqI0gPShyw==", - "license": "BSD-3-Clause", - "dependencies": { - "stream-chain": "^2.2.5" - } - }, "node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", @@ -28988,15 +28388,6 @@ "dev": true, "license": "MIT" }, - "node_modules/superstruct": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz", - "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==", - "license": "MIT", - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -29101,7 +28492,6 @@ "integrity": "sha512-6A2rnmW5xZMdw11LYjhcI5846rt9pbLSabY5XPxo+XWdxwZaFEn47Go4NzFiHu9sNNmr/kXivP1vStfvMaK1GQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", @@ -29211,7 +28601,6 @@ "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", "dev": true, "license": "MIT", - "peer": true, "bin": { "jiti": "bin/jiti.js" } @@ -29532,11 +28921,6 @@ "dev": true, "license": "MIT" }, - "node_modules/text-encoding-utf-8": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz", - "integrity": "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==" - }, "node_modules/text-extensions": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", @@ -29862,7 +29246,6 @@ "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@cspotcode/source-map-support": "^0.8.0", "@tsconfig/node10": "^1.0.7", @@ -30255,8 +29638,8 @@ "version": "5.9.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "devOptional": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -30550,7 +29933,6 @@ "dev": true, "hasInstallScript": true, "license": "MIT", - "peer": true, "dependencies": { "napi-postinstall": "^0.3.0" }, @@ -30950,7 +30332,6 @@ "integrity": "sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw==", "dev": true, "license": "MIT", - "peer": true, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } @@ -31060,7 +30441,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@noble/curves": "1.9.1", "@noble/hashes": "1.8.0", @@ -31167,7 +30547,6 @@ "integrity": "sha512-YLVdgv2K13WJ6n+kD5owehKtEXwdwXuj2TTyJMsO7pSeKw2bfRNZGjhB7YzrpbMYj5b5QsUebHpOqR3R3ziy/g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@vue/compiler-dom": "3.5.25", "@vue/compiler-sfc": "3.5.25", @@ -31217,7 +30596,6 @@ "integrity": "sha512-CydUvFOQKD928UzZhTp4pr2vWz1L+H99t7Pkln2QSPdvmURT0MoC4wUccfCnuEaihNsu9aYYyk+bep8rlfkUXw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "debug": "^4.4.0", "eslint-scope": "^8.2.0", @@ -31343,7 +30721,6 @@ "integrity": "sha512-7h/weGm9d/ywQ6qzJ+Xy+r9n/3qgp/thalBbpOi5i223dPXKi04IBtqPN9nTd+jBc7QKfvDbaBnFipYp4sJAUQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.8", @@ -32231,7 +31608,6 @@ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "license": "MIT", - "peer": true, "engines": { "node": ">=8.3.0" }, @@ -32462,6 +31838,7 @@ "integrity": "sha512-E/+VitOorXSLiAqtTd7Yqax0/pAS3xaYMP+AUUJGOK1OZG3rhcj9fcJOM5HJ2VrP1FrStVCWr1muTfQCdj4tAA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "eslint-visitor-keys": "^3.0.0", "yaml": "^2.0.0" @@ -32479,6 +31856,7 @@ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, "license": "Apache-2.0", + "peer": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -32777,7 +32155,7 @@ "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-replace": "^6.0.3", "@rollup/plugin-url": "^8.0.2", - "@solana/web3.js": "^1.98.4", + "@solana/kit": "^6.1.0", "@svgr/rollup": "^8.1.0", "@svgr/webpack": "^8.1.0", "@toruslabs/eslint-config-react": "^4.1.4", @@ -32812,7 +32190,7 @@ "peerDependencies": { "@babel/runtime": "^7.x", "@coinbase/wallet-sdk": "^4.3.x", - "@solana/web3.js": ">=1.98", + "@solana/kit": ">=6.1.0", "react": ">=18", "react-dom": ">=18", "viem": ">=2.45", @@ -32830,272 +32208,276 @@ } } }, - "packages/modal/node_modules/@types/react": { - "version": "19.2.8", - "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.8.tgz", - "integrity": "sha512-3MbSL37jEchWZz2p2mjntRZtPt837ij10ApxKfgmXCTuHWagYg7iA5bqPw6C8BMPfwidlvfPI/fxOc42HLhcyg==", - "dev": true, - "license": "MIT", - "dependencies": { - "csstype": "^3.2.2" - } - }, - "packages/modal/node_modules/@vue/compiler-core": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.26.tgz", - "integrity": "sha512-vXyI5GMfuoBCnv5ucIT7jhHKl55Y477yxP6fc4eUswjP8FG3FFVFd41eNDArR+Uk3QKn2Z85NavjaxLxOC19/w==", + "packages/modal/node_modules/@solana/accounts": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/accounts/-/accounts-5.4.0.tgz", + "integrity": "sha512-qHtAtwCcCFTXcya6JOOG1nzYicivivN/JkcYNHr10qOp9b4MVRkfW1ZAAG1CNzjMe5+mwtEl60RwdsY9jXNb+Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/parser": "^7.28.5", - "@vue/shared": "3.5.26", - "entities": "^7.0.0", - "estree-walker": "^2.0.2", - "source-map-js": "^1.2.1" + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/rpc-spec": "5.4.0", + "@solana/rpc-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/@vue/compiler-dom": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.26.tgz", - "integrity": "sha512-y1Tcd3eXs834QjswshSilCBnKGeQjQXB6PqFn/1nxcQw4pmG42G8lwz+FZPAZAby6gZeHSt/8LMPfZ4Rb+Bd/A==", + "packages/modal/node_modules/@solana/addresses": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/addresses/-/addresses-5.4.0.tgz", + "integrity": "sha512-YRHiH30S8qDV4bZ+mtEk589PGfBuXHzD/fK2Z+YI5f/+s+yi/5le/fVw7PN6LxnnmVQKiRCDUiNF+WmFFKi6QQ==", "dev": true, "license": "MIT", "dependencies": { - "@vue/compiler-core": "3.5.26", - "@vue/shared": "3.5.26" + "@solana/assertions": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/nominal-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/@vue/compiler-sfc": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.26.tgz", - "integrity": "sha512-egp69qDTSEZcf4bGOSsprUr4xI73wfrY5oRs6GSgXFTiHrWj4Y3X5Ydtip9QMqiCMCPVwLglB9GBxXtTadJ3mA==", + "packages/modal/node_modules/@solana/assertions": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/assertions/-/assertions-5.4.0.tgz", + "integrity": "sha512-8EP7mkdnrPc9y67FqWeAPzdWq2qAOkxsuo+ZBIXNWtIixDtXIdHrgjZ/wqbWxLgSTtXEfBCjpZU55Xw2Qfbwyg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/parser": "^7.28.5", - "@vue/compiler-core": "3.5.26", - "@vue/compiler-dom": "3.5.26", - "@vue/compiler-ssr": "3.5.26", - "@vue/shared": "3.5.26", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.21", - "postcss": "^8.5.6", - "source-map-js": "^1.2.1" + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/@vue/compiler-ssr": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.26.tgz", - "integrity": "sha512-lZT9/Y0nSIRUPVvapFJEVDbEXruZh2IYHMk2zTtEgJSlP5gVOqeWXH54xDKAaFS4rTnDeDBQUYDtxKyoW9FwDw==", + "packages/modal/node_modules/@solana/codecs": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/codecs/-/codecs-5.4.0.tgz", + "integrity": "sha512-IbDCUvNX0MrkQahxiXj9rHzkd/fYfp1F2nTJkHGH8v+vPfD+YPjl007ZBM38EnCeXj/Xn+hxqBBivPvIHP29dA==", "dev": true, "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.5.26", - "@vue/shared": "3.5.26" + "@solana/codecs-core": "5.4.0", + "@solana/codecs-data-structures": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/options": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/@vue/reactivity": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.26.tgz", - "integrity": "sha512-9EnYB1/DIiUYYnzlnUBgwU32NNvLp/nhxLXeWRhHUEeWNTn1ECxX8aGO7RTXeX6PPcxe3LLuNBFoJbV4QZ+CFQ==", + "packages/modal/node_modules/@solana/codecs-core": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-5.4.0.tgz", + "integrity": "sha512-rQ5jXgiDe2vIU+mYCHDjgwMd9WdzZfh4sc5H6JgYleAUjeTUX6mx8hTV2+pcXvvn27LPrgrt9jfxswbDb8O8ww==", "dev": true, "license": "MIT", "dependencies": { - "@vue/shared": "3.5.26" + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/@vue/runtime-core": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.26.tgz", - "integrity": "sha512-xJWM9KH1kd201w5DvMDOwDHYhrdPTrAatn56oB/LRG4plEQeZRQLw0Bpwih9KYoqmzaxF0OKSn6swzYi84e1/Q==", + "packages/modal/node_modules/@solana/codecs-data-structures": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-5.4.0.tgz", + "integrity": "sha512-LVssbdQ1GfY6upnxW3mufYsNfvTWKnHNk5Hx2gHuOYJhm3HZlp+Y8zvuoY65G1d1xAXkPz5YVGxaSeVIRWLGWg==", "dev": true, "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.26", - "@vue/shared": "3.5.26" + "@solana/codecs-core": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/@vue/runtime-dom": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.26.tgz", - "integrity": "sha512-XLLd/+4sPC2ZkN/6+V4O4gjJu6kSDbHAChvsyWgm1oGbdSO3efvGYnm25yCjtFm/K7rrSDvSfPDgN1pHgS4VNQ==", + "packages/modal/node_modules/@solana/codecs-numbers": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-5.4.0.tgz", + "integrity": "sha512-z6LMkY+kXWx1alrvIDSAxexY5QLhsso638CjM7XI1u6dB7drTLWKhifyjnm1vOQc1VPVFmbYxTgKKpds8TY8tg==", "dev": true, "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.26", - "@vue/runtime-core": "3.5.26", - "@vue/shared": "3.5.26", - "csstype": "^3.2.3" + "@solana/codecs-core": "5.4.0", + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/@vue/server-renderer": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.26.tgz", - "integrity": "sha512-TYKLXmrwWKSodyVuO1WAubucd+1XlLg4set0YoV+Hu8Lo79mp/YMwWV5mC5FgtsDxX3qo1ONrxFaTP1OQgy1uA==", + "packages/modal/node_modules/@solana/codecs-strings": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-5.4.0.tgz", + "integrity": "sha512-w0trrjfQDhkCVz7O1GTmHBk9m+MkljKx2uNBbQAD3/yW2Qn9dYiTrZ1/jDVq0/+lPPAUkbT3s3Yo7HUZ2QFmHw==", "dev": true, "license": "MIT", "dependencies": { - "@vue/compiler-ssr": "3.5.26", - "@vue/shared": "3.5.26" + "@solana/codecs-core": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "vue": "3.5.26" + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/@vue/shared": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.26.tgz", - "integrity": "sha512-7Z6/y3uFI5PRoKeorTOSXKcDj0MSasfNNltcslbFrPpcw6aXRUALq4IfJlaTRspiWIUOEZbrpM+iQGmCOiWe4A==", - "dev": true, - "license": "MIT" - }, - "packages/modal/node_modules/autoprefixer": { - "version": "10.4.23", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.23.tgz", - "integrity": "sha512-YYTXSFulfwytnjAPlw8QHncHJmlvFKtczb8InXaAx9Q0LbfDnfEYDE55omerIJKihhmU61Ft+cAOSzQVaBUmeA==", + "packages/modal/node_modules/@solana/errors": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-5.4.0.tgz", + "integrity": "sha512-hNoAOmlZAszaVBrAy1Jf7amHJ8wnUnTU0BqhNQXknbSvirvsYr81yEud2iq18YiCqhyJ9SuQ5kWrSAT0x7S0oA==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/autoprefixer" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], "license": "MIT", "dependencies": { - "browserslist": "^4.28.1", - "caniuse-lite": "^1.0.30001760", - "fraction.js": "^5.3.4", - "picocolors": "^1.1.1", - "postcss-value-parser": "^4.2.0" + "chalk": "5.6.2", + "commander": "14.0.2" }, "bin": { - "autoprefixer": "bin/autoprefixer" + "errors": "bin/cli.mjs" }, "engines": { - "node": "^10 || ^12 || >=14" + "node": ">=20.18.0" }, "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "packages/modal/node_modules/baseline-browser-mapping": { - "version": "2.9.14", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.14.tgz", - "integrity": "sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "baseline-browser-mapping": "dist/cli.js" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/browserslist": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz", - "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==", + "packages/modal/node_modules/@solana/fast-stable-stringify": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/fast-stable-stringify/-/fast-stable-stringify-5.4.0.tgz", + "integrity": "sha512-KB7PUL7yalPvbWCezzyUDVRDp39eHLPH7OJ6S8VFT8YNIFUANwwj5ctui50Fim76kvSYDdYJOclXV45O2gfQ8Q==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], "license": "MIT", - "peer": true, - "dependencies": { - "baseline-browser-mapping": "^2.9.0", - "caniuse-lite": "^1.0.30001759", - "electron-to-chromium": "^1.5.263", - "node-releases": "^2.0.27", - "update-browserslist-db": "^1.2.0" + "engines": { + "node": ">=20.18.0" }, - "bin": { - "browserslist": "cli.js" + "peerDependencies": { + "typescript": "^5.0.0" }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "packages/modal/node_modules/caniuse-lite": { - "version": "1.0.30001764", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001764.tgz", - "integrity": "sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" + "peerDependenciesMeta": { + "typescript": { + "optional": true } - ], - "license": "CC-BY-4.0" - }, - "packages/modal/node_modules/electron-to-chromium": { - "version": "1.5.267", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz", - "integrity": "sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==", - "dev": true, - "license": "ISC" + } }, - "packages/modal/node_modules/entities": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.0.tgz", - "integrity": "sha512-FDWG5cmEYf2Z00IkYRhbFrwIwvdFKH07uV8dvNy0omp/Qb1xcyCWp2UDtcwJF4QZZvk0sLudP6/hAu42TaqVhQ==", + "packages/modal/node_modules/@solana/functional": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/functional/-/functional-5.4.0.tgz", + "integrity": "sha512-32ghHO0bg6GgX/7++0/7Lps6RgeXD2gKF1okiuyEGuVfKENIapgaQdcGhUwb3q6D6fv6MRAVn/Yve4jopGVNMQ==", "dev": true, - "license": "BSD-2-Clause", + "license": "MIT", "engines": { - "node": ">=0.12" + "node": ">=20.18.0" }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/i18next": { - "version": "25.7.4", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-25.7.4.tgz", - "integrity": "sha512-hRkpEblXXcXSNbw8mBNq9042OEetgyB/ahc/X17uV/khPwzV+uB8RHceHh3qavyrkPJvmXFKXME2Sy1E0KjAfw==", - "funding": [ - { - "type": "individual", - "url": "https://locize.com" - }, - { - "type": "individual", - "url": "https://locize.com/i18next.html" - }, - { - "type": "individual", - "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" - } - ], + "packages/modal/node_modules/@solana/instruction-plans": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/instruction-plans/-/instruction-plans-5.4.0.tgz", + "integrity": "sha512-5xbJ+I/pP2aWECmK75bEM1zCnIITlohAK83dVN+t5X2vBFrr6M9gifo8r4Opdnibsgo6QVVkKPxRo5zow5j0ig==", + "dev": true, "license": "MIT", "dependencies": { - "@babel/runtime": "^7.28.4" + "@solana/errors": "5.4.0", + "@solana/instructions": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/promises": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": "^5" + "typescript": "^5.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -33103,84 +32485,1594 @@ } } }, - "packages/modal/node_modules/react": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/react/-/react-19.2.3.tgz", - "integrity": "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA==", + "packages/modal/node_modules/@solana/instructions": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/instructions/-/instructions-5.4.0.tgz", + "integrity": "sha512-//a7jpHbNoAgTqy3YyqG1X6QhItJLKzJa6zuYJGCwaAAJye7BxS9pxJBgb2mUt7CGidhUksf+U8pmLlxCNWYyg==", "dev": true, "license": "MIT", - "peer": true, + "dependencies": { + "@solana/codecs-core": "5.4.0", + "@solana/errors": "5.4.0" + }, "engines": { - "node": ">=0.10.0" - } - }, - "packages/modal/node_modules/react-dom": { - "version": "19.2.3", + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/keys": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/keys/-/keys-5.4.0.tgz", + "integrity": "sha512-zQVbAwdoXorgXjlhlVTZaymFG6N8n1zn2NT+xI6S8HtbrKIB/42xPdXFh+zIihGzRw+9k8jzU7Axki/IPm6qWQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/assertions": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/nominal-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/kit": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/kit/-/kit-5.4.0.tgz", + "integrity": "sha512-aVjN26jOEzJA6UBYxSTQciZPXgTxWnO/WysHrw+yeBL/5AaTZnXEgb4j5xV6cUFzOlVxhJBrx51xtoxSqJ0u3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/accounts": "5.4.0", + "@solana/addresses": "5.4.0", + "@solana/codecs": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/instruction-plans": "5.4.0", + "@solana/instructions": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/offchain-messages": "5.4.0", + "@solana/plugin-core": "5.4.0", + "@solana/programs": "5.4.0", + "@solana/rpc": "5.4.0", + "@solana/rpc-api": "5.4.0", + "@solana/rpc-parsed-types": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "@solana/rpc-subscriptions": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/signers": "5.4.0", + "@solana/sysvars": "5.4.0", + "@solana/transaction-confirmation": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/nominal-types": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/nominal-types/-/nominal-types-5.4.0.tgz", + "integrity": "sha512-h4dTRQwTerzksE5B1WmObN6TvLo8dYUd7kpUUynGd8WJjK0zz3zkDhq0MkA3aF6A1C2C82BSGqSsN9EN0E6Exg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/offchain-messages": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/offchain-messages/-/offchain-messages-5.4.0.tgz", + "integrity": "sha512-DjdlYJCcKfgh4dkdk+owH1bP+Q4BRqCs55mgWWp9PTwm/HHy/a5vcMtCi1GyIQXfhtNNvKBLbXrUE0Fxej8qlg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-data-structures": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/nominal-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/options": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/options/-/options-5.4.0.tgz", + "integrity": "sha512-h4vTWRChEXPhaHo9i1pCyQBWWs+NqYPQRXSAApqpUYvHb9Kct/C6KbHjfyaRMyqNQnDHLcJCX7oW9tk0iRDzIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "5.4.0", + "@solana/codecs-data-structures": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/programs": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/programs/-/programs-5.4.0.tgz", + "integrity": "sha512-Sc90WK9ZZ7MghOflIvkrIm08JwsFC99yqSJy28/K+hDP2tcx+1x+H6OFP9cumW9eUA1+JVRDeKAhA8ak7e/kUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/promises": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/promises/-/promises-5.4.0.tgz", + "integrity": "sha512-23mfgNBbuP6Q+4vsixGy+GkyZ7wBLrxTBNXqrG/XWrJhjuuSkjEUGaK4Fx5o7LIrBi6KGqPknKxmTlvqnJhy2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc/-/rpc-5.4.0.tgz", + "integrity": "sha512-S6GRG+usnubDs0JSpgc0ZWEh9IPL5KPWMuBoD8ggGVOIVWntp53FpvhYslNzbxWBXlTvJecr2todBipGVM/AqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/fast-stable-stringify": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/rpc-api": "5.4.0", + "@solana/rpc-spec": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "@solana/rpc-transformers": "5.4.0", + "@solana/rpc-transport-http": "5.4.0", + "@solana/rpc-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc-api": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-api/-/rpc-api-5.4.0.tgz", + "integrity": "sha512-FJL6KaAsQ4DhfhLKKMcqbTpToNFwHlABCemIpOunE3OSqJFDrmc/NbsEaLIoeHyIg3d1Imo49GIUOn2TEouFUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/rpc-parsed-types": "5.4.0", + "@solana/rpc-spec": "5.4.0", + "@solana/rpc-transformers": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc-parsed-types": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-parsed-types/-/rpc-parsed-types-5.4.0.tgz", + "integrity": "sha512-IRQuSzx+Sj1A3XGiIzguNZlMjMMybXTTjV/RnTwBgnJQPd/H4us4pfPD94r+/yolWDVfGjJRm04hnKVMjJU8Rg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc-spec": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-spec/-/rpc-spec-5.4.0.tgz", + "integrity": "sha512-XMhxBb1GuZ3Kaeu5WNHB5KteCQ/aVuMByZmUKPqaanD+gs5MQZr0g62CvN7iwRlFU7GC18Q73ROWR3/JjzbXTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/rpc-spec-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc-spec-types": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-spec-types/-/rpc-spec-types-5.4.0.tgz", + "integrity": "sha512-JU9hC5/iyJx30ym17gpoXDtT9rCbO6hLpB6UDhSFFoNeirxtTVb4OdnKtsjJDfXAiXsynJRsZRwfj3vGxRLgQw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc-subscriptions": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions/-/rpc-subscriptions-5.4.0.tgz", + "integrity": "sha512-051t1CEjjAzM9ohjj2zb3ED70yeS3ZY8J5wSytL6tthTGImw/JB2a0D9DWMOKriFKt496n95IC+IdpJ35CpBWA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/fast-stable-stringify": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/promises": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "@solana/rpc-subscriptions-api": "5.4.0", + "@solana/rpc-subscriptions-channel-websocket": "5.4.0", + "@solana/rpc-subscriptions-spec": "5.4.0", + "@solana/rpc-transformers": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/subscribable": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc-subscriptions-api": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions-api/-/rpc-subscriptions-api-5.4.0.tgz", + "integrity": "sha512-euAFIG6ruEsqK+MsrL1tGSMbbOumm8UAyGzlD/kmXsAqqhcVsSeZdv5+BMIHIBsQ93GHcloA8UYw1BTPhpgl9w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/rpc-subscriptions-spec": "5.4.0", + "@solana/rpc-transformers": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc-subscriptions-channel-websocket": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions-channel-websocket/-/rpc-subscriptions-channel-websocket-5.4.0.tgz", + "integrity": "sha512-kWCmlW65MccxqXwKsIz+LkXUYQizgvBrrgYOkyclJHPa+zx4gqJjam87+wzvO9cfbDZRer3wtJBaRm61gTHNbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/rpc-subscriptions-spec": "5.4.0", + "@solana/subscribable": "5.4.0", + "ws": "^8.19.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc-subscriptions-spec": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions-spec/-/rpc-subscriptions-spec-5.4.0.tgz", + "integrity": "sha512-ELaV9Z39GtKyUO0++he00ymWleb07QXYJhSfA0e1N5Q9hXu/Y366kgXHDcbZ/oUJkT3ylNgTupkrsdtiy8Ryow==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/promises": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "@solana/subscribable": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc-transformers": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-transformers/-/rpc-transformers-5.4.0.tgz", + "integrity": "sha512-dZ8keYloLW+eRAwAPb471uWCFs58yHloLoI+QH0FulYpsSJ7F2BNWYcdnjSS/WiggsNcU6DhpWzYAzlEY66lGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/nominal-types": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "@solana/rpc-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc-transport-http": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-transport-http/-/rpc-transport-http-5.4.0.tgz", + "integrity": "sha512-vidA+Qtqrnqp3QSVumWHdWJ/986yCr5+qX3fbc9KPm9Ofoto88OMWB/oLJvi2Tfges1UBu/jl+lJdsVckCM1bA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/rpc-spec": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "undici-types": "^7.18.2" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/rpc-types": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-types/-/rpc-types-5.4.0.tgz", + "integrity": "sha512-+C4N4/5AYzBdt3Y2yzkScknScy/jTx6wfvuJIY9XjOXtdDyZ8TmrnMwdPMTZPGLdLuHplJwlwy1acu/4hqmrBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/nominal-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/signers": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/signers/-/signers-5.4.0.tgz", + "integrity": "sha512-s+fZxpi6UPr6XNk2pH/R84WjNRoSktrgG8AGNfsj/V8MJ++eKX7hhIf4JsHZtnnQXXrHmS3ozB2oHlc8yEJvCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/instructions": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/nominal-types": "5.4.0", + "@solana/offchain-messages": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/subscribable": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/subscribable/-/subscribable-5.4.0.tgz", + "integrity": "sha512-72LmfNX7UENgA24sn/xjlWpPAOsrxkWb9DQhuPZxly/gq8rl/rvr7Xu9qBkvFF2po9XpdUrKlccqY4awvfpltA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/sysvars": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/sysvars/-/sysvars-5.4.0.tgz", + "integrity": "sha512-A5NES7sOlFmpnsiEts5vgyL3NXrt/tGGVSEjlEGvsgwl5EDZNv+xWnNA400uMDqd9O3a5PmH7p/6NsgR+kUzSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/accounts": "5.4.0", + "@solana/codecs": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/rpc-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/transaction-confirmation": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/transaction-confirmation/-/transaction-confirmation-5.4.0.tgz", + "integrity": "sha512-EdSDgxs84/4gkjQw2r7N+Kgus8x9U+NFo0ufVG+48V8Hzy2t0rlBuXgIxwx0zZwUuTIgaKhpIutJgVncwZ5koA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/promises": "5.4.0", + "@solana/rpc": "5.4.0", + "@solana/rpc-subscriptions": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/transaction-messages": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/transaction-messages/-/transaction-messages-5.4.0.tgz", + "integrity": "sha512-qd/3kZDaPiHM0amhn3vXnupfcsFTVz6CYuHXvq9HFv/fq32+5Kp1FMLnmHwoSxQxdTMDghPdOhC4vhNhuWmuVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-data-structures": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/instructions": "5.4.0", + "@solana/nominal-types": "5.4.0", + "@solana/rpc-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@solana/transactions": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/transactions/-/transactions-5.4.0.tgz", + "integrity": "sha512-OuY4M4x/xna8KZQIrz8tSrI9EEul9Od97XejqFmGGkEjbRsUOfJW8705TveTW8jU3bd5RGecFYscPgS2F+m7jQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-data-structures": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/instructions": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/nominal-types": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/transaction-messages": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/@types/react": { + "version": "19.2.8", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.8.tgz", + "integrity": "sha512-3MbSL37jEchWZz2p2mjntRZtPt837ij10ApxKfgmXCTuHWagYg7iA5bqPw6C8BMPfwidlvfPI/fxOc42HLhcyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "csstype": "^3.2.2" + } + }, + "packages/modal/node_modules/@vue/compiler-core": { + "version": "3.5.26", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.26.tgz", + "integrity": "sha512-vXyI5GMfuoBCnv5ucIT7jhHKl55Y477yxP6fc4eUswjP8FG3FFVFd41eNDArR+Uk3QKn2Z85NavjaxLxOC19/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.28.5", + "@vue/shared": "3.5.26", + "entities": "^7.0.0", + "estree-walker": "^2.0.2", + "source-map-js": "^1.2.1" + } + }, + "packages/modal/node_modules/@vue/compiler-dom": { + "version": "3.5.26", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.26.tgz", + "integrity": "sha512-y1Tcd3eXs834QjswshSilCBnKGeQjQXB6PqFn/1nxcQw4pmG42G8lwz+FZPAZAby6gZeHSt/8LMPfZ4Rb+Bd/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/compiler-core": "3.5.26", + "@vue/shared": "3.5.26" + } + }, + "packages/modal/node_modules/@vue/compiler-sfc": { + "version": "3.5.26", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.26.tgz", + "integrity": "sha512-egp69qDTSEZcf4bGOSsprUr4xI73wfrY5oRs6GSgXFTiHrWj4Y3X5Ydtip9QMqiCMCPVwLglB9GBxXtTadJ3mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.28.5", + "@vue/compiler-core": "3.5.26", + "@vue/compiler-dom": "3.5.26", + "@vue/compiler-ssr": "3.5.26", + "@vue/shared": "3.5.26", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.21", + "postcss": "^8.5.6", + "source-map-js": "^1.2.1" + } + }, + "packages/modal/node_modules/@vue/compiler-ssr": { + "version": "3.5.26", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.26.tgz", + "integrity": "sha512-lZT9/Y0nSIRUPVvapFJEVDbEXruZh2IYHMk2zTtEgJSlP5gVOqeWXH54xDKAaFS4rTnDeDBQUYDtxKyoW9FwDw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/compiler-dom": "3.5.26", + "@vue/shared": "3.5.26" + } + }, + "packages/modal/node_modules/@vue/reactivity": { + "version": "3.5.26", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.26.tgz", + "integrity": "sha512-9EnYB1/DIiUYYnzlnUBgwU32NNvLp/nhxLXeWRhHUEeWNTn1ECxX8aGO7RTXeX6PPcxe3LLuNBFoJbV4QZ+CFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/shared": "3.5.26" + } + }, + "packages/modal/node_modules/@vue/runtime-core": { + "version": "3.5.26", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.26.tgz", + "integrity": "sha512-xJWM9KH1kd201w5DvMDOwDHYhrdPTrAatn56oB/LRG4plEQeZRQLw0Bpwih9KYoqmzaxF0OKSn6swzYi84e1/Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/reactivity": "3.5.26", + "@vue/shared": "3.5.26" + } + }, + "packages/modal/node_modules/@vue/runtime-dom": { + "version": "3.5.26", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.26.tgz", + "integrity": "sha512-XLLd/+4sPC2ZkN/6+V4O4gjJu6kSDbHAChvsyWgm1oGbdSO3efvGYnm25yCjtFm/K7rrSDvSfPDgN1pHgS4VNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/reactivity": "3.5.26", + "@vue/runtime-core": "3.5.26", + "@vue/shared": "3.5.26", + "csstype": "^3.2.3" + } + }, + "packages/modal/node_modules/@vue/server-renderer": { + "version": "3.5.26", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.26.tgz", + "integrity": "sha512-TYKLXmrwWKSodyVuO1WAubucd+1XlLg4set0YoV+Hu8Lo79mp/YMwWV5mC5FgtsDxX3qo1ONrxFaTP1OQgy1uA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/compiler-ssr": "3.5.26", + "@vue/shared": "3.5.26" + }, + "peerDependencies": { + "vue": "3.5.26" + } + }, + "packages/modal/node_modules/@vue/shared": { + "version": "3.5.26", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.26.tgz", + "integrity": "sha512-7Z6/y3uFI5PRoKeorTOSXKcDj0MSasfNNltcslbFrPpcw6aXRUALq4IfJlaTRspiWIUOEZbrpM+iQGmCOiWe4A==", + "dev": true, + "license": "MIT" + }, + "packages/modal/node_modules/autoprefixer": { + "version": "10.4.23", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.23.tgz", + "integrity": "sha512-YYTXSFulfwytnjAPlw8QHncHJmlvFKtczb8InXaAx9Q0LbfDnfEYDE55omerIJKihhmU61Ft+cAOSzQVaBUmeA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "browserslist": "^4.28.1", + "caniuse-lite": "^1.0.30001760", + "fraction.js": "^5.3.4", + "picocolors": "^1.1.1", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "packages/modal/node_modules/baseline-browser-mapping": { + "version": "2.9.14", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.14.tgz", + "integrity": "sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.js" + } + }, + "packages/modal/node_modules/browserslist": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz", + "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.9.0", + "caniuse-lite": "^1.0.30001759", + "electron-to-chromium": "^1.5.263", + "node-releases": "^2.0.27", + "update-browserslist-db": "^1.2.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "packages/modal/node_modules/caniuse-lite": { + "version": "1.0.30001764", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001764.tgz", + "integrity": "sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "packages/modal/node_modules/electron-to-chromium": { + "version": "1.5.267", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz", + "integrity": "sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==", + "dev": true, + "license": "ISC" + }, + "packages/modal/node_modules/entities": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.0.tgz", + "integrity": "sha512-FDWG5cmEYf2Z00IkYRhbFrwIwvdFKH07uV8dvNy0omp/Qb1xcyCWp2UDtcwJF4QZZvk0sLudP6/hAu42TaqVhQ==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "packages/modal/node_modules/i18next": { + "version": "25.7.4", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-25.7.4.tgz", + "integrity": "sha512-hRkpEblXXcXSNbw8mBNq9042OEetgyB/ahc/X17uV/khPwzV+uB8RHceHh3qavyrkPJvmXFKXME2Sy1E0KjAfw==", + "funding": [ + { + "type": "individual", + "url": "https://locize.com" + }, + { + "type": "individual", + "url": "https://locize.com/i18next.html" + }, + { + "type": "individual", + "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" + } + ], + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.28.4" + }, + "peerDependencies": { + "typescript": "^5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/react": { + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.3.tgz", + "integrity": "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "packages/modal/node_modules/react-dom": { + "version": "19.2.3", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.3.tgz", "integrity": "sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg==", "dev": true, "license": "MIT", "dependencies": { - "scheduler": "^0.27.0" + "scheduler": "^0.27.0" + }, + "peerDependencies": { + "react": "^19.2.3" + } + }, + "packages/modal/node_modules/scheduler": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "dev": true, + "license": "MIT" + }, + "packages/modal/node_modules/undici-types": { + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.19.0.tgz", + "integrity": "sha512-Rjk2OWDZf2eiXVQjY2HyE3XPjqW/wXnSZq0QkOsPKZEnaetNNBObTp91LYfGdB8hRbRZk4HFcM/cONw452B0AQ==", + "dev": true, + "license": "MIT" + }, + "packages/modal/node_modules/update-browserslist-db": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", + "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "packages/modal/node_modules/vue": { + "version": "3.5.26", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.26.tgz", + "integrity": "sha512-SJ/NTccVyAoNUJmkM9KUqPcYlY+u8OVL1X5EW9RIs3ch5H2uERxyyIUI4MRxVCSOiEcupX9xNGde1tL9ZKpimA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/compiler-dom": "3.5.26", + "@vue/compiler-sfc": "3.5.26", + "@vue/runtime-dom": "3.5.26", + "@vue/server-renderer": "3.5.26", + "@vue/shared": "3.5.26" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/modal/node_modules/ws": { + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz", + "integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "packages/no-modal": { + "name": "@web3auth/no-modal", + "version": "10.14.1", + "license": "ISC", + "dependencies": { + "@ethereumjs/util": "^10.1.0", + "@metamask/sdk": "^0.34.0", + "@segment/analytics-next": "^1.81.1", + "@solana/kit": "^6.1.0", + "@solana/wallet-standard-features": "^1.3.0", + "@toruslabs/base-controllers": "^8.15.0", + "@toruslabs/constants": "^15.0.0", + "@toruslabs/eccrypto": "^6.2.0", + "@toruslabs/ethereum-controllers": "^8.15.0", + "@toruslabs/http-helpers": "^8.1.1", + "@toruslabs/loglevel-sentry": "^8.1.0", + "@toruslabs/secure-pub-sub": "3.0.2", + "@toruslabs/tweetnacl-js": "^1.0.4", + "@wallet-standard/app": "^1.1.0", + "@wallet-standard/base": "^1.1.0", + "@wallet-standard/features": "^1.1.0", + "@walletconnect/sign-client": "^2.23.3", + "@walletconnect/types": "^2.23.3", + "@walletconnect/utils": "^2.23.3", + "@web3auth/auth": "^10.8.0", + "@web3auth/ws-embed": "^5.5.0", + "assert": "^2.1.0", + "bignumber.js": "~9.3.1", + "bn.js": "^5.2.2", + "bowser": "^2.13.1", + "deepmerge": "^4.3.1", + "ethers": "^6.16.0", + "json-rpc-random-id": "^1.0.1", + "jsonschema": "^1.5.0", + "jwt-decode": "^4.0.0", + "loglevel": "^1.9.2", + "mipd": "^0.0.7", + "permissionless": "^0.3.4", + "ripple-keypairs": "^1.3.1", + "ts-custom-error": "^3.3.1", + "xrpl": "^2.14.0" + }, + "devDependencies": { + "@coinbase/wallet-sdk": "^4.3.7", + "@types/elliptic": "6.4.18", + "@types/json-rpc-random-id": "^1.0.3", + "@types/react": "^19.2.8", + "@wagmi/core": "^3.3.1", + "@wagmi/vue": "^0.4.14", + "react": "^19.2.3", + "viem": "^2.45.0", + "vue": "^3.x", + "wagmi": "^3.4.1" + }, + "engines": { + "node": ">=20.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@coinbase/wallet-sdk": "^4.3.x", + "react": ">=18", + "viem": ">=2.45", + "vue": "^3.x" + }, + "peerDependenciesMeta": { + "@coinbase/wallet-sdk": { + "optional": true + }, + "react": { + "optional": true + }, + "viem": { + "optional": true + }, + "vue": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@metamask/sdk": { + "version": "0.34.0", + "resolved": "https://registry.npmjs.org/@metamask/sdk/-/sdk-0.34.0.tgz", + "integrity": "sha512-8dkJUShZ5zFqYjNmhJaqKgDzZVne+F2rNjMQJ3pxs89n3oOUNuJ8dsTo08Grf9vlQ6Ldpdt2RTwqbrxKWyyqlw==", + "dependencies": { + "@babel/runtime": "^7.26.0", + "@metamask/onboarding": "^1.0.1", + "@metamask/providers": "16.1.0", + "@metamask/sdk-analytics": "0.0.5", + "@metamask/sdk-communication-layer": "0.33.1", + "@metamask/sdk-install-modal-web": "0.32.1", + "@paulmillr/qr": "^0.2.1", + "bowser": "^2.9.0", + "cross-fetch": "^4.0.0", + "debug": "4.3.4", + "eciesjs": "^0.4.11", + "eth-rpc-errors": "^4.0.3", + "eventemitter2": "^6.4.9", + "obj-multiplex": "^1.0.0", + "pump": "^3.0.0", + "readable-stream": "^3.6.2", + "socket.io-client": "^4.5.1", + "tslib": "^2.6.0", + "util": "^0.12.4", + "uuid": "^8.3.2" + } + }, + "packages/no-modal/node_modules/@metamask/sdk-communication-layer": { + "version": "0.33.1", + "resolved": "https://registry.npmjs.org/@metamask/sdk-communication-layer/-/sdk-communication-layer-0.33.1.tgz", + "integrity": "sha512-0bI9hkysxcfbZ/lk0T2+aKVo1j0ynQVTuB3sJ5ssPWlz+Z3VwveCkP1O7EVu1tsVVCb0YV5WxK9zmURu2FIiaA==", + "dependencies": { + "@metamask/sdk-analytics": "0.0.5", + "bufferutil": "^4.0.8", + "date-fns": "^2.29.3", + "debug": "4.3.4", + "utf-8-validate": "^5.0.2", + "uuid": "^8.3.2" + }, + "peerDependencies": { + "cross-fetch": "^4.0.0", + "eciesjs": "*", + "eventemitter2": "^6.4.9", + "readable-stream": "^3.6.2", + "socket.io-client": "^4.5.1" + } + }, + "packages/no-modal/node_modules/@solana/accounts": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/accounts/-/accounts-5.4.0.tgz", + "integrity": "sha512-qHtAtwCcCFTXcya6JOOG1nzYicivivN/JkcYNHr10qOp9b4MVRkfW1ZAAG1CNzjMe5+mwtEl60RwdsY9jXNb+Q==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/rpc-spec": "5.4.0", + "@solana/rpc-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/addresses": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/addresses/-/addresses-5.4.0.tgz", + "integrity": "sha512-YRHiH30S8qDV4bZ+mtEk589PGfBuXHzD/fK2Z+YI5f/+s+yi/5le/fVw7PN6LxnnmVQKiRCDUiNF+WmFFKi6QQ==", + "license": "MIT", + "dependencies": { + "@solana/assertions": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/nominal-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/assertions": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/assertions/-/assertions-5.4.0.tgz", + "integrity": "sha512-8EP7mkdnrPc9y67FqWeAPzdWq2qAOkxsuo+ZBIXNWtIixDtXIdHrgjZ/wqbWxLgSTtXEfBCjpZU55Xw2Qfbwyg==", + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/codecs": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/codecs/-/codecs-5.4.0.tgz", + "integrity": "sha512-IbDCUvNX0MrkQahxiXj9rHzkd/fYfp1F2nTJkHGH8v+vPfD+YPjl007ZBM38EnCeXj/Xn+hxqBBivPvIHP29dA==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "5.4.0", + "@solana/codecs-data-structures": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/options": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/codecs-core": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-5.4.0.tgz", + "integrity": "sha512-rQ5jXgiDe2vIU+mYCHDjgwMd9WdzZfh4sc5H6JgYleAUjeTUX6mx8hTV2+pcXvvn27LPrgrt9jfxswbDb8O8ww==", + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/codecs-data-structures": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-5.4.0.tgz", + "integrity": "sha512-LVssbdQ1GfY6upnxW3mufYsNfvTWKnHNk5Hx2gHuOYJhm3HZlp+Y8zvuoY65G1d1xAXkPz5YVGxaSeVIRWLGWg==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/codecs-numbers": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-5.4.0.tgz", + "integrity": "sha512-z6LMkY+kXWx1alrvIDSAxexY5QLhsso638CjM7XI1u6dB7drTLWKhifyjnm1vOQc1VPVFmbYxTgKKpds8TY8tg==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "5.4.0", + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/codecs-strings": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-5.4.0.tgz", + "integrity": "sha512-w0trrjfQDhkCVz7O1GTmHBk9m+MkljKx2uNBbQAD3/yW2Qn9dYiTrZ1/jDVq0/+lPPAUkbT3s3Yo7HUZ2QFmHw==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "fastestsmallesttextencoderdecoder": "^1.0.22", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/errors": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-5.4.0.tgz", + "integrity": "sha512-hNoAOmlZAszaVBrAy1Jf7amHJ8wnUnTU0BqhNQXknbSvirvsYr81yEud2iq18YiCqhyJ9SuQ5kWrSAT0x7S0oA==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "commander": "14.0.2" + }, + "bin": { + "errors": "bin/cli.mjs" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/fast-stable-stringify": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/fast-stable-stringify/-/fast-stable-stringify-5.4.0.tgz", + "integrity": "sha512-KB7PUL7yalPvbWCezzyUDVRDp39eHLPH7OJ6S8VFT8YNIFUANwwj5ctui50Fim76kvSYDdYJOclXV45O2gfQ8Q==", + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/functional": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/functional/-/functional-5.4.0.tgz", + "integrity": "sha512-32ghHO0bg6GgX/7++0/7Lps6RgeXD2gKF1okiuyEGuVfKENIapgaQdcGhUwb3q6D6fv6MRAVn/Yve4jopGVNMQ==", + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/instruction-plans": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/instruction-plans/-/instruction-plans-5.4.0.tgz", + "integrity": "sha512-5xbJ+I/pP2aWECmK75bEM1zCnIITlohAK83dVN+t5X2vBFrr6M9gifo8r4Opdnibsgo6QVVkKPxRo5zow5j0ig==", + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/instructions": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/promises": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "react": "^19.2.3" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/scheduler": { - "version": "0.27.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", - "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", - "dev": true, - "license": "MIT" + "packages/no-modal/node_modules/@solana/instructions": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/instructions/-/instructions-5.4.0.tgz", + "integrity": "sha512-//a7jpHbNoAgTqy3YyqG1X6QhItJLKzJa6zuYJGCwaAAJye7BxS9pxJBgb2mUt7CGidhUksf+U8pmLlxCNWYyg==", + "license": "MIT", + "dependencies": { + "@solana/codecs-core": "5.4.0", + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } }, - "packages/modal/node_modules/update-browserslist-db": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", - "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" + "packages/no-modal/node_modules/@solana/keys": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/keys/-/keys-5.4.0.tgz", + "integrity": "sha512-zQVbAwdoXorgXjlhlVTZaymFG6N8n1zn2NT+xI6S8HtbrKIB/42xPdXFh+zIihGzRw+9k8jzU7Axki/IPm6qWQ==", + "license": "MIT", + "dependencies": { + "@solana/assertions": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/nominal-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true } - ], + } + }, + "packages/no-modal/node_modules/@solana/kit": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/kit/-/kit-5.4.0.tgz", + "integrity": "sha512-aVjN26jOEzJA6UBYxSTQciZPXgTxWnO/WysHrw+yeBL/5AaTZnXEgb4j5xV6cUFzOlVxhJBrx51xtoxSqJ0u3g==", + "license": "MIT", + "dependencies": { + "@solana/accounts": "5.4.0", + "@solana/addresses": "5.4.0", + "@solana/codecs": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/instruction-plans": "5.4.0", + "@solana/instructions": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/offchain-messages": "5.4.0", + "@solana/plugin-core": "5.4.0", + "@solana/programs": "5.4.0", + "@solana/rpc": "5.4.0", + "@solana/rpc-api": "5.4.0", + "@solana/rpc-parsed-types": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "@solana/rpc-subscriptions": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/signers": "5.4.0", + "@solana/sysvars": "5.4.0", + "@solana/transaction-confirmation": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/nominal-types": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/nominal-types/-/nominal-types-5.4.0.tgz", + "integrity": "sha512-h4dTRQwTerzksE5B1WmObN6TvLo8dYUd7kpUUynGd8WJjK0zz3zkDhq0MkA3aF6A1C2C82BSGqSsN9EN0E6Exg==", + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/offchain-messages": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/offchain-messages/-/offchain-messages-5.4.0.tgz", + "integrity": "sha512-DjdlYJCcKfgh4dkdk+owH1bP+Q4BRqCs55mgWWp9PTwm/HHy/a5vcMtCi1GyIQXfhtNNvKBLbXrUE0Fxej8qlg==", "license": "MIT", "dependencies": { - "escalade": "^3.2.0", - "picocolors": "^1.1.1" + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-data-structures": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/nominal-types": "5.4.0" }, - "bin": { - "update-browserslist-db": "cli.js" + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "browserslist": ">= 4.21.0" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/modal/node_modules/vue": { - "version": "3.5.26", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.26.tgz", - "integrity": "sha512-SJ/NTccVyAoNUJmkM9KUqPcYlY+u8OVL1X5EW9RIs3ch5H2uERxyyIUI4MRxVCSOiEcupX9xNGde1tL9ZKpimA==", - "dev": true, + "packages/no-modal/node_modules/@solana/options": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/options/-/options-5.4.0.tgz", + "integrity": "sha512-h4vTWRChEXPhaHo9i1pCyQBWWs+NqYPQRXSAApqpUYvHb9Kct/C6KbHjfyaRMyqNQnDHLcJCX7oW9tk0iRDzIg==", "license": "MIT", - "peer": true, "dependencies": { - "@vue/compiler-dom": "3.5.26", - "@vue/compiler-sfc": "3.5.26", - "@vue/runtime-dom": "3.5.26", - "@vue/server-renderer": "3.5.26", - "@vue/shared": "3.5.26" + "@solana/codecs-core": "5.4.0", + "@solana/codecs-data-structures": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "typescript": "*" + "typescript": "^5.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -33188,132 +34080,510 @@ } } }, - "packages/no-modal": { - "name": "@web3auth/no-modal", - "version": "10.14.1", - "license": "ISC", + "packages/no-modal/node_modules/@solana/programs": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/programs/-/programs-5.4.0.tgz", + "integrity": "sha512-Sc90WK9ZZ7MghOflIvkrIm08JwsFC99yqSJy28/K+hDP2tcx+1x+H6OFP9cumW9eUA1+JVRDeKAhA8ak7e/kUA==", + "license": "MIT", "dependencies": { - "@ethereumjs/util": "^10.1.0", - "@metamask/sdk": "^0.34.0", - "@segment/analytics-next": "^1.81.1", - "@solana/wallet-standard-features": "^1.3.0", - "@solana/web3.js": "^1.98.4", - "@toruslabs/base-controllers": "^8.15.0", - "@toruslabs/bs58": "^1.0.0", - "@toruslabs/constants": "^15.0.0", - "@toruslabs/eccrypto": "^6.2.0", - "@toruslabs/ethereum-controllers": "^8.15.0", - "@toruslabs/http-helpers": "^8.1.1", - "@toruslabs/loglevel-sentry": "^8.1.0", - "@toruslabs/secure-pub-sub": "3.0.2", - "@toruslabs/tweetnacl-js": "^1.0.4", - "@wallet-standard/app": "^1.1.0", - "@wallet-standard/base": "^1.1.0", - "@wallet-standard/features": "^1.1.0", - "@walletconnect/sign-client": "^2.23.3", - "@walletconnect/types": "^2.23.3", - "@walletconnect/utils": "^2.23.3", - "@web3auth/auth": "^10.8.0", - "@web3auth/ws-embed": "^5.5.0", - "assert": "^2.1.0", - "bignumber.js": "~9.3.1", - "bn.js": "^5.2.2", - "bowser": "^2.13.1", - "deepmerge": "^4.3.1", - "ethers": "^6.16.0", - "json-rpc-random-id": "^1.0.1", - "jsonschema": "^1.5.0", - "jwt-decode": "^4.0.0", - "loglevel": "^1.9.2", - "mipd": "^0.0.7", - "permissionless": "^0.3.4", - "ripple-keypairs": "^1.3.1", - "ts-custom-error": "^3.3.1", - "xrpl": "^2.14.0" + "@solana/addresses": "5.4.0", + "@solana/errors": "5.4.0" }, - "devDependencies": { - "@coinbase/wallet-sdk": "^4.3.7", - "@types/elliptic": "6.4.18", - "@types/json-rpc-random-id": "^1.0.3", - "@types/react": "^19.2.8", - "@wagmi/core": "^3.3.1", - "@wagmi/vue": "^0.4.14", - "react": "^19.2.3", - "viem": "^2.45.0", - "vue": "^3.x", - "wagmi": "^3.4.1" + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/promises": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/promises/-/promises-5.4.0.tgz", + "integrity": "sha512-23mfgNBbuP6Q+4vsixGy+GkyZ7wBLrxTBNXqrG/XWrJhjuuSkjEUGaK4Fx5o7LIrBi6KGqPknKxmTlvqnJhy2Q==", + "license": "MIT", "engines": { - "node": ">=20.x", - "npm": ">=9.x" + "node": ">=20.18.0" }, "peerDependencies": { - "@babel/runtime": "^7.x", - "@coinbase/wallet-sdk": "^4.3.x", - "react": ">=18", - "viem": ">=2.45", - "vue": "^3.x" + "typescript": "^5.0.0" }, "peerDependenciesMeta": { - "@coinbase/wallet-sdk": { + "typescript": { "optional": true - }, - "react": { + } + } + }, + "packages/no-modal/node_modules/@solana/rpc": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc/-/rpc-5.4.0.tgz", + "integrity": "sha512-S6GRG+usnubDs0JSpgc0ZWEh9IPL5KPWMuBoD8ggGVOIVWntp53FpvhYslNzbxWBXlTvJecr2todBipGVM/AqQ==", + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/fast-stable-stringify": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/rpc-api": "5.4.0", + "@solana/rpc-spec": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "@solana/rpc-transformers": "5.4.0", + "@solana/rpc-transport-http": "5.4.0", + "@solana/rpc-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { "optional": true - }, - "viem": { + } + } + }, + "packages/no-modal/node_modules/@solana/rpc-api": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-api/-/rpc-api-5.4.0.tgz", + "integrity": "sha512-FJL6KaAsQ4DhfhLKKMcqbTpToNFwHlABCemIpOunE3OSqJFDrmc/NbsEaLIoeHyIg3d1Imo49GIUOn2TEouFUA==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/rpc-parsed-types": "5.4.0", + "@solana/rpc-spec": "5.4.0", + "@solana/rpc-transformers": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/rpc-parsed-types": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-parsed-types/-/rpc-parsed-types-5.4.0.tgz", + "integrity": "sha512-IRQuSzx+Sj1A3XGiIzguNZlMjMMybXTTjV/RnTwBgnJQPd/H4us4pfPD94r+/yolWDVfGjJRm04hnKVMjJU8Rg==", + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/rpc-spec": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-spec/-/rpc-spec-5.4.0.tgz", + "integrity": "sha512-XMhxBb1GuZ3Kaeu5WNHB5KteCQ/aVuMByZmUKPqaanD+gs5MQZr0g62CvN7iwRlFU7GC18Q73ROWR3/JjzbXTA==", + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/rpc-spec-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/rpc-spec-types": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-spec-types/-/rpc-spec-types-5.4.0.tgz", + "integrity": "sha512-JU9hC5/iyJx30ym17gpoXDtT9rCbO6hLpB6UDhSFFoNeirxtTVb4OdnKtsjJDfXAiXsynJRsZRwfj3vGxRLgQw==", + "license": "MIT", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/rpc-subscriptions": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions/-/rpc-subscriptions-5.4.0.tgz", + "integrity": "sha512-051t1CEjjAzM9ohjj2zb3ED70yeS3ZY8J5wSytL6tthTGImw/JB2a0D9DWMOKriFKt496n95IC+IdpJ35CpBWA==", + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/fast-stable-stringify": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/promises": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "@solana/rpc-subscriptions-api": "5.4.0", + "@solana/rpc-subscriptions-channel-websocket": "5.4.0", + "@solana/rpc-subscriptions-spec": "5.4.0", + "@solana/rpc-transformers": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/subscribable": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/rpc-subscriptions-api": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions-api/-/rpc-subscriptions-api-5.4.0.tgz", + "integrity": "sha512-euAFIG6ruEsqK+MsrL1tGSMbbOumm8UAyGzlD/kmXsAqqhcVsSeZdv5+BMIHIBsQ93GHcloA8UYw1BTPhpgl9w==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/rpc-subscriptions-spec": "5.4.0", + "@solana/rpc-transformers": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/rpc-subscriptions-channel-websocket": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions-channel-websocket/-/rpc-subscriptions-channel-websocket-5.4.0.tgz", + "integrity": "sha512-kWCmlW65MccxqXwKsIz+LkXUYQizgvBrrgYOkyclJHPa+zx4gqJjam87+wzvO9cfbDZRer3wtJBaRm61gTHNbw==", + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/rpc-subscriptions-spec": "5.4.0", + "@solana/subscribable": "5.4.0", + "ws": "^8.19.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/rpc-subscriptions-channel-websocket/node_modules/ws": { + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz", + "integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { "optional": true }, - "vue": { + "utf-8-validate": { "optional": true } } }, - "packages/no-modal/node_modules/@metamask/sdk": { - "version": "0.34.0", - "resolved": "https://registry.npmjs.org/@metamask/sdk/-/sdk-0.34.0.tgz", - "integrity": "sha512-8dkJUShZ5zFqYjNmhJaqKgDzZVne+F2rNjMQJ3pxs89n3oOUNuJ8dsTo08Grf9vlQ6Ldpdt2RTwqbrxKWyyqlw==", + "packages/no-modal/node_modules/@solana/rpc-subscriptions-spec": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions-spec/-/rpc-subscriptions-spec-5.4.0.tgz", + "integrity": "sha512-ELaV9Z39GtKyUO0++he00ymWleb07QXYJhSfA0e1N5Q9hXu/Y366kgXHDcbZ/oUJkT3ylNgTupkrsdtiy8Ryow==", + "license": "MIT", "dependencies": { - "@babel/runtime": "^7.26.0", - "@metamask/onboarding": "^1.0.1", - "@metamask/providers": "16.1.0", - "@metamask/sdk-analytics": "0.0.5", - "@metamask/sdk-communication-layer": "0.33.1", - "@metamask/sdk-install-modal-web": "0.32.1", - "@paulmillr/qr": "^0.2.1", - "bowser": "^2.9.0", - "cross-fetch": "^4.0.0", - "debug": "4.3.4", - "eciesjs": "^0.4.11", - "eth-rpc-errors": "^4.0.3", - "eventemitter2": "^6.4.9", - "obj-multiplex": "^1.0.0", - "pump": "^3.0.0", - "readable-stream": "^3.6.2", - "socket.io-client": "^4.5.1", - "tslib": "^2.6.0", - "util": "^0.12.4", - "uuid": "^8.3.2" + "@solana/errors": "5.4.0", + "@solana/promises": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "@solana/subscribable": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "packages/no-modal/node_modules/@metamask/sdk-communication-layer": { - "version": "0.33.1", - "resolved": "https://registry.npmjs.org/@metamask/sdk-communication-layer/-/sdk-communication-layer-0.33.1.tgz", - "integrity": "sha512-0bI9hkysxcfbZ/lk0T2+aKVo1j0ynQVTuB3sJ5ssPWlz+Z3VwveCkP1O7EVu1tsVVCb0YV5WxK9zmURu2FIiaA==", + "packages/no-modal/node_modules/@solana/rpc-transformers": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-transformers/-/rpc-transformers-5.4.0.tgz", + "integrity": "sha512-dZ8keYloLW+eRAwAPb471uWCFs58yHloLoI+QH0FulYpsSJ7F2BNWYcdnjSS/WiggsNcU6DhpWzYAzlEY66lGQ==", + "license": "MIT", "dependencies": { - "@metamask/sdk-analytics": "0.0.5", - "bufferutil": "^4.0.8", - "date-fns": "^2.29.3", - "debug": "4.3.4", - "utf-8-validate": "^5.0.2", - "uuid": "^8.3.2" + "@solana/errors": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/nominal-types": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "@solana/rpc-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" }, "peerDependencies": { - "cross-fetch": "^4.0.0", - "eciesjs": "*", - "eventemitter2": "^6.4.9", - "readable-stream": "^3.6.2", - "socket.io-client": "^4.5.1" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/rpc-transport-http": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-transport-http/-/rpc-transport-http-5.4.0.tgz", + "integrity": "sha512-vidA+Qtqrnqp3QSVumWHdWJ/986yCr5+qX3fbc9KPm9Ofoto88OMWB/oLJvi2Tfges1UBu/jl+lJdsVckCM1bA==", + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0", + "@solana/rpc-spec": "5.4.0", + "@solana/rpc-spec-types": "5.4.0", + "undici-types": "^7.18.2" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/rpc-types": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/rpc-types/-/rpc-types-5.4.0.tgz", + "integrity": "sha512-+C4N4/5AYzBdt3Y2yzkScknScy/jTx6wfvuJIY9XjOXtdDyZ8TmrnMwdPMTZPGLdLuHplJwlwy1acu/4hqmrBQ==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/nominal-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/signers": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/signers/-/signers-5.4.0.tgz", + "integrity": "sha512-s+fZxpi6UPr6XNk2pH/R84WjNRoSktrgG8AGNfsj/V8MJ++eKX7hhIf4JsHZtnnQXXrHmS3ozB2oHlc8yEJvCQ==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/instructions": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/nominal-types": "5.4.0", + "@solana/offchain-messages": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/subscribable": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/subscribable/-/subscribable-5.4.0.tgz", + "integrity": "sha512-72LmfNX7UENgA24sn/xjlWpPAOsrxkWb9DQhuPZxly/gq8rl/rvr7Xu9qBkvFF2po9XpdUrKlccqY4awvfpltA==", + "license": "MIT", + "dependencies": { + "@solana/errors": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/sysvars": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/sysvars/-/sysvars-5.4.0.tgz", + "integrity": "sha512-A5NES7sOlFmpnsiEts5vgyL3NXrt/tGGVSEjlEGvsgwl5EDZNv+xWnNA400uMDqd9O3a5PmH7p/6NsgR+kUzSg==", + "license": "MIT", + "dependencies": { + "@solana/accounts": "5.4.0", + "@solana/codecs": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/rpc-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/transaction-confirmation": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/transaction-confirmation/-/transaction-confirmation-5.4.0.tgz", + "integrity": "sha512-EdSDgxs84/4gkjQw2r7N+Kgus8x9U+NFo0ufVG+48V8Hzy2t0rlBuXgIxwx0zZwUuTIgaKhpIutJgVncwZ5koA==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/promises": "5.4.0", + "@solana/rpc": "5.4.0", + "@solana/rpc-subscriptions": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/transaction-messages": "5.4.0", + "@solana/transactions": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/transaction-messages": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/transaction-messages/-/transaction-messages-5.4.0.tgz", + "integrity": "sha512-qd/3kZDaPiHM0amhn3vXnupfcsFTVz6CYuHXvq9HFv/fq32+5Kp1FMLnmHwoSxQxdTMDghPdOhC4vhNhuWmuVQ==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-data-structures": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/instructions": "5.4.0", + "@solana/nominal-types": "5.4.0", + "@solana/rpc-types": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/no-modal/node_modules/@solana/transactions": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/transactions/-/transactions-5.4.0.tgz", + "integrity": "sha512-OuY4M4x/xna8KZQIrz8tSrI9EEul9Od97XejqFmGGkEjbRsUOfJW8705TveTW8jU3bd5RGecFYscPgS2F+m7jQ==", + "license": "MIT", + "dependencies": { + "@solana/addresses": "5.4.0", + "@solana/codecs-core": "5.4.0", + "@solana/codecs-data-structures": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/codecs-strings": "5.4.0", + "@solana/errors": "5.4.0", + "@solana/functional": "5.4.0", + "@solana/instructions": "5.4.0", + "@solana/keys": "5.4.0", + "@solana/nominal-types": "5.4.0", + "@solana/rpc-types": "5.4.0", + "@solana/transaction-messages": "5.4.0" + }, + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "packages/no-modal/node_modules/@types/react": { @@ -33364,7 +34634,6 @@ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "license": "MIT", - "peer": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -33383,6 +34652,12 @@ "safe-buffer": "~5.2.0" } }, + "packages/no-modal/node_modules/undici-types": { + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.19.0.tgz", + "integrity": "sha512-Rjk2OWDZf2eiXVQjY2HyE3XPjqW/wXnSZq0QkOsPKZEnaetNNBObTp91LYfGdB8hRbRZk4HFcM/cONw452B0AQ==", + "license": "MIT" + }, "packages/no-modal/node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", diff --git a/packages/modal/package.json b/packages/modal/package.json index 7e9619e1c..ce3a764c7 100644 --- a/packages/modal/package.json +++ b/packages/modal/package.json @@ -45,7 +45,7 @@ "peerDependencies": { "@babel/runtime": "^7.x", "@coinbase/wallet-sdk": "^4.3.x", - "@solana/web3.js": ">=1.98", + "@solana/kit": ">=6.1.0", "react": ">=18", "react-dom": ">=18", "viem": ">=2.45", @@ -58,7 +58,7 @@ "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-replace": "^6.0.3", "@rollup/plugin-url": "^8.0.2", - "@solana/web3.js": "^1.98.4", + "@solana/kit": "^6.1.0", "@svgr/rollup": "^8.1.0", "@svgr/webpack": "^8.1.0", "@toruslabs/eslint-config-react": "^4.1.4", diff --git a/packages/modal/src/react/solana/hooks/useSignAndSendTransaction.ts b/packages/modal/src/react/solana/hooks/useSignAndSendTransaction.ts index 292464401..0e0c3d4c9 100644 --- a/packages/modal/src/react/solana/hooks/useSignAndSendTransaction.ts +++ b/packages/modal/src/react/solana/hooks/useSignAndSendTransaction.ts @@ -1,4 +1,5 @@ -import { TransactionOrVersionedTransaction, WalletInitializationError, Web3AuthError } from "@web3auth/no-modal"; +import type { Transaction } from "@solana/kit"; +import { WalletInitializationError, Web3AuthError } from "@web3auth/no-modal"; import { useCallback, useState } from "react"; import { useSolanaWallet } from "./useSolanaWallet"; @@ -7,7 +8,12 @@ export type IUseSignAndSendTransaction = { loading: boolean; error: Web3AuthError | null; data: string | null; - signAndSendTransaction: (transaction: TransactionOrVersionedTransaction) => Promise; + /** + * Signs and sends a transaction to the network + * @param transaction - Compiled transaction from \@solana/kit + * @returns The signature of the transaction encoded in base58 + */ + signAndSendTransaction: (transaction: Transaction) => Promise; }; export const useSignAndSendTransaction = (): IUseSignAndSendTransaction => { @@ -17,7 +23,7 @@ export const useSignAndSendTransaction = (): IUseSignAndSendTransaction => { const [data, setData] = useState(null); const signAndSendTransaction = useCallback( - async (transaction: TransactionOrVersionedTransaction) => { + async (transaction: Transaction) => { setLoading(true); setError(null); try { @@ -25,8 +31,8 @@ export const useSignAndSendTransaction = (): IUseSignAndSendTransaction => { const signature = await solanaWallet.signAndSendTransaction(transaction); setData(signature); return signature; - } catch (error) { - setError(error as Web3AuthError); + } catch (err) { + setError(err as Web3AuthError); } finally { setLoading(false); } diff --git a/packages/modal/src/react/solana/hooks/useSignTransaction.ts b/packages/modal/src/react/solana/hooks/useSignTransaction.ts index c39144bef..8906133de 100644 --- a/packages/modal/src/react/solana/hooks/useSignTransaction.ts +++ b/packages/modal/src/react/solana/hooks/useSignTransaction.ts @@ -1,4 +1,5 @@ -import { type TransactionOrVersionedTransaction, WalletInitializationError, Web3AuthError } from "@web3auth/no-modal"; +import type { Transaction } from "@solana/kit"; +import { WalletInitializationError, Web3AuthError } from "@web3auth/no-modal"; import { useCallback, useState } from "react"; import { useSolanaWallet } from "./useSolanaWallet"; @@ -7,7 +8,12 @@ export type IUseSignTransaction = { loading: boolean; error: Web3AuthError | null; data: string | null; - signTransaction: (transaction: TransactionOrVersionedTransaction) => Promise; + /** + * Signs a transaction and returns the signature + * @param transaction - Compiled transaction from \@solana/kit + * @returns The signature of the transaction encoded in base58 + */ + signTransaction: (transaction: Transaction) => Promise; }; export const useSignTransaction = () => { @@ -17,7 +23,7 @@ export const useSignTransaction = () => { const [data, setData] = useState(null); const signTransaction = useCallback( - async (transaction: TransactionOrVersionedTransaction) => { + async (transaction: Transaction) => { setLoading(true); setError(null); try { @@ -25,8 +31,8 @@ export const useSignTransaction = () => { const signedTransaction = await solanaWallet.signTransaction(transaction); setData(signedTransaction); return signedTransaction; - } catch (error) { - setError(error as Web3AuthError); + } catch (err) { + setError(err as Web3AuthError); } finally { setLoading(false); } diff --git a/packages/modal/src/react/solana/hooks/useSolanaWallet.ts b/packages/modal/src/react/solana/hooks/useSolanaWallet.ts index f13150772..7e459ef34 100644 --- a/packages/modal/src/react/solana/hooks/useSolanaWallet.ts +++ b/packages/modal/src/react/solana/hooks/useSolanaWallet.ts @@ -1,4 +1,4 @@ -import { Connection } from "@solana/web3.js"; +import { createSolanaRpc, type Rpc, type SolanaRpcApi } from "@solana/kit"; import { CHAIN_NAMESPACES, SolanaWallet } from "@web3auth/no-modal"; import { useEffect, useMemo, useState } from "react"; @@ -8,7 +8,15 @@ import { useWeb3Auth } from "../../hooks/useWeb3Auth"; export type IUseSolanaWallet = { accounts: string[] | null; solanaWallet: SolanaWallet | null; - connection: Connection | null; + /** + * Solana RPC client for making RPC calls. + * @example + * ```typescript + * const { value: balance } = await rpc.getBalance(address("...")).send(); + * const { value: latestBlockhash } = await rpc.getLatestBlockhash().send(); + * ``` + */ + rpc: Rpc | null; }; export const useSolanaWallet = (): IUseSolanaWallet => { @@ -22,9 +30,9 @@ export const useSolanaWallet = (): IUseSolanaWallet => { return new SolanaWallet(provider); }, [provider, chainNamespace]); - const connection = useMemo(() => { + const rpc = useMemo(() => { if (!web3Auth || !provider || chainNamespace !== CHAIN_NAMESPACES.SOLANA) return null; - return new Connection(web3Auth.currentChain.rpcTarget); + return createSolanaRpc(web3Auth.currentChain.rpcTarget); }, [web3Auth, provider, chainNamespace]); useEffect(() => { @@ -34,14 +42,14 @@ export const useSolanaWallet = (): IUseSolanaWallet => { return; } if (!solanaWallet) return; - const accounts = await solanaWallet.getAccounts(); - if (accounts?.length > 0) { - setAccounts(accounts); + const accts = await solanaWallet.getAccounts(); + if (accts?.length > 0) { + setAccounts(accts); } }; if (solanaWallet) init(); }, [solanaWallet, chainNamespace]); - return { solanaWallet, accounts, connection }; + return { solanaWallet, accounts, rpc }; }; diff --git a/packages/modal/src/vue/solana/composables/useSignAndSendTransaction.ts b/packages/modal/src/vue/solana/composables/useSignAndSendTransaction.ts index 282191338..bbea52a01 100644 --- a/packages/modal/src/vue/solana/composables/useSignAndSendTransaction.ts +++ b/packages/modal/src/vue/solana/composables/useSignAndSendTransaction.ts @@ -1,4 +1,5 @@ -import { log, TransactionOrVersionedTransaction, WalletInitializationError, Web3AuthError } from "@web3auth/no-modal"; +import type { Transaction } from "@solana/kit"; +import { log, WalletInitializationError, Web3AuthError } from "@web3auth/no-modal"; import { Ref, ref } from "vue"; import { useSolanaWallet } from "./useSolanaWallet"; @@ -7,7 +8,12 @@ export type IUseSignAndSendTransaction = { loading: Ref; error: Ref; data: Ref; - signAndSendTransaction: (transaction: TransactionOrVersionedTransaction) => Promise; + /** + * Signs and sends a transaction to the network + * @param transaction - Compiled transaction from \@solana/kit + * @returns The signature of the transaction encoded in base58 + */ + signAndSendTransaction: (transaction: Transaction) => Promise; }; export const useSignAndSendTransaction = (): IUseSignAndSendTransaction => { @@ -16,7 +22,7 @@ export const useSignAndSendTransaction = (): IUseSignAndSendTransaction => { const error = ref(null); const data = ref(null); - const signAndSendTransaction = async (transaction: TransactionOrVersionedTransaction) => { + const signAndSendTransaction = async (transaction: Transaction) => { loading.value = true; error.value = null; try { diff --git a/packages/modal/src/vue/solana/composables/useSignTransaction.ts b/packages/modal/src/vue/solana/composables/useSignTransaction.ts index aa4936927..5832b6473 100644 --- a/packages/modal/src/vue/solana/composables/useSignTransaction.ts +++ b/packages/modal/src/vue/solana/composables/useSignTransaction.ts @@ -1,4 +1,5 @@ -import { log, TransactionOrVersionedTransaction, WalletInitializationError, Web3AuthError } from "@web3auth/no-modal"; +import type { Transaction } from "@solana/kit"; +import { log, WalletInitializationError, Web3AuthError } from "@web3auth/no-modal"; import { Ref, ref } from "vue"; import { useSolanaWallet } from "./useSolanaWallet"; @@ -7,7 +8,12 @@ export type IUseSignTransaction = { loading: Ref; error: Ref; data: Ref; - signTransaction: (transaction: TransactionOrVersionedTransaction) => Promise; + /** + * Signs a transaction and returns the signature + * @param transaction - Compiled transaction from \@solana/kit + * @returns The signature of the transaction encoded in base58 + */ + signTransaction: (transaction: Transaction) => Promise; }; export const useSignTransaction = (): IUseSignTransaction => { @@ -16,7 +22,7 @@ export const useSignTransaction = (): IUseSignTransaction => { const error = ref(null); const data = ref(null); - const signTransaction = async (transaction: TransactionOrVersionedTransaction) => { + const signTransaction = async (transaction: Transaction) => { loading.value = true; error.value = null; try { diff --git a/packages/modal/src/vue/solana/composables/useSolanaWallet.ts b/packages/modal/src/vue/solana/composables/useSolanaWallet.ts index b894a6f08..4913a28fd 100644 --- a/packages/modal/src/vue/solana/composables/useSolanaWallet.ts +++ b/packages/modal/src/vue/solana/composables/useSolanaWallet.ts @@ -1,4 +1,4 @@ -import { Connection } from "@solana/web3.js"; +import { createSolanaRpc, type Rpc, type SolanaRpcApi } from "@solana/kit"; import { CHAIN_NAMESPACES, SolanaWallet } from "@web3auth/no-modal"; import { computed, Ref, ref, ShallowRef, shallowRef, watch } from "vue"; @@ -7,15 +7,23 @@ import { useChain, useWeb3Auth } from "../../composables"; export type IUseSolanaWallet = { accounts: Ref; solanaWallet: ShallowRef; - connection: ShallowRef; + /** + * Solana RPC client for making RPC calls. + * @example + * ```typescript + * const { value: balance } = await rpc.value.getBalance(address("...")).send(); + * const { value: latestBlockhash } = await rpc.value.getLatestBlockhash().send(); + * ``` + */ + rpc: ShallowRef | null>; }; export const useSolanaWallet = (): IUseSolanaWallet => { const { provider, web3Auth } = useWeb3Auth(); const { chainNamespace } = useChain(); - const accounts = ref([]); + const accounts = ref(null); const solanaWallet = shallowRef(null); - const connection = shallowRef(null); + const rpc = shallowRef | null>(null); const isSolana = computed(() => chainNamespace.value === CHAIN_NAMESPACES.SOLANA); @@ -32,14 +40,14 @@ export const useSolanaWallet = (): IUseSolanaWallet => { accounts.value = result; } if (web3Auth.value?.currentChain?.rpcTarget) { - connection.value = new Connection(web3Auth.value.currentChain.rpcTarget); + rpc.value = createSolanaRpc(web3Auth.value.currentChain.rpcTarget); } }; const resetWallet = () => { solanaWallet.value = null; accounts.value = null; - connection.value = null; + rpc.value = null; }; if (provider.value && !solanaWallet.value) { @@ -63,5 +71,5 @@ export const useSolanaWallet = (): IUseSolanaWallet => { { immediate: true } ); - return { solanaWallet, accounts, connection }; + return { solanaWallet, accounts, rpc }; }; diff --git a/packages/no-modal/package.json b/packages/no-modal/package.json index 76c98c902..dedb4ab4d 100644 --- a/packages/no-modal/package.json +++ b/packages/no-modal/package.json @@ -56,10 +56,9 @@ "@ethereumjs/util": "^10.1.0", "@metamask/sdk": "^0.34.0", "@segment/analytics-next": "^1.81.1", + "@solana/kit": "^6.1.0", "@solana/wallet-standard-features": "^1.3.0", - "@solana/web3.js": "^1.98.4", "@toruslabs/base-controllers": "^8.15.0", - "@toruslabs/bs58": "^1.0.0", "@toruslabs/constants": "^15.0.0", "@toruslabs/eccrypto": "^6.2.0", "@toruslabs/ethereum-controllers": "^8.15.0", diff --git a/packages/no-modal/src/connectors/wallet-connect-v2-connector/walletConnectV2Utils.ts b/packages/no-modal/src/connectors/wallet-connect-v2-connector/walletConnectV2Utils.ts index 8b0771510..f1acb856c 100644 --- a/packages/no-modal/src/connectors/wallet-connect-v2-connector/walletConnectV2Utils.ts +++ b/packages/no-modal/src/connectors/wallet-connect-v2-connector/walletConnectV2Utils.ts @@ -1,4 +1,4 @@ -import { bs58 as base58 } from "@toruslabs/bs58"; +import { getBase58Decoder } from "@solana/kit"; import type { ISignClient, SessionTypes } from "@walletconnect/types"; import { getAccountsFromNamespaces, parseAccountId } from "@walletconnect/utils"; import { type JRPCRequest, providerErrors, rpcErrors } from "@web3auth/auth"; @@ -9,6 +9,9 @@ import type { IEthProviderHandlers, MessageParams, TransactionParams, TypedMessa import type { ISolanaProviderHandlers } from "../../providers/solana-provider"; import { formatChainId } from "./utils"; +// Base58 decoder: bytes → base58 string +const base58Decoder = getBase58Decoder(); + async function getLastActiveSession(signClient: ISignClient): Promise { if (signClient.session.length) { const lastKeyIndex = signClient.session.keys.length - 1; @@ -139,11 +142,14 @@ export function getSolProviderHandlers({ connector, chainId }: { connector: ISig throw rpcErrors.methodNotSupported(); }, signMessage: async (req: JRPCRequest<{ data: string }>): Promise => { + // Encode message to bytes, then to base58 string for WalletConnect + const messageBytes = new TextEncoder().encode(req.params.data); + const base58Message = base58Decoder.decode(messageBytes); const methodRes = await sendJrpcRequest<{ signature: string }, { message: string }>( connector, `solana:${SOLANA_CAIP_CHAIN_MAP[chainId]}`, SOLANA_METHOD_TYPES.SIGN_MESSAGE, - { message: base58.encode(Buffer.from(req.params.data, "utf-8")) } + { message: base58Message } ); return methodRes.signature; }, diff --git a/packages/no-modal/src/providers/solana-provider/interface.ts b/packages/no-modal/src/providers/solana-provider/interface.ts index 46830c53a..ce71292ba 100644 --- a/packages/no-modal/src/providers/solana-provider/interface.ts +++ b/packages/no-modal/src/providers/solana-provider/interface.ts @@ -1,21 +1,19 @@ -import type { Transaction, VersionedTransaction } from "@solana/web3.js"; +import type { Transaction } from "@solana/kit"; import { RequestArguments } from "../../base"; -export type TransactionOrVersionedTransaction = Transaction | VersionedTransaction; - export interface ISolanaWallet { publicKey?: { toBytes(): Uint8Array }; - signAndSendTransaction(transaction: T): Promise; - signTransaction?(transaction: T): Promise; - signAllTransactions?(transactions: T[]): Promise; + signAndSendTransaction(transaction: Transaction): Promise; + signTransaction?(transaction: Transaction): Promise; + signAllTransactions?(transactions: Transaction[]): Promise; signMessage(message: string, pubKey: string): Promise; request(args: RequestArguments): Promise; } export interface IBaseWalletProvider { publicKey?: { toBytes(): Uint8Array }; - signMessage?(message: string, pubKey: string, display?: "hex" | "utf8"): Promise; // TODO: check display + signMessage?(message: string, pubKey: string, display?: "hex" | "utf8"): Promise; signTransaction?(transaction: string): Promise; signAllTransactions?(transactions: string[]): Promise; signAndSendTransaction?(transaction: string): Promise; diff --git a/packages/no-modal/src/providers/solana-provider/providers/injectedProviders/base/providerHandlers.ts b/packages/no-modal/src/providers/solana-provider/providers/injectedProviders/base/providerHandlers.ts index b959717c7..5fb14910e 100644 --- a/packages/no-modal/src/providers/solana-provider/providers/injectedProviders/base/providerHandlers.ts +++ b/packages/no-modal/src/providers/solana-provider/providers/injectedProviders/base/providerHandlers.ts @@ -1,18 +1,21 @@ -import { bs58 } from "@toruslabs/bs58"; +import { getBase58Decoder } from "@solana/kit"; import { JRPCRequest, rpcErrors } from "@web3auth/auth"; import { IBaseWalletProvider } from "../../../interface"; import { ISolanaProviderHandlers } from "../../../rpc"; +// Base58 decoder: bytes → base58 string +const base58Decoder = getBase58Decoder(); + export const getBaseProviderHandlers = (injectedProvider: IBaseWalletProvider): ISolanaProviderHandlers => { const providerHandlers: ISolanaProviderHandlers = { requestAccounts: async () => { - return injectedProvider.publicKey ? [bs58.encode(injectedProvider.publicKey.toBytes())] : []; + return injectedProvider.publicKey ? [base58Decoder.decode(injectedProvider.publicKey.toBytes())] : []; }, getPublicKey: async () => { - return injectedProvider.publicKey ? bs58.encode(injectedProvider.publicKey.toBytes()) : ""; + return injectedProvider.publicKey ? base58Decoder.decode(injectedProvider.publicKey.toBytes()) : ""; }, - getAccounts: async () => (injectedProvider.publicKey ? [bs58.encode(injectedProvider.publicKey.toBytes())] : []), + getAccounts: async () => (injectedProvider.publicKey ? [base58Decoder.decode(injectedProvider.publicKey.toBytes())] : []), getPrivateKey: async () => { throw rpcErrors.methodNotSupported(); }, diff --git a/packages/no-modal/src/providers/solana-provider/providers/injectedProviders/walletStandardProvider.ts b/packages/no-modal/src/providers/solana-provider/providers/injectedProviders/walletStandardProvider.ts index 29e3624a4..1b6ed0d57 100644 --- a/packages/no-modal/src/providers/solana-provider/providers/injectedProviders/walletStandardProvider.ts +++ b/packages/no-modal/src/providers/solana-provider/providers/injectedProviders/walletStandardProvider.ts @@ -1,3 +1,4 @@ +import { getBase58Decoder, getBase64Decoder, getBase64Encoder, getTransactionDecoder } from "@solana/kit"; import { SolanaSignAndSendTransaction, type SolanaSignAndSendTransactionFeature, @@ -6,8 +7,6 @@ import { SolanaSignTransaction, type SolanaSignTransactionFeature, } from "@solana/wallet-standard-features"; -import { PublicKey, VersionedTransaction } from "@solana/web3.js"; -import { bs58 } from "@toruslabs/bs58"; import { type WalletWithFeatures } from "@wallet-standard/base"; import { type StandardConnectFeature, type StandardDisconnectFeature, type StandardEventsFeature } from "@wallet-standard/features"; @@ -17,6 +16,12 @@ import { BaseInjectedProvider } from "./base/baseInjectedProvider"; import { getBaseProviderHandlers } from "./base/providerHandlers"; import { getSolanaChainByChainConfig } from "./utils"; +// Codecs for encoding/decoding +const base58Decoder = getBase58Decoder(); +const base64Encoder = getBase64Encoder(); +const base64Decoder = getBase64Decoder(); +const transactionDecoder = getTransactionDecoder(); + export type WalletStandard = WalletWithFeatures< StandardConnectFeature & StandardEventsFeature & @@ -43,63 +48,76 @@ export class WalletStandardProvider extends BaseInjectedProvider */ const signMessage = async (message: string): Promise => { const account = currentAccount(); - const uint8ArrayMessage = new Uint8Array(Buffer.from(message, "utf-8")); + const uint8ArrayMessage = new TextEncoder().encode(message); const signature = await wallet.features[SolanaSignMessage].signMessage({ account, message: uint8ArrayMessage }); - return bs58.encode(signature[0].signature); + return base58Decoder.decode(signature[0].signature); }; /** * Signs a transaction and returns the signature - * @param transaction - The transaction to sign + * @param transaction - The transaction to sign (base64 encoded) * @returns The signature of the transaction encoded in base58 */ const signTransaction = async (transaction: string): Promise => { const account = currentAccount(); + // Convert base64 string to bytes using @solana/kit codec + const transactionBytes = new Uint8Array(base64Encoder.encode(transaction)); const output = await wallet.features[SolanaSignTransaction].signTransaction({ account, - transaction: new Uint8Array(Buffer.from(transaction, "base64")), + transaction: transactionBytes, chain: chainIdentifier, }); - return bs58.encode(VersionedTransaction.deserialize(output[0].signedTransaction).signatures[0]); + const decodedTx = transactionDecoder.decode(output[0].signedTransaction); + // Get the first signature and encode to base58 + // The signatures field is a record, get the first value + const signatureEntries = Object.values(decodedTx.signatures); + if (signatureEntries.length === 0) throw new Error("No signatures found"); + return base58Decoder.decode(signatureEntries[0] as Uint8Array); }; /** * Signs multiple transactions and returns the serialized transactions - * @param transactions - The transactions to sign + * @param transactions - The transactions to sign (base64 encoded) * @returns The serialized transactions encoded in base64 */ const signAllTransactions = async (transactions: string[]): Promise => { const account = currentAccount(); return Promise.all( - transactions.map(async (transaction) => { + transactions.map(async (tx) => { + const transactionBytes = new Uint8Array(base64Encoder.encode(tx)); const output = await wallet.features[SolanaSignTransaction].signTransaction({ account, - transaction: new Uint8Array(Buffer.from(transaction, "base64")), + transaction: transactionBytes, chain: chainIdentifier, }); - return Buffer.from(output[0].signedTransaction).toString("base64"); + return base64Decoder.decode(output[0].signedTransaction); }) ); }; /** * Signs a transaction and sends it to the network - * @param transaction - The transaction to sign and send + * @param transaction - The transaction to sign and send (base64 encoded) * @returns The signature of the transaction encoded in base58 */ const signAndSendTransaction = async (transaction: string): Promise => { const account = currentAccount(); + const transactionBytes = new Uint8Array(base64Encoder.encode(transaction)); const output = await wallet.features[SolanaSignAndSendTransaction].signAndSendTransaction({ account, - transaction: new Uint8Array(Buffer.from(transaction, "base64")), + transaction: transactionBytes, chain: chainIdentifier, }); - return bs58.encode(output[0].signature); + return base58Decoder.decode(output[0].signature); }; return getBaseProviderHandlers({ get publicKey() { - return new PublicKey(currentAccount().publicKey); + // Create a publicKey-like object that has toBytes() method + const pubKeyBytes = new Uint8Array(currentAccount().publicKey); + return { + toBytes: () => pubKeyBytes, + }; }, signMessage, signTransaction, diff --git a/packages/no-modal/src/providers/solana-provider/solanaWallet.ts b/packages/no-modal/src/providers/solana-provider/solanaWallet.ts index 6d1b69752..6f2cdeefe 100644 --- a/packages/no-modal/src/providers/solana-provider/solanaWallet.ts +++ b/packages/no-modal/src/providers/solana-provider/solanaWallet.ts @@ -1,9 +1,30 @@ -import { VersionedTransaction } from "@solana/web3.js"; +import { getBase64EncodedWireTransaction, type Transaction } from "@solana/kit"; import { SOLANA_METHOD_TYPES } from "@web3auth/ws-embed"; import { IProvider, RequestArguments } from "../../base"; -import { ISolanaWallet, type TransactionOrVersionedTransaction } from "./interface"; +import { ISolanaWallet } from "./interface"; +/** + * SolanaWallet provides methods to interact with Solana blockchain. + * Transactions should be compiled using \@solana/kit before being passed to signing methods. + * + * @example + * ```typescript + * import { compileTransaction, createTransactionMessage, ... } from "\@solana/kit"; + * + * // Build and compile transaction using \@solana/kit + * const message = pipe( + * createTransactionMessage({ version: 0 }), + * (m) => setTransactionMessageFeePayer(address, m), + * (m) => setTransactionMessageLifetimeUsingBlockhash(blockhash, m), + * (m) => appendTransactionMessageInstruction(instruction, m) + * ); + * const transaction = compileTransaction(message); + * + * // Sign with SolanaWallet + * const signature = await solanaWallet.signAndSendTransaction(transaction); + * ``` + */ export class SolanaWallet implements ISolanaWallet { public provider: IProvider; @@ -25,44 +46,52 @@ export class SolanaWallet implements ISolanaWallet { return accounts; } - public async signAndSendTransaction(transaction: T): Promise { + /** + * Signs and sends a transaction to the network + * @param transaction - Compiled transaction from \@solana/kit + * @returns The signature of the transaction encoded in base58 + */ + public async signAndSendTransaction(transaction: Transaction): Promise { + const serialized = getBase64EncodedWireTransaction(transaction); const signature = await this.provider.request<{ message: string }, string>({ method: SOLANA_METHOD_TYPES.SEND_TRANSACTION, - params: { message: this.serializeTransaction(transaction) }, + params: { message: serialized }, }); return signature; } /** * Signs a transaction and returns the signature - * @param transaction - The transaction to sign + * @param transaction - Compiled transaction from \@solana/kit * @returns The signature of the transaction encoded in base58 */ - public async signTransaction(transaction: T): Promise { + public async signTransaction(transaction: Transaction): Promise { + const serialized = getBase64EncodedWireTransaction(transaction); const signature = await this.provider.request<{ message: string }, string>({ method: SOLANA_METHOD_TYPES.SIGN_TRANSACTION, - params: { message: this.serializeTransaction(transaction) }, + params: { message: serialized }, }); return signature; } /** - * Signs multiple transactions and returns the serialized transactions - * @param transactions - The transactions to sign - * @returns The serialized transactions encoded in base64 + * Signs multiple transactions and returns the signed transactions + * @param transactions - Array of compiled transactions from \@solana/kit + * @returns The signed transactions encoded in base64 */ - public async signAllTransactions(transactions: T[]): Promise { - const serializedTransactions = transactions.map((tx) => this.serializeTransaction(tx)); + public async signAllTransactions(transactions: Transaction[]): Promise { + const serialized = transactions.map((tx) => getBase64EncodedWireTransaction(tx)); const signedTransactions = await this.provider.request<{ message: string[] }, string[]>({ method: SOLANA_METHOD_TYPES.SIGN_ALL_TRANSACTIONS, - params: { message: serializedTransactions }, + params: { message: serialized }, }); return signedTransactions; } /** * Signs a message and returns the signature - * @param message - The message to sign + * @param message - The message to sign (UTF-8 string) + * @param pubKey - The public key of the signer (base58 address) * @returns The signature of the message encoded in base58 */ public async signMessage(message: string, pubKey: string): Promise { @@ -77,11 +106,4 @@ export class SolanaWallet implements ISolanaWallet { const result = await this.provider.request(args); return result as U; } - - private serializeTransaction(transaction: TransactionOrVersionedTransaction): string { - if (transaction instanceof VersionedTransaction) { - return Buffer.from(transaction.serialize()).toString("base64"); - } - return Buffer.from(transaction.serialize({ requireAllSignatures: false })).toString("base64"); - } } diff --git a/packages/no-modal/src/react/solana/hooks/useSignAndSendTransaction.ts b/packages/no-modal/src/react/solana/hooks/useSignAndSendTransaction.ts index 0234fb838..11cfbdfcb 100644 --- a/packages/no-modal/src/react/solana/hooks/useSignAndSendTransaction.ts +++ b/packages/no-modal/src/react/solana/hooks/useSignAndSendTransaction.ts @@ -1,14 +1,20 @@ +import type { Transaction } from "@solana/kit"; import { useCallback, useState } from "react"; import { Web3AuthError } from "../../../base"; -import { TransactionOrVersionedTransaction } from "../../../providers/solana-provider"; +import { WalletInitializationError } from "../../../base/errors"; import { useSolanaWallet } from "./useSolanaWallet"; export type IUseSignAndSendTransaction = { loading: boolean; error: Web3AuthError | null; data: string | null; - signAndSendTransaction: (transaction: TransactionOrVersionedTransaction) => Promise; + /** + * Signs and sends a transaction to the network + * @param transaction - Compiled transaction from \@solana/kit + * @returns The signature of the transaction encoded in base58 + */ + signAndSendTransaction: (transaction: Transaction) => Promise; }; export const useSignAndSendTransaction = (): IUseSignAndSendTransaction => { @@ -18,16 +24,16 @@ export const useSignAndSendTransaction = (): IUseSignAndSendTransaction => { const [data, setData] = useState(null); const signAndSendTransaction = useCallback( - async (transaction: TransactionOrVersionedTransaction) => { + async (transaction: Transaction) => { setLoading(true); setError(null); try { - if (!solanaWallet) throw new Error("Solana wallet not found"); + if (!solanaWallet) throw WalletInitializationError.notReady(); const signature = await solanaWallet.signAndSendTransaction(transaction); setData(signature); return signature; - } catch (error) { - setError(error as Web3AuthError); + } catch (err) { + setError(err as Web3AuthError); } finally { setLoading(false); } diff --git a/packages/no-modal/src/react/solana/hooks/useSignTransaction.ts b/packages/no-modal/src/react/solana/hooks/useSignTransaction.ts index cb326bc52..7d44720b0 100644 --- a/packages/no-modal/src/react/solana/hooks/useSignTransaction.ts +++ b/packages/no-modal/src/react/solana/hooks/useSignTransaction.ts @@ -1,14 +1,20 @@ +import type { Transaction } from "@solana/kit"; import { useCallback, useState } from "react"; import { Web3AuthError } from "../../../base"; -import { TransactionOrVersionedTransaction } from "../../../providers/solana-provider"; +import { WalletInitializationError } from "../../../base/errors"; import { useSolanaWallet } from "./useSolanaWallet"; export type IUseSignTransaction = { loading: boolean; error: Web3AuthError | null; data: string | null; - signTransaction: (transaction: TransactionOrVersionedTransaction) => Promise; + /** + * Signs a transaction and returns the signature + * @param transaction - Compiled transaction from \@solana/kit + * @returns The signature of the transaction encoded in base58 + */ + signTransaction: (transaction: Transaction) => Promise; }; export const useSignTransaction = () => { @@ -18,15 +24,16 @@ export const useSignTransaction = () => { const [data, setData] = useState(null); const signTransaction = useCallback( - async (transaction: TransactionOrVersionedTransaction) => { + async (transaction: Transaction) => { setLoading(true); setError(null); try { + if (!solanaWallet) throw WalletInitializationError.notReady(); const signedTransaction = await solanaWallet.signTransaction(transaction); setData(signedTransaction); return signedTransaction; - } catch (error) { - setError(error as Web3AuthError); + } catch (err) { + setError(err as Web3AuthError); } finally { setLoading(false); } diff --git a/packages/no-modal/src/react/solana/hooks/useSolanaWallet.ts b/packages/no-modal/src/react/solana/hooks/useSolanaWallet.ts index ca93dc726..fe6ed829e 100644 --- a/packages/no-modal/src/react/solana/hooks/useSolanaWallet.ts +++ b/packages/no-modal/src/react/solana/hooks/useSolanaWallet.ts @@ -1,4 +1,4 @@ -import { Connection } from "@solana/web3.js"; +import { createSolanaRpc, type Rpc, type SolanaRpcApi } from "@solana/kit"; import { useEffect, useMemo, useState } from "react"; import { CHAIN_NAMESPACES } from "../../../base/chain/IChainInterface"; @@ -9,7 +9,15 @@ import { useWeb3Auth } from "../../hooks/useWeb3Auth"; export type IUseSolanaWallet = { accounts: string[] | null; solanaWallet: SolanaWallet | null; - connection: Connection | null; + /** + * Solana RPC client for making RPC calls. + * @example + * ```typescript + * const { value: balance } = await rpc.getBalance(address("...")).send(); + * const { value: latestBlockhash } = await rpc.getLatestBlockhash().send(); + * ``` + */ + rpc: Rpc | null; }; export const useSolanaWallet = (): IUseSolanaWallet => { @@ -23,9 +31,9 @@ export const useSolanaWallet = (): IUseSolanaWallet => { return new SolanaWallet(provider); }, [provider, chainNamespace]); - const connection = useMemo(() => { + const rpc = useMemo(() => { if (!web3Auth || !provider || chainNamespace !== CHAIN_NAMESPACES.SOLANA) return null; - return new Connection(web3Auth.currentChain.rpcTarget); + return createSolanaRpc(web3Auth.currentChain.rpcTarget); }, [web3Auth, provider, chainNamespace]); useEffect(() => { @@ -35,14 +43,14 @@ export const useSolanaWallet = (): IUseSolanaWallet => { return; } if (!solanaWallet) return; - const accounts = await solanaWallet.getAccounts(); - if (accounts?.length > 0) { - setAccounts(accounts); + const accts = await solanaWallet.getAccounts(); + if (accts?.length > 0) { + setAccounts(accts); } }; if (solanaWallet) init(); }, [solanaWallet, chainNamespace]); - return { solanaWallet, accounts, connection }; + return { solanaWallet, accounts, rpc }; }; diff --git a/packages/no-modal/src/vue/solana/composables/useSignAndSendTransaction.ts b/packages/no-modal/src/vue/solana/composables/useSignAndSendTransaction.ts index 244740f49..876313d83 100644 --- a/packages/no-modal/src/vue/solana/composables/useSignAndSendTransaction.ts +++ b/packages/no-modal/src/vue/solana/composables/useSignAndSendTransaction.ts @@ -1,15 +1,20 @@ +import type { Transaction } from "@solana/kit"; import { Ref, ref } from "vue"; import { log } from "../../../base"; import { WalletInitializationError, type Web3AuthError } from "../../../base/errors"; -import type { TransactionOrVersionedTransaction } from "../../../providers/solana-provider"; import { useSolanaWallet } from "./useSolanaWallet"; export type IUseSignAndSendTransaction = { loading: Ref; error: Ref; data: Ref; - signAndSendTransaction: (transaction: TransactionOrVersionedTransaction) => Promise; + /** + * Signs and sends a transaction to the network + * @param transaction - Compiled transaction from \@solana/kit + * @returns The signature of the transaction encoded in base58 + */ + signAndSendTransaction: (transaction: Transaction) => Promise; }; export const useSignAndSendTransaction = (): IUseSignAndSendTransaction => { @@ -18,7 +23,7 @@ export const useSignAndSendTransaction = (): IUseSignAndSendTransaction => { const error = ref(null); const data = ref(null); - const signAndSendTransaction = async (transaction: TransactionOrVersionedTransaction) => { + const signAndSendTransaction = async (transaction: Transaction) => { loading.value = true; error.value = null; try { diff --git a/packages/no-modal/src/vue/solana/composables/useSignTransaction.ts b/packages/no-modal/src/vue/solana/composables/useSignTransaction.ts index ead10453b..fdc63cfd9 100644 --- a/packages/no-modal/src/vue/solana/composables/useSignTransaction.ts +++ b/packages/no-modal/src/vue/solana/composables/useSignTransaction.ts @@ -1,15 +1,20 @@ +import type { Transaction } from "@solana/kit"; import { Ref, ref } from "vue"; import { log } from "../../../base"; import { WalletInitializationError, type Web3AuthError } from "../../../base/errors"; -import { TransactionOrVersionedTransaction } from "../../../providers/solana-provider"; import { useSolanaWallet } from "./useSolanaWallet"; export type IUseSignTransaction = { loading: Ref; error: Ref; data: Ref; - signTransaction: (transaction: TransactionOrVersionedTransaction) => Promise; + /** + * Signs a transaction and returns the signature + * @param transaction - Compiled transaction from \@solana/kit + * @returns The signature of the transaction encoded in base58 + */ + signTransaction: (transaction: Transaction) => Promise; }; export const useSignTransaction = (): IUseSignTransaction => { @@ -18,7 +23,7 @@ export const useSignTransaction = (): IUseSignTransaction => { const error = ref(null); const data = ref(null); - const signTransaction = async (transaction: TransactionOrVersionedTransaction) => { + const signTransaction = async (transaction: Transaction) => { loading.value = true; error.value = null; try { diff --git a/packages/no-modal/src/vue/solana/composables/useSolanaWallet.ts b/packages/no-modal/src/vue/solana/composables/useSolanaWallet.ts index 1bfbc7bcd..759da4003 100644 --- a/packages/no-modal/src/vue/solana/composables/useSolanaWallet.ts +++ b/packages/no-modal/src/vue/solana/composables/useSolanaWallet.ts @@ -1,4 +1,4 @@ -import { Connection } from "@solana/web3.js"; +import { createSolanaRpc, type Rpc, type SolanaRpcApi } from "@solana/kit"; import { computed, Ref, ref, ShallowRef, shallowRef, watch } from "vue"; import { CHAIN_NAMESPACES } from "../../../base/chain/IChainInterface"; @@ -8,15 +8,23 @@ import { useChain, useWeb3Auth } from "../../composables"; export type IUseSolanaWallet = { accounts: Ref; solanaWallet: ShallowRef; - connection: ShallowRef; + /** + * Solana RPC client for making RPC calls. + * @example + * ```typescript + * const { value: balance } = await rpc.value.getBalance(address("...")).send(); + * const { value: latestBlockhash } = await rpc.value.getLatestBlockhash().send(); + * ``` + */ + rpc: ShallowRef | null>; }; export const useSolanaWallet = (): IUseSolanaWallet => { const { provider, web3Auth } = useWeb3Auth(); const { chainNamespace } = useChain(); - const accounts = ref([]); + const accounts = ref(null); const solanaWallet = shallowRef(null); - const connection = shallowRef(null); + const rpc = shallowRef | null>(null); const isSolana = computed(() => chainNamespace.value === CHAIN_NAMESPACES.SOLANA); @@ -33,14 +41,14 @@ export const useSolanaWallet = (): IUseSolanaWallet => { accounts.value = result; } if (web3Auth.value?.currentChain?.rpcTarget) { - connection.value = new Connection(web3Auth.value.currentChain.rpcTarget); + rpc.value = createSolanaRpc(web3Auth.value.currentChain.rpcTarget); } }; const resetWallet = () => { solanaWallet.value = null; accounts.value = null; - connection.value = null; + rpc.value = null; }; if (provider.value && !solanaWallet.value) { @@ -64,5 +72,5 @@ export const useSolanaWallet = (): IUseSolanaWallet => { { immediate: true } ); - return { solanaWallet, accounts, connection }; + return { solanaWallet, accounts, rpc }; };