@metamask-previews/gas-fee-controller
Advanced tools
Comparing version 10.0.1-preview.5736db0 to 10.0.1-preview.eb58a59
@@ -16,3 +16,3 @@ "use strict"; | ||
const controller_utils_1 = require("@metamask/controller-utils"); | ||
const ethjs_unit_1 = require("@metamask/ethjs-unit"); | ||
const ethjs_unit_1 = require("ethjs-unit"); | ||
const fetchBlockFeeHistory_1 = __importDefault(require("./fetchBlockFeeHistory")); | ||
@@ -19,0 +19,0 @@ const calculateGasFeeEstimatesForPriorityLevels_1 = __importDefault(require("./fetchGasEstimatesViaEthFeeHistory/calculateGasFeeEstimatesForPriorityLevels")); |
@@ -7,4 +7,4 @@ "use strict"; | ||
const controller_utils_1 = require("@metamask/controller-utils"); | ||
const ethjs_unit_1 = require("@metamask/ethjs-unit"); | ||
const ethereumjs_util_1 = require("ethereumjs-util"); | ||
const ethjs_unit_1 = require("ethjs-unit"); | ||
const medianOf_1 = __importDefault(require("./medianOf")); | ||
@@ -11,0 +11,0 @@ const PRIORITY_LEVELS = ['low', 'medium', 'high']; |
@@ -24,3 +24,3 @@ "use strict"; | ||
const numberAsWEIHex = (0, controller_utils_1.gweiDecToWEIBN)(n).toString(16); | ||
const numberAsGWEI = (0, controller_utils_1.weiHexToGweiDec)(numberAsWEIHex); | ||
const numberAsGWEI = (0, controller_utils_1.weiHexToGweiDec)(numberAsWEIHex).toString(10); | ||
return numberAsGWEI; | ||
@@ -27,0 +27,0 @@ } |
{ | ||
"name": "@metamask-previews/gas-fee-controller", | ||
"version": "10.0.1-preview.5736db0", | ||
"version": "10.0.1-preview.eb58a59", | ||
"description": "Periodically calculates gas fee estimates based on various gas limits as well as other data displayed on transaction confirm screens", | ||
@@ -36,3 +36,2 @@ "keywords": [ | ||
"@metamask/eth-query": "^4.0.0", | ||
"@metamask/ethjs-unit": "^0.2.1", | ||
"@metamask/network-controller": "^16.0.0", | ||
@@ -43,2 +42,3 @@ "@metamask/polling-controller": "^1.0.2", | ||
"ethereumjs-util": "^7.0.10", | ||
"ethjs-unit": "^0.1.6", | ||
"uuid": "^8.3.2" | ||
@@ -45,0 +45,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
171905
+ Addedethjs-unit@^0.1.6
- Removed@metamask/ethjs-unit@^0.2.1
- Removed@metamask/ethjs-unit@0.2.1(transitive)