@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 +6 -0
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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.
|
|
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
|
|
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)(() => {
|