- Remove string typing on messages sent via WebSocket, to align with TypeScript any type
- Updated dependencies
- Added support for passing partial event listener events during class instantiation
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Added SECURITY.md
- EventListeners on a closed WebSocket are removed before creating a new WebSocket instance upon reconnect.
- Updated dependencies
- retryConnectionDelay is true by default
- Updated dependencies
- Merged PR#19 (ES5 support)
- Updated dependencies
- Added support for defining the binaryType on the WebSocket
- Fixed GitHub issue #14 (Cannot use import statement outside a module)
- Shipped module is now compiled as a CommonJS module
- Library has been converted to TypeScript
- Removed unnecessary checks as TypeScript types capture them
- Added support for specifying the protocol to use with the WebSocket connection
- Updated dependencies
- Fixed a bug where messages stored in persistent storage were not being popped off of the message queue by new Sarus clients.
- Added GitHub issue templates
- Added CONTRIBUTING.md
- Added CODE_OF_CONDUCT.md
- Added some missing JSdoc code comments
- Added a new feature: sarus.disconnect(); Disconnects the WebSocket connection
- Added a new feature: retryConnectionDelay
- Updated documentation
- Refactored the code
- Updated documentation
- Added some development tooling to check for code coverage and quality
- Initial version of the library