@lifi/types 1.22.2 → 1.24.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 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
+ ## [1.24.0](https://github.com/lifinance/types/compare/v1.23.0...v1.24.0) (2023-02-09)
6
+
7
+
8
+ ### Features
9
+
10
+ * insurance option in quoteRequest ([#128](https://github.com/lifinance/types/issues/128)) ([4a9a064](https://github.com/lifinance/types/commit/4a9a064c2c3d92f55d97b700669e2be491e7ab41))
11
+
12
+ ## [1.23.0](https://github.com/lifinance/types/compare/v1.22.2...v1.23.0) (2023-02-08)
13
+
14
+
15
+ ### Features
16
+
17
+ * add wantInsurance flag to RoutesContext ([#126](https://github.com/lifinance/types/issues/126)) ([cfa6f76](https://github.com/lifinance/types/commit/cfa6f769756be18a821af1e4577c6f28c83db2d3))
18
+
5
19
  ### [1.22.2](https://github.com/lifinance/types/compare/v1.22.1...v1.22.2) (2023-02-07)
6
20
 
7
21
 
package/dist/api.d.ts CHANGED
@@ -24,6 +24,7 @@ export interface RouteOptions {
24
24
  bridges?: AllowDenyPrefer;
25
25
  exchanges?: AllowDenyPrefer;
26
26
  fee?: number;
27
+ insurance?: boolean;
27
28
  }
28
29
  export type ToolsResponse = {
29
30
  exchanges: {
@@ -108,6 +109,7 @@ export interface QuoteRequest extends ToolConfiguration {
108
109
  integrator?: string;
109
110
  referrer?: string;
110
111
  fee?: number | string;
112
+ insurance?: boolean;
111
113
  allowDestinationCall?: boolean;
112
114
  }
113
115
  export interface ContractCallQuoteRequest extends ToolConfiguration {
package/dist/cjs/api.d.ts CHANGED
@@ -24,6 +24,7 @@ export interface RouteOptions {
24
24
  bridges?: AllowDenyPrefer;
25
25
  exchanges?: AllowDenyPrefer;
26
26
  fee?: number;
27
+ insurance?: boolean;
27
28
  }
28
29
  export type ToolsResponse = {
29
30
  exchanges: {
@@ -108,6 +109,7 @@ export interface QuoteRequest extends ToolConfiguration {
108
109
  integrator?: string;
109
110
  referrer?: string;
110
111
  fee?: number | string;
112
+ insurance?: boolean;
111
113
  allowDestinationCall?: boolean;
112
114
  }
113
115
  export interface ContractCallQuoteRequest extends ToolConfiguration {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "1.22.2",
3
+ "version": "1.24.0",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/index.js",