tods-competition-factory 2.2.45 → 2.2.46

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.
@@ -4626,11 +4626,11 @@ declare function deleteFlightProfileAndFlightDraws({ autoPublish, tournamentReco
4626
4626
  event: any;
4627
4627
  force: any;
4628
4628
  }): {
4629
+ error: any;
4630
+ } | {
4629
4631
  success?: boolean;
4630
4632
  error?: ErrorType;
4631
4633
  info?: any;
4632
- } | {
4633
- error: any;
4634
4634
  };
4635
4635
 
4636
4636
  type ModifyEventMatchUpFormatTimingArgs = {
@@ -4894,12 +4894,6 @@ declare function removeSeeding({ tournamentRecord, drawDefinition, entryStatuses
4894
4894
  event: any;
4895
4895
  stage: any;
4896
4896
  }): ResultType | {
4897
- error: {
4898
- message: string;
4899
- code: string;
4900
- };
4901
- info: string;
4902
- } | {
4903
4897
  success: boolean;
4904
4898
  error?: undefined;
4905
4899
  info?: undefined;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  function factoryVersion() {
6
- return '2.2.45';
6
+ return '2.2.46';
7
7
  }
8
8
 
9
9
  const SINGLES_MATCHUP = 'SINGLES';
@@ -32700,7 +32700,7 @@ function parseScoreString({ tiebreakTo = 7, scoreString = '', matchUpFormat }) {
32700
32700
  return tiebreakTo;
32701
32701
  const isDecidingSet = setNumber === bestOfSets;
32702
32702
  const setFormat = isDecidingSet && parsedFormat.finalSetFormat ? parsedFormat.finalSetFormat : parsedFormat.setFormat;
32703
- return setFormat?.tiebreakFormat?.tiebreakTo ?? tiebreakTo;
32703
+ return setFormat?.tiebreakSet?.tiebreakTo ?? setFormat?.tiebreakFormat?.tiebreakTo ?? tiebreakTo;
32704
32704
  }
32705
32705
  function parseTiebreakGame(tiebreakMatch, winningSide, setNumber) {
32706
32706
  const setTiebreakLowScore = tiebreakMatch[1];