aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlibertylocked <unlock.liberty@gmail.com>2017-08-02 10:18:01 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:35 +0800
commitc04cbb480a274a8de6c144340efe1536bbfd1fd2 (patch)
tree8a36a652566fb5898ad747e2ecd03db18b4ac73a
parent2c241c294efa522a358f34720bdba303d253e1aa (diff)
downloaddexon-sol-tools-c04cbb480a274a8de6c144340efe1536bbfd1fd2.tar
dexon-sol-tools-c04cbb480a274a8de6c144340efe1536bbfd1fd2.tar.gz
dexon-sol-tools-c04cbb480a274a8de6c144340efe1536bbfd1fd2.tar.bz2
dexon-sol-tools-c04cbb480a274a8de6c144340efe1536bbfd1fd2.tar.lz
dexon-sol-tools-c04cbb480a274a8de6c144340efe1536bbfd1fd2.tar.xz
dexon-sol-tools-c04cbb480a274a8de6c144340efe1536bbfd1fd2.tar.zst
dexon-sol-tools-c04cbb480a274a8de6c144340efe1536bbfd1fd2.zip
Add auth options to HttpProvider
-rw-r--r--packages/web3-typescript-typings/index.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts
index 4ae853772..f188d6014 100644
--- a/packages/web3-typescript-typings/index.d.ts
+++ b/packages/web3-typescript-typings/index.d.ts
@@ -34,7 +34,7 @@ declare module 'web3' {
namespace providers {
class HttpProvider implements Web3.Provider {
- constructor(url?: string);
+ constructor(url?: string, timeout?: number, username?: string, password?: string);
}
}