Skip to content

v1.2.0 — break-point signals over the WebSocket feed

Choose a tag to compare

@bensynapse bensynapse released this 02 Aug 02:17
· 29 commits to main since this release

Added

  • Break-point signals over the WebSocket feed. LiveScoreStream accepts a new signals option; pass signals: ['break_point'] and the stream also yields a BreakPoint the instant a break point arises and a BreakPointResult when it resolves, alongside the usual ScoreUpdate. Narrow on frame.type to tell frames apart.
  • BreakPoint, BreakPointResult and the StreamFrame union are exported.

Fixed

  • src/version.ts had drifted from package.json; it is now generated from it.

Notes

  • Fully backwards compatible. With no signals (the default) the stream behaves exactly as 1.1.0 — score frames only.
  • The break-point feed is ULTRA-only, like the rest of the WebSocket surface.

Full changelog: CHANGELOG.md