onroute-policy-engine 2.20.1 → 2.20.2

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.
@@ -397,6 +397,9 @@ function selectCorrectWeightDimensionHelper(policy, weightDimensions, configurat
397
397
  isMatch =
398
398
  matcher ==
399
399
  (isTypeMatch ? relatives.nextType : relatives.nextCategory);
400
+ if (!isMatch) {
401
+ break;
402
+ }
400
403
  if (isMatch && m.axles) {
401
404
  isMatch =
402
405
  m.axles == axleConfiguration[axleIndex + 1].numberOfAxles;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "v2.20.1";
1
+ export declare const version = "v2.20.2";
package/dist/version.js CHANGED
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  // Generated by genversion.
5
- exports.version = 'v2.20.1';
5
+ exports.version = 'v2.20.2';
package/package.json CHANGED
@@ -91,5 +91,5 @@
91
91
  ],
92
92
  "testEnvironment": "node"
93
93
  },
94
- "version": "v2.20.1"
94
+ "version": "v2.20.2"
95
95
  }