@sensiblestats/widget-sdk 0.25.0 → 0.25.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @sensiblestats/widget-sdk
2
2
 
3
+ ## 0.25.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 4eed68b: Fix the post-match "Match stats" card rendering each team's stats under the opposite team. The row values are club-first, but the card was always drawing the club value on the left while the result card above renders home-left/away-right — so when the club played away (e.g. Liverpool at Ipswich) the club's stats appeared under the home team. The card now orients by venue via a new `clubIsHome` field, matching the result card.
8
+
3
9
  ## 0.25.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -236,6 +236,7 @@ interface PostMatchStatRow {
236
236
  }
237
237
  interface PostMatchStatsData {
238
238
  rows: PostMatchStatRow[];
239
+ clubIsHome: boolean;
239
240
  }
240
241
  interface PostMatchTopPerformerData {
241
242
  playerName: string;
package/dist/index.d.ts CHANGED
@@ -236,6 +236,7 @@ interface PostMatchStatRow {
236
236
  }
237
237
  interface PostMatchStatsData {
238
238
  rows: PostMatchStatRow[];
239
+ clubIsHome: boolean;
239
240
  }
240
241
  interface PostMatchTopPerformerData {
241
242
  playerName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-sdk",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "Headless browser SDK for the SensibleStats chat widget gateway.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",