@sensiblestats/widget-react 0.130.1 → 0.131.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,16 @@
1
1
  # @sensiblestats/widget-react
2
2
 
3
+ ## 0.131.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Record when a live fact is seen and asked about, and tag its slip add.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @sensiblestats/widget-sdk@0.94.0
13
+
3
14
  ## 0.130.1
4
15
 
5
16
  ### Patch Changes
package/README.md CHANGED
@@ -234,7 +234,7 @@ Rules:
234
234
  | `answer_failed` | `turnId`, `code` | An answer fails or is refused |
235
235
  | `answer_stopped` | `turnId` | The visitor stops an answer |
236
236
  | `pin_click` | `action` (`add`, `remove`), `target` (`match`, `market`), `matchId?`, `market?`, `sport?` | A pin is tapped |
237
- | `add_to_slip_click` | `matchOddsId`, `matchId`, `odds`, `market?`, `sport?` | "Add to slip" is tapped |
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 total the visitor asked for. 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
240
  | `all_markets_click` | `matchId`, `market?`, `surface` | "All markets" is tapped |