web3-providers-ipc
Advanced tools
Comparing version 1.2.2 to 1.2.3
{ | ||
"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 @@ |
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
13864
8
3
352
+ Addedweb3-core-helpers@1.2.3(transitive)
+ Addedweb3-eth-iban@1.2.3(transitive)
+ Addedweb3-utils@1.2.3(transitive)
- Removedweb3-core-helpers@1.2.2(transitive)
- Removedweb3-eth-iban@1.2.2(transitive)
- Removedweb3-utils@1.2.2(transitive)
Updatedweb3-core-helpers@1.2.3