Socket
Socket
Sign inDemoInstall

@ethersproject/networks

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/networks - npm Package Compare versions

Comparing version 5.0.9 to 5.1.0

2

lib.esm/_version.d.ts

@@ -1,2 +0,2 @@

export declare const version = "networks/5.0.9";
export declare const version = "networks/5.1.0";
//# sourceMappingURL=_version.d.ts.map

@@ -1,2 +0,2 @@

export const version = "networks/5.0.9";
export const version = "networks/5.1.0";
//# sourceMappingURL=_version.js.map

@@ -28,4 +28,12 @@ "use strict";

if (providers.AlchemyProvider) {
// These networks are currently faulty on Alchemy as their
// network does not handle the Berlin hardfork, which is
// live on these ones.
// @TODO: This goes away once AlchemyAPI has upgraded their nodes
const skip = ["goerli", "ropsten", "rinkeby"];
try {
providerList.push(new providers.AlchemyProvider(network, options.alchemy));
const provider = new providers.AlchemyProvider(network, options.alchemy);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
providerList.push(provider);
}
}

@@ -35,4 +43,12 @@ catch (error) { }

if (providers.PocketProvider) {
// These networks are currently faulty on Alchemy as their
// network does not handle the Berlin hardfork, which is
// live on these ones.
// @TODO: This goes away once Pocket has upgraded their nodes
const skip = ["goerli", "ropsten", "rinkeby"];
try {
providerList.push(new providers.PocketProvider(network));
const provider = new providers.PocketProvider(network);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
providerList.push(provider);
}
}

@@ -39,0 +55,0 @@ catch (error) { }

@@ -1,2 +0,2 @@

export declare const version = "networks/5.0.9";
export declare const version = "networks/5.1.0";
//# sourceMappingURL=_version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "networks/5.0.9";
exports.version = "networks/5.1.0";
//# sourceMappingURL=_version.js.map

@@ -30,4 +30,12 @@ "use strict";

if (providers.AlchemyProvider) {
// These networks are currently faulty on Alchemy as their
// network does not handle the Berlin hardfork, which is
// live on these ones.
// @TODO: This goes away once AlchemyAPI has upgraded their nodes
var skip = ["goerli", "ropsten", "rinkeby"];
try {
providerList.push(new providers.AlchemyProvider(network, options.alchemy));
var provider = new providers.AlchemyProvider(network, options.alchemy);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
providerList.push(provider);
}
}

@@ -37,4 +45,12 @@ catch (error) { }

if (providers.PocketProvider) {
// These networks are currently faulty on Alchemy as their
// network does not handle the Berlin hardfork, which is
// live on these ones.
// @TODO: This goes away once Pocket has upgraded their nodes
var skip = ["goerli", "ropsten", "rinkeby"];
try {
providerList.push(new providers.PocketProvider(network));
var provider = new providers.PocketProvider(network);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
providerList.push(provider);
}
}

@@ -41,0 +57,0 @@ catch (error) { }

{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/logger": "^5.0.8"
"@ethersproject/logger": "^5.1.0"
},

@@ -18,3 +18,3 @@ "description": "Network definitions for ethers.",

],
"gitHead": "6c43e20e7a68f3f5a141c74527ec63d9fe8458be",
"gitHead": "3b1d3fcee6bfb5178861e26ff1a1e9daa0663ec9",
"keywords": [

@@ -40,5 +40,5 @@ "Ethereum",

"sideEffects": false,
"tarballHash": "0x0895630f23912173423f20b94da91b53da0dbe0e635d28ec11564f3c78bc5b68",
"tarballHash": "0x6654debcb2c98889c43c4c5d095cf59c13f5a60bf8cd3e866647a87b02411b4e",
"types": "./lib/index.d.ts",
"version": "5.0.9"
"version": "5.1.0"
}

@@ -1,1 +0,1 @@

export const version = "networks/5.0.9";
export const version = "networks/5.1.0";

@@ -42,4 +42,12 @@ "use strict";

if (providers.AlchemyProvider) {
// These networks are currently faulty on Alchemy as their
// network does not handle the Berlin hardfork, which is
// live on these ones.
// @TODO: This goes away once AlchemyAPI has upgraded their nodes
const skip = [ "goerli", "ropsten", "rinkeby" ];
try {
providerList.push(new providers.AlchemyProvider(network, options.alchemy));
const provider = new providers.AlchemyProvider(network, options.alchemy);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
providerList.push(provider);
}
} catch(error) { }

@@ -49,4 +57,12 @@ }

if (providers.PocketProvider) {
// These networks are currently faulty on Alchemy as their
// network does not handle the Berlin hardfork, which is
// live on these ones.
// @TODO: This goes away once Pocket has upgraded their nodes
const skip = [ "goerli", "ropsten", "rinkeby" ];
try {
providerList.push(new providers.PocketProvider(network));
const provider = new providers.PocketProvider(network);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
providerList.push(provider);
}
} catch(error) { }

@@ -53,0 +69,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

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