Comparing version 0.0.28 to 0.0.29
@@ -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; |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
90575
2088
253
1