fix(adapters): Attach WebSocket peer to typedRouter request localData and add ws dependency

This commit is contained in:
2025-12-03 23:47:46 +00:00
parent 7b8a4ba68c
commit b3c77eb675
7 changed files with 18 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2025-12-03 - 1.1.1 - fix(adapters)
Attach WebSocket peer to typedRouter request localData and add ws dependency
- When routing incoming WebSocket messages through TypedRouter (node/deno/bun), the connection peer is now attached to requestObj.localData so typed handlers can access the active connection.
- Add runtime dependency on "ws" to enable WebSocket support in the Node adapter (used by dynamic import in the adapter).
## 2025-12-02 - 1.1.0 - feat(websocket)
Add TypedRouter WebSocket integration, connection registry, peer tagging and broadcast APIs