tods-competition-factory 1.9.3 → 1.9.4

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
@@ -2414,7 +2414,7 @@ const matchUpFormatCode = {
2414
2414
  };
2415
2415
 
2416
2416
  function factoryVersion() {
2417
- return "1.9.3";
2417
+ return "1.9.4";
2418
2418
  }
2419
2419
 
2420
2420
  function getObjectTieFormat(obj) {
@@ -60046,8 +60046,7 @@ function generateDrawDefinition(params) {
60046
60046
  }
60047
60047
  }
60048
60048
  const policiesToAttach = {
60049
- [POLICY_TYPE_AVOIDANCE]: appliedPolicies[POLICY_TYPE_AVOIDANCE],
60050
- ...POLICY_SEEDING_DEFAULT
60049
+ [POLICY_TYPE_AVOIDANCE]: appliedPolicies[POLICY_TYPE_AVOIDANCE]
60051
60050
  };
60052
60051
  if (policyDefinitions) {
60053
60052
  if (typeof policyDefinitions !== "object") {
@@ -60071,6 +60070,10 @@ function generateDrawDefinition(params) {
60071
60070
  attachPolicies({ drawDefinition, policyDefinitions: policiesToAttach });
60072
60071
  }
60073
60072
  if (!appliedPolicies[POLICY_TYPE_SEEDING] && !policyDefinitions[POLICY_TYPE_SEEDING]) {
60073
+ attachPolicies({
60074
+ drawDefinition,
60075
+ policyDefinitions: POLICY_SEEDING_DEFAULT
60076
+ });
60074
60077
  Object.assign(appliedPolicies, POLICY_SEEDING_DEFAULT);
60075
60078
  }
60076
60079
  let structureId = existingDrawDefinition?.structures?.find(