@sensiblestats/widget-sdk 0.76.0 → 0.77.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.77.0
4
+
5
+ ### Minor Changes
6
+
7
+ - `combo_add_click` now also fires when "Add all" adds every leg of a combo card in chat, and carries `surface` (`builder` or `chat`). `answer_received.cardTypes` reports a team or player card as `team_player` instead of `entity_card`.
8
+
3
9
  ## 0.76.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -2289,6 +2289,7 @@ type WidgetTrackingEventBody = {
2289
2289
  outcome: AddToSlipOutcome;
2290
2290
  } & SlipClickFields) | {
2291
2291
  name: 'combo_add_click';
2292
+ surface: 'builder' | 'chat';
2292
2293
  sport: string;
2293
2294
  legs: number;
2294
2295
  total: string;
package/dist/index.d.ts CHANGED
@@ -2289,6 +2289,7 @@ type WidgetTrackingEventBody = {
2289
2289
  outcome: AddToSlipOutcome;
2290
2290
  } & SlipClickFields) | {
2291
2291
  name: 'combo_add_click';
2292
+ surface: 'builder' | 'chat';
2292
2293
  sport: string;
2293
2294
  legs: number;
2294
2295
  total: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-sdk",
3
- "version": "0.76.0",
3
+ "version": "0.77.0",
4
4
  "description": "Headless browser SDK for the SensibleStats chat widget gateway.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",