Added
- New overload for `AMQPWebSocketClient` constructor to allow setting optional
parameters through an init object
Fixed
- Call socket.destroy() when closing socket to fix intermitent condition where
onerror is called when conn is closed by client
- Pass the correct array buffer to dataview when reading framesize
- Raise `AMQPError` when `channelMax` is reached
- Add `Channel#onerror` callback
- Correctly handle frame headers split across reads in the WebSocket client
Changed
- Breaking change: Removed support for end-of-life versions of Node.js.
A minimum of Node.js 16 is now required.