All notable changes to this module are documented in this file.
poloniex-api-node module adheres to Semantic Versioning.
- Fixed: WebSocket keepAlive occasionally throws error
- Fixed: not possible to specify
paymentId
for methodwithdraw
- Added: ability to set specific http.Agent for REST API calls and WebSocket connection (#53)
- Changed: Examples updated
- Added: ability to pass in a nonce generating function
- Fixed: Ignore unknown markets for ticker (WebSocket v2)
- Changed: Use dynamic market Ids (WebSocket v2) (#34)
- Added: Test for receiving 400 ticker messages
- Fixed: STORJ currency added (#32)
- Added: allow passing
proxy
option to underlying request calls - Added: Tests for node.js 9.x
- Added: Test to verify
orderBook
is first message type when subscribing to orderBook (WebSocket v2)
- Fixed: minor documentation error
- Fixed: cannot subscribe to WebSocket (v2) before connection opens (#29)
- Fixed: custom string for 'User-Agent' in headers
- Added: new WebSocket API (v2)
- Added: WebSocket (push) API (v1)
- Added:
limit
parameter forreturnTradeHistory
andreturnMyTradeHistory
methods - Added: contributors to README.md (give credit where credit is due)
- Fixed: throw error when invalid parameters (#2)
- Added: Optional
keepAlive
parameter to constructor
- Added: Promise support
- Changed: default socketTimeout changed from 10 seconds to 60 seconds
- Fixed: Error handling for certain Poloniex error responses
- Fixed: Error handling when Poloniex returns empty response
- Changed: HTTP default request timeout from 3 seconds to 10 seconds
- Added: Optional socket timeout parameter to constructor
- Fixed: Return correct error message description for certain error codes (based on Poloniex API response)
- Fixed: Return correct error message (based on recent Poloniex change of returning detailed error code)
First release based on https://github.com/premasagar/poloniex.js
Notable differences:
- parameters adhere to Poloniex native API specification (e.g. currenncyPair instead of currencyA and currencyB)
- all optional parameters supported for all API methods
- improved handling of network errors
- improved handling of Poloniex API error codes and error code description