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
17 changes: 17 additions & 0 deletions .changeset/swapkit-sdk-uynp77m7dluu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
"@swapkit/sdk": patch
"@swapkit/wallet-extensions": patch
"@swapkit/wallet-hardware": patch
"@swapkit/wallet-mobile": patch
"@swapkit/wallets": patch
---

Update SwapKit SDK dependencies:

- @swapkit/core: 5.0.3 → 5.0.5
- @swapkit/helpers: 5.1.0 → 5.2.1
- @swapkit/plugins: 5.0.3 → 5.0.5
- @swapkit/server: 5.1.1 → 5.1.3
- @swapkit/toolboxes: 5.1.2 → 5.2.1
- @swapkit/wallet-core: 5.0.3 → 5.0.5
- @swapkit/wallet-keystore: 5.0.3 → 5.1.1
80 changes: 40 additions & 40 deletions bun.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"@cosmjs/proto-signing": "0.37.0",
"@cosmjs/stargate": "0.37.0",
"@scure/bip32": "2.2.0",
"@swapkit/core": "^5.0.3",
"@swapkit/helpers": "^5.1.0",
"@swapkit/plugins": "^5.0.3",
"@swapkit/server": "^5.1.1",
"@swapkit/toolboxes": "^5.1.2",
"@swapkit/wallet-core": "^5.0.3",
"@swapkit/wallet-keystore": "^5.0.3",
"@swapkit/core": "^5.0.5",
"@swapkit/helpers": "^5.2.1",
"@swapkit/plugins": "^5.0.5",
"@swapkit/server": "^5.1.3",
"@swapkit/toolboxes": "^5.2.1",
"@swapkit/wallet-core": "^5.0.5",
"@swapkit/wallet-keystore": "^5.1.1",
"@types/bun": "1.3.13",
"@types/node": "25.6.0",
"ledger-bitcoin": "0.3.0",
Expand Down
14 changes: 7 additions & 7 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"author": "swapkit-dev",
"dependencies": {
"@stricahq/typhonjs": "~3.0.1",
"@swapkit/core": "^5.0.3",
"@swapkit/helpers": "^5.1.0",
"@swapkit/plugins": "^5.0.3",
"@swapkit/server": "^5.1.1",
"@swapkit/toolboxes": "^5.1.2",
"@swapkit/wallet-core": "^5.0.3",
"@swapkit/wallet-keystore": "^5.0.3",
"@swapkit/core": "^5.0.5",
"@swapkit/helpers": "^5.2.1",
"@swapkit/plugins": "^5.0.5",
"@swapkit/server": "^5.1.3",
"@swapkit/toolboxes": "^5.2.1",
"@swapkit/wallet-core": "^5.0.5",
"@swapkit/wallet-keystore": "^5.1.1",
"@swapkit/wallets": "workspace:*",
"cosmjs-types": "0.10.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/wallet-extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"@near-js/transactions": "~2.5.0",
"@scure/base": "~2.2.0",
"@solana/web3.js": "~1.98.4",
"@swapkit/helpers": "^5.1.0",
"@swapkit/toolboxes": "^5.1.2",
"@swapkit/helpers": "^5.2.1",
"@swapkit/toolboxes": "^5.2.1",
"@swapkit/utxo-signer": "^3.0.0",
"@swapkit/wallet-core": "^5.0.3",
"@swapkit/wallet-core": "^5.0.5",
"@wallet-standard/app": "^1.1.1",
"cosmjs-types": "0.10.1",
"ethers": "^6.14.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/wallet-hardware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"@near-js/transactions": "~2.5.0",
"@scure/base": "2.2.0",
"@scure/bip32": "2.2.0",
"@swapkit/helpers": "^5.1.0",
"@swapkit/toolboxes": "^5.1.2",
"@swapkit/helpers": "^5.2.1",
"@swapkit/toolboxes": "^5.2.1",
"@swapkit/utxo-signer": "^3.0.0",
"@swapkit/wallet-core": "^5.0.3",
"@swapkit/wallet-core": "^5.0.5",
"@trezor/connect-web": "~9.7.3",
"cosmjs-types": "~0.10.1",
"ethers": "^6.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-hardware/src/keepkey/chains/utxo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export async function utxoWalletMethods({
) => {
const accountAddressN = bip32ToAddressNList(
derivationPath
? derivationPathToString(derivationPath.slice(0, 3) as DerivationPathArray)
? derivationPathToString(derivationPath.slice(0, 3) as unknown as DerivationPathArray)
: DerivationPath[chain],
);

Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-hardware/src/trezor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ async function getTrezorWallet<T extends Chain>({
) => {
const TrezorConnect = (await import("@trezor/connect-web")).default;
const network = getNetworkForChain(chain as UTXOChain);
const baseAddressN = hardenDerivationPath(derivationPath.slice(0, 3) as DerivationPathArray);
const baseAddressN = hardenDerivationPath(derivationPath.slice(0, 3) as unknown as DerivationPathArray);

const outputs = buildUtxoOutputsForTrezor(
tx,
Expand Down
6 changes: 3 additions & 3 deletions packages/wallet-mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"author": "swapkit",
"dependencies": {
"@swapkit/helpers": "^5.1.0",
"@swapkit/toolboxes": "^5.1.2",
"@swapkit/wallet-core": "^5.0.3"
"@swapkit/helpers": "^5.2.1",
"@swapkit/toolboxes": "^5.2.1",
"@swapkit/wallet-core": "^5.0.5"
},
"description": "SwapKit - Wallet Mobile",
"exports": {
Expand Down
6 changes: 3 additions & 3 deletions packages/wallets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"@scure/base": "~2.2.0",
"@scure/bip39": "~2.2.0",
"@solana/web3.js": "~1.98.4",
"@swapkit/helpers": "^5.1.0",
"@swapkit/toolboxes": "^5.1.2",
"@swapkit/helpers": "^5.2.1",
"@swapkit/toolboxes": "^5.2.1",
"@swapkit/utxo-signer": "^3.0.0",
"@swapkit/wallet-core": "^5.0.3",
"@swapkit/wallet-core": "^5.0.5",
"@swapkit/wallet-extensions": "workspace:*",
"@swapkit/wallet-hardware": "workspace:*",
"@ton/core": "~0.63.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/src/keystore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export async function createKeystoreWallet<T extends Chain[]>({
const derivationArrayToUpdate = NetworkDerivationPath[chain].slice(
0,
chain === Chain.Solana || chain === Chain.Aleo ? 4 : 5,
) as DerivationPathArray;
) as unknown as DerivationPathArray;

const derivationPath: DerivationPathArray =
derivationPathFromMap || updateDerivationPath(derivationArrayToUpdate, { index: derivationPathIndex });
Expand Down
Loading