Socket
Socket
Sign inDemoInstall

@gearbox-protocol/devops

Package Overview
Dependencies
Maintainers
8
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gearbox-protocol/devops - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

8

lib/providers/RotateProvider.js

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

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