@swapkit/wallet-keystore 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@scure/bip39": "1.3.0",
4
- "@swapkit/helpers": "1.4.1",
5
- "@swapkit/toolbox-cosmos": "1.0.20",
6
- "@swapkit/toolbox-evm": "1.2.1",
7
- "@swapkit/toolbox-radix": "1.0.18",
8
- "@swapkit/toolbox-solana": "1.0.18",
9
- "@swapkit/toolbox-substrate": "1.1.13",
10
- "@swapkit/toolbox-utxo": "1.1.1",
4
+ "@swapkit/helpers": "1.5.0",
5
+ "@swapkit/toolbox-cosmos": "1.0.22",
6
+ "@swapkit/toolbox-evm": "1.2.3",
7
+ "@swapkit/toolbox-radix": "1.0.20",
8
+ "@swapkit/toolbox-solana": "1.0.20",
9
+ "@swapkit/toolbox-substrate": "1.1.15",
10
+ "@swapkit/toolbox-utxo": "1.1.3",
11
11
  "blakejs": "1.2.1",
12
12
  "micro-key-producer": "0.7.0"
13
13
  },
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "type": "module",
37
37
  "types": "./src/index.ts",
38
- "version": "1.1.2"
38
+ "version": "1.1.4"
39
39
  }
package/src/keystore.ts CHANGED
@@ -214,7 +214,7 @@ function connectKeystore({
214
214
  const derivationPath =
215
215
  typeof derivationPathMapOrIndex === "object" && derivationPathMapOrIndex[chain]
216
216
  ? derivationPathToString(derivationPathMapOrIndex[chain])
217
- : `${DerivationPath[chain]}/${derivationPathMapOrIndex}`;
217
+ : `${DerivationPath[chain]}/${derivationPathMapOrIndex || 0}`;
218
218
 
219
219
  const { address, walletMethods } = await getWalletMethodsForChain({
220
220
  derivationPath,