Commit Graph

333 Commits

Author SHA1 Message Date
Richard Moore
71b7547f10
Update dist files. 2021-06-26 01:55:19 -04:00
Richard Moore
0364dd9368
Added some provider-specific adjustments to deal with eip-1559 (#1610). 2021-06-25 22:58:55 -04:00
Richard Moore
ba6854bdd5
Added effectiveGasPrice to receipt. 2021-06-25 22:57:05 -04:00
Richard Moore
1e31b34a5a
Fixed ENS names for JsonRpcSigner. 2021-06-25 00:02:08 -04:00
Richard Moore
b1affdbc10
Fixed documentation on FallbackProvider priority (#1713). 2021-06-24 18:07:33 -04:00
Richard Moore
c2c0ce7503
Updated dist files. 2021-06-24 02:13:06 -04:00
Richard Moore
319987ec3e
Fixed EIP-1559 from address calculation bug (#1610). 2021-06-24 00:46:53 -04:00
Richard Moore
2a7ce0e72a
merged master including transaction type 0 legacy constant (#1610). 2021-06-24 00:02:50 -04:00
Richard Moore
d001901c8c
Added type to TransactionResponse and TrnsactionReceipt (#1687). 2021-06-23 23:39:57 -04:00
Richard Moore
91951dc825
Trap CALL_EXCEPTION errors when resolving ENS entries (#1690). 2021-06-21 23:25:37 -04:00
Richard Moore
c5bca7767e
Refactored eip-1559 logic (#1610). 2021-06-14 22:24:14 -04:00
Richard Moore
412bbe2939
Updated dist files. 2021-06-10 18:29:05 -04:00
Richard Moore
ee82e86ccc
Fixed replacement transaction detection for JsonRpcSigner (#1658). 2021-06-10 18:22:02 -04:00
Richard Moore
4e6d121fb8
Updated dist files. 2021-05-31 19:06:24 -04:00
Richard Moore
470551e4ee
Update ws dependency version to fix security (#1633, #1634). 2021-05-31 15:46:47 -04:00
Richard Moore
7a12216cfb
Initial EIP-1559 support (#1610). 2021-05-30 17:47:04 -04:00
Richard Moore
5f1f2c5e2c
Updated dist files 2021-05-18 16:02:27 -04:00
Richard Moore
621897f249
More resiliant testing. 2021-05-18 15:52:32 -04:00
Richard Moore
dad3829c2e
Updated dist files. 2021-05-17 16:19:36 -04:00
Richard Moore
3316468e3e
More aggresively check for mempool transactions sent from JsonRpcSigner. 2021-05-13 23:29:59 -04:00
Richard Moore
5144acf456
Added initial support for detecting replacement transactions (#1477). 2021-05-13 23:28:47 -04:00
Richard Moore
26464c5425
Added debug event to Web3Provider. 2021-05-13 22:27:13 -04:00
Richard Moore
37a9c77ab2
Abstracted EtherscanProivder to more easily fascilitate other Etherscan-supported chains (#1204, #1473). 2021-05-07 00:31:15 -04:00
Richard Moore
8e22e0260e
Minor version bump. 2021-04-22 22:10:56 -04:00
Richard Moore
ce8f1e4015
Updated dist files. 2021-04-19 21:30:28 -04:00
Richard Moore
58488e78f9
Fixed JsonRpcProvider event-loop caching when using any network (#1484). 2021-04-19 20:56:18 -04:00
Richard Moore
0cd5fccfad
Updated dist files. 2021-04-17 22:41:09 -04:00
Richard Moore
ae0d5eb7c2
Removed underscore from the JsonRpcBatchProvider name (#62, #656, #892). 2021-04-17 18:12:08 -04:00
Richard Moore
b8df000c8f
Added better error detection when pre-EIP-155 transactions are disabled. 2021-04-17 18:10:27 -04:00
Richard Moore
b65508995c
Fixed EIP-2930 transactions for EtherscanProvider (#1364). 2021-04-14 15:04:24 -04:00
Richard Moore
d55ab6d4e6
Added experimental _JsonRpcBatchProvider (#62, #656, #892). 2021-04-02 03:53:48 -04:00
Richard Moore
1a7c4e89ef
Cache JsonRpcProvider requests for certain methods per event loop (#1371). 2021-04-02 03:45:47 -04:00
Richard Moore
3b1d3fcee6
Update dist files. 2021-03-30 15:22:45 -04:00
Richard Moore
c47d2eba4d
Added EIP-2930 support (#1364). 2021-03-26 16:16:56 -04:00
Richard Moore
6c43e20e7a
Updated dist files. 2021-03-07 18:24:04 -05:00
Richard Moore
bcda16df1d
Updated dist files. 2021-02-12 19:06:01 -05:00
Richard Moore
8279120e0a
Better error messaging when provider backends give bogus responses (#1243). 2021-02-12 18:52:44 -05:00
Richard Moore
80cde06bcc
Updated dist files 2021-02-08 15:24:45 -05:00
Richard Moore
73e94349de
When in Status trigger personal_sign instead of eth_sign (#1285). 2021-02-08 14:46:04 -05:00
Richard Moore
fd0cf2cc54
Updated dist files. 2021-02-02 17:32:11 -05:00
Richard Moore
27a981c84b
Added load balancer support to PocketProvider (#1052). 2021-02-02 17:05:47 -05:00
Richard Moore
29be1e37bc
Updated dist files. 2021-02-01 15:56:47 -05:00
Richard Moore
e727efc33e
Added support for networks with slightly incorrect EIP-658 implementations (#952, #1251). 2021-02-01 15:50:27 -05:00
Richard Moore
4f67ecdf62
Updated dist files. 2021-01-31 21:12:58 -05:00
Richard Moore
3396846a30
Added TypeScript declaration maps (#401). 2021-01-19 05:22:54 -05:00
Richard Moore
5c27b45ac9
Updated dist files. 2021-01-13 14:49:25 -05:00
Richard Moore
20f6e16394
Better provider internal block management (#1084, #1208, #1221, #1235). 2021-01-13 14:42:15 -05:00
Richard Moore
2df9dd1120
Updated dist files. 2021-01-13 03:41:29 -05:00
Richard Moore
74470defda
Fixed abundant UnhandledRejectErrors in provider polling (#1084, #1208, #1221, #1235). 2021-01-13 03:16:27 -05:00
Richard Moore
e0ccafb140
Updated dist files. 2021-01-08 03:32:59 -05:00
Richard Moore
0e6cc9a9a8
Lock package versions for the ESM builds (#1009). 2020-12-14 01:25:31 -05:00
Richard Moore
1c4259881a
Updated dist files. 2020-11-25 15:30:58 -05:00
Richard Moore
211defa27f
Upddated dist files. 2020-11-23 19:23:11 -05:00
Richard Moore
799896ac13
Added directory to repo field for each package. 2020-11-23 18:44:11 -05:00
Richard Moore
95e2871966
Updated dist files. 2020-11-22 22:44:33 -05:00
Richard Moore
4a8d579dca
Fix for new versions of Geth which return formatted data on revert rather than standard data (#949). 2020-11-22 17:43:32 -05:00
Richard Moore
3abfdffffa
Updated dist files. 2020-11-17 20:36:19 -05:00
Richard Moore
02546b9401
Fix browser ws alias. 2020-11-17 20:07:22 -05:00
Richard Moore
8933467c01
Updated dist build. 2020-11-16 23:07:24 -05:00
Richard Moore
4809325bee
Refactoring dist build process. 2020-11-14 17:42:36 -05:00
Richard Moore
e0b1d0e1e0
Updated dist files. 2020-10-22 21:55:40 -04:00
Richard Moore
fe17a29581
Allow 0x as a numeric value for 0 in Provider formatter (#1104). 2020-10-22 21:03:51 -04:00
Richard Moore
5a9bc30336
Updated dist files. 2020-10-22 20:01:18 -04:00
Richard Moore
28f60d5ef8
Use POST for long requests in EtherscanProvider (#1093). 2020-10-22 19:46:52 -04:00
Richard Moore
7b19fdfeed
Updated dist files. 2020-10-19 01:27:15 -04:00
Richard Moore
15a90af5be
Fix signTypedData call for JsonRpcSigner (#687). 2020-10-19 01:17:36 -04:00
Richard Moore
86146650d8
Updated dist files. 2020-10-18 23:19:16 -04:00
Richard Moore
be4e2164e6
Initial Signer support for EIP-712 signed typed data (#687). 2020-10-18 21:52:25 -04:00
Richard Moore
a62d20d86f
Added initial PocketProvider (#1052). 2020-10-08 20:21:32 -04:00
Richard Moore
d78b7a3998
Updated dist files. 2020-10-07 20:10:50 -04:00
Richard Moore
38a068bcea
Add gzip support to AlchemyProivder and InfuraProvider fetching (#1085). 2020-10-07 19:43:20 -04:00
Richard Moore
a022093ce0
Added CommunityResourcable to mark Providers as highly throttled. 2020-10-07 17:28:18 -04:00
Richard Moore
50f84b3c57
Updated dist files. 2020-10-07 00:25:28 -04:00
Richard Moore
8e682cc848
Added debug event info to WebSocketProvider (#1018). 2020-10-06 21:12:49 -04:00
Richard Moore
4d95fe925d
Updated dist files. 2020-10-05 15:46:12 -04:00
Richard Moore
40264ff900
Cache chain ID for WebSocketProvider (#1054). 2020-10-03 02:54:03 -04:00
Richard Moore
ffa4a2d054
CI: Fix test cases. 2020-09-23 01:00:30 -04:00
Richard Moore
9486185ceb
Updated dist files. 2020-09-22 23:18:45 -04:00
Richard Moore
261eb04e97
Ignore metadata files in each package. 2020-09-22 22:57:17 -04:00
Richard Moore
27b3af0a7b
Removed dead files. 2020-09-17 17:17:15 -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
cb8f4a3a4e
Updated docs for all packages on npm pages (#1013). 2020-08-25 01:09:48 -04:00
Richard Moore
fe2f0f7489
Updated dist files. 2020-07-16 05:35:32 -04:00
Richard Moore
9f20258d5d
Longer Etherscan throttle slot interval. 2020-07-16 05:29:33 -04:00
Richard Moore
6fa853b309
Updated dist files. 2020-07-14 02:33:30 -04:00
Richard Moore
88c7eaed06
Added initial throttling support (#139, #904, #926). 2020-07-14 02:26:45 -04:00
Richard Moore
78eb9d6176
Updated dist files. 2020-07-13 09:34:20 -04:00
Richard Moore
588f64c760
Use status code 1000 on WebSocket hangup for compatibility. 2020-07-13 09:27:08 -04:00
Richard Moore
6039464342
Updated dist files. 2020-07-13 08:50:41 -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
149e0839b1
Added TypeScript map generation and files. 2020-07-13 06:50:29 -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
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