github Effect-TS/effect @effect/platform-node@0.49.0

latest releases: @effect/sql-sqlite-bun@0.12.7, @effect/typeclass@0.27.3, @effect/sql-sqlite-react-native@0.14.6...
4 months ago

Minor Changes

  • #2703 d57fbbb Thanks @tim-smart! - replace isows with WebSocketConstructor service in @effect/platform/Socket

    You now have to provide a WebSocketConstructor implementation to the Socket.makeWebSocket api.

    import * as Socket from "@effect/platform/Socket";
    import * as NodeSocket from "@effect/platform-node/NodeSocket";
    import { Effect } from "effect";
    
    Socket.makeWebSocket("ws://localhost:8080").pipe(
      Effect.provide(NodeSocket.layerWebSocketConstructor), // use "ws" npm package
    );

Patch Changes

  • Updated dependencies [d57fbbb]:
    • @effect/platform@0.53.0
    • @effect/platform-node-shared@0.4.19

Don't miss a new effect release

NewReleases is sending notifications on new releases.