Commit Graph

33 Commits

Author SHA1 Message Date
Richard Moore
4c86dc9ed4 Add support for all data URL formats (#3341). 2022-09-13 20:49:15 -04:00
Richard Moore
c309df8a3e Allow browser fetch option overrides (#3096). 2022-06-30 16:25:07 -04:00
Richard Moore
ae23bb76a9 Added CCIP support to provider.call (#2478). 2022-03-04 16:15:47 -05:00
Richard Moore
2d98b4fca1 Added Cloudflare Worker support (#1886). 2022-02-19 01:31:03 -05:00
Richard Moore
42784b8d38 Added basic redirect support. 2021-11-30 19:11:03 -05:00
Richard Moore
b8391b0e61 Added support for data URLs for avatar metadata. 2021-10-31 00:53:49 -04:00
Richard Moore
fb6d141723
docs: fixed typos in comments; h/t @ly0va (#1838). 2021-10-04 11:46:24 -04:00
Richard Moore
65772a8e1a
Add gzip support to getUrl in node (#1085). 2020-10-07 19:40:28 -04:00
Richard Moore
263bfe5ce6
Improve fetch errors with looser mime-type detection (#1047). 2020-09-15 22:12:56 -04:00
Richard Moore
be92339696
Force content-length in web fetching. 2020-09-11 01:10:53 -04:00
Richard Moore
201e5ced9c
More readable server errors. 2020-09-05 04:29:08 -04:00
Richard Moore
e1bbb064a1
Do not mutate connection in fetchJson. 2020-08-04 20:49:40 -04:00
Richard Moore
2c49a52a41
Renamed and documented experimental fetchData function. 2020-07-31 01:15:22 -04:00
Richard Moore
e2d6f281d5
Abstract fetchJson for data. 2020-07-30 17:03:36 -04:00
Richard Moore
7d43545303
Added Retry-After support and adjustable slot interval to fetchJson. 2020-07-14 22:50:05 -04:00
Richard Moore
88c7eaed06
Added initial throttling support (#139, #904, #926). 2020-07-14 02:26:45 -04:00
Richard Moore
693094e97c
More debug information in timeout and fetch errors (#678). 2020-06-12 04:41:07 -04:00
Richard Moore
f963589400
Fixed FallbackProvider sync-stalling for backends (#841). 2020-05-20 23:42:08 -04:00
Richard Moore
fdf2253218
Fixed node hanging on unnecessary timeout when fetchJson fails. 2020-05-12 16:55:14 -04:00
Richard Moore
dc48bfb7ad
Added more robust poll event to Provider. 2020-05-04 22:43:44 -04:00
Richard Moore
0e3a66c829
Better messaging on low-level network errors (#814). 2020-05-03 16:24:18 -04:00
Richard Moore
9ae6b70efb
Fixes for dist builds without injected XMLHttpRequest (#789, #506). 2020-04-18 02:46:52 -04:00
Richard Moore
94db5dbdcf
Remove dead code. 2020-02-17 18:15:03 -05:00
Richard Moore
5622f703d9
Better typing for Timers. 2020-02-04 00:50:27 -05:00
Richard Moore
c66d81e96f
Fixed 304 status for fetchJson. 2020-01-11 20:14:29 -05:00
Richard Moore
2f0e679f0b
Stubs for adding throttle support. 2019-11-23 21:21:27 +09:00
Richard Moore
394c36cad4
Migrating to modern syntax and scoping (#634). 2019-11-01 23:33:51 +09:00
Richard Moore
3d25882d6b
Add response handling and 304 support to fetchJson. 2019-09-27 21:55:40 -04:00
Richard Moore
0b224e8fb5
Deprecating errors for logger. 2019-08-01 18:04:06 -04:00
Richard Moore
826ffbc7c4
Move from node-fetch to cross-fetch; better browser fallback implementation. 2019-06-12 01:22:53 -04:00
Richard Moore
7164e51131
Fixed node-fetch for Safari (todo: push this fix upstream to node-fetch). 2019-06-11 23:40:28 -04:00
Richard Moore
62201c5eeb
Migrated XMLHttpRequest to fetch API (#506). 2019-06-11 22:40:45 -04:00
Richard Moore
2777f5cb4c
Initial v5 branch commit. 2019-05-14 18:25:46 -04:00