Minor Changes
-
#2703
d57fbbb
Thanks @tim-smart! - replace isows with WebSocketConstructor service in @effect/platform/SocketYou 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-node@0.49.0
- @effect/platform@0.53.0