@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/dist/index.js
CHANGED
|
@@ -1459,7 +1459,7 @@ function parseOddsFormat(value) {
|
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
1461
1461
|
// src/version.generated.ts
|
|
1462
|
-
var WIDGET_REACT_VERSION = "0.
|
|
1462
|
+
var WIDGET_REACT_VERSION = "0.116.0";
|
|
1463
1463
|
|
|
1464
1464
|
// src/config.ts
|
|
1465
1465
|
function normalizeUi(cfg) {
|
|
@@ -10197,7 +10197,8 @@ function usePreKickoff(match) {
|
|
|
10197
10197
|
}
|
|
10198
10198
|
function usePropsOpen(match, monitor, descriptor) {
|
|
10199
10199
|
const sport = descriptor.sport === "americanfootball" ? "americanfootball" : void 0;
|
|
10200
|
-
const
|
|
10200
|
+
const beforeKickoff = usePreKickoff(match);
|
|
10201
|
+
const pre = descriptor.sport === "basketball" ? match.phase === "preMatch" : beforeKickoff;
|
|
10201
10202
|
const live = descriptor.sport === "basketball" && match.phase === "live";
|
|
10202
10203
|
const open = pre || live;
|
|
10203
10204
|
useEffect31(() => {
|