- Normalized
reconnectTimeWait
andmaxReconnectAttempts
to match other products. See #72. - Reworked timeout connection option to account not only for the dial but for the completion of the connection protocol.
- Removed duplicated error constants. See #65
- Reconnects now send any unsubscribes that were issued. See #70
- Changed subscriptions to re-send subscriptions after the first pong is received to match other clients.
- Fixed an issue where if a tls.connect() throws a pre-dial error (such as OpenSSL errors), the error is routed to the error handler. See #61
- Added tests to verify that permission errors are not fatal
- Added tests to verify that timers for heartbeats, subscriptions, and requests are cleared on client close
- Reworked how the version listed by the library is updated (it now copies package.json)
- Updated dev dependencies