Skip to content

Commit 4fc33e3

Browse files
f3rnoJacobPlaster
authored andcommitted
(fix) respect internal auth arg settings in WS2Manager, bump 4.0.9
1 parent 248f10e commit 4fc33e3

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
4.0.9
2+
- WS2Manager: respect internal auth arg settings
3+
14
4.0.8
25
- WSv2: fix on trade message handler by prioritising channel data symbol over pair symbol
36

lib/ws2_manager.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@ class WS2Manager extends EventEmitter {
124124

125125
this._socketArgs.apiKey = apiKey
126126
this._socketArgs.apiSecret = apiSecret
127-
this._authArgs = { calc, dms }
127+
this._authArgs = {
128+
...this._authArgs,
129+
calc,
130+
dms,
131+
}
128132

129133
this._sockets.forEach(s => {
130134
if (!s.ws.isAuthenticated()) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bitfinex-api-node",
3-
"version": "4.0.8",
3+
"version": "4.0.9",
44
"description": "Node reference library for Bitfinex API",
55
"engines": {
66
"node": ">=7"

0 commit comments

Comments
 (0)