@mtgame/core 0.1.52 → 0.1.54

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.
@@ -1386,6 +1386,11 @@
1386
1386
  VolleyballStatisticTypes[VolleyballStatisticTypes["advanced"] = 3] = "advanced";
1387
1387
  })(exports.VolleyballStatisticTypes || (exports.VolleyballStatisticTypes = {}));
1388
1388
 
1389
+ (function (RugbyStatisticTypes) {
1390
+ RugbyStatisticTypes[RugbyStatisticTypes["light"] = 1] = "light";
1391
+ RugbyStatisticTypes[RugbyStatisticTypes["standard"] = 2] = "standard";
1392
+ })(exports.RugbyStatisticTypes || (exports.RugbyStatisticTypes = {}));
1393
+
1389
1394
  (function (GameTimeTypes) {
1390
1395
  GameTimeTypes[GameTimeTypes["clean"] = 1] = "clean";
1391
1396
  GameTimeTypes[GameTimeTypes["dirty"] = 2] = "dirty";
@@ -2241,10 +2246,10 @@
2241
2246
  return null;
2242
2247
  }
2243
2248
  if (this.isTeamWon) {
2244
- return this.team.id;
2249
+ return this.team.id || this.teamId;
2245
2250
  }
2246
2251
  if (this.isCompetitorTeamWon) {
2247
- return this.competitorTeam.id;
2252
+ return this.competitorTeam.id || this.competitorTeamId;
2248
2253
  }
2249
2254
  return null;
2250
2255
  },