@shapeshiftoss/types 4.2.0 → 4.3.2
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/README.md +1 -1
- package/dist/base.d.ts +0 -20
- package/dist/base.js +1 -0
- package/dist/market.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/base.d.ts
CHANGED
|
@@ -73,24 +73,4 @@ export declare enum SwapperType {
|
|
|
73
73
|
Thorchain = "Thorchain",
|
|
74
74
|
Test = "Test"
|
|
75
75
|
}
|
|
76
|
-
export declare type SwapSource = {
|
|
77
|
-
name: string;
|
|
78
|
-
proportion: string;
|
|
79
|
-
};
|
|
80
|
-
export interface MinMaxOutput {
|
|
81
|
-
minimum: string;
|
|
82
|
-
maximum: string;
|
|
83
|
-
}
|
|
84
|
-
export declare type GetMinMaxInput = {
|
|
85
|
-
sellAsset: Asset;
|
|
86
|
-
buyAsset: Asset;
|
|
87
|
-
};
|
|
88
|
-
export declare type ExecQuoteOutput = {
|
|
89
|
-
txid: string;
|
|
90
|
-
};
|
|
91
|
-
export declare type ApprovalNeededOutput = {
|
|
92
|
-
approvalNeeded: boolean;
|
|
93
|
-
gas?: string;
|
|
94
|
-
gasPrice?: string;
|
|
95
|
-
};
|
|
96
76
|
export {};
|
package/dist/base.js
CHANGED
|
@@ -45,6 +45,7 @@ var AssetDataSource;
|
|
|
45
45
|
AssetDataSource["YearnFinance"] = "yearnfinance";
|
|
46
46
|
})(AssetDataSource = exports.AssetDataSource || (exports.AssetDataSource = {}));
|
|
47
47
|
// swapper
|
|
48
|
+
// TODO remove this once web is using the type from swapper
|
|
48
49
|
var SwapperType;
|
|
49
50
|
(function (SwapperType) {
|
|
50
51
|
SwapperType["Zrx"] = "0x";
|
package/dist/market.d.ts
CHANGED