- Adds
connectTokenErrorFn
as an option on the client constructor to handle failures to retrieve a connect token. - Detects expired tokens ahead of connection attempts since they can never succeed.
- Adds
connectionSecret
andconnectionExpiresAt
properties on a connection, as those are sent in thehotsock.connected
message as of Hotsock v1.3.