Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/bitget-cosmos-solana-v3.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/core-update-1776260048.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ctrl-btc-psbt-v3.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/defer-evm-network-switch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/okx-cosmos-v3.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/wallet-direct-signing-support.md

This file was deleted.

9 changes: 9 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @swapkit/sdk

## 4.6.4

### Patch Changes

- [#11](https://github.com/swapkit/wallets/pull/11) [`67d6989`](https://github.com/swapkit/wallets/commit/67d698968b20e68b92537b56d04a415ad516b84a) Thanks [@github-actions](https://github.com/apps/github-actions)! - Update core dependencies: @swapkit/contracts@4.1.3,@swapkit/core@4.4.11,@swapkit/helpers@4.12.9,@swapkit/tokens@4.2.5,@swapkit/toolboxes@4.14.4,@swapkit/types@0.7.3,@swapkit/utxo-signer@2.1.1

- Updated dependencies [[`67d6989`](https://github.com/swapkit/wallets/commit/67d698968b20e68b92537b56d04a415ad516b84a), [`b4b4666`](https://github.com/swapkit/wallets/commit/b4b4666fccee2861aa733cf589a9a50aaf4ed981), [`5a5a117`](https://github.com/swapkit/wallets/commit/5a5a11738b1c8a2fd08fc571cc2156947ee05bd0)]:
- @swapkit/wallets@4.7.0

## 4.6.3

### Patch Changes
Expand Down
16 changes: 12 additions & 4 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,20 @@
"types": "./dist/types/wallets.d.ts"
}
},
"files": ["dist/"],
"files": [
"dist/"
],
"homepage": "https://github.com/swapkit/wallets",
"license": "SEE LICENSE IN LICENSE",
"name": "@swapkit/sdk",
"publishConfig": { "access": "public" },
"repository": { "directory": "packages/sdk", "type": "git", "url": "git+https://github.com/swapkit/wallets.git" },
"publishConfig": {
"access": "public"
},
"repository": {
"directory": "packages/sdk",
"type": "git",
"url": "git+https://github.com/swapkit/wallets.git"
},
"scripts": {
"build": "bun run ./build.ts",
"build:clean": "rm -rf dist && bun run ./build.ts",
Expand All @@ -59,5 +67,5 @@
"type-check:go": "tsgo"
},
"type": "module",
"version": "4.6.3"
"version": "4.6.4"
}
28 changes: 28 additions & 0 deletions packages/wallet-extensions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @swapkit-dev/wallet-extensions

## 4.5.0

### Minor Changes

