@lifi/types 2.0.2 → 2.0.4
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 +15 -0
- package/dist/api.d.ts +3 -2
- package/dist/cjs/api.d.ts +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.0.4](https://github.com/lifinance/types/compare/v2.0.3...v2.0.4) (2023-02-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* revert changes ([#134](https://github.com/lifinance/types/issues/134)) ([32a6a7c](https://github.com/lifinance/types/commit/32a6a7c973d2febdeef6c6ce621e1b9b37398357))
|
|
11
|
+
|
|
12
|
+
### [2.0.3](https://github.com/lifinance/types/compare/v2.0.1...v2.0.3) (2023-02-16)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* remove allowDestCallFalg from /routes ([#133](https://github.com/lifinance/types/issues/133)) ([0524e79](https://github.com/lifinance/types/commit/0524e790b5813fef7dc438fa6ddfdf70480652cf))
|
|
18
|
+
* renamed trusted gas param ([#135](https://github.com/lifinance/types/issues/135)) ([98a811a](https://github.com/lifinance/types/commit/98a811a154928389f2f014fbb14a332428ca130c))
|
|
19
|
+
|
|
5
20
|
### [2.0.2](https://github.com/lifinance/types/compare/v2.0.1...v2.0.2) (2023-02-16)
|
|
6
21
|
|
|
7
22
|
|
package/dist/api.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface RoutesRequest {
|
|
|
12
12
|
toTokenAddress: string;
|
|
13
13
|
toAddress?: string;
|
|
14
14
|
options?: RouteOptions;
|
|
15
|
-
|
|
15
|
+
fromAmountForGas?: string;
|
|
16
16
|
}
|
|
17
17
|
export interface RouteOptions {
|
|
18
18
|
order?: Order;
|
|
@@ -20,6 +20,7 @@ export interface RouteOptions {
|
|
|
20
20
|
infiniteApproval?: boolean;
|
|
21
21
|
allowSwitchChain?: boolean;
|
|
22
22
|
integrator?: string;
|
|
23
|
+
allowDestinationCall?: boolean;
|
|
23
24
|
referrer?: string;
|
|
24
25
|
bridges?: AllowDenyPrefer;
|
|
25
26
|
exchanges?: AllowDenyPrefer;
|
|
@@ -112,7 +113,7 @@ export interface QuoteRequest extends ToolConfiguration {
|
|
|
112
113
|
fee?: number | string;
|
|
113
114
|
insurance?: boolean;
|
|
114
115
|
allowDestinationCall?: boolean;
|
|
115
|
-
|
|
116
|
+
fromAmountForGas?: string;
|
|
116
117
|
maxPriceImpact?: number;
|
|
117
118
|
}
|
|
118
119
|
export interface ContractCallQuoteRequest extends ToolConfiguration {
|
package/dist/cjs/api.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface RoutesRequest {
|
|
|
12
12
|
toTokenAddress: string;
|
|
13
13
|
toAddress?: string;
|
|
14
14
|
options?: RouteOptions;
|
|
15
|
-
|
|
15
|
+
fromAmountForGas?: string;
|
|
16
16
|
}
|
|
17
17
|
export interface RouteOptions {
|
|
18
18
|
order?: Order;
|
|
@@ -20,6 +20,7 @@ export interface RouteOptions {
|
|
|
20
20
|
infiniteApproval?: boolean;
|
|
21
21
|
allowSwitchChain?: boolean;
|
|
22
22
|
integrator?: string;
|
|
23
|
+
allowDestinationCall?: boolean;
|
|
23
24
|
referrer?: string;
|
|
24
25
|
bridges?: AllowDenyPrefer;
|
|
25
26
|
exchanges?: AllowDenyPrefer;
|
|
@@ -112,7 +113,7 @@ export interface QuoteRequest extends ToolConfiguration {
|
|
|
112
113
|
fee?: number | string;
|
|
113
114
|
insurance?: boolean;
|
|
114
115
|
allowDestinationCall?: boolean;
|
|
115
|
-
|
|
116
|
+
fromAmountForGas?: string;
|
|
116
117
|
maxPriceImpact?: number;
|
|
117
118
|
}
|
|
118
119
|
export interface ContractCallQuoteRequest extends ToolConfiguration {
|