@lifi/types 5.0.0 → 5.1.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 +12 -0
- package/dist/api.d.ts +7 -6
- package/dist/cjs/api.d.ts +7 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
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
|
+
## [5.1.0](https://github.com/lifinance/types/compare/v5.0.0...v5.1.0) (2023-04-28)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add circle logo ([7f68249](https://github.com/lifinance/types/commit/7f68249aa10f301d6ad1805c49690f1628b5ed7e))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* more explicit type for GasRecommendationResponse ([#165](https://github.com/lifinance/types/issues/165)) ([9fc5756](https://github.com/lifinance/types/commit/9fc57560356ecc977785b6dccce3b060523c32e3))
|
|
16
|
+
|
|
5
17
|
## [5.0.0](https://github.com/lifinance/types/compare/v4.0.0...v5.0.0) (2023-04-25)
|
|
6
18
|
|
|
7
19
|
|
package/dist/api.d.ts
CHANGED
|
@@ -149,7 +149,6 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {
|
|
|
149
149
|
referrer?: string;
|
|
150
150
|
fee?: number | string;
|
|
151
151
|
allowDestinationCall?: boolean;
|
|
152
|
-
maxPriceImpact?: number;
|
|
153
152
|
}
|
|
154
153
|
export interface ContractCallQuotesRequest extends ToolConfiguration {
|
|
155
154
|
fromChain: number | string;
|
|
@@ -292,12 +291,14 @@ export type RefetchLIFuelRequest = {
|
|
|
292
291
|
chainId: ChainId;
|
|
293
292
|
};
|
|
294
293
|
export type GasRecommendationResponse = {
|
|
295
|
-
available:
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
294
|
+
available: false;
|
|
295
|
+
message: string;
|
|
296
|
+
} | {
|
|
297
|
+
available: true;
|
|
298
|
+
recommended: TokenBalance;
|
|
299
|
+
limit: TokenBalance;
|
|
300
|
+
serviceFee: TokenBalance;
|
|
299
301
|
fromToken?: Token;
|
|
300
302
|
fromAmount?: string;
|
|
301
|
-
message?: string;
|
|
302
303
|
};
|
|
303
304
|
export {};
|
package/dist/cjs/api.d.ts
CHANGED
|
@@ -149,7 +149,6 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {
|
|
|
149
149
|
referrer?: string;
|
|
150
150
|
fee?: number | string;
|
|
151
151
|
allowDestinationCall?: boolean;
|
|
152
|
-
maxPriceImpact?: number;
|
|
153
152
|
}
|
|
154
153
|
export interface ContractCallQuotesRequest extends ToolConfiguration {
|
|
155
154
|
fromChain: number | string;
|
|
@@ -292,12 +291,14 @@ export type RefetchLIFuelRequest = {
|
|
|
292
291
|
chainId: ChainId;
|
|
293
292
|
};
|
|
294
293
|
export type GasRecommendationResponse = {
|
|
295
|
-
available:
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
294
|
+
available: false;
|
|
295
|
+
message: string;
|
|
296
|
+
} | {
|
|
297
|
+
available: true;
|
|
298
|
+
recommended: TokenBalance;
|
|
299
|
+
limit: TokenBalance;
|
|
300
|
+
serviceFee: TokenBalance;
|
|
299
301
|
fromToken?: Token;
|
|
300
302
|
fromAmount?: string;
|
|
301
|
-
message?: string;
|
|
302
303
|
};
|
|
303
304
|
export {};
|