Socket
Socket
Sign inDemoInstall

web3-providers-ipc

Package Overview
Dependencies
Maintainers
2
Versions
427
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-providers-ipc - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

LICENSE

8

package.json
{
"name": "web3-providers-ipc",
"version": "1.2.2",
"version": "1.2.3",
"description": "Module to handle web3 RPC connections over IPC sockets.",

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

"underscore": "1.9.1",
"web3-core-helpers": "1.2.2"
"web3-core-helpers": "1.2.3"
},
"devDependencies": {
"@types/node": "^12.12.5",
"definitelytyped-header-parser": "^1.0.1",
"dtslint": "0.4.2"
}
},
"gitHead": "aca6a78b6c8182f175aa059e7ad359f109ec7a84"
}

@@ -23,33 +23,4 @@ /*

import * as net from 'net';
import { IpcProviderBase, JsonRpcPayload } from 'web3-core-helpers';
import { IpcProviderBase } from 'web3-core-helpers';
export class IpcProvider extends IpcProviderBase {
constructor(path: string, net: net.Server);
responseCallbacks: any;
notificationCallbacks: any;
connected: boolean;
connection: any;
addDefaultEvents(): void;
supportsSubscriptions(): boolean;
send(
payload: JsonRpcPayload,
callback: (error: Error, result: any) => void
): void;
on(type: string, callback: () => void): void;
once(type: string, callback: () => void): void;
removeListener(type: string, callback: () => void): void;
removeAllListeners(type: string): void;
reset(): void;
reconnect(): void;
}
export class IpcProvider extends IpcProviderBase { }

@@ -25,2 +25,3 @@ /*

import { IpcProvider } from 'web3-providers';
import { JsonRpcResponse } from 'web3-core-helpers';

@@ -51,5 +52,8 @@ const ipcProvider = new IpcProvider(

// $ExpectType void
ipcProvider.send({} as any, () => {});
ipcProvider.send({} as any, (error: Error | null) => {});
// $ExpectType void
ipcProvider.send({} as any, (error: Error | null, result: JsonRpcResponse | undefined) => {});
// $ExpectType void
ipcProvider.on('type', () => {});

@@ -56,0 +60,0 @@

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