e2b@2.35.3
·
174 commits
to main
since this release
Patch Changes
-
a406f78: Fix fetch handling on non-Node runtimes (Bun, Deno, browsers, edge):
- The SDK now late-binds
globalThis.fetchinstead of capturing the reference at client creation, so a fetch replaced afterwards (msw, instrumentation) is picked up, and per-proxy fetcher cache entries stay distinct. - Request/idle timeout abort reasons are pinned to their
AbortControllerto work around Bun dropping weakly-heldAbortSignal.reasonvalues, so timeouts on Bun surface asTimeoutErrorinstead of anundefinedreason.
- The SDK now late-binds
-
d417e9c: Detect the Cloudflare Workers runtime before the generic Node check so Node compatibility shims (workerd's
nodejs_compat,@cloudflare/vitest-pool-workers) no longer make the SDK loadundiciinside Workers