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 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 === "CORRECT_SCORE" || x.market === "CORRECT_SCORE_ADVANCED"
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
@@ -19,7 +19,7 @@ import "./chunks/PrizeCard-C4uB4BtX.js";
19
19
  import "react/jsx-runtime";
20
20
  import "react-dom";
21
21
  typeof window < "u" && (window.fansUnitedComponentsVersions = {
22
- components: "0.0.60",
22
+ components: "0.0.61",
23
23
  core: o
24
24
  });
25
25
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fansunited-frontend-components",
3
- "version": "0.0.60",
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.60",
67
+ "fansunited-frontend-core": "0.0.61",
68
68
  "react": ">=16.8.0",
69
69
  "react-dom": ">=16.8.0"
70
70
  },