Skip to content

Releases: yovanoc/effect-cdp

v0.1.6

21 May 21:16
31aaedb

Choose a tag to compare

Patch Changes

  • #8 a24a83e Thanks @yovanoc! - Prevent bundler from code-splitting platform imports (@effect/platform-node, @effect/platform-bun) by using variable-based import() that rolldown cannot statically analyse. Type aliases preserve full autocomplete without as casts.

v0.1.5

21 May 21:05
7589a41

Choose a tag to compare

Patch Changes

  • #6 7bd369f Thanks @yovanoc! - Prevent bundler from code-splitting @effect/platform-node and @effect/platform-bun dynamic imports by adding @rolldown-ignore comments. Without this, the bundler creates chunks that reference ioredis which is unavailable in Cloudflare Workers.

v0.1.4

21 May 20:59
97980b6

Choose a tag to compare

Patch Changes

  • 9ecc5b7 Thanks @yovanoc! - Fix worker startup crash by lazy-loading @effect/platform-node and @effect/platform-bun in layerNode/layerBun methods. Module-level imports caused node:net errors in Cloudflare Workers. Use Effect.promise(() => import(...)) to defer loading until the layer is actually built.

v0.1.3

21 May 11:18
4da99a2

Choose a tag to compare

Patch Changes

  • e661c49 Thanks @yovanoc! - Add reconnect option to CdpConfig for automatic connection retry with exponential backoff. When set, the initial WebSocket connection retries with maxRetries and baseDelay before failing.

v0.1.2

21 May 05:57
63712fd

Choose a tag to compare

Patch Changes

  • 4f41c2d Thanks @yovanoc! - Add layerCloudflare to effect-cdp/layers/AuthWebSocket — Cloudflare Workers compatible WebSocket upgrade via fetch with custom headers. Uses Random service for key generation and follows Effect generator patterns with return yield* for typed errors.

v0.1.1

21 May 05:37
ce31cf2

Choose a tag to compare

Patch Changes

  • f25077e Thanks @yovanoc! - Add waitForRequest helper to effect-cdp/helpers/Network — mirrors the existing waitForResponse pattern for observing outbound network requests via Network.requestWillBeSent events.