tods-competition-factory 1.6.18 → 1.6.19
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 +2 -3
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +2 -3
- 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 +1 -1
|
@@ -362,7 +362,7 @@ var matchUpFormatCode = {
|
|
|
362
362
|
};
|
|
363
363
|
|
|
364
364
|
function factoryVersion() {
|
|
365
|
-
return '1.6.
|
|
365
|
+
return '1.6.19';
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
/******************************************************************************
|
|
@@ -48224,11 +48224,10 @@ function resetMatchUpLineUps$1(_a) {
|
|
|
48224
48224
|
if (!drawDefinition)
|
|
48225
48225
|
return { error: MISSING_DRAW_DEFINITION };
|
|
48226
48226
|
var matchUp = (_b = findMatchUp$1({
|
|
48227
|
-
inContext: true,
|
|
48228
48227
|
drawDefinition: drawDefinition,
|
|
48229
48228
|
matchUpId: matchUpId,
|
|
48230
48229
|
})) === null || _b === void 0 ? void 0 : _b.matchUp;
|
|
48231
|
-
if ((matchUp === null || matchUp === void 0 ? void 0 : matchUp.
|
|
48230
|
+
if (!(matchUp === null || matchUp === void 0 ? void 0 : matchUp.tieMatchUps))
|
|
48232
48231
|
return { error: INVALID_MATCHUP };
|
|
48233
48232
|
var modificationsCount = 0;
|
|
48234
48233
|
(matchUp.sides || []).forEach(function (side) {
|