All notable changes to this module are documented in this file.
poloniex-api-node module adheres to Semantic Versioning.
- 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