- Throw when attempting to add listeners for individual entities incorrectly
- Handle cases when an error code is returned by the API without an accompanying error message (this may have previously crashed the process e.g. when attempting to remove hooks: https://github.com/airdcpp/airdcpp-windows/commit/596b31a9c8c4e72f6c9279972a40ea30f10798c4).
- Fix "Uncaught ReferenceError: process is not defined" in browser (#17)
- Fix re-authenticating with credentials if reconnect fails
- Allow context menu items to define forms and URLs to open (supported in API feature level 5, https://airdcpp.docs.apiary.io/#reference/menus/hooks/list-menu-items)
- Typescript: add missing entity ID argument for the listener callback
- Add new helper method
addContextMenuItems
- Supply
wasClean
as a third argument to theonSocketDisconnected
callback - Use code 1000 when disconnecting the socket, allow specifying the disconnect reason when calling
disconnect
- Update dependencies
- Improve documentation