b2m-utils 0.0.235 → 0.0.236

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.
@@ -664,6 +664,7 @@ var calculateFee = function (ratecardLaneFee, cte, allFees, debug, allFeesForCal
664
664
  var feesWithMaxKm = (_h = lane === null || lane === void 0 ? void 0 : lane.RatecardLaneFee) === null || _h === void 0 ? void 0 : _h.filter(function (fee) {
665
665
  var _a, _b;
666
666
  return ((_a = fee.fee) === null || _a === void 0 ? void 0 : _a.id) === ((_b = ratecardLaneFee.fee) === null || _b === void 0 ? void 0 : _b.id) &&
667
+ cte.vehicleTypeId === ratecardLaneFee.vehicleTypeId &&
667
668
  fee.maxKm &&
668
669
  (cte === null || cte === void 0 ? void 0 : cte.distance) &&
669
670
  +fee.maxKm < +cte.distance;
Binary file