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

ethapi-js

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethapi-js - npm Package Compare versions

Comparing version 0.0.28 to 0.0.29

2

index.js

@@ -862,2 +862,2 @@ 'use strict';

module.exports = EthApi;/* Thu Jun 2 19:27:39 UTC 2016 */
module.exports = EthApi;/* Thu Jun 2 20:37:48 UTC 2016 */

@@ -53,3 +53,3 @@ import BigNumber from 'bignumber.js';

it.skip('returns the balance for a very early block', () => {
it('returns the balance for a very early block', () => {
const atBlock = '0x65432';

@@ -64,4 +64,4 @@ const atValue = '18e07120a6e164fee1b';

.catch((error) => {
// Parity doesn't support at-block balance lookups just yet
expect(error.message).to.match(/32000 Unsupported request/);
// Parity doesn't support pruned-before-block balance lookups
expect(error.message).to.match(/Unsupported request/);
});

@@ -68,0 +68,0 @@ });

{
"name": "ethapi-js",
"version": "0.0.28",
"version": "0.0.29",
"main": "index.js",

@@ -27,3 +27,3 @@ "jsnext:main": "lib/index.js",

"testOnce": "mocha 'lib/**/*.spec.js'",
"testE2E": "npm run build && mocha 'lib/**/*.e2e.js'"
"testE2E": "mocha 'lib/**/*.e2e.js'"
},

@@ -30,0 +30,0 @@ "devDependencies": {

@@ -16,2 +16,3 @@ # ethapi-js

- `npm run testE2E` (E2E against a running RPC-enabled testnet Parity/Geth instance, `parity --testnet --rpc`)
- `DEBUG=true npm run testE2E` (display RPC POST bodies and subsequent responses)

@@ -18,0 +19,0 @@ ## installation

@@ -1,2 +0,2 @@

import EthApi from '../../index';
import EthApi from '../../lib';

@@ -6,4 +6,6 @@ const transport = new EthApi.Transports.JsonRpc('127.0.0.1', 8545);

transport.setDebug(true);
if (process.env.DEBUG) {
transport.setDebug(true);
}
export default ethapi;
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