@sensiblestats/widget-sdk 0.28.0 → 0.29.1
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 +12 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @sensiblestats/widget-sdk
|
|
2
2
|
|
|
3
|
+
## 0.29.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add `greetingIsLead` to the club-fan dashboard payload type (consumed by widget-react's preview lead).
|
|
8
|
+
|
|
9
|
+
## 0.29.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- Live monitor's momentum block gets a localized "Momentum" title with the home/away pressure split (styled like the card's other stat rows), and its end-of-series marker is now an HTML overlay dot instead of an SVG `<circle>` -- the wave's `preserveAspectRatio="none"` scaling was stretching the circle into a squashed, half-clipped oval. `LiveMonitorMatch` gains an additive `momentumHomePct` field.
|
|
14
|
+
|
|
3
15
|
## 0.28.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -390,6 +390,7 @@ type ClubFanDashboardCard = FixtureCard | CountdownCard | InjuriesCard | ReasonT
|
|
|
390
390
|
interface ClubFanDashboardPayload {
|
|
391
391
|
phase: string;
|
|
392
392
|
greeting: string;
|
|
393
|
+
greetingIsLead?: boolean;
|
|
393
394
|
cards: ClubFanDashboardCard[];
|
|
394
395
|
}
|
|
395
396
|
interface TurnCompleteEventData {
|
|
@@ -583,6 +584,7 @@ interface LiveMonitorMatch {
|
|
|
583
584
|
homeCrestUrl?: string | null;
|
|
584
585
|
awayCrestUrl?: string | null;
|
|
585
586
|
asOfUtc: string;
|
|
587
|
+
momentumHomePct?: number | null;
|
|
586
588
|
[key: string]: unknown;
|
|
587
589
|
}
|
|
588
590
|
interface LiveMonitorMarket {
|
package/dist/index.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ type ClubFanDashboardCard = FixtureCard | CountdownCard | InjuriesCard | ReasonT
|
|
|
390
390
|
interface ClubFanDashboardPayload {
|
|
391
391
|
phase: string;
|
|
392
392
|
greeting: string;
|
|
393
|
+
greetingIsLead?: boolean;
|
|
393
394
|
cards: ClubFanDashboardCard[];
|
|
394
395
|
}
|
|
395
396
|
interface TurnCompleteEventData {
|
|
@@ -583,6 +584,7 @@ interface LiveMonitorMatch {
|
|
|
583
584
|
homeCrestUrl?: string | null;
|
|
584
585
|
awayCrestUrl?: string | null;
|
|
585
586
|
asOfUtc: string;
|
|
587
|
+
momentumHomePct?: number | null;
|
|
586
588
|
[key: string]: unknown;
|
|
587
589
|
}
|
|
588
590
|
interface LiveMonitorMarket {
|