onroute-policy-engine 2.32.0 → 2.32.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.
@@ -235,7 +235,8 @@ function CheckAxleGroupMaximumLegalWeightThreshold(policy, vehicleConfiguration,
235
235
  return policyCheckResults;
236
236
  }
237
237
  function meetsMinimumSteerPercentageOfDriveAxleWeight(steerAxle, driveAxle, minimumPercentage) {
238
- return (steerAxle.axleUnitWeight >= driveAxle.axleUnitWeight * minimumPercentage);
238
+ return (steerAxle.axleUnitWeight >=
239
+ Math.round(driveAxle.axleUnitWeight * minimumPercentage));
239
240
  }
240
241
  /**
241
242
  * Validates the number of axles in each axle unit.
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "v2.32.0";
1
+ export declare const version = "v2.32.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.32.0';
5
+ exports.version = 'v2.32.2';
package/package.json CHANGED
@@ -91,5 +91,5 @@
91
91
  ],
92
92
  "testEnvironment": "node"
93
93
  },
94
- "version": "v2.32.0"
94
+ "version": "v2.32.2"
95
95
  }