- [#17](https://github.com/swapkit/wallets/pull/17) [`5a5a117`](https://github.com/swapkit/wallets/commit/5a5a11738b1c8a2fd08fc571cc2156947ee05bd0) Thanks [@towanTG](https://github.com/towanTG)! - Per-wallet `directSigningSupport` mappings for the V3 swap flow

- Bump `@swapkit/wallet-core` to `^4.2.0` and delete the duplicated local `core.ts` files in `wallets`, `wallet-extensions`, and `wallet-hardware` — every wallet module now imports `createWallet` / `getWalletSupportedChains` from `@swapkit/wallet-core` directly.
- Stamp `directSigningSupport: Partial<Record<Chain, boolean>>` on every `createWallet({...})` call so the SDK can decide V3 routing per (wallet, chain) without consulting a central map.
- Wire two real signers as part of the rollout:
- **Xaman / Ripple** — `submitXamanPayload` now exposes the signed `hex` blob and accepts `{ submit: false }`; a new `ChainSigner` wraps `xumm.payload.createAndSubscribe` and is passed to `getRippleToolbox({ signer })`, unblocking V3 for XRPL.
- **Ledger / Cosmos Hub** — pass the existing `CosmosLedger` (already an `OfflineAminoSigner`) into `getCosmosToolbox(Chain.Cosmos, { signer })`, unblocking V3 for ATOM. Bespoke `transfer` retained for back-compat.
- BitGet Cosmos: switch `getOfflineSignerOnlyAmino` → `getOfflineSignerAuto` so V3 proto SignDocs sign natively (Ledger via BitGet still falls back to amino).
- WalletConnect EVM: fix latent bugs flagged by the V3 audit — add Aurora and Berachain to the EVM `getToolbox` switch, register `XLAYER_MAINNET_ID` so XLayer's namespace negotiation works.

### Patch Changes

- [#14](https://github.com/swapkit/wallets/pull/14) [`f7f0f94`](https://github.com/swapkit/wallets/commit/f7f0f94596d77727a0b5eeff4f70264177aba1ee) Thanks [@towanTG](https://github.com/towanTG)! - BitGet: drop dead `signTransaction` stub on Cosmos and stop spreading the Solana provider so toolbox synthesis of `signAndBroadcastTransaction` can use the real signer methods (V3 swap flow).

- [#11](https://github.com/swapkit/wallets/pull/11) [`67d6989`](https://github.com/swapkit/wallets/commit/67d698968b20e68b92537b56d04a415ad516b84a) Thanks [@github-actions](https://github.com/apps/github-actions)! - Update core dependencies: @swapkit/contracts@4.1.3,@swapkit/core@4.4.11,@swapkit/helpers@4.12.9,@swapkit/tokens@4.2.5,@swapkit/toolboxes@4.14.4,@swapkit/types@0.7.3,@swapkit/utxo-signer@2.1.1

- [#12](https://github.com/swapkit/wallets/pull/12) [`9dd5073`](https://github.com/swapkit/wallets/commit/9dd50734580ba787f335c925032dad82293523a7) Thanks [@towanTG](https://github.com/towanTG)! - CTRL: sign Bitcoin transactions via sats-connect `sign_psbt`, enabling V3 raw-transaction swap flow. BCH/DOGE/LTC continue to use the bespoke `walletTransfer` path.

- [#18](https://github.com/swapkit/wallets/pull/18) [`b4b4666`](https://github.com/swapkit/wallets/commit/b4b4666fccee2861aa733cf589a9a50aaf4ed981) Thanks [@towanTG](https://github.com/towanTG)! - Defer EVM network switch from wallet connect to method call time. On connect we now just read the wallet's currently selected address and wire the toolbox; `prepareNetworkSwitch` handles the chain switch lazily when a transaction method is invoked. Stops the "add chain" prompt storm users saw on first connect.

Affected: evm-extensions (Metamask / Brave / Coinbase / EIP-6963), bitget, ctrl, okx, onekey, trustwallet, vultisig, phantom, talisman, keepkey-bex, passkeys.

- [#13](https://github.com/swapkit/wallets/pull/13) [`5202c86`](https://github.com/swapkit/wallets/commit/5202c86388c8b371b48e09c12aa7e5b2419d8ce6) Thanks [@towanTG](https://github.com/towanTG)! - OKX: pass the Keplr-compatible offline signer into `getCosmosToolbox` so the toolbox can synthesize `signAndBroadcastTransaction`, unblocking the V3 SwapKit swap flow for OKX Cosmos.

## 4.4.3

### Patch Changes
Expand Down
10 changes: 7 additions & 3 deletions packages/wallet-extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,15 @@
"types": "./dist/types/vultisig/index.d.ts"
}
},
"files": ["dist/"],
"files": [
"dist/"
],
"homepage": "https://github.com/swapkit/wallets",
"license": "SEE LICENSE IN LICENSE",
"name": "@swapkit/wallet-extensions",
"publishConfig": { "access": "public" },
"publishConfig": {
"access": "public"
},
"repository": {
"directory": "packages/wallet-extensions",
"type": "git",
Expand All @@ -153,5 +157,5 @@
"type-check:go": "tsgo"
},
"type": "module",
"version": "4.4.3"
"version": "4.5.0"
}
18 changes: 18 additions & 0 deletions packages/wallet-hardware/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @swapkit-dev/wallet-hardware

## 4.7.0

### Minor Changes

- [#17](https://github.com/swapkit/wallets/pull/17) [`5a5a117`](https://github.com/swapkit/wallets/commit/5a5a11738b1c8a2fd08fc571cc2156947ee05bd0) Thanks [@towanTG](https://github.com/towanTG)! - Per-wallet `directSigningSupport` mappings for the V3 swap flow

- Bump `@swapkit/wallet-core` to `^4.2.0` and delete the duplicated local `core.ts` files in `wallets`, `wallet-extensions`, and `wallet-hardware` — every wallet module now imports `createWallet` / `getWalletSupportedChains` from `@swapkit/wallet-core` directly.
- Stamp `directSigningSupport: Partial<Record<Chain, boolean>>` on every `createWallet({...})` call so the SDK can decide V3 routing per (wallet, chain) without consulting a central map.
- Wire two real signers as part of the rollout:
- **Xaman / Ripple** — `submitXamanPayload` now exposes the signed `hex` blob and accepts `{ submit: false }`; a new `ChainSigner` wraps `xumm.payload.createAndSubscribe` and is passed to `getRippleToolbox({ signer })`, unblocking V3 for XRPL.
- **Ledger / Cosmos Hub** — pass the existing `CosmosLedger` (already an `OfflineAminoSigner`) into `getCosmosToolbox(Chain.Cosmos, { signer })`, unblocking V3 for ATOM. Bespoke `transfer` retained for back-compat.
- BitGet Cosmos: switch `getOfflineSignerOnlyAmino` → `getOfflineSignerAuto` so V3 proto SignDocs sign natively (Ledger via BitGet still falls back to amino).
- WalletConnect EVM: fix latent bugs flagged by the V3 audit — add Aurora and Berachain to the EVM `getToolbox` switch, register `XLAYER_MAINNET_ID` so XLayer's namespace negotiation works.

### Patch Changes

- [#11](https://github.com/swapkit/wallets/pull/11) [`67d6989`](https://github.com/swapkit/wallets/commit/67d698968b20e68b92537b56d04a415ad516b84a) Thanks [@github-actions](https://github.com/apps/github-actions)! - Update core dependencies: @swapkit/contracts@4.1.3,@swapkit/core@4.4.11,@swapkit/helpers@4.12.9,@swapkit/tokens@4.2.5,@swapkit/toolboxes@4.14.4,@swapkit/types@0.7.3,@swapkit/utxo-signer@2.1.1

## 4.6.3

### Patch Changes
Expand Down
10 changes: 7 additions & 3 deletions packages/wallet-hardware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,15 @@
"types": "./dist/types/trezor/index.d.ts"
}
},
"files": ["dist/"],
"files": [
"dist/"
],
"homepage": "https://github.com/swapkit/wallets",
"license": "SEE LICENSE IN LICENSE",
"name": "@swapkit/wallet-hardware",
"publishConfig": { "access": "public" },
"publishConfig": {
"access": "public"
},
"repository": {
"directory": "packages/wallet-hardware",
"type": "git",
Expand All @@ -105,5 +109,5 @@
"type-check:go": "tsgo"
},
"type": "module",
"version": "4.6.3"
"version": "4.7.0"
}
18 changes: 18 additions & 0 deletions packages/wallet-mobile/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @swapkit-dev/wallet-mobile

## 4.3.0

### Minor Changes

- [#17](https://github.com/swapkit/wallets/pull/17) [`5a5a117`](https://github.com/swapkit/wallets/commit/5a5a11738b1c8a2fd08fc571cc2156947ee05bd0) Thanks [@towanTG](https://github.com/towanTG)! - Per-wallet `directSigningSupport` mappings for the V3 swap flow

- Bump `@swapkit/wallet-core` to `^4.2.0` and delete the duplicated local `core.ts` files in `wallets`, `wallet-extensions`, and `wallet-hardware` — every wallet module now imports `createWallet` / `getWalletSupportedChains` from `@swapkit/wallet-core` directly.
- Stamp `directSigningSupport: Partial<Record<Chain, boolean>>` on every `createWallet({...})` call so the SDK can decide V3 routing per (wallet, chain) without consulting a central map.
- Wire two real signers as part of the rollout:
- **Xaman / Ripple** — `submitXamanPayload` now exposes the signed `hex` blob and accepts `{ submit: false }`; a new `ChainSigner` wraps `xumm.payload.createAndSubscribe` and is passed to `getRippleToolbox({ signer })`, unblocking V3 for XRPL.
- **Ledger / Cosmos Hub** — pass the existing `CosmosLedger` (already an `OfflineAminoSigner`) into `getCosmosToolbox(Chain.Cosmos, { signer })`, unblocking V3 for ATOM. Bespoke `transfer` retained for back-compat.
- BitGet Cosmos: switch `getOfflineSignerOnlyAmino` → `getOfflineSignerAuto` so V3 proto SignDocs sign natively (Ledger via BitGet still falls back to amino).
- WalletConnect EVM: fix latent bugs flagged by the V3 audit — add Aurora and Berachain to the EVM `getToolbox` switch, register `XLAYER_MAINNET_ID` so XLayer's namespace negotiation works.

### Patch Changes

- [#11](https://github.com/swapkit/wallets/pull/11) [`67d6989`](https://github.com/swapkit/wallets/commit/67d698968b20e68b92537b56d04a415ad516b84a) Thanks [@github-actions](https://github.com/apps/github-actions)! - Update core dependencies: @swapkit/contracts@4.1.3,@swapkit/core@4.4.11,@swapkit/helpers@4.12.9,@swapkit/tokens@4.2.5,@swapkit/toolboxes@4.14.4,@swapkit/types@0.7.3,@swapkit/utxo-signer@2.1.1

## 4.2.3

### Patch Changes
Expand Down
17 changes: 12 additions & 5 deletions packages/wallet-mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"author": "swapkit",
"dependencies": { "@swapkit/helpers": "^4.13.0",
"@swapkit/wallet-core": "^4.2.0", "@swapkit/toolboxes": "^4.14.5" },
"dependencies": {
"@swapkit/helpers": "^4.13.0",
"@swapkit/wallet-core": "^4.2.0",
"@swapkit/toolboxes": "^4.14.5"
},
"description": "SwapKit - Wallet Mobile",
"exports": {
".": {
Expand All @@ -11,11 +14,15 @@
"types": "./dist/types/index.d.ts"
}
},
"files": ["dist/"],
"files": [
"dist/"
],
"homepage": "https://github.com/swapkit/wallets",
"license": "SEE LICENSE IN LICENSE",
"name": "@swapkit/wallet-mobile",
"publishConfig": { "access": "public" },
"publishConfig": {
"access": "public"
},
"repository": {
"directory": "packages/wallet-mobile",
"type": "git",
Expand All @@ -29,5 +36,5 @@
"type-check:go": "tsgo"
},
"type": "module",
"version": "4.2.3"
"version": "4.3.0"
}
26 changes: 26 additions & 0 deletions packages/wallets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @swapkit-dev/wallets

## 4.7.0

### Minor Changes

- [#17](https://github.com/swapkit/wallets/pull/17) [`5a5a117`](https://github.com/swapkit/wallets/commit/5a5a11738b1c8a2fd08fc571cc2156947ee05bd0) Thanks [@towanTG](https://github.com/towanTG)! - Per-wallet `directSigningSupport` mappings for the V3 swap flow

- Bump `@swapkit/wallet-core` to `^4.2.0` and delete the duplicated local `core.ts` files in `wallets`, `wallet-extensions`, and `wallet-hardware` — every wallet module now imports `createWallet` / `getWalletSupportedChains` from `@swapkit/wallet-core` directly.
- Stamp `directSigningSupport: Partial<Record<Chain, boolean>>` on every `createWallet({...})` call so the SDK can decide V3 routing per (wallet, chain) without consulting a central map.
- Wire two real signers as part of the rollout:
- **Xaman / Ripple** — `submitXamanPayload` now exposes the signed `hex` blob and accepts `{ submit: false }`; a new `ChainSigner` wraps `xumm.payload.createAndSubscribe` and is passed to `getRippleToolbox({ signer })`, unblocking V3 for XRPL.
- **Ledger / Cosmos Hub** — pass the existing `CosmosLedger` (already an `OfflineAminoSigner`) into `getCosmosToolbox(Chain.Cosmos, { signer })`, unblocking V3 for ATOM. Bespoke `transfer` retained for back-compat.
- BitGet Cosmos: switch `getOfflineSignerOnlyAmino` → `getOfflineSignerAuto` so V3 proto SignDocs sign natively (Ledger via BitGet still falls back to amino).
- WalletConnect EVM: fix latent bugs flagged by the V3 audit — add Aurora and Berachain to the EVM `getToolbox` switch, register `XLAYER_MAINNET_ID` so XLayer's namespace negotiation works.

### Patch Changes

- [#11](https://github.com/swapkit/wallets/pull/11) [`67d6989`](https://github.com/swapkit/wallets/commit/67d698968b20e68b92537b56d04a415ad516b84a) Thanks [@github-actions](https://github.com/apps/github-actions)! - Update core dependencies: @swapkit/contracts@4.1.3,@swapkit/core@4.4.11,@swapkit/helpers@4.12.9,@swapkit/tokens@4.2.5,@swapkit/toolboxes@4.14.4,@swapkit/types@0.7.3,@swapkit/utxo-signer@2.1.1

- [#18](https://github.com/swapkit/wallets/pull/18) [`b4b4666`](https://github.com/swapkit/wallets/commit/b4b4666fccee2861aa733cf589a9a50aaf4ed981) Thanks [@towanTG](https://github.com/towanTG)! - Defer EVM network switch from wallet connect to method call time. On connect we now just read the wallet's currently selected address and wire the toolbox; `prepareNetworkSwitch` handles the chain switch lazily when a transaction method is invoked. Stops the "add chain" prompt storm users saw on first connect.

Affected: evm-extensions (Metamask / Brave / Coinbase / EIP-6963), bitget, ctrl, okx, onekey, trustwallet, vultisig, phantom, talisman, keepkey-bex, passkeys.

- Updated dependencies [[`f7f0f94`](https://github.com/swapkit/wallets/commit/f7f0f94596d77727a0b5eeff4f70264177aba1ee), [`67d6989`](https://github.com/swapkit/wallets/commit/67d698968b20e68b92537b56d04a415ad516b84a), [`9dd5073`](https://github.com/swapkit/wallets/commit/9dd50734580ba787f335c925032dad82293523a7), [`b4b4666`](https://github.com/swapkit/wallets/commit/b4b4666fccee2861aa733cf589a9a50aaf4ed981), [`5202c86`](https://github.com/swapkit/wallets/commit/5202c86388c8b371b48e09c12aa7e5b2419d8ce6), [`5a5a117`](https://github.com/swapkit/wallets/commit/5a5a11738b1c8a2fd08fc571cc2156947ee05bd0)]:
- @swapkit/wallet-extensions@4.5.0
- @swapkit/wallet-hardware@4.7.0

## 4.6.4

### Patch Changes
Expand Down
20 changes: 14 additions & 6 deletions packages/wallets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@swapkit/wallet-core": "^4.2.0",
"@swapkit/toolboxes": "^4.14.5",
"@swapkit/utxo-signer": "^2.1.1",
"@swapkit/wallet-extensions": "^4.4.3",
"@swapkit/wallet-hardware": "^4.6.3",
"@swapkit/wallet-extensions": "^4.5.0",
"@swapkit/wallet-hardware": "^4.7.0",
"@walletconnect/modal": "~2.7.0",
"@walletconnect/sign-client": "~2.23.0",
"cosmjs-types": "~0.10.1",
Expand Down Expand Up @@ -205,12 +205,20 @@
"types": "./dist/types/xaman/index.d.ts"
}
},
"files": ["dist/"],
"files": [
"dist/"
],
"homepage": "https://github.com/swapkit/wallets",
"license": "SEE LICENSE IN LICENSE",
"name": "@swapkit/wallets",
"publishConfig": { "access": "public" },
"repository": { "directory": "packages/wallets", "type": "git", "url": "git+https://github.com/swapkit/wallets.git" },
"publishConfig": {
"access": "public"
},
"repository": {
"directory": "packages/wallets",
"type": "git",
"url": "git+https://github.com/swapkit/wallets.git"
},
"scripts": {
"build": "bun run ./build.ts",
"build:clean": "rm -rf dist && bun run ./build.ts",
Expand All @@ -219,5 +227,5 @@
"type-check:go": "tsgo"
},
"type": "module",
"version": "4.6.4"
"version": "4.7.0"
}
Loading