tods-competition-factory 1.8.28 → 1.8.29
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/dist/index.mjs +8 -7
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +100 -99
- package/dist/tods-competition-factory.development.cjs.js.map +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js.map +1 -1
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -2404,7 +2404,7 @@ const matchUpFormatCode = {
|
|
|
2404
2404
|
};
|
|
2405
2405
|
|
|
2406
2406
|
function factoryVersion() {
|
|
2407
|
-
return "1.8.
|
|
2407
|
+
return "1.8.29";
|
|
2408
2408
|
}
|
|
2409
2409
|
|
|
2410
2410
|
function getObjectTieFormat(obj) {
|
|
@@ -55048,16 +55048,17 @@ function getParticipantStats({
|
|
|
55048
55048
|
};
|
|
55049
55049
|
if (teamParticipantId) {
|
|
55050
55050
|
const processForTeam = !opponentParticipantId || sides.every((side) => {
|
|
55051
|
-
side.participant && (getCompetitorIds({
|
|
55052
|
-
|
|
55053
|
-
|
|
55051
|
+
return side.participant && (getCompetitorIds({
|
|
55052
|
+
individualParticipantIds: teamMap.get(teamParticipantId),
|
|
55053
|
+
side
|
|
55054
55054
|
}) || getCompetitorIds({
|
|
55055
|
-
|
|
55056
|
-
|
|
55055
|
+
individualParticipantIds: teamMap.get(opponentParticipantId),
|
|
55056
|
+
side
|
|
55057
55057
|
}));
|
|
55058
55058
|
});
|
|
55059
|
-
if (processForTeam)
|
|
55059
|
+
if (processForTeam) {
|
|
55060
55060
|
processSides(teamParticipantId, teamMap.get(teamParticipantId));
|
|
55061
|
+
}
|
|
55061
55062
|
} else {
|
|
55062
55063
|
for (const [thisTeamId, individualParticipantIds] of teamMap) {
|
|
55063
55064
|
processSides(thisTeamId, individualParticipantIds);
|