@lifi/types 1.2.1 → 1.3.0
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 +7 -0
- package/dist/api.d.ts +3 -0
- package/package.json +1 -1
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
|
+
## [1.3.0](https://github.com/lifinance/types/compare/v1.2.1...v1.3.0) (2022-07-28)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add fee parameter to quote and route requests ([#88](https://github.com/lifinance/types/issues/88)) ([cea2166](https://github.com/lifinance/types/commit/cea216696ee0c68c41baec8235937ab19ff6ac07))
|
|
11
|
+
|
|
5
12
|
### [1.2.1](https://github.com/lifinance/types/compare/v1.2.0...v1.2.1) (2022-07-21)
|
|
6
13
|
|
|
7
14
|
|
package/dist/api.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export interface RouteOptions {
|
|
|
18
18
|
referrer?: string;
|
|
19
19
|
bridges?: AllowDenyPrefer;
|
|
20
20
|
exchanges?: AllowDenyPrefer;
|
|
21
|
+
fee?: number;
|
|
21
22
|
}
|
|
22
23
|
export interface RoutesRequest {
|
|
23
24
|
fromChainId: number;
|
|
@@ -89,6 +90,7 @@ export interface QuoteRequest extends ToolConfiguration {
|
|
|
89
90
|
slippage?: number | string;
|
|
90
91
|
integrator?: string;
|
|
91
92
|
referrer?: string;
|
|
93
|
+
fee?: number | string;
|
|
92
94
|
}
|
|
93
95
|
export interface ContractCallQuoteRequest extends ToolConfiguration {
|
|
94
96
|
fromChain: number | string;
|
|
@@ -106,6 +108,7 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {
|
|
|
106
108
|
slippage?: number | string;
|
|
107
109
|
integrator?: string;
|
|
108
110
|
referrer?: string;
|
|
111
|
+
fee?: number | string;
|
|
109
112
|
}
|
|
110
113
|
export interface ContractCallQuotesRequest extends ToolConfiguration {
|
|
111
114
|
fromChain: number | string;
|