v0.1.0
This release introduces client-side pings to help keep track of streaming server connections. The feature introduces 2 new connection options:
pingInterval
which controls the number of milliseconds between client pings to the server (default is 5000 milliseconds)maxPingOut
the number of unanswered ping requests before theconnection_lost
event is emitted on the client notifying that the connection from the server was lost.
You can read more about it here: https://github.com/nats-io/node-nats-streaming#connection-status.
Note that this release makes one change to client connection options. By default, NATS connections that are created by the library will set maxReconnectAttempts
to infinite.