onroute-policy-engine 2.32.1 → 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 >=
|
|
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.
|
|
1
|
+
export declare const version = "v2.32.2";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED