@shapeshiftoss/types 2.7.0 → 2.9.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.
|
@@ -28,10 +28,17 @@ export declare type QuoteFeeData = {
|
|
|
28
28
|
totalFee?: string;
|
|
29
29
|
};
|
|
30
30
|
export declare type BuildTxInput = {
|
|
31
|
-
gasPrice: string;
|
|
32
31
|
gasLimit: string;
|
|
33
32
|
erc20ContractAddress?: string;
|
|
34
|
-
}
|
|
33
|
+
} & ({
|
|
34
|
+
gasPrice: string;
|
|
35
|
+
maxFeePerGas?: never;
|
|
36
|
+
maxPriorityFeePerGas?: never;
|
|
37
|
+
} | {
|
|
38
|
+
gasPrice?: never;
|
|
39
|
+
maxFeePerGas: string;
|
|
40
|
+
maxPriorityFeePerGas: string;
|
|
41
|
+
});
|
|
35
42
|
export declare type GetFeeDataInput = {
|
|
36
43
|
contractAddress?: string;
|
|
37
44
|
from: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapeshiftoss/types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.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
|
}
|