@swapkit/toolboxes 4.15.12 → 4.15.14
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/dist/src/cardano/index.cjs +1 -1
- package/dist/src/cardano/index.js +1 -1
- package/dist/src/cosmos/index.cjs +1 -1
- package/dist/src/cosmos/index.js +1 -1
- package/dist/src/index.cjs +1 -1
- package/dist/src/index.js +1 -1
- package/dist/types/types.d.ts +3 -1
- package/dist/types/utxo/hdWallet.d.ts +1 -1
- package/package.json +22 -24
package/dist/types/types.d.ts
CHANGED
|
@@ -29,5 +29,7 @@ type OtherWallets = {
|
|
|
29
29
|
[Chain.Near]: NearWallet;
|
|
30
30
|
[Chain.Cardano]: CardanoWallet;
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
type SupportedWallets = EVMToolboxes & UTXOToolboxes & CosmosWallets & ThorchainWallets & SubstrateToolboxes & OtherWallets;
|
|
33
|
+
type UnsupportedWallets = Record<Exclude<Chain, keyof SupportedWallets>, never>;
|
|
34
|
+
export type FullWallet = BaseWallet<SupportedWallets & UnsupportedWallets>;
|
|
33
35
|
export {};
|
|
@@ -15,7 +15,7 @@ export declare function assertDerivationIndex(name: string, value: number): void
|
|
|
15
15
|
export declare function getUTXOAccountPath({ accountIndex, chain, derivationPath, }: HDWalletAccountParams & {
|
|
16
16
|
chain: UTXOChain;
|
|
17
17
|
derivationPath?: DerivationPathArray;
|
|
18
|
-
}): [44, 118, 0, 0, 0] | [44, 931, 0, 0, 0] | [number, number, number, number, number] | [44, 637, 0, 0, 0] | [44, 60, 0, 0, 0] | [44, 397, 0, 0, 0] | [0, 0, 0, 0, 0] | [44, 144, 0, 0, 0] | [44, 501, 0, 0, 0] | [44, 607, 0, 0, 0] | [44, 195, 0, 0, 0] | [44, 148, 0, 0, 0] | [44, 784, 0, 0, 0] | [1852, 1815, 0, 0, 0] | [44, 9004, 0, 0, 0] | [number, number, number, number, (number | undefined)?] | [44, 145, 0, 0, 0] | [84, 2, 0, 0, 0] | [44, 3, 0, 0, 0] | [44, 5, 0, 0, 0] | [44, 133, 0, 0, 0];
|
|
18
|
+
}): [44, 118, 0, 0, 0] | [44, 931, 0, 0, 0] | [number, number, number, number, number] | [44, 637, 0, 0, 0] | [44, 60, 0, 0, 0] | [44, 397, 0, 0, 0] | [0, 0, 0, 0, 0] | [44, 144, 0, 0, 0] | [44, 501, 0, 0, 0] | [8797555, 1, 0, 0, 0] | [44, 607, 0, 0, 0] | [44, 195, 0, 0, 0] | [44, 148, 0, 0, 0] | [44, 784, 0, 0, 0] | [1852, 1815, 0, 0, 0] | [44, 9004, 0, 0, 0] | [number, number, number, number, (number | undefined)?] | [44, 145, 0, 0, 0] | [84, 2, 0, 0, 0] | [44, 3, 0, 0, 0] | [44, 5, 0, 0, 0] | [44, 133, 0, 0, 0];
|
|
19
19
|
export declare function getUTXOAddressPath({ accountIndex, change, chain, derivationPath, index, }: HDWalletAccountParams & {
|
|
20
20
|
change?: boolean;
|
|
21
21
|
chain: UTXOChain;
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"dependencies": { "@swapkit/helpers": "4.13.
|
|
2
|
+
"dependencies": { "@swapkit/helpers": "4.13.10", "@swapkit/utxo-signer": "2.1.3" },
|
|
3
3
|
"description": "SwapKit - Toolboxes",
|
|
4
4
|
"devDependencies": {
|
|
5
5
|
"@aptos-labs/ts-sdk": "1.34.0",
|
|
6
|
-
"@cosmjs/amino": "0.
|
|
7
|
-
"@cosmjs/crypto": "0.
|
|
8
|
-
"@cosmjs/proto-signing": "0.
|
|
9
|
-
"@cosmjs/stargate": "0.
|
|
10
|
-
"@mysten/bcs": "1.9.2",
|
|
6
|
+
"@cosmjs/amino": "0.39.0",
|
|
7
|
+
"@cosmjs/crypto": "0.39.0",
|
|
8
|
+
"@cosmjs/proto-signing": "0.39.0",
|
|
9
|
+
"@cosmjs/stargate": "0.39.0",
|
|
11
10
|
"@mysten/sui": "1.44.0",
|
|
12
11
|
"@near-js/accounts": "2.5.1",
|
|
13
12
|
"@near-js/crypto": "2.5.1",
|
|
@@ -17,9 +16,9 @@
|
|
|
17
16
|
"@near-js/utils": "2.5.1",
|
|
18
17
|
"@noble/curves": "2.2.0",
|
|
19
18
|
"@noble/hashes": "2.2.0",
|
|
20
|
-
"@nomicfoundation/hardhat-ethers": "4.0.
|
|
21
|
-
"@nomicfoundation/hardhat-network-helpers": "3.0.
|
|
22
|
-
"@nomicfoundation/hardhat-toolbox": "
|
|
19
|
+
"@nomicfoundation/hardhat-ethers": "4.0.10",
|
|
20
|
+
"@nomicfoundation/hardhat-network-helpers": "3.0.7",
|
|
21
|
+
"@nomicfoundation/hardhat-toolbox": "7.0.0",
|
|
23
22
|
"@orbs-network/ton-access": "2.3.3",
|
|
24
23
|
"@polkadot/api": "15.10.2",
|
|
25
24
|
"@polkadot/keyring": "13.5.7",
|
|
@@ -34,10 +33,10 @@
|
|
|
34
33
|
"@solana/spl-memo": "0.2.5",
|
|
35
34
|
"@solana/spl-token": "0.4.14",
|
|
36
35
|
"@solana/web3.js": "1.98.4",
|
|
37
|
-
"@stellar/stellar-sdk": "
|
|
36
|
+
"@stellar/stellar-sdk": "15.1.0",
|
|
38
37
|
"@stricahq/bip32ed25519": "1.1.2",
|
|
39
38
|
"@stricahq/cbors": "1.0.4",
|
|
40
|
-
"@stricahq/typhonjs": "3.0
|
|
39
|
+
"@stricahq/typhonjs": "3.1.0",
|
|
41
40
|
"@ton/crypto": "3.3.0",
|
|
42
41
|
"@ton/ton": "16.2.4",
|
|
43
42
|
"@types/bn.js": "5.2.0",
|
|
@@ -45,11 +44,11 @@
|
|
|
45
44
|
"@types/elliptic": "6.4.18",
|
|
46
45
|
"cosmjs-types": "0.11.0",
|
|
47
46
|
"ethers": "6.16.0",
|
|
48
|
-
"hardhat": "3.4.
|
|
47
|
+
"hardhat": "3.4.4",
|
|
49
48
|
"micro-key-producer": "0.8.6",
|
|
50
49
|
"near-seed-phrase": "0.2.1",
|
|
51
|
-
"protobufjs": "
|
|
52
|
-
"starknet": "
|
|
50
|
+
"protobufjs": "8.0.3",
|
|
51
|
+
"starknet": "10.0.2",
|
|
53
52
|
"ts-pattern": "5.9.0",
|
|
54
53
|
"xrpl": "4.6.0"
|
|
55
54
|
},
|
|
@@ -142,11 +141,10 @@
|
|
|
142
141
|
"name": "@swapkit/toolboxes",
|
|
143
142
|
"peerDependencies": {
|
|
144
143
|
"@aptos-labs/ts-sdk": "1.34.0",
|
|
145
|
-
"@cosmjs/amino": "0.
|
|
146
|
-
"@cosmjs/crypto": "0.
|
|
147
|
-
"@cosmjs/proto-signing": "0.
|
|
148
|
-
"@cosmjs/stargate": "0.
|
|
149
|
-
"@mysten/bcs": "1.9.2",
|
|
144
|
+
"@cosmjs/amino": "0.39.0",
|
|
145
|
+
"@cosmjs/crypto": "0.39.0",
|
|
146
|
+
"@cosmjs/proto-signing": "0.39.0",
|
|
147
|
+
"@cosmjs/stargate": "0.39.0",
|
|
150
148
|
"@mysten/sui": "1.44.0",
|
|
151
149
|
"@near-js/accounts": "2.5.1",
|
|
152
150
|
"@near-js/crypto": "2.5.1",
|
|
@@ -170,10 +168,10 @@
|
|
|
170
168
|
"@solana/spl-memo": "0.2.5",
|
|
171
169
|
"@solana/spl-token": "0.4.14",
|
|
172
170
|
"@solana/web3.js": "1.98.4",
|
|
173
|
-
"@stellar/stellar-sdk": "
|
|
171
|
+
"@stellar/stellar-sdk": "15.1.0",
|
|
174
172
|
"@stricahq/bip32ed25519": "1.1.2",
|
|
175
173
|
"@stricahq/cbors": "1.0.4",
|
|
176
|
-
"@stricahq/typhonjs": "3.0
|
|
174
|
+
"@stricahq/typhonjs": "3.1.0",
|
|
177
175
|
"@ton/crypto": "3.3.0",
|
|
178
176
|
"@ton/ton": "16.2.4",
|
|
179
177
|
"bignumber.js": "9.3.1",
|
|
@@ -181,8 +179,8 @@
|
|
|
181
179
|
"ethers": "6.16.0",
|
|
182
180
|
"micro-key-producer": "0.8.6",
|
|
183
181
|
"near-seed-phrase": "0.2.1",
|
|
184
|
-
"protobufjs": "
|
|
185
|
-
"starknet": "
|
|
182
|
+
"protobufjs": "8.0.3",
|
|
183
|
+
"starknet": "10.0.2",
|
|
186
184
|
"ts-pattern": "5.9.0",
|
|
187
185
|
"xrpl": "4.6.0"
|
|
188
186
|
},
|
|
@@ -196,5 +194,5 @@
|
|
|
196
194
|
"type-check:go": "tsgo"
|
|
197
195
|
},
|
|
198
196
|
"type": "module",
|
|
199
|
-
"version": "4.15.
|
|
197
|
+
"version": "4.15.14"
|
|
200
198
|
}
|