@sensiblestats/widget-react 0.144.0 → 0.145.1
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 +17 -0
- package/README.md +2 -0
- package/dist/index.cjs +459 -342
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +166 -49
- package/dist/index.js.map +1 -1
- package/dist/styles.css +9 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @sensiblestats/widget-react
|
|
2
2
|
|
|
3
|
+
## 0.145.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Builder copy: the swap note reads "No other game fits here." in every language, pt-PT names the acca "múltipla", and Turkish leg facts say "üst geldi" / "alt geldi".
|
|
8
|
+
|
|
9
|
+
## 0.145.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- The bet builder has an "Another combo" button and a per-leg swap, in en, tr, it, es and pt.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @sensiblestats/widget-sdk@0.106.0
|
|
19
|
+
|
|
3
20
|
## 0.144.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -237,6 +237,8 @@ Rules:
|
|
|
237
237
|
| `add_to_slip_click` | `matchOddsId`, `matchId`, `odds`, `market?`, `sport?`, `factKey?` | "Add to slip" is tapped. `factKey` is set when the add came from a live fact's market, so you can attribute the add to that fact |
|
|
238
238
|
| `add_to_slip_result` | as above, plus `outcome` | Your `onAddToSlip` has answered |
|
|
239
239
|
| `combo_add_click` | `surface`, `sport`, `legs`, `total` | "Add all" has added every leg of a combo: `surface` is `builder` for the bet builder and `chat` for a combo card in an answer. `total` is the chip key the visitor chose in the builder (`custom` for a typed total), or the total the visitor asked for in chat (empty when they asked for none). A partial add or a refused leg fires none. Each leg also fires its own `add_to_slip_click` and `add_to_slip_result` |
|
|
240
|
+
| `combo_variant_click` | `surface`, `sport`, `legs`, `total`, `variant` | "Another combo" is tapped in the bet builder. `variant` is the 0-based number of the combo being asked for |
|
|
241
|
+
| `combo_swap_click` | `surface`, `sport`, `legs`, `total` | A leg's swap button is tapped in the bet builder |
|
|
240
242
|
| `all_markets_click` | `matchId`, `market?`, `surface` | "All markets" is tapped |
|
|
241
243
|
| `dashboard_tile_click` | `entityType`, `entityId` | A dashboard tile is tapped |
|
|
242
244
|
| `sport_switch` | `sport` | The visitor switches sport on the dashboard |
|