@swapkit/toolboxes 4.24.1 → 4.26.0
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/CHANGELOG.md +17 -0
- package/dist/src/aleo/index.cjs +1 -0
- package/dist/src/aleo/index.js +1 -0
- 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/src/near/index.cjs +1 -1
- package/dist/src/near/index.js +1 -1
- package/dist/src/ripple/index.cjs +1 -1
- package/dist/src/ripple/index.js +1 -1
- package/dist/src/stellar/index.cjs +1 -1
- package/dist/src/stellar/index.js +1 -1
- package/dist/types/aleo/helpers.d.ts +62 -0
- package/dist/types/aleo/index.d.ts +3 -0
- package/dist/types/aleo/toolbox.d.ts +40 -0
- package/dist/types/aleo/types.d.ts +32 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/stellar/toolbox.d.ts +4 -0
- package/dist/types/types.d.ts +2 -0
- package/dist/types/utxo/hdWallet.d.ts +1 -1
- package/package.json +9 -2
package/dist/types/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type BaseWallet, Chain } from "@swapkit/helpers";
|
|
2
|
+
import type { AleoWallet } from "./aleo";
|
|
2
3
|
import type { AptosWallet } from "./aptos";
|
|
3
4
|
import type { CardanoWallet } from "./cardano";
|
|
4
5
|
import type { CosmosWallets, ThorchainWallets } from "./cosmos";
|
|
@@ -16,6 +17,7 @@ import type { TONWallet } from "./ton";
|
|
|
16
17
|
import type { TronWallet } from "./tron";
|
|
17
18
|
import type { UTXOToolboxes } from "./utxo";
|
|
18
19
|
type OtherWallets = {
|
|
20
|
+
[Chain.Aleo]: AleoWallet;
|
|
19
21
|
[Chain.Aptos]: AptosWallet;
|
|
20
22
|
[Chain.Hype]: HyperCoreWallet;
|
|
21
23
|
[Chain.Radix]: RadixWallet;
|
|
@@ -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] | [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];
|
|
18
|
+
}): [44, 118, 0, 0, 0] | [44, 931, 0, 0, 0] | [number, number, number, number, number] | [44, 683, 0, 0] | [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,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"dependencies": { "@swapkit/helpers": "4.
|
|
2
|
+
"dependencies": { "@swapkit/helpers": "4.19.0", "@swapkit/utxo-signer": "2.2.3" },
|
|
3
3
|
"description": "SwapKit - Toolboxes",
|
|
4
4
|
"devDependencies": {
|
|
5
5
|
"@aptos-labs/ts-sdk": "7.0.1",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"@polkadot/types": "16.5.6",
|
|
26
26
|
"@polkadot/util": "14.0.3",
|
|
27
27
|
"@polkadot/util-crypto": "14.0.3",
|
|
28
|
+
"@provablehq/sdk": "0.11.3",
|
|
28
29
|
"@radixdlt/babylon-gateway-api-sdk": "1.10.1",
|
|
29
30
|
"@radixdlt/radix-dapp-toolkit": "2.3.0",
|
|
30
31
|
"@scure/base": "2.2.0",
|
|
@@ -56,6 +57,11 @@
|
|
|
56
57
|
},
|
|
57
58
|
"exports": {
|
|
58
59
|
".": { "default": "./dist/src/index.js", "require": "./dist/src/index.cjs", "types": "./dist/types/index.d.ts" },
|
|
60
|
+
"./aleo": {
|
|
61
|
+
"default": "./dist/src/aleo/index.js",
|
|
62
|
+
"require": "./dist/src/aleo/index.cjs",
|
|
63
|
+
"types": "./dist/types/aleo/index.d.ts"
|
|
64
|
+
},
|
|
59
65
|
"./aptos": {
|
|
60
66
|
"default": "./dist/src/aptos/index.js",
|
|
61
67
|
"require": "./dist/src/aptos/index.cjs",
|
|
@@ -162,6 +168,7 @@
|
|
|
162
168
|
"@polkadot/rpc-provider": "16.5.6",
|
|
163
169
|
"@polkadot/util": "14.0.3",
|
|
164
170
|
"@polkadot/util-crypto": "14.0.3",
|
|
171
|
+
"@provablehq/sdk": "0.11.3",
|
|
165
172
|
"@radixdlt/babylon-gateway-api-sdk": "1.10.1",
|
|
166
173
|
"@radixdlt/radix-dapp-toolkit": "2.3.0",
|
|
167
174
|
"@scure/base": "2.2.0",
|
|
@@ -198,5 +205,5 @@
|
|
|
198
205
|
"type-check:go": "tsgo"
|
|
199
206
|
},
|
|
200
207
|
"type": "module",
|
|
201
|
-
"version": "4.
|
|
208
|
+
"version": "4.26.0"
|
|
202
209
|
}
|