@sensiblestats/widget-sdk 0.27.0 → 0.29.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @sensiblestats/widget-sdk
2
2
 
3
+ ## 0.29.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 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.
8
+
9
+ ## 0.28.0
10
+
11
+ ### Minor Changes
12
+
13
+ - Crest images on market-odds cards and restructured Odds-tab context line with pre-match kickoff pill layout.
14
+
3
15
  ## 0.27.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -486,6 +486,9 @@ interface MarketOddsCard {
486
486
  disclaimer?: string | null;
487
487
  addToSlipEnabled?: boolean;
488
488
  pinEnabled?: boolean;
489
+ homeTeamImagePath?: string | null;
490
+ awayTeamImagePath?: string | null;
491
+ competitionImagePath?: string | null;
489
492
  [key: string]: unknown;
490
493
  }
491
494
  interface MarketOddsEventData {
@@ -580,6 +583,7 @@ interface LiveMonitorMatch {
580
583
  homeCrestUrl?: string | null;
581
584
  awayCrestUrl?: string | null;
582
585
  asOfUtc: string;
586
+ momentumHomePct?: number | null;
583
587
  [key: string]: unknown;
584
588
  }
585
589
  interface LiveMonitorMarket {
@@ -596,6 +600,9 @@ interface LiveMonitorMarket {
596
600
  isSettled: boolean;
597
601
  isSuspended: boolean;
598
602
  asOfUtc: string;
603
+ homeCrestUrl?: string | null;
604
+ awayCrestUrl?: string | null;
605
+ kickoffUtc?: string | null;
599
606
  [key: string]: unknown;
600
607
  }
601
608
  interface LiveMonitorSnapshot {
package/dist/index.d.ts CHANGED
@@ -486,6 +486,9 @@ interface MarketOddsCard {
486
486
  disclaimer?: string | null;
487
487
  addToSlipEnabled?: boolean;
488
488
  pinEnabled?: boolean;
489
+ homeTeamImagePath?: string | null;
490
+ awayTeamImagePath?: string | null;
491
+ competitionImagePath?: string | null;
489
492
  [key: string]: unknown;
490
493
  }
491
494
  interface MarketOddsEventData {
@@ -580,6 +583,7 @@ interface LiveMonitorMatch {
580
583
  homeCrestUrl?: string | null;
581
584
  awayCrestUrl?: string | null;
582
585
  asOfUtc: string;
586
+ momentumHomePct?: number | null;
583
587
  [key: string]: unknown;
584
588
  }
585
589
  interface LiveMonitorMarket {
@@ -596,6 +600,9 @@ interface LiveMonitorMarket {
596
600
  isSettled: boolean;
597
601
  isSuspended: boolean;
598
602
  asOfUtc: string;
603
+ homeCrestUrl?: string | null;
604
+ awayCrestUrl?: string | null;
605
+ kickoffUtc?: string | null;
599
606
  [key: string]: unknown;
600
607
  }
601
608
  interface LiveMonitorSnapshot {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-sdk",
3
- "version": "0.27.0",
3
+ "version": "0.29.0",
4
4
  "description": "Headless browser SDK for the SensibleStats chat widget gateway.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",