Skip to content

v1.0.0

@electricessence electricessence tagged this 22 Aug 21:59
✨ Key Features:
- Universal WebSocket connector with virtual connections
- Connection pooling and lazy initialization
- RxJS observables for reactive programming
- Platform-specific implementations (Browser/Node.js)
- Comprehensive testing utilities with MockWebSocketConnector
- Built-in reconnection with exponential backoff (max 10 attempts)
- TypeScript support with full type safety
- Multiple entry points for tree-shaking

📦 API Highlights:
- connection.subscribe() shortcut method
- idleTimeoutMs: 10s default, clear millisecond naming
- reconnectAttempts: 0-10 configurable attempts with exponential backoff
- Fragmented distribution: @tsdotnet/websocket-connector/browser, /node, /mock

🧪 Quality Metrics:
- 93 tests passing
- 92.23% test coverage
- ESLint + TypeScript strict mode
- Comprehensive documentation with examples

Ready for production use! 🎯
Assets 2
Loading