@sensiblestats/widget-sdk 0.79.0 → 0.80.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.80.0
4
+
5
+ ### Minor Changes
6
+
7
+ - The combo builder moves out of the greeting into its own tab, after Today: Smart Acca (Smart Parlay in en-US, Akıllı Kupon in Turkish, Multipla Intelligente / Combinada Inteligente / Múltipla Inteligente in Italian, Spanish and Portuguese). The tab shows when the greeting sent a builder for at least one sport, lists only those sports, and goes away on a cool-off. `tab_change` and `widget_close` carry the new `builder` tab id. The greeting's facts no longer follow the builder's games select.
8
+
3
9
  ## 0.79.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -2233,7 +2233,7 @@ interface NdjsonParser {
2233
2233
  }
2234
2234
  declare function createNdjsonParser(): NdjsonParser;
2235
2235
 
2236
- type WidgetTrackingTab = 'chat' | 'today' | 'following' | 'trends' | 'games' | 'fixtures' | 'standings' | 'squad' | 'records' | 'favourites';
2236
+ type WidgetTrackingTab = 'chat' | 'today' | 'builder' | 'following' | 'trends' | 'games' | 'fixtures' | 'standings' | 'squad' | 'records' | 'favourites';
2237
2237
  type QuestionSource = 'typed' | 'starter' | 'action' | 'tile' | 'preset' | 'live_fact' | 'bubble_ask' | 'retry';
2238
2238
  /** Fields on every event. `at` is epoch ms, taken when the event happened, not when it was delivered. */
2239
2239
  interface WidgetTrackingEnvelope {
package/dist/index.d.ts CHANGED
@@ -2233,7 +2233,7 @@ interface NdjsonParser {
2233
2233
  }
2234
2234
  declare function createNdjsonParser(): NdjsonParser;
2235
2235
 
2236
- type WidgetTrackingTab = 'chat' | 'today' | 'following' | 'trends' | 'games' | 'fixtures' | 'standings' | 'squad' | 'records' | 'favourites';
2236
+ type WidgetTrackingTab = 'chat' | 'today' | 'builder' | 'following' | 'trends' | 'games' | 'fixtures' | 'standings' | 'squad' | 'records' | 'favourites';
2237
2237
  type QuestionSource = 'typed' | 'starter' | 'action' | 'tile' | 'preset' | 'live_fact' | 'bubble_ask' | 'retry';
2238
2238
  /** Fields on every event. `at` is epoch ms, taken when the event happened, not when it was delivered. */
2239
2239
  interface WidgetTrackingEnvelope {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-sdk",
3
- "version": "0.79.0",
3
+ "version": "0.80.0",
4
4
  "description": "Headless browser SDK for the SensibleStats chat widget gateway.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",