Major changes
- Added descriptions in TS definition file:
- Standardized parameter names and expected behavior
- Removed
secure
WS option, instead checking ifcert
andkey
are set - Routines.dynamic option
hz
is nowmaxInterval
and is measured in milliseconds - Renamed
provider
internally toserver
for easier understanding - Removed previously deprecated UDP
connectTimeout
option
- Removed
- Added UDP idle timeout behavior, configurable with
socketTimeout
- Added WS idle timeout behavior, configurable with
socketTimeout
- Added WS
agent
option for passing a custom https.Agent. - frameId counter now goes up to
0xffffffff
before cycling instead of0xffff
Bug fixes
- Fixed an issue in Routines.tick where all queues shared the same frameId counter
- Routines.tick option
seed
now correctly sets the frameId and starts the counter to match the expected pace - Fixed references to Node modules in TS definitions
Housekeeping
- Updated dependencies
- Removed extraneous linting packages (using recommended instead)
- Better ts definition management
Full Changelog: v6.0.0...v7.0.0