@sensiblestats/widget-sdk 0.33.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 +16 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
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
|
+
|
|
11
|
+
## 0.34.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- Fixes the Today tab collapsing to blank bars: children of the monitor scroller no longer shrink,
|
|
16
|
+
so the list scrolls instead of compressing 27 competition groups to fit. Also disambiguates
|
|
17
|
+
same-named competitions with their country, which the schedule response now carries.
|
|
18
|
+
|
|
3
19
|
## 0.33.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -643,6 +643,9 @@ interface ScheduleMatch {
|
|
|
643
643
|
interface ScheduleGroup {
|
|
644
644
|
competitionId: number;
|
|
645
645
|
competitionName: string;
|
|
646
|
+
/** Catalog country, null for continental competitions. competitionName is not an identity —
|
|
647
|
+
* a real Saturday returns four competitions all named "Premier League". */
|
|
648
|
+
competitionCountry?: string | null;
|
|
646
649
|
competitionImagePath?: string | null;
|
|
647
650
|
rank: number;
|
|
648
651
|
expandedByDefault: boolean;
|
|
@@ -658,6 +661,12 @@ interface MatchState {
|
|
|
658
661
|
minuteLabel?: string | null;
|
|
659
662
|
homeScore?: number | null;
|
|
660
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;
|
|
661
670
|
}
|
|
662
671
|
interface StatesPayload {
|
|
663
672
|
states: MatchState[];
|
package/dist/index.d.ts
CHANGED
|
@@ -643,6 +643,9 @@ interface ScheduleMatch {
|
|
|
643
643
|
interface ScheduleGroup {
|
|
644
644
|
competitionId: number;
|
|
645
645
|
competitionName: string;
|
|
646
|
+
/** Catalog country, null for continental competitions. competitionName is not an identity —
|
|
647
|
+
* a real Saturday returns four competitions all named "Premier League". */
|
|
648
|
+
competitionCountry?: string | null;
|
|
646
649
|
competitionImagePath?: string | null;
|
|
647
650
|
rank: number;
|
|
648
651
|
expandedByDefault: boolean;
|
|
@@ -658,6 +661,12 @@ interface MatchState {
|
|
|
658
661
|
minuteLabel?: string | null;
|
|
659
662
|
homeScore?: number | null;
|
|
660
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;
|
|
661
670
|
}
|
|
662
671
|
interface StatesPayload {
|
|
663
672
|
states: MatchState[];
|