tods-competition-factory 1.6.12 → 1.6.13

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.
@@ -362,7 +362,7 @@ var matchUpFormatCode = {
362
362
  };
363
363
 
364
364
  function factoryVersion() {
365
- return '1.6.12';
365
+ return '1.6.13';
366
366
  }
367
367
 
368
368
  /******************************************************************************
@@ -3753,7 +3753,7 @@ function validMatchUp(matchUp) {
3753
3753
  var validDrawPositions = !drawPositions ||
3754
3754
  (Array.isArray(drawPositions) &&
3755
3755
  drawPositions.length <= 2 &&
3756
- drawPositions.every(function (dp) { return isConvertableInteger(dp) || dp === undefined; }));
3756
+ drawPositions.every(function (dp) { return isConvertableInteger(dp) || dp === undefined || dp === null; }));
3757
3757
  return validMatchUpId && validDrawPositions;
3758
3758
  }
3759
3759
  function validMatchUps(matchUps) {
@@ -8349,9 +8349,10 @@ function getSourceDrawPositionRanges(_a) {
8349
8349
  structureId: sourceStructureId,
8350
8350
  matchUpsMap: matchUpsMap,
8351
8351
  });
8352
- var roundProfile = getRoundMatchUps$1({
8352
+ var roundMatchUpsResult = getRoundMatchUps$1({
8353
8353
  matchUps: structureMatchUps,
8354
- }).roundProfile;
8354
+ });
8355
+ var roundProfile = roundMatchUpsResult.roundProfile;
8355
8356
  return _a = {}, _a[sourceStructureId] = roundProfile, _a;
8356
8357
  })), false));
8357
8358
  var structureMatchUps = getMappedStructureMatchUps({