@lifi/types 2.0.0 → 2.0.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/CHANGELOG.md +14 -0
- package/dist/api.d.ts +3 -4
- package/dist/cjs/api.d.ts +3 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.2](https://github.com/lifinance/types/compare/v2.0.1...v2.0.2) (2023-02-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* remove allowDestCallFalg from /routes ([#133](https://github.com/lifinance/types/issues/133)) ([0524e79](https://github.com/lifinance/types/commit/0524e790b5813fef7dc438fa6ddfdf70480652cf))
|
|
11
|
+
|
|
12
|
+
### [2.0.1](https://github.com/lifinance/types/compare/v2.0.0...v2.0.1) (2023-02-15)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* rename flag for max price impact ([#131](https://github.com/lifinance/types/issues/131)) ([f633d3a](https://github.com/lifinance/types/commit/f633d3a44ca30b631bca076715022df4ee59bedd))
|
|
18
|
+
|
|
5
19
|
## [2.0.0](https://github.com/lifinance/types/compare/v1.19.0...v2.0.0) (2023-02-13)
|
|
6
20
|
|
|
7
21
|
|
package/dist/api.d.ts
CHANGED
|
@@ -20,13 +20,12 @@ export interface RouteOptions {
|
|
|
20
20
|
infiniteApproval?: boolean;
|
|
21
21
|
allowSwitchChain?: boolean;
|
|
22
22
|
integrator?: string;
|
|
23
|
-
allowDestinationCall?: boolean;
|
|
24
23
|
referrer?: string;
|
|
25
24
|
bridges?: AllowDenyPrefer;
|
|
26
25
|
exchanges?: AllowDenyPrefer;
|
|
27
26
|
fee?: number;
|
|
28
27
|
insurance?: boolean;
|
|
29
|
-
|
|
28
|
+
maxPriceImpact?: number;
|
|
30
29
|
}
|
|
31
30
|
export type ToolsResponse = {
|
|
32
31
|
exchanges: {
|
|
@@ -114,7 +113,7 @@ export interface QuoteRequest extends ToolConfiguration {
|
|
|
114
113
|
insurance?: boolean;
|
|
115
114
|
allowDestinationCall?: boolean;
|
|
116
115
|
convertAmountToGas?: string;
|
|
117
|
-
|
|
116
|
+
maxPriceImpact?: number;
|
|
118
117
|
}
|
|
119
118
|
export interface ContractCallQuoteRequest extends ToolConfiguration {
|
|
120
119
|
fromChain: number | string;
|
|
@@ -134,7 +133,7 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {
|
|
|
134
133
|
referrer?: string;
|
|
135
134
|
fee?: number | string;
|
|
136
135
|
allowDestinationCall?: boolean;
|
|
137
|
-
|
|
136
|
+
maxPriceImpact?: number;
|
|
138
137
|
}
|
|
139
138
|
export interface ContractCallQuotesRequest extends ToolConfiguration {
|
|
140
139
|
fromChain: number | string;
|
package/dist/cjs/api.d.ts
CHANGED
|
@@ -20,13 +20,12 @@ export interface RouteOptions {
|
|
|
20
20
|
infiniteApproval?: boolean;
|
|
21
21
|
allowSwitchChain?: boolean;
|
|
22
22
|
integrator?: string;
|
|
23
|
-
allowDestinationCall?: boolean;
|
|
24
23
|
referrer?: string;
|
|
25
24
|
bridges?: AllowDenyPrefer;
|
|
26
25
|
exchanges?: AllowDenyPrefer;
|
|
27
26
|
fee?: number;
|
|
28
27
|
insurance?: boolean;
|
|
29
|
-
|
|
28
|
+
maxPriceImpact?: number;
|
|
30
29
|
}
|
|
31
30
|
export type ToolsResponse = {
|
|
32
31
|
exchanges: {
|
|
@@ -114,7 +113,7 @@ export interface QuoteRequest extends ToolConfiguration {
|
|
|
114
113
|
insurance?: boolean;
|
|
115
114
|
allowDestinationCall?: boolean;
|
|
116
115
|
convertAmountToGas?: string;
|
|
117
|
-
|
|
116
|
+
maxPriceImpact?: number;
|
|
118
117
|
}
|
|
119
118
|
export interface ContractCallQuoteRequest extends ToolConfiguration {
|
|
120
119
|
fromChain: number | string;
|
|
@@ -134,7 +133,7 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {
|
|
|
134
133
|
referrer?: string;
|
|
135
134
|
fee?: number | string;
|
|
136
135
|
allowDestinationCall?: boolean;
|
|
137
|
-
|
|
136
|
+
maxPriceImpact?: number;
|
|
138
137
|
}
|
|
139
138
|
export interface ContractCallQuotesRequest extends ToolConfiguration {
|
|
140
139
|
fromChain: number | string;
|