fix(typedsocket): reject pending requests on disconnect to avoid hanging promises
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-02-26 - 4.1.1 - fix(typedsocket)
|
||||
reject pending requests on disconnect to avoid hanging promises
|
||||
|
||||
- Rejects all pending requests with Error('TypedSocket disconnected') when connection is lost
|
||||
- Clears pendingRequests map to prevent memory leaks
|
||||
- Preserves existing auto-reconnect scheduling behavior
|
||||
|
||||
## 2025-12-04 - 4.1.0 - feat(typedsocket)
|
||||
Add SmartServe integration, tagging and improved client reconnect/backoff; update deps and tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user