Skip to content

Commit 542e574

Browse files
authored
Merge pull request #384 from f3rno/feature-release-final-2.0.0
Release: 2.0.0 Stable
2 parents 1c484b1 + ee7156f commit 542e574

File tree

4 files changed

+31
-5
lines changed

4 files changed

+31
-5
lines changed

CHANGELOG

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
2.0.0
2+
3+
- added CLI commands (971e8bf)
4+
- added TradingTicker model (1099273)
5+
- added model class transform support to RESTv2 (1099273)
6+
- added ability to unserialize objects in Model.unserialize() (b23a576)
7+
- added ledgers & movements examples (176d5a9)
8+
- filled in FundingInfo model (268ecc9)
9+
- updated MarginInfo model indices (268ecc9)
10+
- increased max WSv2 listener limit to 1k (5ade818)
11+
- REST API v2: fix calc balances API path (5e2f834)
12+
- WS API v2: added notifyUI helper to generate broadcasts (22cb5bc)
13+
- WS API v2: added support for DMS flag in auth (11e57b1)
14+
- WS API v2: added socket manager for auto multiplexing (f693bb9)
15+
- WS API v2: fixed error notification seq # tracking (1b1c1f3)
16+
- WS API v2: fixed trades event name resolution w/ seq numbers (46af211)
17+
- REST API v2: added ability to auth via token (07f8756)
18+
- REST API v2: added ability to fetch order history for all symbols (57f8c7b)
19+
- REST API v2: added ability to fetch account trades for all symbols (14b13c1)
20+
- REST API v2: added user info endpoint & associated model (36c0079)
21+
- OrderBook: fixed unserialization for raw books (01b5ce4)
22+
- OrderBook: removal of unknown entries no longer raises an error (7bd5bc2)
23+
- OrderBook: array sort is maintained on update (520a9a0)
24+
- OrderBook: converts exp notation numbers to fixed for checksum (2c8487c)
25+
- and more!
26+
127
2.0.0-beta.1
228

329
- refactored general model handling (broke out field indexes) (c616696)

lib/ws2_manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const _includes = require('lodash/includes')
77
const _pick = require('lodash/pick')
88
const WSv2 = require('./transports/ws2')
99

10-
const DATA_CHANNEL_LIMIT = 50
10+
const DATA_CHANNEL_LIMIT = 250
1111

1212
/**
1313
* Provides a wrapper around the WSv2 class, opening new sockets when a

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": "2.0.0-beta.1",
3+
"version": "2.0.0",
44
"description": "Node reference library for Bitfinex API",
55
"engines": {
66
"node": ">=7"

test/lib/ws2_manager.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ describe('WS2Manager', () => {
124124
const m = new WS2Manager()
125125

126126
m._sockets[0] = {
127-
ws: { getDataChannelCount: () => 35 },
128-
pendingSubscriptions: new Array(30),
127+
ws: { getDataChannelCount: () => 200 },
128+
pendingSubscriptions: new Array(70),
129129
pendingUnsubscriptions: new Array(10)
130130
}
131131

@@ -295,7 +295,7 @@ describe('WS2Manager', () => {
295295
pendingSubscriptions: [],
296296
pendingUnsubscriptions: [],
297297
ws: {
298-
getDataChannelCount: () => 55
298+
getDataChannelCount: () => 255
299299
}
300300
}
301301

0 commit comments

Comments
 (0)