@sensiblestats/widget-sdk 0.25.1 → 0.25.2

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.2
4
+
5
+ ### Patch Changes
6
+
7
+ - aed14de: Redesign the club post-match dashboard cards: result card now shows team crests and a big score, goals card shows per-goal icons, stats card renders split comparison bars oriented by venue, and top performer / next fixture cards get a player avatar and next-opponent teaser. Adds crest URLs and numeric stat fields to the widget-sdk post-match types backing these cards.
8
+
3
9
  ## 0.25.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -221,6 +221,9 @@ interface PostMatchResultData {
221
221
  competition?: string | null;
222
222
  kickoffLabel: string;
223
223
  resultLabel: string;
224
+ homeCrestUrl?: string | null;
225
+ awayCrestUrl?: string | null;
226
+ outcome: 'win' | 'draw' | 'loss';
224
227
  }
225
228
  interface PostMatchGoalLine {
226
229
  text: string;
@@ -233,10 +236,14 @@ interface PostMatchStatRow {
233
236
  label: string;
234
237
  clubValue: string;
235
238
  oppValue: string;
239
+ clubNum: number;
240
+ oppNum: number;
236
241
  }
237
242
  interface PostMatchStatsData {
238
243
  rows: PostMatchStatRow[];
239
244
  clubIsHome: boolean;
245
+ homeName: string;
246
+ awayName: string;
240
247
  }
241
248
  interface PostMatchTopPerformerData {
242
249
  playerName: string;
package/dist/index.d.ts CHANGED
@@ -221,6 +221,9 @@ interface PostMatchResultData {
221
221
  competition?: string | null;
222
222
  kickoffLabel: string;
223
223
  resultLabel: string;
224
+ homeCrestUrl?: string | null;
225
+ awayCrestUrl?: string | null;
226
+ outcome: 'win' | 'draw' | 'loss';
224
227
  }
225
228
  interface PostMatchGoalLine {
226
229
  text: string;
@@ -233,10 +236,14 @@ interface PostMatchStatRow {
233
236
  label: string;
234
237
  clubValue: string;
235
238
  oppValue: string;
239
+ clubNum: number;
240
+ oppNum: number;
236
241
  }
237
242
  interface PostMatchStatsData {
238
243
  rows: PostMatchStatRow[];
239
244
  clubIsHome: boolean;
245
+ homeName: string;
246
+ awayName: string;
240
247
  }
241
248
  interface PostMatchTopPerformerData {
242
249
  playerName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-sdk",
3
- "version": "0.25.1",
3
+ "version": "0.25.2",
4
4
  "description": "Headless browser SDK for the SensibleStats chat widget gateway.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",