@sensiblestats/widget-react 0.115.0 → 0.116.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,11 @@
1
1
  # @sensiblestats/widget-react
2
2
 
3
+ ## 0.116.0
4
+
5
+ ### Minor Changes
6
+
7
+ - NBA Following tab: keep showing pre-tip player props while the game is still scheduled, until the server drops them or the game goes live.
8
+
3
9
  ## 0.115.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -1497,7 +1497,7 @@ function parseOddsFormat(value) {
1497
1497
  }
1498
1498
 
1499
1499
  // src/version.generated.ts
1500
- var WIDGET_REACT_VERSION = "0.115.0";
1500
+ var WIDGET_REACT_VERSION = "0.116.0";
1501
1501
 
1502
1502
  // src/config.ts
1503
1503
  function normalizeUi(cfg) {
@@ -10235,7 +10235,8 @@ function usePreKickoff(match) {
10235
10235
  }
10236
10236
  function usePropsOpen(match, monitor, descriptor) {
10237
10237
  const sport = descriptor.sport === "americanfootball" ? "americanfootball" : void 0;
10238
- const pre = usePreKickoff(match);
10238
+ const beforeKickoff = usePreKickoff(match);
10239
+ const pre = descriptor.sport === "basketball" ? match.phase === "preMatch" : beforeKickoff;
10239
10240
  const live = descriptor.sport === "basketball" && match.phase === "live";
10240
10241
  const open = pre || live;
10241
10242
  (0, import_react59.useEffect)(() => {