Comparing version 2.1.1 to 2.1.2
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7290
98