@lifi/types 1.15.0 → 1.16.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,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.16.0](https://github.com/lifinance/types/compare/v1.15.0...v1.16.0) (2022-11-11)
6
+
7
+
8
+ ### Features
9
+
10
+ * add gas info in tx info ([#111](https://github.com/lifinance/types/issues/111)) ([d56277d](https://github.com/lifinance/types/commit/d56277dd22ad19fded6e0aa2a7d5ee2c67861f19))
11
+
5
12
  ## [1.15.0](https://github.com/lifinance/types/compare/v1.14.1...v1.15.0) (2022-11-09)
6
13
 
7
14
 
package/dist/api.d.ts CHANGED
@@ -175,6 +175,9 @@ export interface TransactionInfo {
175
175
  chainId?: ChainId;
176
176
  gasPrice?: string;
177
177
  gasUsed?: string;
178
+ gasToken?: Token;
179
+ gasAmount?: string;
180
+ gasAmountUSD?: string;
178
181
  }
179
182
  declare const _StatusMessage: readonly ["NOT_FOUND", "INVALID", "PENDING", "DONE", "FAILED"];
180
183
  export declare type StatusMessage = typeof _StatusMessage[number];
package/dist/cjs/api.d.ts CHANGED
@@ -175,6 +175,9 @@ export interface TransactionInfo {
175
175
  chainId?: ChainId;
176
176
  gasPrice?: string;
177
177
  gasUsed?: string;
178
+ gasToken?: Token;
179
+ gasAmount?: string;
180
+ gasAmountUSD?: string;
178
181
  }
179
182
  declare const _StatusMessage: readonly ["NOT_FOUND", "INVALID", "PENDING", "DONE", "FAILED"];
180
183
  export declare type StatusMessage = typeof _StatusMessage[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/index.js",
@@ -70,28 +70,28 @@
70
70
  "url": "https://github.com/lifinance/types"
71
71
  },
72
72
  "dependencies": {
73
- "ethers": "^5.6.9"
73
+ "ethers": "^5.7.2"
74
74
  },
75
75
  "devDependencies": {
76
- "@commitlint/cli": "^17.0.3",
77
- "@commitlint/config-conventional": "^17.0.3",
78
- "@types/jest": "^28.1.4",
79
- "@typescript-eslint/eslint-plugin": "^5.30.6",
80
- "@typescript-eslint/parser": "^5.30.6",
81
- "eslint": "^8.19.0",
76
+ "@commitlint/cli": "^17.2.0",
77
+ "@commitlint/config-conventional": "^17.2.0",
78
+ "@types/jest": "^29.2.2",
79
+ "@typescript-eslint/eslint-plugin": "^5.42.1",
80
+ "@typescript-eslint/parser": "^5.42.1",
81
+ "eslint": "^8.27.0",
82
82
  "eslint-config-prettier": "^8.5.0",
83
83
  "eslint-plugin-prettier": "^4.2.1",
84
- "husky": "^8.0.1",
85
- "jest": "^28.1.2",
84
+ "husky": "^8.0.2",
85
+ "jest": "^29.3.1",
86
86
  "lint-staged": ">=13.0.3",
87
87
  "npm-run-all": "^4.1.5",
88
88
  "pinst": "^3.0.0",
89
89
  "prettier": "^2.7.1",
90
90
  "standard-version": "^9.5.0",
91
- "ts-jest": "^28.0.5",
92
- "ts-loader": "^9.3.1",
93
- "typescript": "^4.7.4",
94
- "webpack": "^5.73.0",
91
+ "ts-jest": "^29.0.3",
92
+ "ts-loader": "^9.4.1",
93
+ "typescript": "^4.8.4",
94
+ "webpack": "^5.75.0",
95
95
  "webpack-cli": "^4.10.0"
96
96
  },
97
97
  "directories": {