Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask-previews/gas-fee-controller

Package Overview
Dependencies
Maintainers
2
Versions
375
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask-previews/gas-fee-controller - npm Package Compare versions

Comparing version 10.0.1-preview.5736db0 to 10.0.1-preview.eb58a59

2

dist/fetchGasEstimatesViaEthFeeHistory.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc