@sensiblestats/widget-sdk 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @sensiblestats/widget-sdk
|
|
2
2
|
|
|
3
|
+
## 0.35.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Shows a half-time label instead of a frozen 45', ages the live minute against when the reading was
|
|
8
|
+
actually taken so it no longer sits up to two minutes behind, and stops asserting a clock for a
|
|
9
|
+
single match whose sync window has stalled.
|
|
10
|
+
|
|
3
11
|
## 0.34.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -661,6 +661,12 @@ interface MatchState {
|
|
|
661
661
|
minuteLabel?: string | null;
|
|
662
662
|
homeScore?: number | null;
|
|
663
663
|
awayScore?: number | null;
|
|
664
|
+
/** Paused between halves. Phase stays 'live' — still in play — but there is no minute to show:
|
|
665
|
+
* the provider holds the clock at 45 through the break. */
|
|
666
|
+
isHalfTime?: boolean;
|
|
667
|
+
/** When the sync last wrote this reading. The client ages the minute against it, because the
|
|
668
|
+
* value was already up to one sync interval old before we polled for it. */
|
|
669
|
+
stateAsOfUtc?: string | null;
|
|
664
670
|
}
|
|
665
671
|
interface StatesPayload {
|
|
666
672
|
states: MatchState[];
|
package/dist/index.d.ts
CHANGED
|
@@ -661,6 +661,12 @@ interface MatchState {
|
|
|
661
661
|
minuteLabel?: string | null;
|
|
662
662
|
homeScore?: number | null;
|
|
663
663
|
awayScore?: number | null;
|
|
664
|
+
/** Paused between halves. Phase stays 'live' — still in play — but there is no minute to show:
|
|
665
|
+
* the provider holds the clock at 45 through the break. */
|
|
666
|
+
isHalfTime?: boolean;
|
|
667
|
+
/** When the sync last wrote this reading. The client ages the minute against it, because the
|
|
668
|
+
* value was already up to one sync interval old before we polled for it. */
|
|
669
|
+
stateAsOfUtc?: string | null;
|
|
664
670
|
}
|
|
665
671
|
interface StatesPayload {
|
|
666
672
|
states: MatchState[];
|