Skip to content

v1.1.0

Latest

Choose a tag to compare

@dutu dutu released this 21 Sep 14:31
621b546
  • fix the CommonJS build — require('forever-websocket') failed on 1.0.x because the entry point required files which were not published
  • add connectTimeout option and connectTimeout event
  • recovery actions (reconnect, refresh(), connect()) now run even when a listener of error/connecting/timeout/delay throws
  • updateOptions() can enable a feature which was not configured, and null disables it
  • ping.pingFrame is now honored (previously only ping.frame)
  • addListener()/removeListener() now register on the underlying WebSocket
  • fix reconnection retry count and the reconnected event; ignore a late close from a superseded socket
  • inactivity timeout is reset by inbound ping frames; terminate() now stops the connection managers
  • docs corrected, engines is now Node >= 18, removed unused lodash/@babel/register