@shapeshiftoss/types 2.9.0 → 2.10.1
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/base.d.ts +3 -8
- package/dist/base.js +1 -0
- package/package.json +2 -2
package/dist/base.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HDWallet } from '@shapeshiftoss/hdwallet-core';
|
|
2
|
-
import {
|
|
2
|
+
import { QuoteFeeData, SignTxInput } from './chain-adapters';
|
|
3
3
|
/** Common */
|
|
4
4
|
export declare type BIP44Params = {
|
|
5
5
|
purpose: number;
|
|
@@ -70,7 +70,8 @@ export declare type BaseAsset = AbstractAsset & {
|
|
|
70
70
|
export declare type Asset = AbstractAsset & Partial<TokenAssetFields>;
|
|
71
71
|
export declare enum SwapperType {
|
|
72
72
|
Zrx = "0x",
|
|
73
|
-
Thorchain = "Thorchain"
|
|
73
|
+
Thorchain = "Thorchain",
|
|
74
|
+
Test = "Test"
|
|
74
75
|
}
|
|
75
76
|
export declare type SwapSource = {
|
|
76
77
|
name: string;
|
|
@@ -170,10 +171,4 @@ export declare type ApproveInfiniteInput<C extends ChainTypes, S extends Swapper
|
|
|
170
171
|
quote: Quote<C, S>;
|
|
171
172
|
wallet: HDWallet;
|
|
172
173
|
};
|
|
173
|
-
export declare type SendMaxAmountInput = {
|
|
174
|
-
wallet: HDWallet;
|
|
175
|
-
quote: Quote<ChainTypes, SwapperType>;
|
|
176
|
-
sellAssetAccountId: string;
|
|
177
|
-
feeEstimateKey?: FeeDataKey;
|
|
178
|
-
};
|
|
179
174
|
export {};
|
package/dist/base.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapeshiftoss/types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.1",
|
|
4
4
|
"description": "Common types shared across packages",
|
|
5
5
|
"repository": "https://github.com/shapeshift/lib",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"type-check": "tsc --project ./tsconfig.json --noEmit"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@shapeshiftoss/hdwallet-core": "^1.
|
|
23
|
+
"@shapeshiftoss/hdwallet-core": "^1.20.0"
|
|
24
24
|
}
|
|
25
25
|
}
|