amarwave 1.0.0
amarwave: ^1.0.0 copied to clipboard
Official Dart/Flutter client SDK for AmarWave real-time WebSocket messaging. Subscribe to public, private, and presence channels with built-in HMAC auth.
Changelog #
All notable changes to the AmarWave Dart/Flutter SDK will be documented in this file.
1.0.0 #
- Initial stable release.
- WebSocket connection with exponential-backoff reconnect.
- Public, private (
private-), and presence (presence-) channel support. - Client-side HMAC-SHA256 auth via
appSecret(dev/testing only). - Server-side channel auth via configurable
authEndpoint. AmarWavePresenceChannelwith livemembersmap,memberCount, andme.channel.publish()with pre-subscription queue (calls buffered until subscribed).- Named cluster support (
cluster: 'default'/'local'/'eu'etc.) — auto-resolves host and port. - Ping/pong keepalive with configurable
activityTimeoutandpongTimeout. connection.bind()for lifecycle events (connected,disconnected,state_change,error).- Full
AmarWaveConnectionproxy withsocketIdandstateaccessors.