We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b67b1e commit 9e4e3c6Copy full SHA for 9e4e3c6
CHANGELOG
@@ -1,3 +1,6 @@
1
+4.0.2
2
+- WS2Manager: add reconnect method
3
+
4
4.0.1
5
- WSv2: fix fte and ftu event routing
6
lib/ws2_manager.js
@@ -41,6 +41,13 @@ class WS2Manager extends EventEmitter {
41
}
42
43
44
+ /**
45
+ * Reconnects all open sockets
46
+ */
47
+ reconnect () {
48
+ this._sockets.forEach(socket => socket.ws.reconnect())
49
+ }
50
51
/**
52
* Closes all open sockets
53
*/
package.json
@@ -1,6 +1,6 @@
{
"name": "bitfinex-api-node",
- "version": "4.0.1",
+ "version": "4.0.2",
"description": "Node reference library for Bitfinex API",
"engines": {
"node": ">=7"
0 commit comments