tods-competition-factory 2.1.25 → 2.1.26
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 -2
- package/dist/tods-competition-factory.development.cjs.js +6 -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 +17 -17
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
function factoryVersion() {
|
|
6
|
-
return '2.1.
|
|
6
|
+
return '2.1.26';
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
const SINGLES_MATCHUP = 'SINGLES';
|
|
@@ -44057,8 +44057,11 @@ function noDownstreamDependencies(params) {
|
|
|
44057
44057
|
return decorateResult({ result, stack });
|
|
44058
44058
|
}
|
|
44059
44059
|
function scoreModification(params) {
|
|
44060
|
-
const stack = 'scoreModification';
|
|
44061
|
-
const remove = params.isCollectionMatchUp &&
|
|
44060
|
+
const stack = 'ndd:scoreModification';
|
|
44061
|
+
const remove = params.isCollectionMatchUp &&
|
|
44062
|
+
params.dualMatchUp?.winningSide &&
|
|
44063
|
+
!params.projectedWinningSide &&
|
|
44064
|
+
!params.autoCalcDisabled;
|
|
44062
44065
|
if (remove) {
|
|
44063
44066
|
const result = removeDirectedParticipants(params);
|
|
44064
44067
|
if (result.error)
|