@gearbox-protocol/devops
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -39,8 +39,4 @@ "use strict"; | ||
const networks = await Promise.all(this.providers.map(c => c.getNetwork())); | ||
console.log(networks.length, this.providers.length); | ||
const network = networks[0]; | ||
const ok = networks.every(n => { | ||
console.log(n); | ||
return n.chainId === network.chainId; | ||
}); | ||
const ok = networks.every(n => n.chainId === network.chainId); | ||
if (!ok) { | ||
@@ -66,3 +62,3 @@ throw new Error("chain id mismatch"); | ||
next = (next + 1) % this.providers.length; | ||
(_a = this.logger) === null || _a === void 0 ? void 0 : _a.warn(`switching to provider number #${next}`); | ||
(_a = this.logger) === null || _a === void 0 ? void 0 : _a.warn(`switching to provider number #${next} due to: ${e}`); | ||
} | ||
@@ -69,0 +65,0 @@ else { |
{ | ||
"name": "@gearbox-protocol/devops", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Gearbox Devops for SC development", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
28833
668
1