New Features
- Added an optional
onHeartbeatclient hook forsubscribeEventsandwatchstreams, so apps can tell when the server is still alive even when no messages or updates are coming in. - Added
channelOptionstocreateClient, plus exportedHeartbeatHandlerandGrpcChannelOptionstypes, so advanced users can tune gRPC behavior directly.
Bug Fixes
- gRPC clients now use keepalive pings by default, which helps detect half-open connections instead of letting event streams hang forever. 🫀
Improvement
- Heartbeat handling now works consistently across message, chat, group, poll, and shared-location streams.
Version: 0.12.0