@sensiblestats/widget-embed 0.68.0 → 0.68.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 +12 -0
- package/dist/embed.global.js +29 -23
- package/dist/embed.global.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @sensiblestats/widget-embed
|
|
2
2
|
|
|
3
|
+
## 0.68.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- da187a5: Add a sport switch above the greeting dashboard. The widget now sends the `sport_switch` capability; when the server returns dashboards for two or more sports, the switch picks between them, the choice is stored on the device for 30 days and sent as `rememberedSport` on chat requests, and each switch logs a `dashboard_sport_switch` event. A tap on an NBA tile sends `sport: "nba"`. `widget-sdk` adds `GreetingDashboardSet`, `dashboards`, `defaultSport` and `defaultSportSource` on the turn-complete event, `rememberedSport` on `ChatInput`, and `fromWireSport`.
|
|
8
|
+
|
|
9
|
+
## 0.68.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Send `sport: "nba"` on NBA pins, slips and host slip events, with qualified ids (`nba:game:{id}`, `nba:market:{key}`) on pin events and the bare game id on slip events. `SignalInput` and `WidgetEventInput` gain an optional `sport`; each sport in the SDK's sport map gains a `wireKey` (`nba` for basketball, none for NFL, which sends nothing new). Football bodies are unchanged. A basketball slip pick keeps its `matchId`. Release only after ChatAssistantAPI and WidgetGateway carrying u592 are deployed: an older server would read the `nba:` ids as football.
|
|
14
|
+
|
|
3
15
|
## 0.68.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|