Skip to content

Commit

Permalink
Merge pull request #384 from f3rno/feature-release-final-2.0.0
Browse files Browse the repository at this point in the history
Release: 2.0.0 Stable
  • Loading branch information
prdn authored Aug 31, 2018
2 parents 1c484b1 + ee7156f commit 542e574
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 5 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
2.0.0

- added CLI commands (971e8bf)
- added TradingTicker model (1099273)
- added model class transform support to RESTv2 (1099273)
- added ability to unserialize objects in Model.unserialize() (b23a576)
- added ledgers & movements examples (176d5a9)
- filled in FundingInfo model (268ecc9)
- updated MarginInfo model indices (268ecc9)
- increased max WSv2 listener limit to 1k (5ade818)
- REST API v2: fix calc balances API path (5e2f834)
- WS API v2: added notifyUI helper to generate broadcasts (22cb5bc)
- WS API v2: added support for DMS flag in auth (11e57b1)
- WS API v2: added socket manager for auto multiplexing (f693bb9)
- WS API v2: fixed error notification seq # tracking (1b1c1f3)
- WS API v2: fixed trades event name resolution w/ seq numbers (46af211)
- REST API v2: added ability to auth via token (07f8756)
- REST API v2: added ability to fetch order history for all symbols (57f8c7b)
- REST API v2: added ability to fetch account trades for all symbols (14b13c1)
- REST API v2: added user info endpoint & associated model (36c0079)
- OrderBook: fixed unserialization for raw books (01b5ce4)
- OrderBook: removal of unknown entries no longer raises an error (7bd5bc2)
- OrderBook: array sort is maintained on update (520a9a0)
- OrderBook: converts exp notation numbers to fixed for checksum (2c8487c)
- and more!

2.0.0-beta.1

- refactored general model handling (broke out field indexes) (c616696)
Expand Down
2 changes: 1 addition & 1 deletion lib/ws2_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const _includes = require('lodash/includes')
const _pick = require('lodash/pick')
const WSv2 = require('./transports/ws2')

const DATA_CHANNEL_LIMIT = 50
const DATA_CHANNEL_LIMIT = 250

/**
* Provides a wrapper around the WSv2 class, opening new sockets when a
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bitfinex-api-node",
"version": "2.0.0-beta.1",
"version": "2.0.0",
"description": "Node reference library for Bitfinex API",
"engines": {
"node": ">=7"
Expand Down
6 changes: 3 additions & 3 deletions test/lib/ws2_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ describe('WS2Manager', () => {
const m = new WS2Manager()

m._sockets[0] = {
ws: { getDataChannelCount: () => 35 },
pendingSubscriptions: new Array(30),
ws: { getDataChannelCount: () => 200 },
pendingSubscriptions: new Array(70),
pendingUnsubscriptions: new Array(10)
}

Expand Down Expand Up @@ -295,7 +295,7 @@ describe('WS2Manager', () => {
pendingSubscriptions: [],
pendingUnsubscriptions: [],
ws: {
getDataChannelCount: () => 55
getDataChannelCount: () => 255
}
}

Expand Down

0 comments on commit 542e574

Please sign in to comment.