Commit Graph

17 Commits

Author SHA1 Message Date
f6a3ea2649 fix(anilist): ️ improve SSE streaming
Fixes issues with SSE streaming by explicitly setting the content type and encoding headers.

Also, removes unnecessary destructuring in fetchEpisodes.
2025-10-31 13:13:34 -04:00
8175d73df1 refactor: ♻️emoves Env parameter
Removes the `Env` parameter from several functions to simplify their signatures and rely on the global `env` for configuration.

This change reduces the number of arguments passed around, making the code cleaner and easier to maintain.
2025-08-10 19:22:14 -04:00
0b0078328c fix(aniplay): Migrates to Aniwatch only
Removes Consumet and consolidates episode fetching to use Aniwatch as the sole provider.

This simplifies the codebase and ensures a consistent data source for episodes and URLs.
Also updates `wrangler` and sets `ENABLE_ANIFY` to false.
2025-08-08 08:17:47 -07:00
c7d8f3ffa4 feat: add id to User 2024-11-17 09:44:09 -05:00
ce82ae8990 feat: return user data when marking episode as watched 2024-11-14 07:37:04 -05:00
c5a536d87e style: add await to all writeSSE calls 2024-10-29 07:44:31 -04:00
2dcf8630ab fix: improve error logging
Cloudflare doesn't log causes, only the messages so splitting the logs in to 2
2024-10-27 08:49:31 -04:00
5ea90bda55 feat: add more 429 checks 2024-10-05 15:52:38 -04:00
e4ca45dbdc fix: retry loading user if 429 returned 2024-09-26 04:30:45 -04:00
bee8acaca8 feat: improve error handling for authentication flow 2024-09-26 03:51:17 -04:00
6f35e2cdea fix: close SSE stream when error occurred 2024-09-22 16:23:38 -04:00
79d856b18d fix: improve authentication SSE 2024-09-22 15:22:41 -04:00
76cac78307 fix: openapi schema 2024-09-21 20:04:36 -04:00
b8631b9614 fix: remove anime key in statistics key 2024-09-21 20:04:21 -04:00
3dba56cb45 feat: return user info when authenticating 2024-09-21 14:02:07 -04:00
c1bf12de4f feat: associate device id with username when logging in 2024-09-21 13:18:16 -04:00
432da61aec feat: support fetching "currently watching" titles when logging in 2024-09-20 00:06:22 -04:00