@sensiblestats/widget-embed 0.41.0 → 0.42.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 +12 -0
- package/dist/embed.global.js +36 -40
- 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.42.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Betting insight cards show only the fact sentence. The supporting stat rows, the "This league / All comps / H2H" scope tabs and the expand/collapse arrow are gone, and the full sentence is always visible. The market accordion no longer prefixes the fact with a "Value" tag. `BettingInsight.stats`, `BettingInsight.scopes` and the `BettingInsightStat` type are removed from the SDK, and the `showStats`, `hideStats` and `accordionValueLabel` UI strings are removed; the widget no longer emits `insight_expand`.
|
|
8
|
+
|
|
9
|
+
## 0.41.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Host events. `createWidgetHost()` and the `host` prop let an operator tell the widget when a slip selection is removed (`slipRemoved`), a bet is placed (`betPlaced`) and a match page is opened (`matchOpened`). `config.onOpenMatch` turns team names into links that call the operator with the match id. The "In slip" mark now belongs to the odd, so it survives closing the panel and shows on every button for that odd. New event names `slip_remove`, `bet_placed`, `match_view` and `match_open`; `match_view` is deferred and never starts a request of its own. `EventLogger.resume()` undoes `dispose()`, which stops events being dropped under React StrictMode in a development build.
|
|
14
|
+
|
|
3
15
|
## 0.41.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|