New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gridplus-sdk

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gridplus-sdk - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

package.json
{
"name": "gridplus-sdk",
"version": "0.1.3",
"version": "0.1.4",
"description": "SDK to interact with GridPlus Lattice1 device",

@@ -5,0 +5,0 @@ "scripts": {

@@ -11,5 +11,6 @@ // Utils for Ethereum transactions. This is effecitvely a shim of ethereumjs-util, which

try {
let { signerIndex, chainId=1, useEIP155=true } = data;
let { signerIndex, chainId=1 } = data;
if (typeof chainId !== 'number') chainId = chainIds[chainId];
if (!chainId) throw new Error('Unsupported chain name');
const useEIP155 = eip155[chainId];
// Ensure all fields are 0x-prefixed hex strings

@@ -140,4 +141,14 @@ let rawTx = []

kovan: 42,
goerli: 6284
goerli: 5
}
const eip155 = {
mainnet: true,
ropsten: false,
rinkeby:false,
kovan: true,
goerli: true
}
exports.chainIds = chainIds;
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