fansunited-frontend-components 0.0.60 → 0.0.61
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/Predictor.js +3 -1
- package/index.js +1 -1
- package/package.json +2 -2
package/Predictor.js
CHANGED
|
@@ -141,8 +141,10 @@ const tn = "https://search.fansunitedapi.com/v1", on = (t) => (t ?? "").split("-
|
|
|
141
141
|
return t.flat().forEach((l) => {
|
|
142
142
|
l.data.forEach((n) => {
|
|
143
143
|
var s, i, d, a;
|
|
144
|
+
if (n.gameType !== "SINGLE")
|
|
145
|
+
return;
|
|
144
146
|
const c = n.fixtures.find(
|
|
145
|
-
(x) => x.market === "
|
|
147
|
+
(x) => x.market === "CORRECT_SCORE_ADVANCED"
|
|
146
148
|
);
|
|
147
149
|
if (c) {
|
|
148
150
|
const x = ((s = c.prediction) == null ? void 0 : s.value) ?? "0:0", { homeScore: h, awayScore: u } = an(x);
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fansunited-frontend-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.61",
|
|
4
4
|
"description": "Various user centric components for Fans United features",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"fansunited-frontend-core": "0.0.
|
|
67
|
+
"fansunited-frontend-core": "0.0.61",
|
|
68
68
|
"react": ">=16.8.0",
|
|
69
69
|
"react-dom": ">=16.8.0"
|
|
70
70
|
},
|