diff --git a/demo/vue-app-new/package-lock.json b/demo/vue-app-new/package-lock.json index d565bb9f1..50b200a9d 100644 --- a/demo/vue-app-new/package-lock.json +++ b/demo/vue-app-new/package-lock.json @@ -8,10 +8,10 @@ "name": "vue-app-new", "version": "0.0.0", "dependencies": { - "@solana/web3.js": "^1.98.4", + "@solana-program/system": "^0.10.0", + "@solana/kit": "^5.4.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", @@ -49,13 +49,13 @@ }, "../../packages/modal": { "name": "@web3auth/modal", - "version": "10.13.1", + "version": "10.13.2", "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.13.2", "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": "^5.4.0", "@svgr/rollup": "^8.1.0", "@svgr/webpack": "^8.1.0", "@toruslabs/eslint-config-react": "^4.1.4", @@ -109,7 +109,7 @@ "peerDependencies": { "@babel/runtime": "^7.x", "@coinbase/wallet-sdk": "^4.3.x", - "@solana/web3.js": ">=1.98", + "@solana/kit": ">=5.0", "react": ">=18", "react-dom": ">=18", "viem": ">=2.23", @@ -129,16 +129,15 @@ }, "../../packages/no-modal": { "name": "@web3auth/no-modal", - "version": "10.13.0", + "version": "10.13.2", "license": "ISC", "dependencies": { "@ethereumjs/util": "^10.1.0", "@metamask/sdk": "^0.34.0", "@segment/analytics-next": "^1.81.1", + "@solana/kit": "^5.4.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", @@ -2132,6 +2131,266 @@ "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==", "license": "MIT" }, + "node_modules/@solana-program/system": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@solana-program/system/-/system-0.10.0.tgz", + "integrity": "sha512-Go+LOEZmqmNlfr+Gjy5ZWAdY5HbYzk2RBewD9QinEU/bBSzpFfzqDRT55JjFRBGJUvMgf3C2vfXEGT4i8DSI4g==", + "license": "Apache-2.0", + "peerDependencies": { + "@solana/kit": "^5.0" + } + }, + "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 + } + } + }, + "node_modules/@solana/accounts/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 + } + } + }, + "node_modules/@solana/accounts/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 + } + } + }, + "node_modules/@solana/accounts/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 + } + } + }, + "node_modules/@solana/accounts/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 + } + } + }, + "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 + } + } + }, + "node_modules/@solana/addresses/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 + } + } + }, + "node_modules/@solana/addresses/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 + } + } + }, + "node_modules/@solana/addresses/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 + } + } + }, + "node_modules/@solana/addresses/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 + } + } + }, + "node_modules/@solana/addresses/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 + } + } + }, "node_modules/@solana/assertions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@solana/assertions/-/assertions-2.3.0.tgz", @@ -2455,64 +2714,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": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/fast-stable-stringify/-/fast-stable-stringify-5.4.0.tgz", + "integrity": "sha512-KB7PUL7yalPvbWCezzyUDVRDp39eHLPH7OJ6S8VFT8YNIFUANwwj5ctui50Fim76kvSYDdYJOclXV45O2gfQ8Q==", "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": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/functional/-/functional-5.4.0.tgz", + "integrity": "sha512-32ghHO0bg6GgX/7++0/7Lps6RgeXD2gKF1okiuyEGuVfKENIapgaQdcGhUwb3q6D6fv6MRAVn/Yve4jopGVNMQ==", "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": "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/codecs-core": "2.0.0", - "@solana/errors": "2.0.0" + "@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": { + "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": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-5.4.0.tgz", + "integrity": "sha512-hNoAOmlZAszaVBrAy1Jf7amHJ8wnUnTU0BqhNQXknbSvirvsYr81yEud2iq18YiCqhyJ9SuQ5kWrSAT0x7S0oA==", "license": "MIT", "dependencies": { - "chalk": "^5.3.0", - "commander": "^12.1.0" + "chalk": "5.6.2", + "commander": "14.0.2" }, "bin": { "errors": "bin/cli.mjs" @@ -2521,281 +2789,643 @@ "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": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/instructions/-/instructions-5.4.0.tgz", + "integrity": "sha512-//a7jpHbNoAgTqy3YyqG1X6QhItJLKzJa6zuYJGCwaAAJye7BxS9pxJBgb2mUt7CGidhUksf+U8pmLlxCNWYyg==", "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "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", - "buffer": "^6.0.3" + "@solana/codecs-core": "5.4.0", + "@solana/errors": "5.4.0" }, "engines": { - "node": ">=16" + "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/instructions/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/codecs": "2.0.0-rc.1" + "@solana/errors": "5.4.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-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/instructions/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": { - "@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" + "chalk": "5.6.2", + "commander": "14.0.2" + }, + "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/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/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/errors": "2.0.0-rc.1" + "@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" + "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/keys/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/codecs-core": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/errors": "5.4.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/keys/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/codecs-core": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/errors": "5.4.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/keys/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": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/codecs-core": "5.4.0", + "@solana/errors": "5.4.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-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/keys/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": { - "chalk": "^5.3.0", - "commander": "^12.1.0" + "@solana/codecs-core": "5.4.0", + "@solana/codecs-numbers": "5.4.0", + "@solana/errors": "5.4.0" }, - "bin": { - "errors": "bin/cli.mjs" + "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-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/keys/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": { - "@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" + "chalk": "5.6.2", + "commander": "14.0.2" + }, + "bin": { + "errors": "bin/cli.mjs" }, - "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": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "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" + "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": ">=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/kit/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": "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": "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" + "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/kit/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": "2.0.0-rc.1" + "@solana/errors": "5.4.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-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/kit/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": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@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" + "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/kit/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": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@solana/codecs-core": "5.4.0", + "@solana/errors": "5.4.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/kit/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": "2.0.0-rc.1", - "@solana/codecs-numbers": "2.0.0-rc.1", - "@solana/errors": "2.0.0-rc.1" + "@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" + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "fastestsmallesttextencoderdecoder": { + "optional": true + }, + "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/kit/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.3.0", - "commander": "^12.1.0" + "chalk": "5.6.2", + "commander": "14.0.2" }, "bin": { "errors": "bin/cli.mjs" }, + "engines": { + "node": ">=20.18.0" + }, "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==", + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/kit/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", "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": "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 + } + } + }, + "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 + } + } + }, + "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": { + "@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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "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/spl-token-metadata/node_modules/commander": { + "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==", @@ -2804,17 +3434,1711 @@ "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", + "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", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "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": { - "@solana/assertions": "^2.0.0-rc.1", - "buffer": "^6.0.3" + "@solana/addresses": "5.4.0", + "@solana/errors": "5.4.0" }, "engines": { - "node": ">=19" + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/programs/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 + } + } + }, + "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.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "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 + } + } + }, + "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 + } + } + }, + "node_modules/@solana/rpc-api/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 + } + } + }, + "node_modules/@solana/rpc-api/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 + } + } + }, + "node_modules/@solana/rpc-api/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 + } + } + }, + "node_modules/@solana/rpc-api/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 + } + } + }, + "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 + } + } + }, + "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 + } + } + }, + "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 + } + } + }, + "node_modules/@solana/rpc-spec/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 + } + } + }, + "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 + } + } + }, + "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 + } + } + }, + "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 + } + } + }, + "node_modules/@solana/rpc-subscriptions-channel-websocket/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 + } + } + }, + "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": "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": { + "@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 + } + } + }, + "node_modules/@solana/rpc-subscriptions-spec/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 + } + } + }, + "node_modules/@solana/rpc-subscriptions/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 + } + } + }, + "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": { + "@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 + } + } + }, + "node_modules/@solana/rpc-transformers/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 + } + } + }, + "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 + } + } + }, + "node_modules/@solana/rpc-transport-http/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 + } + } + }, + "node_modules/@solana/rpc-transport-http/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" + }, + "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 + } + } + }, + "node_modules/@solana/rpc-types/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 + } + } + }, + "node_modules/@solana/rpc-types/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 + } + } + }, + "node_modules/@solana/rpc-types/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 + } + } + }, + "node_modules/@solana/rpc-types/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 + } + } + }, + "node_modules/@solana/rpc/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 + } + } + }, + "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 + } + } + }, + "node_modules/@solana/signers/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 + } + } + }, + "node_modules/@solana/signers/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 + } + } + }, + "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", + "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": ">=19" + } + }, + "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 + } + } + }, + "node_modules/@solana/subscribable/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 + } + } + }, + "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 + } + } + }, + "node_modules/@solana/sysvars/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 + } + } + }, + "node_modules/@solana/sysvars/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 + } + } + }, + "node_modules/@solana/sysvars/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 + } + } + }, + "node_modules/@solana/sysvars/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 + } + } + }, + "node_modules/@solana/sysvars/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 + } + } + }, + "node_modules/@solana/sysvars/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 + } + } + }, + "node_modules/@solana/sysvars/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", + "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 + } + } + }, + "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 + } + } + }, + "node_modules/@solana/transaction-confirmation/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 + } + } + }, + "node_modules/@solana/transaction-confirmation/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 + } + } + }, + "node_modules/@solana/transaction-confirmation/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 + } + } + }, + "node_modules/@solana/transaction-confirmation/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 + } + } + }, + "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 + } + } + }, + "node_modules/@solana/transaction-messages/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 + } + } + }, + "node_modules/@solana/transaction-messages/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 + } + } + }, + "node_modules/@solana/transaction-messages/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 + } + } + }, + "node_modules/@solana/transaction-messages/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 + } + } + }, + "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 + } + } + }, + "node_modules/@solana/transactions/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 + } + } + }, + "node_modules/@solana/transactions/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 + } + } + }, + "node_modules/@solana/transactions/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 + } + } + }, + "node_modules/@solana/transactions/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 + } + } + }, + "node_modules/@solana/transactions/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 + } } }, "node_modules/@solana/web3.js": { diff --git a/demo/vue-app-new/package.json b/demo/vue-app-new/package.json index 987409528..6e77fccc6 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": "^5.4.0", + "@solana-program/system": "^0.10.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 1f6855618..604eab23b 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 { useAccount, 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.01); + 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.01); + 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.1); + 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 923b2ff46..ef082de2e 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" } @@ -2001,7 +1999,6 @@ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", "dev": true, "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } @@ -4523,7 +4520,6 @@ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -4687,7 +4683,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" }, @@ -5759,7 +5754,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", @@ -6391,7 +6385,6 @@ "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=10.0.0" }, @@ -6807,7 +6800,6 @@ "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=10.0.0" }, @@ -7162,7 +7154,6 @@ "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=10.0.0" }, @@ -8141,6 +8132,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz", "integrity": "sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==", + "dev": true, "license": "MIT", "dependencies": { "buffer": "~6.0.3" @@ -8173,6 +8165,7 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.3.0.tgz", "integrity": "sha512-oG+VZzN6YhBHIoSKgS5ESM9VIGzhWjEHEGNPSibiDTxFhsFWxNaz8LbMDPjBUE69r9wmdGLkrQ+wVPbnJcZPvw==", + "dev": true, "license": "MIT", "dependencies": { "@solana/errors": "2.3.0" @@ -8269,6 +8262,7 @@ "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==", + "dev": true, "license": "MIT", "dependencies": { "@solana/codecs-core": "2.3.0", @@ -8430,6 +8424,7 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-2.3.0.tgz", "integrity": "sha512-66RI9MAbwYV0UtP7kGcTBVLxJgUxoZGm8Fbc0ah+lGiAw17Gugco6+9GrJCV83VyF2mDWyYnYM9qdI3yjgpnaQ==", + "dev": true, "license": "MIT", "dependencies": { "chalk": "^5.4.1", @@ -8656,7 +8651,6 @@ "integrity": "sha512-CEEhCDmkvztd1zbgADsEQhmj9GyWOOGeW1hZD+gtwbBSF5YN1uofS/pex5MIh/VIqKRj+A2UnYWI1V+9+q/lyQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@solana/accounts": "3.0.3", "@solana/addresses": "3.0.3", @@ -8728,6 +8722,231 @@ "typescript": ">=5.3.3" } }, + "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": { + "@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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, + "node_modules/@solana/offchain-messages/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 + } + } + }, "node_modules/@solana/options": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@solana/options/-/options-3.0.3.tgz", @@ -8811,6 +9030,23 @@ "node": ">=20" } }, + "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", + "engines": { + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/@solana/programs": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@solana/programs/-/programs-3.0.3.tgz", @@ -9088,6 +9324,169 @@ "typescript": ">=5.3.3" } }, + "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 + } + } + }, + "node_modules/@solana/rpc-subscriptions-channel-websocket/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 + } + } + }, + "node_modules/@solana/rpc-subscriptions-channel-websocket/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 + } + } + }, + "node_modules/@solana/rpc-subscriptions-channel-websocket/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.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@solana/rpc-subscriptions-channel-websocket/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 + } + } + }, + "node_modules/@solana/rpc-subscriptions-channel-websocket/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": { + "@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 + } + } + }, + "node_modules/@solana/rpc-subscriptions-channel-websocket/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 + } + } + }, + "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": "3.0.3", "resolved": "https://registry.npmjs.org/@solana/rpc-subscriptions-spec/-/rpc-subscriptions-spec-3.0.3.tgz", @@ -9836,6 +10235,7 @@ "version": "1.98.4", "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.98.4.tgz", "integrity": "sha512-vv9lfnvjUsRiq//+j5pBdXig0IQdtzA0BRZ3bXEP4KaIyF1CcaydWqgyzQgfZMNIsWNWmG+AUHwPy4AHOD6gpw==", + "dev": true, "license": "MIT", "dependencies": { "@babel/runtime": "^7.25.0", @@ -10024,7 +10424,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", @@ -10169,6 +10568,7 @@ "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==", + "dev": true, "license": "Apache-2.0", "dependencies": { "tslib": "^2.8.0" @@ -10190,6 +10590,7 @@ "integrity": "sha512-Wo1iKt2b9OT7d+YGhvEPD3DXvPv2etTusIMhMUoG7fbhmxcXCtIjJDEygy91Y2JFlwGyjqiBPRozme7UD8hoqg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "remove-accents": "0.5.0" }, @@ -10207,6 +10608,7 @@ "integrity": "sha512-6PN65csiuTNfBMXqQUxQhCNdtm1rV+9kC9YwWAIKcaxAauq3Wu7p18j3gQY3YIBJU70jT/wzCCZ2uqto/vQgiQ==", "dev": true, "license": "MIT", + "peer": true, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" @@ -10218,6 +10620,7 @@ "integrity": "sha512-wAHc/cgKzW7LZNFloThyHnV/AX9gTg3w5yAv0gvQHPZoCnepwqCMtzbuPbb2UvfvO32XZ46e8bPOYbfZhzVnnQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@tanstack/query-core": "5.90.7" }, @@ -11054,6 +11457,7 @@ "version": "3.4.38", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dev": true, "license": "MIT", "dependencies": { "@types/node": "*" @@ -11091,7 +11495,6 @@ "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/estree": "*", "@types/json-schema": "*" @@ -11201,7 +11604,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" } @@ -11259,12 +11661,14 @@ "version": "8.3.4", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==", + "dev": true, "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==", + "dev": true, "license": "MIT", "dependencies": { "@types/node": "*" @@ -11333,7 +11737,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", @@ -11938,7 +12341,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", @@ -12228,7 +12632,6 @@ "integrity": "sha512-cG/xwQWsBEcKgRTkQVhH29cbpbs/TdcUJVFXCyri3ZknxhMyGv0YEjTcrNpRgt2SaswL1KrvslSNYKKo+5YEAg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "eventemitter3": "5.0.1", "mipd": "0.0.7", @@ -12788,7 +13191,6 @@ "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=10.0.0" }, @@ -13586,7 +13988,6 @@ "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=10.0.0" }, @@ -14349,7 +14750,6 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -14420,6 +14820,7 @@ "version": "4.6.0", "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.6.0.tgz", "integrity": "sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==", + "dev": true, "license": "MIT", "dependencies": { "humanize-ms": "^1.2.1" @@ -14448,7 +14849,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", @@ -15193,7 +15593,6 @@ "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.4", @@ -15667,6 +16066,7 @@ "version": "0.7.0", "resolved": "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz", "integrity": "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "bn.js": "^5.2.0", @@ -15872,7 +16272,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.8.19", "caniuse-lite": "^1.0.30001751", @@ -16658,7 +17057,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" @@ -17337,7 +17735,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" } @@ -18062,6 +18459,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", + "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -18398,7 +18796,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", @@ -18863,12 +19260,14 @@ "version": "4.2.8", "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", + "dev": true, "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==", + "dev": true, "license": "MIT", "dependencies": { "es6-promise": "^4.0.3" @@ -18945,7 +19344,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", @@ -19035,7 +19433,6 @@ "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", "dev": true, "license": "MIT", - "peer": true, "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -19431,7 +19828,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", @@ -19977,8 +20373,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", @@ -20192,6 +20587,7 @@ "version": "0.1.8", "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", "integrity": "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==", + "dev": true, "engines": { "node": "> 0.1.90" } @@ -20296,6 +20692,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz", "integrity": "sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag==", + "dev": true, "license": "MIT" }, "node_modules/fast-uri": { @@ -20329,7 +20726,7 @@ "version": "1.0.22", "resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz", "integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==", - "dev": true, + "devOptional": true, "license": "CC0-1.0", "peer": true }, @@ -22103,6 +22500,7 @@ "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==", + "dev": true, "license": "MIT", "dependencies": { "ms": "^2.0.0" @@ -23379,6 +23777,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz", "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==", + "dev": true, "license": "MIT", "peerDependencies": { "ws": "*" @@ -23472,6 +23871,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/jayson/-/jayson-4.2.0.tgz", "integrity": "sha512-VfJ9t1YLwacIubLhONk0KFeosUBwstRWQ0IRT1KDjEjnVnSOVHC3uwugyV7L0c7R9lpVyrUGT2XWiBA1UTtpyg==", + "dev": true, "license": "MIT", "dependencies": { "@types/connect": "^3.4.33", @@ -23498,18 +23898,21 @@ "version": "12.20.55", "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", + "dev": true, "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==", + "dev": true, "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==", + "dev": true, "license": "MIT", "bin": { "uuid": "dist/bin/uuid" @@ -23843,6 +24246,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": { @@ -23864,6 +24268,7 @@ "integrity": "sha512-uuPNLJkKN8NXAlZlQ6kmUF9qO+T6Kyd7oV4+/7yy8Jz6+MZNyhPq8EdLpdfnPVzUC8qSf1b4j1azKaGnFsjmsw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "acorn": "^8.5.0", "eslint-visitor-keys": "^3.0.0", @@ -23883,6 +24288,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" }, @@ -23896,6 +24302,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", @@ -23914,6 +24321,7 @@ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, "license": "ISC", + "peer": true, "bin": { "semver": "bin/semver.js" }, @@ -26945,6 +27353,7 @@ "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -27169,7 +27578,6 @@ "dev": true, "hasInstallScript": true, "license": "MIT", - "peer": true, "dependencies": { "@napi-rs/wasm-runtime": "0.2.4", "@yarnpkg/lockfile": "^1.1.0", @@ -28064,6 +28472,7 @@ ], "license": "MIT", "optional": true, + "peer": true, "dependencies": { "@adraffy/ens-normalize": "^1.11.0", "@noble/ciphers": "^1.3.0", @@ -28088,7 +28497,8 @@ "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz", "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==", "license": "MIT", - "optional": true + "optional": true, + "peer": true }, "node_modules/p-finally": { "version": "1.0.0", @@ -29219,7 +29629,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -30193,7 +30602,6 @@ "integrity": "sha512-yEPsovQfpxYfgWNhCfECjG5AQaO+K3dp6XERmOepyPDVqcJm+bjyCVO3pmU+nAPe0N5dDvekfGezt/EIiRe1TA==", "dev": true, "license": "MIT", - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -30870,6 +31278,7 @@ "resolved": "https://registry.npmjs.org/react/-/react-19.1.1.tgz", "integrity": "sha512-w8nqGImo45dmMIfljjMwOGtbmC/mk4CMYhWIicdSflH91J9TyCyczcPFXJzrZ/ZXcgGRFeP6BU0BEJTw6tZdfQ==", "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -31475,7 +31884,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", @@ -31895,7 +32303,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", @@ -32278,7 +32687,6 @@ "integrity": "sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/estree": "1.0.8" }, @@ -32437,6 +32845,7 @@ "version": "9.3.0", "resolved": "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-9.3.0.tgz", "integrity": "sha512-Sf6b6tCpLa6FxgZV20FC1GotVjinFfMkWWfuYtZOdoExvoXQl9ed1J7NdbybLZshNDHjWNa38U186MwElN1VjA==", + "dev": true, "license": "LGPL-3.0-only", "dependencies": { "@swc/helpers": "^0.5.11", @@ -32460,6 +32869,7 @@ "version": "8.18.1", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz", "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==", + "dev": true, "license": "MIT", "dependencies": { "@types/node": "*" @@ -32469,6 +32879,7 @@ "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true, "license": "MIT", "bin": { "uuid": "dist/bin/uuid" @@ -32478,6 +32889,7 @@ "version": "8.18.3", "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", + "dev": true, "license": "MIT", "engines": { "node": ">=10.0.0" @@ -32677,7 +33089,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", @@ -32705,7 +33118,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", @@ -33360,7 +33772,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", @@ -33755,6 +34166,7 @@ "version": "2.2.5", "resolved": "https://registry.npmjs.org/stream-chain/-/stream-chain-2.2.5.tgz", "integrity": "sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==", + "dev": true, "license": "BSD-3-Clause" }, "node_modules/stream-combiner": { @@ -33799,6 +34211,7 @@ "version": "1.9.1", "resolved": "https://registry.npmjs.org/stream-json/-/stream-json-1.9.1.tgz", "integrity": "sha512-uWkjJ+2Nt/LO9Z/JyKZbMusL8Dkh97uUBTv3AJQ74y07lVahLY4eEFsPsE97pxYBwr8nnjMAIch5eqI0gPShyw==", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "stream-chain": "^2.2.5" @@ -34242,6 +34655,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz", "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==", + "dev": true, "license": "MIT", "engines": { "node": ">=14.0.0" @@ -34351,7 +34765,6 @@ "integrity": "sha512-6A2rnmW5xZMdw11LYjhcI5846rt9pbLSabY5XPxo+XWdxwZaFEn47Go4NzFiHu9sNNmr/kXivP1vStfvMaK1GQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", @@ -34461,7 +34874,6 @@ "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", "dev": true, "license": "MIT", - "peer": true, "bin": { "jiti": "bin/jiti.js" } @@ -34785,7 +35197,8 @@ "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==" + "integrity": "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==", + "dev": true }, "node_modules/text-extensions": { "version": "1.9.0", @@ -35122,7 +35535,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", @@ -35515,8 +35927,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" @@ -35810,7 +36222,6 @@ "dev": true, "hasInstallScript": true, "license": "MIT", - "peer": true, "dependencies": { "napi-postinstall": "^0.3.0" }, @@ -36210,7 +36621,6 @@ "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", "dev": true, "license": "MIT", - "peer": true, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" } @@ -36305,7 +36715,6 @@ "integrity": "sha512-Qik0o+DSy741TmkqmRfjq+0xpZBXi/Y6+fXZLn0xNF1z/waFMbE3rkivv5Zcf9RrMUp6zswf2J7sbh2KBlba5A==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "derive-valtio": "0.1.0", "proxy-compare": "2.6.0", @@ -36348,7 +36757,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "@noble/curves": "1.9.1", "@noble/hashes": "1.8.0", @@ -36455,7 +36863,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", @@ -36505,7 +36912,6 @@ "integrity": "sha512-CydUvFOQKD928UzZhTp4pr2vWz1L+H99t7Pkln2QSPdvmURT0MoC4wUccfCnuEaihNsu9aYYyk+bep8rlfkUXw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "debug": "^4.4.0", "eslint-scope": "^8.2.0", @@ -36912,7 +37318,6 @@ "integrity": "sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw==", "dev": true, "license": "MIT", - "peer": true, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } @@ -37039,7 +37444,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", @@ -37934,7 +38338,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" }, @@ -38165,6 +38568,7 @@ "integrity": "sha512-E/+VitOorXSLiAqtTd7Yqax0/pAS3xaYMP+AUUJGOK1OZG3rhcj9fcJOM5HJ2VrP1FrStVCWr1muTfQCdj4tAA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "eslint-visitor-keys": "^3.0.0", "yaml": "^2.0.0" @@ -38182,6 +38586,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" }, @@ -38429,7 +38834,6 @@ "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==", "devOptional": true, "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } @@ -38491,7 +38895,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": "^5.4.0", "@svgr/rollup": "^8.1.0", "@svgr/webpack": "^8.1.0", "@toruslabs/eslint-config-react": "^4.1.4", @@ -38526,7 +38930,7 @@ "peerDependencies": { "@babel/runtime": "^7.x", "@coinbase/wallet-sdk": "^4.3.x", - "@solana/web3.js": ">=1.98", + "@solana/kit": ">=5.0", "react": ">=18", "react-dom": ">=18", "viem": ">=2.23", @@ -38544,272 +38948,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": { @@ -38817,84 +39225,131 @@ } } }, - "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" + "node": ">=20.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "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==", + "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": { - "scheduler": "^0.27.0" + "@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": { - "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/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/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==", + "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, - "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" + "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==", + "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", - "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": { @@ -38902,18 +39357,859 @@ } } }, - "packages/no-modal": { - "name": "@web3auth/no-modal", + "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-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" + }, + "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/no-modal": { + "name": "@web3auth/no-modal", "version": "10.13.2", "license": "ISC", "dependencies": { "@ethereumjs/util": "^10.1.0", "@metamask/sdk": "^0.34.0", "@segment/analytics-next": "^1.81.1", + "@solana/kit": "^5.4.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", @@ -38945,89 +40241,942 @@ "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": "^2.20.1", - "@wagmi/vue": "^0.2.2", - "react": "^19.2.3", - "viem": "^2.44.2", - "vue": "^3.x", - "wagmi": "^2.16.6" + "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": "^2.20.1", + "@wagmi/vue": "^0.2.2", + "react": "^19.2.3", + "viem": "^2.44.2", + "vue": "^3.x", + "wagmi": "^2.16.6" + }, + "engines": { + "node": ">=20.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@coinbase/wallet-sdk": "^4.3.x", + "react": ">=18", + "viem": ">=2.29", + "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.x", - "npm": ">=9.x" + "node": ">=20.18.0" }, "peerDependencies": { - "@babel/runtime": "^7.x", - "@coinbase/wallet-sdk": "^4.3.x", - "react": ">=18", - "viem": ">=2.29", - "vue": "^3.x" + "typescript": "^5.0.0" }, "peerDependenciesMeta": { - "@coinbase/wallet-sdk": { + "typescript": { "optional": true - }, - "react": { + } + } + }, + "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 - }, - "viem": { + } + } + }, + "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 }, - "vue": { + "typescript": { "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/errors": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/errors/-/errors-5.4.0.tgz", + "integrity": "sha512-hNoAOmlZAszaVBrAy1Jf7amHJ8wnUnTU0BqhNQXknbSvirvsYr81yEud2iq18YiCqhyJ9SuQ5kWrSAT0x7S0oA==", + "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" + "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/@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/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": { - "@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/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": { - "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/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/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/options": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@solana/options/-/options-5.4.0.tgz", + "integrity": "sha512-h4vTWRChEXPhaHo9i1pCyQBWWs+NqYPQRXSAApqpUYvHb9Kct/C6KbHjfyaRMyqNQnDHLcJCX7oW9tk0iRDzIg==", + "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/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": { + "@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/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.18.0" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "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 + } + } + }, + "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-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": { + "@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/@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": { + "@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/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": { @@ -39078,7 +41227,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", @@ -39097,6 +41245,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 da4404169..a960403ca 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": ">=5.0", "react": ">=18", "react-dom": ">=18", "viem": ">=2.23", @@ -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": "^5.4.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 02168e18f..18e6f301d 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": "^5.4.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 }; };