Commit graph

77 commits

Author SHA1 Message Date
dangered wolf
6b4ab57f17
Revert "Moved some headers out of fetch function"
This reverts commit a410c0c044.
2022-08-18 16:50:26 -04:00
dangered wolf
a410c0c044
Moved some headers out of fetch function 2022-08-18 16:49:38 -04:00
dangered wolf
897ba47ca2
Control guest token caching from constant 2022-08-18 11:46:42 -04:00
dangered wolf
01b3b8d79b
Fix borked guest token caching in workers runtime 2022-08-18 11:11:16 -04:00
dangered wolf
f49846d4c5
Some tweaks to maybe make it work better 2022-08-18 03:58:25 -04:00
dangered wolf
7707c0d2d0
Implement Cloudflare guest token caching 2022-08-18 03:11:19 -04:00
dangered wolf
4ae10034db
switch on guest token cache (borked) 2022-08-18 00:49:57 -04:00
dangered wolf
043f6b6e0c
Re-organizing stuff! Better comments! 2022-08-15 18:38:52 -04:00
dangered wolf
9669ff2889
Fixed many of the eslint issues 2022-07-26 01:46:43 -04:00
dangered wolf
2b43217dc8
Added automatic Tweet translation 2022-07-23 21:42:36 -04:00
dangered wolf
71653d5b1a
Prettier 2022-07-23 14:16:22 -04:00
dangered wolf
1a84aff39f
Guest token caching (doesn't seem to work?) 2022-07-18 19:53:01 -04:00
dangered wolf
7f64a1bd57
Move more fetch into loop to increase reliability 2022-07-15 17:41:16 -04:00
dangered wolf
a83cb8ea68
Formatting 2022-07-15 17:38:24 -04:00
dangered wolf
f7a4203003
Handle invalid API responses better 2022-07-15 16:36:24 -04:00
dangered wolf
e7308ed55d
Going hardcore, up to 10 guest token retries 2022-07-15 16:27:50 -04:00
dangered wolf
5307bfc1a4
Fixed error handling (again) 2022-07-15 16:25:38 -04:00
dangered wolf
651d4d3176
Fixed me breaking guest token error handling 2022-07-15 16:12:05 -04:00
dangered wolf
d4cf2cc5b8
Change ERROR_PRIVATE string and run prettier 2022-07-15 16:01:49 -04:00
dangered wolf
5fbe0be3bf
Add error handling for private tweets, 404s 2022-07-15 15:59:24 -04:00
dangered wolf
c45814c092
Fallback gracefully if guest token API doesnt work 2022-07-15 15:05:19 -04:00
dangered wolf
753535d366
Retry if guest token or conversation load fails 2022-07-15 14:40:52 -04:00
dangered wolf
99a949a801
Fixed typo in comment 2022-07-15 12:59:19 -04:00
dangered wolf
824e44d4ed
Ran Prettier again 2022-07-14 13:51:59 -04:00
dangered wolf
568dd0e70b
Fetch now returns TimelineBlobPartial 2022-07-14 13:50:09 -04:00
dangered wolf
9cb2753747
Added comments and fixes 2022-07-14 12:47:09 -04:00
dangered wolf
0f551437af
Moved drivers/guest to fetch 2022-07-14 11:55:45 -04:00
Renamed from src/drivers/guest.ts (Browse further)