Commit Graph

186 Commits

Author SHA1 Message Date
Richard Moore
40264ff900
Cache chain ID for WebSocketProvider (#1054). 2020-10-03 02:54:03 -04:00
Richard Moore
9486185ceb
Updated dist files. 2020-09-22 23:18:45 -04:00
Richard Moore
d15c097dba
Updated dist files. 2020-09-16 03:08:36 -04:00
Richard Moore
49f71574f4
More robust blockchain error detection (#1047) 2020-09-16 02:19:28 -04:00
Richard Moore
c1a297db99
Updated dist files. 2020-09-11 02:10:58 -04:00
Richard Moore
bc3eeeca39
Better error forwarding from FallbackProvider (#1021). 2020-09-11 01:10:15 -04:00
Richard Moore
a440317594
Updated dist files. 2020-09-04 01:37:14 -04:00
Richard Moore
83db8a6bd1
Added basic ENS resolver functions for contenthash, text and multi-coin addresses (#1003). 2020-09-04 01:18:57 -04:00
Richard Moore
5fcd03f27e
Updated dist files. 2020-08-25 01:53:48 -04:00
Richard Moore
9f20258d5d
Longer Etherscan throttle slot interval. 2020-07-16 05:29:33 -04:00
Richard Moore
88c7eaed06
Added initial throttling support (#139, #904, #926). 2020-07-14 02:26:45 -04:00
Richard Moore
588f64c760
Use status code 1000 on WebSocket hangup for compatibility. 2020-07-13 09:27:08 -04:00
Richard Moore
57fd6f0604
Updated WebSocketProvider to use web-style event listener API. 2020-07-13 08:41:54 -04:00
Richard Moore
49e83b0c4d
Updated dist files. 2020-07-13 08:03:56 -04:00
Richard Moore
e3d3e604f2
Set sensible defaults for INFURA and AlchemyAPI getWebSocketProvider methods. 2020-07-13 07:26:40 -04:00
Richard Moore
d0a79c6a13
Added destroy to WebSocketProvider. 2020-07-12 05:02:08 -04:00
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
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
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
fa6904fef3
Stall FallbackProvider backends from requests if not in-sync. 2020-05-03 21:04:23 -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
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
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
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
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