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 CHANGED
@@ -329,7 +329,7 @@ const matchUpFormatCode = {
329
329
  };
330
330
 
331
331
  function factoryVersion() {
332
- return "1.6.18";
332
+ return "1.6.19";
333
333
  }
334
334
 
335
335
  function getObjectTieFormat(obj) {
@@ -44607,11 +44607,10 @@ function resetMatchUpLineUps$1({
44607
44607
  if (!drawDefinition)
44608
44608
  return { error: MISSING_DRAW_DEFINITION };
44609
44609
  const matchUp = findMatchUp$1({
44610
- inContext: true,
44611
44610
  drawDefinition,
44612
44611
  matchUpId
44613
44612
  })?.matchUp;
44614
- if (matchUp?.matchUpType !== TEAM_MATCHUP)
44613
+ if (!matchUp?.tieMatchUps)
44615
44614
  return { error: INVALID_MATCHUP };
44616
44615
  let modificationsCount = 0;
44617
44616
  (matchUp.sides || []).forEach((side) => {