Skip to content

v4.0.11

Compare
Choose a tag to compare
@JacobPlaster JacobPlaster released this 26 Mar 14:46
· 134 commits to master since this release
  • meta: added nyc for coverage file gen
  • meta: added husky npm test pre-commit hook
  • meta: refactored to async/await instead of Promises where possible
  • meta: refactored examples to reduce boilerplate and normalize output
  • meta: removed example script runners from package.json
  • examples: removed CLI scripts in favour of a dedicated bfx-cli module
  • examples: renamed 'orders' to 'list-open-orders'
  • examples: positions now always includes P/L
  • WSv2: support '*' filter value to match all
  • WSv2: added sequencingEnabled() method
  • WSv2: added usesAgent() method
  • WSv2: added getURL() method
  • WSv2: fix in cancelOrders() to prevent context clobber for this.cancelOrder() call
  • WSv2: default connection url now exposed on WSv2.url
  • WSv2: removed unused prec/len params from unsubscribeOrderBook()
  • WSv2: removed unused rawMsg param from _handleEventMessage()
  • WSv2: fix getDataChannelId() not filtering by channel type
  • WS2Manager: reconnect() and close() now return promises
  • WS2Manager: added getAuthArgs()
  • WS2Manager: added missing tests