@lifi/types 2.0.1 → 2.0.3

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 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.3](https://github.com/lifinance/types/compare/v2.0.1...v2.0.3) (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
+ * renamed trusted gas param ([#135](https://github.com/lifinance/types/issues/135)) ([98a811a](https://github.com/lifinance/types/commit/98a811a154928389f2f014fbb14a332428ca130c))
12
+
13
+ ### [2.0.2](https://github.com/lifinance/types/compare/v2.0.1...v2.0.2) (2023-02-16)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * remove allowDestCallFalg from /routes ([#133](https://github.com/lifinance/types/issues/133)) ([0524e79](https://github.com/lifinance/types/commit/0524e790b5813fef7dc438fa6ddfdf70480652cf))
19
+
5
20
  ### [2.0.1](https://github.com/lifinance/types/compare/v2.0.0...v2.0.1) (2023-02-15)
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
- convertAmountToGas?: string;
15
+ fromAmountForGas?: string;
16
16
  }
17
17
  export interface RouteOptions {
18
18
  order?: Order;
@@ -20,7 +20,6 @@ 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;
@@ -113,7 +112,7 @@ export interface QuoteRequest extends ToolConfiguration {
113
112
  fee?: number | string;
114
113
  insurance?: boolean;
115
114
  allowDestinationCall?: boolean;
116
- convertAmountToGas?: string;
115
+ fromAmountForGas?: string;
117
116
  maxPriceImpact?: number;
118
117
  }
119
118
  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
- convertAmountToGas?: string;
15
+ fromAmountForGas?: string;
16
16
  }
17
17
  export interface RouteOptions {
18
18
  order?: Order;
@@ -20,7 +20,6 @@ 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;
@@ -113,7 +112,7 @@ export interface QuoteRequest extends ToolConfiguration {
113
112
  fee?: number | string;
114
113
  insurance?: boolean;
115
114
  allowDestinationCall?: boolean;
116
- convertAmountToGas?: string;
115
+ fromAmountForGas?: string;
117
116
  maxPriceImpact?: number;
118
117
  }
119
118
  export interface ContractCallQuoteRequest extends ToolConfiguration {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/index.js",