New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@metamask-previews/gas-fee-controller

Package Overview
Dependencies
Maintainers
2
Versions
470
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 8.0.0-preview.7cc5454 to 8.0.0-preview.885fefd

3

dist/GasFeeController.js

@@ -113,2 +113,3 @@ "use strict";

this.clientId = clientId;
// @ts-expect-error TODO: Provider type alignment
this.ethQuery = new eth_query_1.default(__classPrivateFieldGet(this, _GasFeeController_getProvider, "f").call(this));

@@ -276,2 +277,3 @@ if (onNetworkStateChange && getChainId) {

}
// @ts-expect-error TODO: Provider type alignment
const ethQuery = new eth_query_1.default(networkClient.provider);

@@ -304,2 +306,3 @@ const gasFeeCalculations = yield (0, determineGasFeeCalculations_1.default)({

if (newChainId !== this.currentChainId) {
// @ts-expect-error TODO: Provider type alignment
this.ethQuery = new eth_query_1.default(__classPrivateFieldGet(this, _GasFeeController_getProvider, "f").call(this));

@@ -306,0 +309,0 @@ yield this.resetPolling();

2

package.json
{
"name": "@metamask-previews/gas-fee-controller",
"version": "8.0.0-preview.7cc5454",
"version": "8.0.0-preview.885fefd",
"description": "Periodically calculates gas fee estimates based on various gas limits as well as other data displayed on transaction confirm screens",

@@ -5,0 +5,0 @@ "keywords": [

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