@ethersproject/networks
Advanced tools
Comparing version 5.4.1 to 5.4.2
@@ -1,2 +0,2 @@ | ||
export declare const version = "networks/5.4.1"; | ||
export declare const version = "networks/5.4.2"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "networks/5.4.1"; | ||
export const version = "networks/5.4.2"; | ||
//# sourceMappingURL=_version.js.map |
@@ -22,13 +22,4 @@ "use strict"; | ||
if (providers.EtherscanProvider) { | ||
//try { | ||
// providerList.push(new providers.EtherscanProvider(network, options.etherscan)); | ||
//} catch(error) { } | ||
// These networks are currently faulty on this provider | ||
// @TODO: This goes away once they have fixed their nodes | ||
const skip = ["ropsten"]; | ||
try { | ||
const provider = new providers.EtherscanProvider(network); | ||
if (provider.network && skip.indexOf(provider.network.name) === -1) { | ||
providerList.push(provider); | ||
} | ||
providerList.push(new providers.EtherscanProvider(network, options.etherscan)); | ||
} | ||
@@ -35,0 +26,0 @@ catch (error) { } |
@@ -1,2 +0,2 @@ | ||
export declare const version = "networks/5.4.1"; | ||
export declare const version = "networks/5.4.2"; | ||
//# sourceMappingURL=_version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = "networks/5.4.1"; | ||
exports.version = "networks/5.4.2"; | ||
//# sourceMappingURL=_version.js.map |
@@ -24,13 +24,4 @@ "use strict"; | ||
if (providers.EtherscanProvider) { | ||
//try { | ||
// providerList.push(new providers.EtherscanProvider(network, options.etherscan)); | ||
//} catch(error) { } | ||
// These networks are currently faulty on this provider | ||
// @TODO: This goes away once they have fixed their nodes | ||
var skip = ["ropsten"]; | ||
try { | ||
var provider = new providers.EtherscanProvider(network); | ||
if (provider.network && skip.indexOf(provider.network.name) === -1) { | ||
providerList.push(provider); | ||
} | ||
providerList.push(new providers.EtherscanProvider(network, options.etherscan)); | ||
} | ||
@@ -37,0 +28,0 @@ catch (error) { } |
@@ -18,3 +18,3 @@ { | ||
], | ||
"gitHead": "bde861436ebef572d04ae8a7a111b8b954b4571c", | ||
"gitHead": "4e9394554b1f05400ea4e0529d33e1d4efe78247", | ||
"keywords": [ | ||
@@ -40,5 +40,5 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0x05b540d47e24bb2fe376e665c955c64e726b6450977fa12a506d6711ce482eef", | ||
"tarballHash": "0x5da53c4a156a1f4f6feba77e01b01d14ae417cf142546d9766d0587b7eefcec2", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.4.1" | ||
"version": "5.4.2" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "networks/5.4.1"; | ||
export const version = "networks/5.4.2"; |
@@ -36,14 +36,4 @@ "use strict"; | ||
if (providers.EtherscanProvider) { | ||
//try { | ||
// providerList.push(new providers.EtherscanProvider(network, options.etherscan)); | ||
//} catch(error) { } | ||
// These networks are currently faulty on this provider | ||
// @TODO: This goes away once they have fixed their nodes | ||
const skip = [ "ropsten" ]; | ||
try { | ||
const provider = new providers.EtherscanProvider(network); | ||
if (provider.network && skip.indexOf(provider.network.name) === -1) { | ||
providerList.push(provider); | ||
} | ||
providerList.push(new providers.EtherscanProvider(network, options.etherscan)); | ||
} catch(error) { } | ||
@@ -50,0 +40,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
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
41138
696