diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-06 18:57:52 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:36 +0800 |
commit | ae37f8d9b68ae6e54f63bbbba7cc13e77a0d537f (patch) | |
tree | 9d4a6c1bde3ce074a058254eb31fdabaf2e78e59 /packages | |
parent | 6a8113af1d7c964bea993c36f381908ae4a881ed (diff) | |
download | dexon-0x-contracts-ae37f8d9b68ae6e54f63bbbba7cc13e77a0d537f.tar.gz dexon-0x-contracts-ae37f8d9b68ae6e54f63bbbba7cc13e77a0d537f.tar.zst dexon-0x-contracts-ae37f8d9b68ae6e54f63bbbba7cc13e77a0d537f.zip |
Define sendAsync on HttpProvider
Diffstat (limited to 'packages')
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index 7e13b4793..2fc6f277c 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -36,6 +36,10 @@ declare module 'web3' { namespace providers { class HttpProvider implements Web3.Provider { constructor(url?: string, timeout?: number, username?: string, password?: string); + public sendAsync( + payload: Web3.JSONRPCRequestPayload, + callback: (err: Error, result: Web3.JSONRPCResponsePayload) => void, + ): void; } } |