Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eth-lib

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eth-lib - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

2

package.json
{
"name": "eth-lib",
"version": "0.1.7",
"version": "0.1.8",
"description": "Lightweight Ethereum libraries",

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

@@ -32,3 +32,3 @@ const Api = provider => {

// Geth complains if "to" is "0x" (why)
const gethFriendlyTx = tx.to === "" || to === "0x" ? Map.remove("to", tx) : tx;
const gethFriendlyTx = tx.to === "" || tx.to === "0x" ? Map.remove("to", tx) : tx;
return send("eth_estimateGas")(gethFriendlyTx)

@@ -35,0 +35,0 @@ .then(usedGas => Map.merge(tx)({

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