@types/web3
Advanced tools
Comparing version 1.0.12 to 1.0.13
{ | ||
"name": "@types/web3", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "TypeScript definitions for web3", | ||
@@ -104,3 +104,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -115,4 +115,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "8799e948199590aa15af42599173847847b1ae761776b84a735e55df0bb2578b", | ||
"typesPublisherContentHash": "e53a6043606496236bb026ee512d7d0abf0c7abfe66fc36f5c9d646e09df8b73", | ||
"typeScriptVersion": "2.4" | ||
} |
@@ -15,7 +15,9 @@ interface JsonRPCRequest { | ||
interface Callback<ResultType> { | ||
(error: Error): void; | ||
(error: null, val: ResultType): void; | ||
} | ||
export class Provider { | ||
send( | ||
payload: JsonRPCRequest, | ||
callback: (e: Error, val: JsonRPCResponse) => void | ||
): any; | ||
send(payload: JsonRPCRequest, callback: Callback<JsonRPCResponse>): any; | ||
} | ||
@@ -22,0 +24,0 @@ |
@@ -11,4 +11,4 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 01 Nov 2018 23:52:59 GMT | ||
* Dependencies: bn.js, underscore | ||
* Last updated: Mon, 03 Dec 2018 19:04:45 GMT | ||
* Dependencies: @types/bn.js, @types/underscore | ||
* Global values: none | ||
@@ -15,0 +15,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
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
29041
790