diff --git a/.changeset/swapkit-sdk-15fcrq2iqxhgc.md b/.changeset/swapkit-sdk-15fcrq2iqxhgc.md new file mode 100644 index 0000000..997a2aa --- /dev/null +++ b/.changeset/swapkit-sdk-15fcrq2iqxhgc.md @@ -0,0 +1,11 @@ +--- +"@swapkit/sdk": patch +"@swapkit/wallet-extensions": patch +"@swapkit/wallet-hardware": patch +"@swapkit/wallet-mobile": patch +"@swapkit/wallets": patch +--- + +Update SwapKit SDK dependencies: + +- @swapkit/helpers: 4.20.1 → 0.0.0-rc-20260728115044 diff --git a/bun.lock b/bun.lock index de3fe6b..c135c63 100644 --- a/bun.lock +++ b/bun.lock @@ -13,7 +13,7 @@ "@cosmjs/stargate": "0.37.0", "@scure/bip32": "2.2.0", "@swapkit/core": "^4.6.4", - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/plugins": "^4.7.1", "@swapkit/server": "^4.4.2", "@swapkit/toolboxes": "^4.28.0", @@ -32,7 +32,7 @@ "dependencies": { "@stricahq/typhonjs": "~3.0.1", "@swapkit/core": "^4.6.4", - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/plugins": "^4.7.1", "@swapkit/server": "^4.4.2", "@swapkit/toolboxes": "^4.28.0", @@ -56,7 +56,7 @@ "@near-js/transactions": "~2.5.0", "@scure/base": "~2.2.0", "@solana/web3.js": "~1.98.4", - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/toolboxes": "^4.28.0", "@swapkit/utxo-signer": "^2.3.0", "@swapkit/wallet-core": "^4.3.19", @@ -109,7 +109,7 @@ "@near-js/transactions": "~2.5.0", "@scure/base": "2.2.0", "@scure/bip32": "2.2.0", - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/toolboxes": "^4.28.0", "@swapkit/utxo-signer": "^2.3.0", "@swapkit/wallet-core": "^4.3.19", @@ -156,7 +156,7 @@ "name": "@swapkit/wallet-mobile", "version": "4.3.21", "dependencies": { - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/toolboxes": "^4.28.0", "@swapkit/wallet-core": "^4.3.19", }, @@ -181,7 +181,7 @@ "@scure/base": "~2.2.0", "@scure/bip39": "~2.2.0", "@solana/web3.js": "~1.98.4", - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/toolboxes": "^4.28.0", "@swapkit/utxo-signer": "^2.3.0", "@swapkit/wallet-core": "^4.3.19", @@ -265,6 +265,7 @@ }, }, "overrides": { + "@swapkit/helpers": "0.0.0-rc-20260728115044", "nuqs": "2.8.9", }, "packages": { @@ -1124,11 +1125,11 @@ "@substrate/ss58-registry": ["@substrate/ss58-registry@1.51.0", "", {}, "sha512-TWDurLiPxndFgKjVavCniytBIw+t4ViOi7TYp9h/D0NMmkEc9klFTo+827eyEJ0lELpqO207Ey7uGxUa+BS1jQ=="], - "@swapkit/contracts": ["@swapkit/contracts@4.1.5", "", {}, "sha512-0OZ+A4d68XIoqXWxZL10ahF+MKuT2J215oeeJZB1bAk5mu9oBfl1qeBl6IWbp1RnKMcpecm5K2hTGlCsKpR+TQ=="], + "@swapkit/contracts": ["@swapkit/contracts@0.0.0-rc-20260728115044", "", {}, "sha512-eIYzks9P5s/JDPJe8x4UVNthi3JA8wLLMkzA1s4gwVgXgkOw0/Ku7jg6P2LlIs8yhkECp4tbE1W/UJIjXiMu3Q=="], "@swapkit/core": ["@swapkit/core@4.6.4", "", { "dependencies": { "@swapkit/helpers": "4.20.1", "@swapkit/plugins": "4.7.4", "@swapkit/toolboxes": "4.28.0", "@swapkit/wallet-core": "4.3.21" }, "peerDependencies": { "@stricahq/typhonjs": "3.1.0", "@ton/core": "0.63.1", "cosmjs-types": "0.11.0", "ts-pattern": "5.9.0" } }, "sha512-0nwvzI7dOy9uieMXcJzTGe6DuQRurmj6DKV4+A4nYT2Me0OOFnfgxSJ+O2Z3qa4Z/KyO47mfOuHKmSXLKEwlLg=="], - "@swapkit/helpers": ["@swapkit/helpers@4.20.1", "", { "dependencies": { "@swapkit/contracts": "4.1.5", "@swapkit/tokens": "4.4.1", "@swapkit/types": "0.12.0" }, "peerDependencies": { "@near-js/providers": "2.5.1", "ethers": "6.16.0", "ts-pattern": "5.9.0", "zod": "4.4.3", "zustand": "5.0.13" } }, "sha512-7AujBntn3HfCOR/wW8q2qDaYQnrdzoHS4HeGbmE9+WZ7nXAWhQ24cUWAouBLtR2Cjh4Uw8NLiYtPTSV347wcNw=="], + "@swapkit/helpers": ["@swapkit/helpers@0.0.0-rc-20260728115044", "", { "dependencies": { "@noble/hashes": "2.2.0", "@swapkit/contracts": "0.0.0-rc-20260728115044", "@swapkit/tokens": "0.0.0-rc-20260728115044", "@swapkit/types": "0.0.0-rc-20260728115044" }, "peerDependencies": { "ts-pattern": "5.9.0", "zod": "4.4.3", "zustand": "5.0.13" } }, "sha512-UzFyBqBUAUB22Z4tWVEOQxdHhnYT/qgOiEGHeiQPswrCEfkuYiWT4WFMvklUsXYM0cZjZVaD2JuomiI86LmMqg=="], "@swapkit/plugins": ["@swapkit/plugins@4.7.4", "", { "dependencies": { "@swapkit/helpers": "4.20.1", "@swapkit/toolboxes": "4.28.0", "@swapkit/utxo-signer": "2.3.0" }, "peerDependencies": { "@mysten/sui": "2.17.0", "@near-js/transactions": "2.5.1", "@near-js/utils": "2.5.1", "@noble/hashes": "2.2.0", "@scure/base": "2.2.0", "@solana/web3.js": "1.98.4", "@stellar/stellar-sdk": "16.1.0", "ethers": "6.16.0", "ts-pattern": "5.9.0" } }, "sha512-dEBM8nrwLb99teLr2XNh8QNgQHGYjEzalHFV5Ldc5XWHU97rn5E9dKfRCEPLAv2RaosbDR6fGnsXbhmgn4t/Gw=="], @@ -1136,11 +1137,11 @@ "@swapkit/server": ["@swapkit/server@4.4.5", "", { "dependencies": { "@swapkit/helpers": "4.20.1", "@swapkit/tokens": "4.4.1", "@swapkit/toolboxes": "4.28.0", "@swapkit/wallet-keystore": "4.5.5" }, "peerDependencies": { "ts-pattern": "5.9.0" } }, "sha512-9BRvLYMv8h3Z447HYuJAzV2/fyrMgBhl3KrNzuwWMFwKf88YJP+NuvDv3qoCyFDOf08S8jfS4ea34Ku+xkssFQ=="], - "@swapkit/tokens": ["@swapkit/tokens@4.4.1", "", { "peerDependencies": { "ts-pattern": "5.9.0" } }, "sha512-PVHduHv3RTc4aY9pHDvge9t0rrChJA5xGkoYd34E/PO9t/3gWRb4ABHVmakLxtLJnh5hb/McSha5y1HGzvzVEQ=="], + "@swapkit/tokens": ["@swapkit/tokens@0.0.0-rc-20260728115044", "", { "peerDependencies": { "ts-pattern": "5.9.0" } }, "sha512-tGfoV8OU+h0MSxrvvVjVrREGkitDiYqC76Zv6AAiIsNjU+hbL9Lf4rEcPMNMNgHHFlXamXy0TqvOUMbn/nbbhg=="], "@swapkit/toolboxes": ["@swapkit/toolboxes@4.28.0", "", { "dependencies": { "@swapkit/helpers": "4.20.1", "@swapkit/utxo-signer": "2.3.0" }, "peerDependencies": { "@aptos-labs/ts-sdk": "7.0.1", "@cosmjs/amino": "0.39.0", "@cosmjs/crypto": "0.39.0", "@cosmjs/proto-signing": "0.39.0", "@cosmjs/stargate": "0.39.0", "@mysten/sui": "2.17.0", "@near-js/accounts": "2.5.1", "@near-js/crypto": "2.5.1", "@near-js/providers": "2.5.1", "@near-js/signers": "2.5.1", "@near-js/transactions": "2.5.1", "@near-js/utils": "2.5.1", "@noble/curves": "2.2.0", "@noble/hashes": "2.2.0", "@orbs-network/ton-access": "2.3.3", "@polkadot/api": "16.5.6", "@polkadot/keyring": "14.0.3", "@polkadot/rpc-provider": "16.5.6", "@polkadot/util": "14.0.3", "@polkadot/util-crypto": "14.0.3", "@provablehq/sdk": "0.11.3", "@radixdlt/babylon-gateway-api-sdk": "1.10.1", "@radixdlt/radix-dapp-toolkit": "2.3.0", "@scure/base": "2.2.0", "@scure/bip32": "2.2.0", "@scure/bip39": "2.2.0", "@solana/spl-memo": "0.2.5", "@solana/spl-token": "0.4.14", "@solana/web3.js": "1.98.4", "@stellar/stellar-sdk": "16.1.0", "@stricahq/bip32ed25519": "1.1.2", "@stricahq/cbors": "1.0.4", "@stricahq/typhonjs": "3.1.0", "@ton/core": "0.63.1", "@ton/crypto": "3.3.0", "@ton/ton": "16.2.4", "bignumber.js": "9.3.1", "cosmjs-types": "0.11.0", "ethers": "6.16.0", "micro-key-producer": "0.8.6", "near-seed-phrase": "0.2.1", "protobufjs": "8.0.3", "ripple-address-codec": "5.0.1", "starknet": "10.0.2", "ts-pattern": "5.9.0", "xrpl": "4.6.0" } }, "sha512-ximfqTV82dmcc+knKmnB1hLqVe3JHvwrcqhyNh7ysrLMkfRxnA8TpFr6yR/+fjD7zZWVekG+1uKuebDsRbd5Ww=="], - "@swapkit/types": ["@swapkit/types@0.12.0", "", {}, "sha512-x3doLExMh372PQYKngJFC1lzr7FSW99g5TfUBSDsZf43pOnkhNaFR0kmXDU/BdcD/z6UMJzm9i71G4NcVJ1P+g=="], + "@swapkit/types": ["@swapkit/types@0.0.0-rc-20260728115044", "", {}, "sha512-yfH45QlF1btfyKFQx3Rlf3DjXODM4exqXEStMiE/Lsqe13iu8P2mgaxqZJHKU51Nwn5R0eM5MuCgjYNDLo24Uw=="], "@swapkit/ui": ["@swapkit/ui@0.21.1", "", { "dependencies": { "@aptos-labs/ts-sdk": "1.34.0", "@cosmjs/amino": "0.39.0", "@cosmjs/crypto": "0.39.0", "@cosmjs/proto-signing": "0.39.0", "@cosmjs/stargate": "0.39.0", "@hookform/resolvers": "5.2.2", "@mysten/sui": "1.44.0", "@near-js/accounts": "2.5.1", "@near-js/crypto": "2.5.1", "@near-js/providers": "2.5.1", "@near-js/signers": "2.5.1", "@near-js/transactions": "2.5.1", "@near-js/utils": "2.5.1", "@noble/curves": "2.2.0", "@noble/hashes": "2.2.0", "@orbs-network/ton-access": "2.3.3", "@polkadot/api": "15.10.2", "@polkadot/keyring": "13.5.7", "@polkadot/rpc-provider": "15.10.2", "@polkadot/util": "13.5.7", "@polkadot/util-crypto": "13.5.7", "@radix-ui/react-accordion": "1.2.12", "@radix-ui/react-alert-dialog": "1.1.15", "@radix-ui/react-checkbox": "1.3.3", "@radix-ui/react-collapsible": "1.1.12", "@radix-ui/react-dialog": "1.1.15", "@radix-ui/react-dropdown-menu": "2.1.16", "@radix-ui/react-hover-card": "1.1.15", "@radix-ui/react-label": "2.1.8", "@radix-ui/react-menubar": "1.1.16", "@radix-ui/react-select": "2.2.6", "@radix-ui/react-separator": "1.1.8", "@radix-ui/react-slot": "1.2.4", "@radix-ui/react-switch": "1.2.6", "@radix-ui/react-tabs": "1.1.13", "@radix-ui/react-tooltip": "1.2.8", "@radixdlt/babylon-gateway-api-sdk": "1.10.1", "@radixdlt/radix-dapp-toolkit": "2.3.0", "@scure/base": "2.2.0", "@scure/bip32": "2.2.0", "@scure/bip39": "2.2.0", "@sentry/react": "9.27.0", "@solana/spl-memo": "0.2.5", "@solana/spl-token": "0.4.14", "@solana/web3.js": "1.98.4", "@stellar/stellar-sdk": "15.1.0", "@stricahq/bip32ed25519": "1.1.2", "@stricahq/cbors": "1.0.4", "@stricahq/typhonjs": "3.1.0", "@swapkit/core": "^4.4.38", "@swapkit/helpers": "^4.15.0", "@swapkit/plugins": "^4.6.52", "@swapkit/toolboxes": "^4.17.6", "@swapkit/wallet-keystore": "^4.4.6", "@swapkit/wallets": "^4.8.25", "@ton/core": "0.63.1", "@ton/crypto": "3.3.0", "@ton/ton": "16.2.4", "bignumber.js": "9.3.1", "class-variance-authority": "0.7.1", "clsx": "2.1.1", "cosmjs-types": "0.11.0", "crypto-browserify": "3.12.1", "ethers": "6.16.0", "highlight.js": "^11.11.1", "lucide-react": "0.552.0", "micro-key-producer": "0.8.6", "micro-packed": "0.9.0", "near-seed-phrase": "0.2.1", "nuqs": "2.8.9", "protobufjs": "8.0.3", "react": "19.1.1", "react-dom": "19.1.1", "react-hook-form": "7.65.0", "sonner": "2.0.7", "starknet": "10.0.2", "tailwind-merge": "2.6.0", "tailwindcss": "3.4.18", "tailwindcss-animate": "1.0.7", "ts-pattern": "5.9.0", "xrpl": "4.6.0", "zod": "4.4.3", "zustand": "5.0.13" } }, "sha512-vwwdbcU14PluIMF/v9QCjeMBPgLe1gFnSOuHjB8NOIUW1rqLJ5BnO2LzHX8TOWSmUMaBMHZ7I638rTn+3d0dVQ=="], @@ -2876,6 +2877,8 @@ "@swapkit/core/cosmjs-types": ["cosmjs-types@0.11.0", "", {}, "sha512-kDSkgHpRTrg1413jCNehT3P21+EBxZWFMBr9JEzVfmPiNdtuwAoLAkCYo7c7i/pTakAwyHsXbxOg8kkD+AN33w=="], + "@swapkit/server/@swapkit/tokens": ["@swapkit/tokens@4.4.1", "", { "peerDependencies": { "ts-pattern": "5.9.0" } }, "sha512-PVHduHv3RTc4aY9pHDvge9t0rrChJA5xGkoYd34E/PO9t/3gWRb4ABHVmakLxtLJnh5hb/McSha5y1HGzvzVEQ=="], + "@swapkit/toolboxes/@cosmjs/crypto": ["@cosmjs/crypto@0.39.0", "", { "dependencies": { "@cosmjs/encoding": "^0.39.0", "@cosmjs/math": "^0.39.0", "@cosmjs/utils": "^0.39.0", "@noble/ciphers": "^2.1.1", "@noble/curves": "^2.0.1", "@noble/hashes": "^2.0.1", "@scure/bip39": "^2.0.1" } }, "sha512-ATRhSXN8w3fvUkj9xzLHwvzylDvvn4f3cC1CQwhQc2OxyzpEEFACS3wHS6iwdJJS99acV8dq+oVOYflUqI0brQ=="], "@swapkit/toolboxes/@stricahq/typhonjs": ["@stricahq/typhonjs@3.1.0", "", { "dependencies": { "@stricahq/cbors": "1.0.2", "bech32": "^2.0.0", "bignumber.js": "^9.0.1", "blakejs": "^1.2.1", "bs58": "^5.0.0", "buffer": "^6.0.3", "lodash": "^4.17.21" } }, "sha512-Eaw0qqNIz+6sA9zD/9pFCdQ+gNbCv8PKFMhXu4Vq6KSR1XsH40jNPFkrqgKaq8q+gbO569U1+tu41dHk40JNbw=="], @@ -2900,8 +2903,6 @@ "@swapkit/ui/@swapkit/core": ["@swapkit/core@4.4.38", "", { "dependencies": { "@swapkit/helpers": "4.15.0", "@swapkit/plugins": "4.6.52", "@swapkit/toolboxes": "4.17.6", "@swapkit/wallet-core": "4.3.7" }, "peerDependencies": { "@stricahq/typhonjs": "3.1.0", "cosmjs-types": "0.11.0", "ts-pattern": "5.9.0" } }, "sha512-E/+YVJ1nR7SXPlRIvocgsh7CbhlQcDeTY/0BRkaFZpevylnh4ZCyD9wHdxXduDPOIgcyjCq5PHq39iXIbs+R+w=="], - "@swapkit/ui/@swapkit/helpers": ["@swapkit/helpers@4.15.0", "", { "dependencies": { "@swapkit/contracts": "4.1.5", "@swapkit/tokens": "4.3.1", "@swapkit/types": "0.8.1" }, "peerDependencies": { "@near-js/providers": "2.5.1", "ethers": "6.16.0", "ts-pattern": "5.9.0", "zod": "4.4.3", "zustand": "5.0.13" } }, "sha512-m6FgXfGfTt8zoH0OixrTiPxW+r7Tej0eRslomCsMPwl18PgMcZVBgWIxnH3cRH2fjwk4Ormavg1fpOQ0x0mtUw=="], - "@swapkit/ui/@swapkit/plugins": ["@swapkit/plugins@4.6.52", "", { "dependencies": { "@swapkit/helpers": "4.15.0", "@swapkit/toolboxes": "4.17.6", "@swapkit/utxo-signer": "2.2.2" }, "peerDependencies": { "@mysten/sui": "1.44.0", "@near-js/transactions": "2.5.1", "@near-js/utils": "2.5.1", "@noble/hashes": "2.2.0", "@scure/base": "2.2.0", "@solana/web3.js": "1.98.4", "ethers": "6.16.0", "ts-pattern": "5.9.0" } }, "sha512-l1A6gKSRL6Cbaqa0fdfYD37D89XBn8MP+N6FDwv/9Vhp8QM7tKBFo9EDcOXtJqbQmTOhI1J6vWUmQxjGqlrNJQ=="], "@swapkit/ui/@swapkit/toolboxes": ["@swapkit/toolboxes@4.17.6", "", { "dependencies": { "@swapkit/helpers": "4.15.0", "@swapkit/utxo-signer": "2.2.2" }, "peerDependencies": { "@aptos-labs/ts-sdk": "1.34.0", "@cosmjs/amino": "0.39.0", "@cosmjs/crypto": "0.39.0", "@cosmjs/proto-signing": "0.39.0", "@cosmjs/stargate": "0.39.0", "@mysten/sui": "1.44.0", "@near-js/accounts": "2.5.1", "@near-js/crypto": "2.5.1", "@near-js/providers": "2.5.1", "@near-js/signers": "2.5.1", "@near-js/transactions": "2.5.1", "@near-js/utils": "2.5.1", "@noble/curves": "2.2.0", "@noble/hashes": "2.2.0", "@orbs-network/ton-access": "2.3.3", "@polkadot/api": "15.10.2", "@polkadot/keyring": "13.5.7", "@polkadot/rpc-provider": "15.10.2", "@polkadot/util": "13.5.7", "@polkadot/util-crypto": "13.5.7", "@radixdlt/babylon-gateway-api-sdk": "1.10.1", "@radixdlt/radix-dapp-toolkit": "2.3.0", "@scure/base": "2.2.0", "@scure/bip32": "2.2.0", "@scure/bip39": "2.2.0", "@solana/spl-memo": "0.2.5", "@solana/spl-token": "0.4.14", "@solana/web3.js": "1.98.4", "@stellar/stellar-sdk": "15.1.0", "@stricahq/bip32ed25519": "1.1.2", "@stricahq/cbors": "1.0.4", "@stricahq/typhonjs": "3.1.0", "@ton/core": "0.63.1", "@ton/crypto": "3.3.0", "@ton/ton": "16.2.4", "bignumber.js": "9.3.1", "cosmjs-types": "0.11.0", "ethers": "6.16.0", "micro-key-producer": "0.8.6", "near-seed-phrase": "0.2.1", "protobufjs": "8.0.3", "starknet": "10.0.2", "ts-pattern": "5.9.0", "xrpl": "4.6.0" } }, "sha512-dSXT9bYuHvmYpPeFPaJBJt7O+XrIw1A2dxomyf/loMngwLrwStQprnt1g6M7kI6zCSiXTL6dAh9wHwOxROFCiw=="], @@ -3436,10 +3437,6 @@ "@swapkit/ui/@swapkit/core/@swapkit/wallet-core": ["@swapkit/wallet-core@4.3.7", "", { "dependencies": { "@swapkit/helpers": "4.15.0" } }, "sha512-S5gTczdChHoaYQKGmJIKSusdI8dtXtYkZ/b6KYSEC8tmgI1P4hsv1yk0vOswzASJC8iNG0XJNq1uQ10l7ID4TQ=="], - "@swapkit/ui/@swapkit/helpers/@swapkit/tokens": ["@swapkit/tokens@4.3.1", "", { "peerDependencies": { "ts-pattern": "5.9.0" } }, "sha512-q8eBkQxypgG0GNwIBTimbqEg943IO9bo2CAoYk2i4CL68L1wX30yLtT1iHsa+sBsfBfTc5LyKsrJb8e452zqQQ=="], - - "@swapkit/ui/@swapkit/helpers/@swapkit/types": ["@swapkit/types@0.8.1", "", {}, "sha512-fBZ9rhDOs31iq/Ks6BHvIbFILwqujpJUjf1N2wqAUnX6mAwa3Z/9TtpTJYXcevjzUAPtxa8YGQyjqihrfStCcw=="], - "@swapkit/ui/@swapkit/plugins/@swapkit/utxo-signer": ["@swapkit/utxo-signer@2.2.2", "", { "peerDependencies": { "@noble/curves": "2.2.0", "@noble/hashes": "2.2.0", "@scure/base": "2.2.0", "micro-packed": "0.9.0" } }, "sha512-Mes19KKZr0emYXnkJbN3WPLgLYkxnju5CJTUl1TcZgmxFCom6M6ijU4gkOweX0iIcGzqc51RIYGB/vUAFio8bQ=="], "@swapkit/ui/@swapkit/toolboxes/@swapkit/utxo-signer": ["@swapkit/utxo-signer@2.2.2", "", { "peerDependencies": { "@noble/curves": "2.2.0", "@noble/hashes": "2.2.0", "@scure/base": "2.2.0", "micro-packed": "0.9.0" } }, "sha512-Mes19KKZr0emYXnkJbN3WPLgLYkxnju5CJTUl1TcZgmxFCom6M6ijU4gkOweX0iIcGzqc51RIYGB/vUAFio8bQ=="], diff --git a/package.json b/package.json index 3943f11..2430b16 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "@cosmjs/stargate": "0.37.0", "@scure/bip32": "2.2.0", "@swapkit/core": "^4.6.4", - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/plugins": "^4.7.1", "@swapkit/server": "^4.4.2", "@swapkit/toolboxes": "^4.28.0", @@ -21,7 +21,10 @@ "zod": "4.4.3" }, "name": "swapkit-wallets", - "overrides": { "nuqs": "2.8.9" }, + "overrides": { + "nuqs": "2.8.9", + "@swapkit/helpers": "0.0.0-rc-20260728115044" + }, "packageManager": "bun@1.3.13", "private": true, "scripts": { @@ -45,5 +48,9 @@ "type-check:ci": "bun run --filter './packages/*' type-check", "version-bump": "bunx changeset version && bun run enrich:changelogs && bun install" }, - "workspaces": ["packages/*", "playgrounds/*", "tools/*"] + "workspaces": [ + "packages/*", + "playgrounds/*", + "tools/*" + ] } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 896be16..94707f2 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -3,7 +3,7 @@ "dependencies": { "@stricahq/typhonjs": "~3.0.1", "@swapkit/core": "^4.6.4", - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/plugins": "^4.7.1", "@swapkit/server": "^4.4.2", "@swapkit/toolboxes": "^4.28.0", diff --git a/packages/wallet-extensions/package.json b/packages/wallet-extensions/package.json index 2329732..58448e2 100644 --- a/packages/wallet-extensions/package.json +++ b/packages/wallet-extensions/package.json @@ -11,7 +11,7 @@ "@near-js/transactions": "~2.5.0", "@scure/base": "~2.2.0", "@solana/web3.js": "~1.98.4", - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/toolboxes": "^4.28.0", "@swapkit/utxo-signer": "^2.3.0", "@swapkit/wallet-core": "^4.3.19", diff --git a/packages/wallet-extensions/src/evm-extensions/index.ts b/packages/wallet-extensions/src/evm-extensions/index.ts index cc71981..22d0c8e 100644 --- a/packages/wallet-extensions/src/evm-extensions/index.ts +++ b/packages/wallet-extensions/src/evm-extensions/index.ts @@ -19,19 +19,19 @@ type Eip1193EventProvider = Eip1193Provider & { }; export type EVMWalletOptions = - | WalletOption.BRAVE - | WalletOption.OKX_MOBILE - | WalletOption.METAMASK - | WalletOption.COINBASE_WEB - | WalletOption.EIP6963; + | typeof WalletOption.BRAVE + | typeof WalletOption.OKX_MOBILE + | typeof WalletOption.METAMASK + | typeof WalletOption.COINBASE_WEB + | typeof WalletOption.EIP6963; const getWalletForType = ( walletType: - | WalletOption.BRAVE - | WalletOption.OKX_MOBILE - | WalletOption.METAMASK - | WalletOption.COINBASE_WEB - | WalletOption.EIP6963, + | typeof WalletOption.BRAVE + | typeof WalletOption.OKX_MOBILE + | typeof WalletOption.METAMASK + | typeof WalletOption.COINBASE_WEB + | typeof WalletOption.EIP6963, ) => { switch (walletType) { case WalletOption.COINBASE_WEB: diff --git a/packages/wallet-extensions/src/keplr/index.ts b/packages/wallet-extensions/src/keplr/index.ts index 105bdfc..11cca36 100644 --- a/packages/wallet-extensions/src/keplr/index.ts +++ b/packages/wallet-extensions/src/keplr/index.ts @@ -8,12 +8,12 @@ const keplrSupportedChainIds = [ChainId.Cosmos, ChainId.Kujira, ChainId.Noble, C export const keplrWallet: ExtensionWallet< "connectKeplr", Chain[], - [chains: Chain[], walletType?: WalletOption.KEPLR | WalletOption.LEAP] + [chains: Chain[], walletType?: typeof WalletOption.KEPLR | typeof WalletOption.LEAP] > = createWallet({ connect: ({ addChain, supportedChains }) => async function connectKeplr( chains: Chain[], - walletType: WalletOption.KEPLR | WalletOption.LEAP = WalletOption.KEPLR, + walletType: typeof WalletOption.KEPLR | typeof WalletOption.LEAP = WalletOption.KEPLR, ) { const extensionKey = walletType === WalletOption.LEAP ? "leap" : "keplr"; const filteredChains = filterSupportedChains({ chains, supportedChains, walletType }); diff --git a/packages/wallet-hardware/package.json b/packages/wallet-hardware/package.json index c8e72be..8f7a03b 100644 --- a/packages/wallet-hardware/package.json +++ b/packages/wallet-hardware/package.json @@ -22,7 +22,7 @@ "@near-js/transactions": "~2.5.0", "@scure/base": "2.2.0", "@scure/bip32": "2.2.0", - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/toolboxes": "^4.28.0", "@swapkit/utxo-signer": "^2.3.0", "@swapkit/wallet-core": "^4.3.19", diff --git a/packages/wallet-mobile/package.json b/packages/wallet-mobile/package.json index d720de1..881bcd0 100644 --- a/packages/wallet-mobile/package.json +++ b/packages/wallet-mobile/package.json @@ -1,7 +1,7 @@ { "author": "swapkit", "dependencies": { - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/toolboxes": "^4.28.0", "@swapkit/wallet-core": "^4.3.19" }, diff --git a/packages/wallets/package.json b/packages/wallets/package.json index 764f21c..f67f2af 100644 --- a/packages/wallets/package.json +++ b/packages/wallets/package.json @@ -16,7 +16,7 @@ "@scure/base": "~2.2.0", "@scure/bip39": "~2.2.0", "@solana/web3.js": "~1.98.4", - "@swapkit/helpers": "^4.20.1", + "@swapkit/helpers": "0.0.0-rc-20260728115044", "@swapkit/toolboxes": "^4.28.0", "@swapkit/utxo-signer": "^2.3.0", "@swapkit/wallet-core": "^4.3.19",