mirror of
https://github.com/discordeno/discordeno.git
synced 2026-07-21 21:52:52 +00:00
9102fc4ecc
* feat(rest): add request timeout feature to manage request retries * fix(rest): avoid calling Node-only Timeout.unref() on non-Node runtimes * fix(rest): use try/catch for fetch to guarantee a Response on the success path * refactor(rest): use AbortSignal.timeout and retry proxy requests on timeout * refactor(rest): simplify timeout detection and use .catch() in proxy path * refactor(rest): move isTimeoutError helper to bottom of file