Socket
Socket
Sign inDemoInstall

@synthetixio/js

Package Overview
Dependencies
Maintainers
7
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@synthetixio/js - npm Package Compare versions

Comparing version 2.41.0-alpha to 2.41.1-alpha

2

build/node/index.js

@@ -40,3 +40,3 @@ "use strict";

if ((network && !synthetix_1.networks.includes(network)) ||
(networkId && !Object.values(synthetix_1.networkToChainId).includes(networkId))) {
(networkId && !synthetix_1.getNetworkFromId({ id: networkId }))) {
throw new Error(constants_1.ERRORS.badNetworkArg);

@@ -43,0 +43,0 @@ }

@@ -11,2 +11,3 @@ "use strict";

Network["Kovan"] = "kovan";
Network["MainnetFork"] = "mainnet-fork";
})(Network = exports.Network || (exports.Network = {}));

@@ -20,2 +21,3 @@ var NetworkId;

NetworkId[NetworkId["Kovan"] = 42] = "Kovan";
NetworkId[NetworkId["MainnetFork"] = 31337] = "MainnetFork";
})(NetworkId = exports.NetworkId || (exports.NetworkId = {}));

@@ -7,3 +7,4 @@ import { ethers } from 'ethers';

Goerli = "goerli",
Kovan = "kovan"
Kovan = "kovan",
MainnetFork = "mainnet-fork"
}

@@ -15,3 +16,4 @@ export declare enum NetworkId {

Goerli = 5,
Kovan = 42
Kovan = 42,
MainnetFork = 31337
}

@@ -18,0 +20,0 @@ declare type ContractInfo = {

{
"name": "@synthetixio/js",
"version": "2.41.0-alpha",
"version": "2.41.1-alpha",
"description": "A library for interacting with Synthetix smart contracts",

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

Sorry, the diff of this file is too big to display

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