@sensiblestats/widget-react 0.150.0 → 0.150.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @sensiblestats/widget-react
2
2
 
3
+ ## 0.150.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Send the greeting's sport on the `hook_view` event so the hook report can split by sport.
8
+
3
9
  ## 0.150.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -1386,7 +1386,7 @@ function parseCustomTotal(text2, format2) {
1386
1386
  }
1387
1387
 
1388
1388
  // src/version.generated.ts
1389
- var WIDGET_REACT_VERSION = "0.150.0";
1389
+ var WIDGET_REACT_VERSION = "0.150.1";
1390
1390
 
1391
1391
  // src/config.ts
1392
1392
  function hostTag(cfg) {
@@ -5770,6 +5770,7 @@ function sendGreetingOnce(log, owner, meta, surface) {
5770
5770
  name: "hook_view",
5771
5771
  entityType: "match",
5772
5772
  ...meta.matchId ? { entityId: meta.matchId } : {},
5773
+ sport: meta.sport,
5773
5774
  hook: meta.hook ?? "none",
5774
5775
  ...meta.hookFact ? { factKey: meta.hookFact } : {},
5775
5776
  outcome: surface