- Handle ws reconnect
- Handle ws resubscribe
- add property
wsConnectionError
to Error with the value true when a Websocket connection could not be established - remove warning when you do not initialize the client with a web3 provider
- change warning message when initialized without authentication
- unsignedTargetOrder for newLimitOrder can contain
error
field if target order could not be created - add
cancelAllOrders
method
- change etherAddress, userAddress to walletAddress
- move getTokenCommittedAmount and getTokenAvailableBalance to trade
- getTokenCommittedAmount and getTokenAvailableBalance return {BigNumber} object
- fix minor bug
- rename package to
the-ocean
- change default config with new addresses
- walletAddress required in /reserve endpoint
- Add /committed_amounts endpoint
- Add /fee_components endpoint
- Add /user_data endpoint
- Add user_data stream ws channel
- Better authentication
- Fees components
candlesticksIntervals
method which allows to get available candlesticks intervals- better error handling for websockets connection
- No need to provide
api.baseURL
andwebsockets
params during initialization - Change websockets messages to contain more information (refer to https://docs.theoceanx.com)
- Change ethereumjs-util version
- Add getAvailableBalance endpoint
- Remove unauthenticated trading
- Websockets interface adjustments
- Instantiation adjustments
- Various bug fixes and general refactoring