Files
e1bca006d5 feat!: use the global fetch instead of undici's (#289)
* fix: use the global fetch instead of undici's

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix: remove the undici-types dependency

* fix: type httpAgent as a minimal HttpDispatcher interface

* docs: document HttpDispatcher

Co-Authored-By: Claude Fable 5.1 <[email protected]>

* refactor: pass one object literal to fetch

Build the request options in a single literal instead of mutating a RequestInit in
several places. The dispatcher is spread in with a private alias of Node's own
dispatcher type, so the cast applies to the agent and not to the whole options object.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Vojtech Novak <[email protected]>
2026-10-22 16:17:47 +02:00
..