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

eth-query

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eth-query - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

3

index.js

@@ -16,3 +16,3 @@ const extend = require('xtend')

// default block
// default block
EthQuery.prototype.getBalance = generateFnWithDefaultBlockFor(2, 'eth_getBalance')

@@ -68,3 +68,2 @@ EthQuery.prototype.getCode = generateFnWithDefaultBlockFor(2, 'eth_getCode')

self.currentProvider.sendAsync(createPayload(opts), function(err, response){
if (err || response.error) console.log('ethquery failure', opts, err || response.error)
if (!err && response.error) err = new Error('EthQuery - RPC Error - '+response.error.message)

@@ -71,0 +70,0 @@ if (err) return cb(err)

{
"name": "eth-query",
"version": "2.1.1",
"version": "2.1.2",
"description": "like web3 but for minimalists",

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

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