@sensiblestats/widget-sdk 0.20.0 → 0.21.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,11 @@
1
1
  # @sensiblestats/widget-sdk
2
2
 
3
+ ## 0.21.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a1d4987: `ClubFanDashboardPrefillCard` now carries `actionRef`/`actionType`/`rank` instead of the prose `actionValue` — tapping a fan-dashboard card resolves a server-issued action binding instead of re-planning a client-supplied command string.
8
+
3
9
  ## 0.20.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -104,7 +104,9 @@ interface ClubFanDashboardCardBase {
104
104
  }
105
105
  interface ClubFanDashboardPrefillCard extends ClubFanDashboardCardBase {
106
106
  actionLabel: string;
107
- actionValue: string;
107
+ actionRef: string;
108
+ actionType: string;
109
+ rank: number;
108
110
  }
109
111
  interface FixtureCardData {
110
112
  homeName: string;
package/dist/index.d.ts CHANGED
@@ -104,7 +104,9 @@ interface ClubFanDashboardCardBase {
104
104
  }
105
105
  interface ClubFanDashboardPrefillCard extends ClubFanDashboardCardBase {
106
106
  actionLabel: string;
107
- actionValue: string;
107
+ actionRef: string;
108
+ actionType: string;
109
+ rank: number;
108
110
  }
109
111
  interface FixtureCardData {
110
112
  homeName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-sdk",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Headless browser SDK for the SensibleStats chat widget gateway.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",