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
11 changes: 11 additions & 0 deletions .changeset/swapkit-sdk-15fcrq2iqxhgc.md
Original file line number Diff line number Diff line change
@@ -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
29 changes: 13 additions & 16 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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": {
Expand All @@ -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/*"
]
}
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
20 changes: 10 additions & 10 deletions packages/wallet-extensions/src/evm-extensions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions packages/wallet-extensions/src/keplr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-hardware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-mobile/package.json
Original file line number Diff line number Diff line change
@@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading