@lifi/types 2.0.0 → 2.0.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
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.1](https://github.com/lifinance/types/compare/v2.0.0...v2.0.1) (2023-02-15)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * rename flag for max price impact ([#131](https://github.com/lifinance/types/issues/131)) ([f633d3a](https://github.com/lifinance/types/commit/f633d3a44ca30b631bca076715022df4ee59bedd))
11
+
5
12
  ## [2.0.0](https://github.com/lifinance/types/compare/v1.19.0...v2.0.0) (2023-02-13)
6
13
 
7
14
 
package/dist/api.d.ts CHANGED
@@ -26,7 +26,7 @@ export interface RouteOptions {
26
26
  exchanges?: AllowDenyPrefer;
27
27
  fee?: number;
28
28
  insurance?: boolean;
29
- hideRoutesWithGTEPriceImpact?: number;
29
+ maxPriceImpact?: number;
30
30
  }
31
31
  export type ToolsResponse = {
32
32
  exchanges: {
@@ -114,7 +114,7 @@ export interface QuoteRequest extends ToolConfiguration {
114
114
  insurance?: boolean;
115
115
  allowDestinationCall?: boolean;
116
116
  convertAmountToGas?: string;
117
- hideRoutesWithGTEPriceImpact?: number;
117
+ maxPriceImpact?: number;
118
118
  }
119
119
  export interface ContractCallQuoteRequest extends ToolConfiguration {
120
120
  fromChain: number | string;
@@ -134,7 +134,7 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {
134
134
  referrer?: string;
135
135
  fee?: number | string;
136
136
  allowDestinationCall?: boolean;
137
- hideRoutesWithGTEPriceImpact?: number;
137
+ maxPriceImpact?: number;
138
138
  }
139
139
  export interface ContractCallQuotesRequest extends ToolConfiguration {
140
140
  fromChain: number | string;
package/dist/cjs/api.d.ts CHANGED
@@ -26,7 +26,7 @@ export interface RouteOptions {
26
26
  exchanges?: AllowDenyPrefer;
27
27
  fee?: number;
28
28
  insurance?: boolean;
29
- hideRoutesWithGTEPriceImpact?: number;
29
+ maxPriceImpact?: number;
30
30
  }
31
31
  export type ToolsResponse = {
32
32
  exchanges: {
@@ -114,7 +114,7 @@ export interface QuoteRequest extends ToolConfiguration {
114
114
  insurance?: boolean;
115
115
  allowDestinationCall?: boolean;
116
116
  convertAmountToGas?: string;
117
- hideRoutesWithGTEPriceImpact?: number;
117
+ maxPriceImpact?: number;
118
118
  }
119
119
  export interface ContractCallQuoteRequest extends ToolConfiguration {
120
120
  fromChain: number | string;
@@ -134,7 +134,7 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {
134
134
  referrer?: string;
135
135
  fee?: number | string;
136
136
  allowDestinationCall?: boolean;
137
- hideRoutesWithGTEPriceImpact?: number;
137
+ maxPriceImpact?: number;
138
138
  }
139
139
  export interface ContractCallQuotesRequest extends ToolConfiguration {
140
140
  fromChain: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/index.js",