@sensiblestats/widget-embed 0.72.0 → 0.73.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 +14 -0
- package/dist/embed.global.js +40 -68
- package/dist/embed.global.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @sensiblestats/widget-embed
|
|
2
2
|
|
|
3
|
+
## 0.73.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Remove the preset speed dial and its Set-the-numbers tool. Breaking for widget-sdk: `ChatPreset` is combo only, and `PresetSinglesCell`, `PresetMarketCell`, the singles, singlesFrom and markets grid rows and `limitOptions`/`floorOptions` are gone. `isPresetGrid` now requires only `combos`, `maxLegs` and `totalOptions`.
|
|
8
|
+
|
|
9
|
+
## 0.72.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- - Odds formats. The visitor picks Decimal, Fractional or American in a new Settings sheet (chat menu, with a Light, Dark or Auto theme choice) and every price on a card, chip, ribbon and builder follows it; the choice is saved on the device. The operator sets the starting format with the new `oddsFormat` config key, or `data-odds-format` on the embed script. The Settings odds row is hidden when the operator does not offer odds, and the theme row when `surface` or `ink` is set. The sdk reads the new `widget-settings` route, and prices arrive as three forms (decimal, fractional, American) from the server.
|
|
14
|
+
|
|
15
|
+
Breaking: the `price_changed` slip result now carries `newOdds` in the operator's own format instead of `newOddsDecimal`, and a stored chat thread moves to schema v2 (older threads are dropped). Tracking events still carry decimal prices only, and add-to-slip sends the operator's format, never the visitor's.
|
|
16
|
+
|
|
3
17
|
## 0.72.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|