Socket
Socket
Sign inDemoInstall

web3-providers-ipc

Package Overview
Dependencies
47
Maintainers
2
Versions
380
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.9 to 1.2.10-rc.0

12

package.json
{
"name": "web3-providers-ipc",
"version": "1.2.9",
"version": "1.2.10-rc.0",
"description": "Module to handle web3 RPC connections over IPC sockets.",

@@ -11,3 +11,3 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-providers-ipc",

"scripts": {
"dtslint": "dtslint --localTs node_modules/typescript/lib types"
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},

@@ -19,10 +19,10 @@ "types": "types/index.d.ts",

"underscore": "1.9.1",
"web3-core-helpers": "1.2.9"
"web3-core-helpers": "1.2.10-rc.0"
},
"devDependencies": {
"@types/node": "^12.12.5",
"@types/node": "^12.12.6",
"dtslint": "^3.4.1",
"typescript": "latest"
"typescript": "^3.9.5"
},
"gitHead": "0e7ee3325437f73f4bace6c2df06aefafd72c716"
"gitHead": "ef81e78b2eed69dd386e0d2cb9bd22d8af998c34"
}

@@ -5,6 +5,4 @@ # web3-providers-ipc

This is a sub-package of [web3.js][repo].
This is an IPC provider sub-package for [web3.js][repo].
This is a IPC provider for [web3.js][repo].
Please read the [documentation][docs] for more.

@@ -20,21 +18,9 @@

### In the Browser
Build running the following in the [web3.js][repo] repository:
```bash
npm run-script build-all
```
Then include `dist/web3-providers-ipc.js` in your html file.
This will expose the `Web3IpcProvider` object on the window object.
## Usage
```js
// in node.js
var Web3IpcProvider = require('web3-providers-ipc');
var net = require(net);
const Web3IpcProvider = require('web3-providers-ipc');
const net = require(net);
var ipc = new Web3IpcProvider('/Users/me/Library/Ethereum/geth.ipc', net);
const ipc = new Web3IpcProvider('/Users/me/Library/Ethereum/geth.ipc', net);
```

@@ -41,0 +27,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc