@lifi/types 2.6.0 → 2.6.2

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,15 @@
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.6.2](https://github.com/lifinance/types/compare/v2.6.1...v2.6.2) (2023-03-24)
6
+
7
+ ### [2.6.1](https://github.com/lifinance/types/compare/v2.6.0...v2.6.1) (2023-03-22)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * rendered gasCosts properties non-optional ([#149](https://github.com/lifinance/types/issues/149)) ([02414a2](https://github.com/lifinance/types/commit/02414a2470127b198095716a153388726b7283eb))
13
+
5
14
  ## [2.6.0](https://github.com/lifinance/types/compare/v2.5.7...v2.6.0) (2023-03-22)
6
15
 
7
16
 
package/dist/base.d.ts CHANGED
@@ -32,6 +32,7 @@ export declare enum CoinKey {
32
32
  EVM = "EVM",
33
33
  USDT = "USDT",
34
34
  USDC = "USDC",
35
+ BUSD = "BUSD",
35
36
  TEST = "TEST",
36
37
  KAL = "KAL",
37
38
  SDIODE = "SDIODE",
package/dist/base.js CHANGED
@@ -32,6 +32,7 @@ export var CoinKey;
32
32
  // Stable coins
33
33
  CoinKey["USDT"] = "USDT";
34
34
  CoinKey["USDC"] = "USDC";
35
+ CoinKey["BUSD"] = "BUSD";
35
36
  // Testnet
36
37
  CoinKey["TEST"] = "TEST";
37
38
  CoinKey["KAL"] = "KAL";
@@ -32,6 +32,7 @@ export declare enum CoinKey {
32
32
  EVM = "EVM",
33
33
  USDT = "USDT",
34
34
  USDC = "USDC",
35
+ BUSD = "BUSD",
35
36
  TEST = "TEST",
36
37
  KAL = "KAL",
37
38
  SDIODE = "SDIODE",
package/dist/cjs/base.js CHANGED
@@ -35,6 +35,7 @@ var CoinKey;
35
35
  // Stable coins
36
36
  CoinKey["USDT"] = "USDT";
37
37
  CoinKey["USDC"] = "USDC";
38
+ CoinKey["BUSD"] = "BUSD";
38
39
  // Testnet
39
40
  CoinKey["TEST"] = "TEST";
40
41
  CoinKey["KAL"] = "KAL";
@@ -15,10 +15,10 @@ export interface FeeCost {
15
15
  export interface GasCost {
16
16
  type: 'SUM' | 'APPROVE' | 'SEND' | 'FEE';
17
17
  price: string;
18
- estimate?: string;
19
- limit?: string;
18
+ estimate: string;
19
+ limit: string;
20
20
  amount: string;
21
- amountUSD?: string;
21
+ amountUSD: string;
22
22
  token: Token;
23
23
  }
24
24
  export interface Action {
package/dist/step.d.ts CHANGED
@@ -15,10 +15,10 @@ export interface FeeCost {
15
15
  export interface GasCost {
16
16
  type: 'SUM' | 'APPROVE' | 'SEND' | 'FEE';
17
17
  price: string;
18
- estimate?: string;
19
- limit?: string;
18
+ estimate: string;
19
+ limit: string;
20
20
  amount: string;
21
- amountUSD?: string;
21
+ amountUSD: string;
22
22
  token: Token;
23
23
  }
24
24
  export interface Action {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/index.js",