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

eth-provider

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eth-provider - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

test/web3-v0.x.js

13

package.json
{
"name": "eth-provider",
"version": "0.2.1",
"version": "0.2.2",
"description": "A Universal Ethereum Provider",

@@ -8,4 +8,7 @@ "browser": "browser.js",

"scripts": {
"test": "standard && mocha test/main.js",
"test:frame": "standard && mocha test/frame.js",
"test": "standard && npm run test:web3:v0 && npm run test:web3:v1",
"test:web3:v0": "npm install web3@0.20.7 && mocha test/web3-v0.x.js",
"test:web3:v1": "npm install web3@1.0.0-beta.37 && mocha test/web3-v1.x.js",
"test:web3:latest": "npm install web3@latest && mocha test/web3-v1.x.js",
"test:frame": "standard && npm install web3@1.0.0-beta.37 && mocha test/frame.js",
"test:ipc": "standard && mocha test/ipc.js",

@@ -23,3 +26,3 @@ "test:all": "standard && mocha",

"dependencies": {
"ethereum-provider": "0.0.5",
"ethereum-provider": "0.0.6",
"oboe": "2.1.4",

@@ -33,4 +36,4 @@ "uuid": "3.3.2",

"standard": "12.0.1",
"web3": "1.0.0-beta.36"
"web3": "^1.0.0-beta.37"
}
}

@@ -7,2 +7,8 @@ /* globals describe it */

describe('Test web3 is v1.x', () => {
it('major version should be 1', () => {
assert(new Web3().version[0] === '1')
})
})
describe('HTTP Provider (Frame)', () => {

@@ -9,0 +15,0 @@ let httpProvider = provider('http://127.0.0.1:1248')

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