@swapkit/core 1.0.0-rc.94 → 1.0.0-rc.96
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.es.js +443 -462
- package/dist/index.es.js.map +1 -1
- package/package.json +11 -11
- package/src/client/types.ts +10 -3
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "swapkit-oss-team",
|
|
3
3
|
"dependencies": {
|
|
4
|
-
"@swapkit/helpers": "1.0.0-rc.
|
|
5
|
-
"@swapkit/types": "1.0.0-rc.
|
|
4
|
+
"@swapkit/helpers": "1.0.0-rc.69",
|
|
5
|
+
"@swapkit/types": "1.0.0-rc.37"
|
|
6
6
|
},
|
|
7
7
|
"description": "SwapKit Lib core",
|
|
8
8
|
"devDependencies": {
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"vitest": "1.2.1",
|
|
12
12
|
"@internal/config": "0.0.2-rc.0",
|
|
13
13
|
"@swapkit/tokens": "1.0.0-rc.34",
|
|
14
|
-
"@swapkit/toolbox-cosmos": "1.0.0-rc.
|
|
15
|
-
"@swapkit/toolbox-evm": "1.0.0-rc.
|
|
16
|
-
"@swapkit/toolbox-substrate": "1.0.0-rc.
|
|
17
|
-
"@swapkit/toolbox-utxo": "1.0.0-rc.
|
|
14
|
+
"@swapkit/toolbox-cosmos": "1.0.0-rc.79",
|
|
15
|
+
"@swapkit/toolbox-evm": "1.0.0-rc.75",
|
|
16
|
+
"@swapkit/toolbox-substrate": "1.0.0-rc.3",
|
|
17
|
+
"@swapkit/toolbox-utxo": "1.0.0-rc.74"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@swapkit/tokens": "1.0.0-rc.34",
|
|
21
|
-
"@swapkit/toolbox-cosmos": "1.0.0-rc.
|
|
22
|
-
"@swapkit/toolbox-evm": "1.0.0-rc.
|
|
23
|
-
"@swapkit/toolbox-substrate": "1.0.0-rc.
|
|
24
|
-
"@swapkit/toolbox-utxo": "1.0.0-rc.
|
|
21
|
+
"@swapkit/toolbox-cosmos": "1.0.0-rc.79",
|
|
22
|
+
"@swapkit/toolbox-evm": "1.0.0-rc.75",
|
|
23
|
+
"@swapkit/toolbox-substrate": "1.0.0-rc.3",
|
|
24
|
+
"@swapkit/toolbox-utxo": "1.0.0-rc.74"
|
|
25
25
|
},
|
|
26
26
|
"eslintConfig": {
|
|
27
27
|
"extends": "../../../internal/eslint-config"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"type": "module",
|
|
51
51
|
"types": "./dist/index.d.ts",
|
|
52
|
-
"version": "1.0.0-rc.
|
|
52
|
+
"version": "1.0.0-rc.96",
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "NODE_OPTIONS=--max_old_space_size=16384 vite build",
|
|
55
55
|
"clean": "rm -rf dist vite.config.ts.* .turbo node_modules",
|
package/src/client/types.ts
CHANGED
|
@@ -15,7 +15,13 @@ import type {
|
|
|
15
15
|
OPToolbox,
|
|
16
16
|
} from '@swapkit/toolbox-evm';
|
|
17
17
|
import type { ChainflipToolbox, PolkadotToolbox } from '@swapkit/toolbox-substrate';
|
|
18
|
-
import type {
|
|
18
|
+
import type {
|
|
19
|
+
BCHToolbox,
|
|
20
|
+
BTCToolbox,
|
|
21
|
+
DASHToolbox,
|
|
22
|
+
DOGEToolbox,
|
|
23
|
+
LTCToolbox,
|
|
24
|
+
} from '@swapkit/toolbox-utxo';
|
|
19
25
|
import type { Chain, FeeOption, WalletOption } from '@swapkit/types';
|
|
20
26
|
|
|
21
27
|
type BaseWalletMethods = {
|
|
@@ -87,15 +93,16 @@ export type WalletMethods = {
|
|
|
87
93
|
[Chain.Binance]: CosmosBasedWallet<typeof BinanceToolbox> | null;
|
|
88
94
|
[Chain.BitcoinCash]: UTXOWallet<typeof BCHToolbox> | null;
|
|
89
95
|
[Chain.Bitcoin]: UTXOWallet<typeof BTCToolbox> | null;
|
|
96
|
+
[Chain.Chainflip]: SubstrateBasedWallet<typeof ChainflipToolbox> | null;
|
|
90
97
|
[Chain.Cosmos]: CosmosBasedWallet<typeof GaiaToolbox> | null;
|
|
98
|
+
[Chain.Dash]: UTXOWallet<typeof DASHToolbox> | null;
|
|
91
99
|
[Chain.Dogecoin]: UTXOWallet<typeof DOGEToolbox> | null;
|
|
92
100
|
[Chain.Ethereum]: EVMWallet<typeof ETHToolbox> | null;
|
|
93
101
|
[Chain.Kujira]: CosmosBasedWallet<typeof KujiraToolbox> | null;
|
|
94
|
-
[Chain.Polkadot]: SubstrateBasedWallet<typeof PolkadotToolbox> | null;
|
|
95
|
-
[Chain.Chainflip]: SubstrateBasedWallet<typeof ChainflipToolbox> | null;
|
|
96
102
|
[Chain.Litecoin]: UTXOWallet<typeof LTCToolbox> | null;
|
|
97
103
|
[Chain.Maya]: ThorchainWallet | null;
|
|
98
104
|
[Chain.Optimism]: EVMWallet<typeof OPToolbox> | null;
|
|
105
|
+
[Chain.Polkadot]: SubstrateBasedWallet<typeof PolkadotToolbox> | null;
|
|
99
106
|
[Chain.Polygon]: EVMWallet<typeof MATICToolbox> | null;
|
|
100
107
|
[Chain.THORChain]: ThorchainWallet | null;
|
|
101
108
|
};
|