Socket
Socket
Sign inDemoInstall

@gearbox-protocol/devops

Package Overview
Dependencies
Maintainers
2
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 0.0.17 to 0.0.18

5

lib/transaction/transaction.js

@@ -48,4 +48,5 @@ "use strict";

case 0: return [4 /*yield*/, hardhat_1.ethers.getSigners()];
case 1:
chainId = (_a.sent()).getChainId();
case 1: return [4 /*yield*/, (_a.sent()).getChainId()];
case 2:
chainId = _a.sent();
return [2 /*return*/, chainId === 1337 ? 0 : chainId === 42 ? 2 : 4];

@@ -52,0 +53,0 @@ }

2

package.json
{
"name": "@gearbox-protocol/devops",
"version": "0.0.17",
"version": "0.0.18",
"description": "Gearbox Devops for SC development",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

// @ts-ignore
import { ethers, network } from "hardhat";
import { TransactionReceipt } from "@ethersproject/providers";
import { ContractTransaction, ContractFactory, Contract } from "ethers";
import { ContractTransaction, ContractFactory, Contract, Signer } from "ethers";
import { Logger } from "tslog";

@@ -10,3 +10,3 @@ import { formatBN } from "@gearbox-protocol/sdk";

// Gets accounts
const chainId = (await ethers.getSigners()).getChainId();
const chainId = await ((await ethers.getSigners()) as Signer).getChainId();

@@ -13,0 +13,0 @@ return chainId === 1337 ? 0 : chainId === 42 ? 2 : 4;

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