Commit Graph

333 Commits

Author SHA1 Message Date
Richard Moore
f34be4e2c2
Updated dist files. 2020-07-05 00:01:57 -04:00
Richard Moore
0fd9aa5cb6
Fixed StaticJsonRpcProvider when auto-detecting network (#901). 2020-07-04 23:06:18 -04:00
Richard Moore
4838874127
Added WebSocket static method to Alchemy provider and updated Alchemy URLs. 2020-07-03 01:41:32 -04:00
Richard Moore
96cb44025b
Updated dist files. 2020-06-29 00:54:30 -04:00
Richard Moore
c53864de0a
Added StaticJsonRpcProvider for reducing calls to chainId in certain cases (#901). 2020-06-29 00:21:59 -04:00
Richard Moore
8c1ff4c862
Allow getDefaultProvider to accept a URL as a network. 2020-06-29 00:06:31 -04:00
Richard Moore
987b5354cc
Make network an optional parameter to WebSocketProvider. 2020-06-29 00:04:45 -04:00
Richard Moore
3017a31127
Updated dist files. 2020-06-13 21:39:36 -04:00
Richard Moore
bbb4f407b3
Allow provider.ready to stall until the network is available (#882). 2020-06-13 21:26:50 -04:00
Richard Moore
5a69e9caa8
Fixed embedded pacakge version strings. 2020-06-12 23:04:10 -04:00
Richard Moore
e805ab5b2d
Updated dist files (remove from beta). 2020-06-12 21:07:12 -04:00
Richard Moore
ddad98ab32
Updated dist files. 2020-06-03 03:47:17 -04:00
Richard Moore
d2ca4fb443
Fix non-any Provider network emit (#495, #861). 2020-06-03 03:34:40 -04:00
Richard Moore
1a89c591c2
Allow JsonRpcSigner to override from if it matches Signer (#862). 2020-06-03 03:17:42 -04:00
Richard Moore
2bc7bb6e61
Added initial support for spontaneous network changes (#495, #861). 2020-06-03 02:37:59 -04:00
Richard Moore
86d50bc9b6
Updated dist files. 2020-06-01 05:04:12 -04:00
Richard Moore
42dee67187
Major Contract refactor for overrides (#819, #845, #847, #860). 2020-06-01 04:46:37 -04:00
Richard Moore
c29d20c602
Updated dist files. 2020-05-29 21:27:59 -04:00
Richard Moore
1b0ad5aa69
Correctly set last emitted block for WebSocketProvider (#856). 2020-05-29 20:41:20 -04:00
Richard Moore
8efd8d2031
Fixed delayed network detection attempting to overwrite read-only value (#854). 2020-05-29 04:03:46 -04:00
Richard Moore
180a1aff3a
Better WebSocket compatibilities with Parity (#)849. 2020-05-26 06:42:19 -04:00
Richard Moore
dc4daf75b0
Updated dist files. 2020-05-21 00:07:41 -04:00
Richard Moore
f963589400
Fixed FallbackProvider sync-stalling for backends (#841). 2020-05-20 23:42:08 -04:00
Richard Moore
2a78953f9a
Updated dist files. 2020-05-12 23:31:51 -04:00
Richard Moore
fde102b7ed
Fixed FallbackProvider ESM super-this out-of-order issue (#822). 2020-05-12 17:24:28 -04:00
Richard Moore
2a06893eb5
Updated dist files (with version-lock). 2020-05-08 15:28:55 -04:00
Richard Moore
963197d70c
Fix JsonRpcProvider out-of-order super call (#822). 2020-05-08 15:12:02 -04:00
Richard Moore
7f0374c5a5
Updated dist files. 2020-05-04 23:01:04 -04:00
Richard Moore
8eeda23e98
More robust FallbackProvider on clean exits. 2020-05-04 22:48:21 -04:00
Richard Moore
dc48bfb7ad
Added more robust poll event to Provider. 2020-05-04 22:43:44 -04:00
Richard Moore
86670eb80e
Added goerli to AlchemyProvider. 2020-05-04 22:39:31 -04:00
Richard Moore
e96b43e84d
Updated dist files. 2020-05-03 21:11:18 -04:00
Richard Moore
fa6904fef3
Stall FallbackProvider backends from requests if not in-sync. 2020-05-03 21:04:23 -04:00
Richard Moore
3f37d15b88
Update dist files. 2020-05-03 17:53:58 -04:00
Richard Moore
99ae946476
Allow providers to detect their network after instantiation (#814). 2020-05-03 17:32:16 -04:00
Richard Moore
7b1a7c7f31
Manage FallbackProvider stalling without unref (#815). 2020-05-03 16:15:19 -04:00
Richard Moore
a6c1174dff
Added getWebSocketProvider static method to InfuraProvider. 2020-05-03 14:20:33 -04:00
Richard Moore
472e5b07ea
Fix WebSocketProvider responses when message result is null (#813). 2020-05-03 14:18:12 -04:00
Richard Moore
0d71cfb92c
Updated dist files. 2020-05-01 17:00:44 -04:00
Richard Moore
1e21eb034b
Updating style. 2020-05-01 16:32:32 -04:00
Richard Moore
9f8025155c
Updated dist files. 2020-04-28 05:03:49 -04:00
Richard Moore
393c0c74a9
Fixed getLogs filter deserialization (#805). 2020-04-28 04:52:29 -04:00
Richard Moore
000aaaf4e8
Updated dist files. 2020-04-27 06:31:43 -04:00
Richard Moore
56af4413b1
Added EIP-1193 support to Web3Provider. 2020-04-27 06:15:44 -04:00
Richard Moore
47e4655f6b
Updated dist files. 2020-04-23 23:35:39 -04:00
Richard Moore
8e7751f7df
Fixed inconsistent log format in WebSocketProvider (#795). 2020-04-23 23:17:55 -04:00
Richard Moore
6707754580
Added WebSocketProvider support for ENS names in filters. 2020-04-23 23:10:21 -04:00
Richard Moore
aeeb75f74c
Fixed provider filtering by ENS name. 2020-04-23 22:54:25 -04:00
Richard Moore
fca5ccbc20
Fix median calculation for large block number deltas across FallbackProvider backends. 2020-04-23 08:15:46 -04:00
Richard Moore
8cf4b3cf45
Work-around for Cloudflare not offering eth_blockNumber. 2020-04-23 08:13:53 -04:00
Richard Moore
71d03c6e3c
Added string spell-checking to library and fixed discovered typos. 2020-04-22 02:42:25 -04:00
Richard Moore
4874419119
Updated dist files. 2020-04-18 05:14:55 -04:00
Richard Moore
9ae6b70efb
Fixes for dist builds without injected XMLHttpRequest (#789, #506). 2020-04-18 02:46:52 -04:00
Richard Moore
2f30410ddd
Updated dist files. 2020-04-16 21:59:53 -04:00
Richard Moore
4ef0e4f765
Fix provider log filters with zero topics (#785). 2020-04-16 21:30:35 -04:00
Richard Moore
54dfaacba3
Updated dist files. 2020-04-15 18:28:04 -04:00
Richard Moore
69f707762e
Fixed WebSocketProvider filter events (#784). 2020-04-15 16:46:15 -04:00
Richard Moore
40fb8b5b5c
Updated dist files. 2020-04-03 22:13:06 -04:00
Richard Moore
2882546351
Fail earlier when resolving an ENS name that is not a string. 2020-04-03 21:32:44 -04:00
Richard Moore
da412f6607
Force Log properties to be non-optional (#415). 2020-04-03 20:45:23 -04:00
Richard Moore
a656079752
Updated dist files. 2020-03-31 23:40:54 -04:00
Richard Moore
6c71b51512
Fixed getEtherPrice for EtherscanProvider (#776). 2020-03-31 23:17:10 -04:00
Richard Moore
bd32ee0af5
Updating TypeScript library and fixing some audit issues. 2020-03-22 14:57:17 -04:00
Richard Moore
62aad5f8f3
Updated dist files. 2020-03-21 12:48:22 -04:00
Richard Moore
030f65e66c
Abstracted JSON-RPC parameter generation for others to use. 2020-03-17 14:00:13 -04:00
Richard Moore
d2c9214889
Update dist files. 2020-03-12 19:14:50 +01:00
Richard Moore
117a5dd7ff
Added initial WebSocketProvider (#141). 2020-03-12 18:53:34 +01:00
Richard Moore
7d34f73769
Updated dist files. 2020-02-27 19:58:05 +00:00
Richard Moore
64dccb275c
Fix address-less filter listening in Provider (#741). 2020-02-27 19:29:02 +00:00
Richard Moore
2ac8c0276d
Updated dist files. 2020-02-26 10:06:48 +00:00
Richard Moore
ad27600c69
Added JSON-RPC debugging on error responses. 2020-02-25 14:51:32 -05:00
Richard Moore
8c164ab3d0
Updated dist files. 2020-02-17 20:22:33 -05:00
Richard Moore
311af88cfa
Added default EtherscanProvider key. 2020-02-17 18:14:02 -05:00
Richard Moore
f259f9815d
Updated dist files. 2020-02-10 15:51:58 -05:00
Richard Moore
b962b59ab7
Updated signature for JsonRpcProvider.send to match EIP-1193. 2020-02-10 15:39:38 -05:00
Richard Moore
f9ab665b52
Updated dist files. 2020-02-06 18:21:34 -05:00
Richard Moore
e7adc84a97
Better type safety for defineReadOnly. 2020-02-04 08:01:26 -05:00
Richard Moore
b29510e363
Updated dist files. 2020-02-04 01:06:47 -05:00
Richard Moore
bacc440397
Added timeout to waitForTransaction (#477). 2020-02-03 23:05:04 -05:00
Richard Moore
f92d156f17
Updated dist files. 2020-01-21 19:08:05 -05:00
Richard Moore
251882ced4
Fixed out-of-bounds difficulty in getBlock, which can affect PoA networks (#711). 2020-01-21 18:37:16 -05:00
Richard Moore
1ff5f5233e
Updated dist files. 2020-01-20 19:43:50 -05:00
Richard Moore
5878b54d6e
Allow arbitrary apiKey for UrlJsonRpcProvider. 2020-01-20 19:27:33 -05:00
Richard Moore
2d72c856a2
Updated dist files. 2020-01-18 21:48:12 -05:00
Richard Moore
f4bcf24a25
Much more resiliant FallbackProvider which can ignore properties that are only approximate and supports per-provider priorities (#635, #588). 2020-01-18 21:24:28 -05:00
Richard Moore
10943fc3ef
Updated dist files. 2020-01-11 04:18:28 -05:00
Richard Moore
72b3bc9909
Fix TransactionResponse to have chainId instead of legacy networkId (#700). 2020-01-11 03:34:59 -05:00
Richard Moore
a7e29d60f7
Updated dist files. 2020-01-07 19:58:04 -05:00
Richard Moore
1e72fc7d6f
Fixed resolveName when name is an address with an invalid checksum (#694). 2020-01-07 19:41:43 -05:00
Richard Moore
f308ba3540
Updated dist files (sorted package.json to reduce package version change chatter). 2019-11-23 21:38:13 +09:00
Richard Moore
79ef1e975d
Updated dist files. 2019-11-20 18:57:38 +09:00
Richard Moore
e518151509
Fixed null apiKey problem for InfuraProvider. 2019-11-20 18:28:13 +09:00
Richard Moore
01ca35036c
Removing NodesmithProvider from default provider as it is being discontinued. 2019-11-19 18:14:40 +09:00
Richard Moore
1ec5804bd4
Added support for complex API keys including support for INFURA project secrets (#464, #651, #652). 2019-11-19 18:00:05 +09:00
Richard Moore
e1509a6326
Migrating providers to modern syntax and scoping (#634). 2019-11-01 23:51:08 +09:00
Richard Moore
1d4f90a958
Added provider property to Web3Provider (#641). 2019-11-01 22:18:17 +09:00
Richard Moore
d9d438a119
Force deploy receipt to address to be null (#573). 2019-10-19 20:33:57 +09:00
Richard Moore
5b0c15930f
Update dist files. 2019-10-17 01:12:03 +09:00
Richard Moore
12cfc59965
Fixed getBlock for blockhashes with a leading 0 (#629). 2019-10-17 00:53:25 +09:00
Richard Moore
3c864de612
Updated dist files. 2019-09-28 02:36:19 -04:00
Richard Moore
238fcba83b
Updated dist files. 2019-09-08 02:46:53 -04:00
Richard Moore
9c63b4a753
Fixed typo in error message (#580). 2019-09-06 18:48:14 -04:00
Richard Moore
e8028d0e73
Updated TypeScript version. 2019-09-06 12:25:17 -04:00
Richard Moore
85b4db7d6d
Updated packages with version lock and moved types. 2019-08-31 23:56:02 -04:00
Richard Moore
3a91e91df5
Fixed build process to re-target browser field to ES version. 2019-08-25 16:20:34 -04:00
Richard Moore
73a0077fd3
Major overhaul in compilation to enable ES6 module generation. 2019-08-25 02:39:20 -04:00
Richard Moore
6f4ca61208
Updated dist files. 2019-08-22 17:12:51 -04:00
Richard Moore
07e15993ba
Fixed sendTransaction and use median gas price in FallbackProvider. 2019-08-22 16:51:35 -04:00
Richard Moore
57bf997d33
Updates dist files. 2019-08-21 01:52:13 -04:00
Richard Moore
b304ec1f00
Fixed quorum-matching logic for FallbackProvider. 2019-08-21 01:45:51 -04:00
Richard Moore
621313d2a6
Added CloudflareProvider (#587). 2019-08-21 01:45:06 -04:00
Richard Moore
724c32e8c0
Added receipt to CALL_EXCEPTION errors. 2019-08-20 14:01:16 -04:00
Richard Moore
692589db54
Added package name prefix to all _version for Logger. 2019-08-03 01:27:20 -04:00
Richard Moore
8354c3f9fe
Updated dist files. 2019-08-02 02:10:58 -04:00
Richard Moore
0b224e8fb5
Deprecating errors for logger. 2019-08-01 18:04:06 -04:00
Richard Moore
e8f28b55d7
More consistent debug events for Providers. 2019-08-01 16:13:35 -04:00
Richard Moore
46149cfe16
Updated dist files. 2019-07-20 20:13:00 -03:00
Richard Moore
083fd76a3a
Export provider.Formatter (#562). 2019-07-20 20:09:49 -03:00
Richard Moore
ab5f9e2f82
Updated dist filels. 2019-07-02 16:13:03 -04:00
Richard Moore
6484908cb2
Allow providers to prepare their Network object. 2019-07-02 16:06:47 -04:00
Richard Moore
6c1902544c
Updated dist files. 2019-06-11 17:57:04 -04:00
Richard Moore
257d67c962
Moved away from isNamedInstance which breaks after Browserify name mangling. 2019-06-10 22:25:46 -04:00
Richard Moore
69bfc6b736
Updated dist files. 2019-06-04 16:08:07 -04:00
Richard Moore
5bf763fe23
Fixed INFURA project ID checking (#534). 2019-06-04 16:03:31 -04:00
Richard Moore
e8f5e4a9d9
Updated dist files. 2019-06-01 14:19:43 -04:00
Richard Moore
5ba6a616a6
Fixed default JsonRpcSigner (#532). 2019-05-30 20:18:21 -04:00
Richard Moore
1f04812bf9
Updated dist files. 2019-05-24 18:15:42 -04:00
Richard Moore
044554b585
Track per-provider JSON-RPC ID (#) 2019-05-24 15:31:30 -04:00
Richard Moore
80423ac68e
Updated dist files. 2019-05-23 19:13:44 -04:00
Richard Moore
3cbc4b4622
Better error message for unconfigured ENS names (#504). 2019-05-23 19:10:15 -04:00
Richard Moore
8cdda37095
Fixed contract events (#404). 2019-05-23 18:24:31 -04:00
Richard Moore
7c3ed406c2
Updated dist files. 2019-05-14 18:48:48 -04:00
Richard Moore
2777f5cb4c
Initial v5 branch commit. 2019-05-14 18:25:46 -04:00