b2m-utils 0.0.239 → 0.0.242

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.
@@ -433,8 +433,8 @@ var calculateFee = function (ratecardLaneFee, cte, allFees, debug, allFeesForCal
433
433
  if (allFees && Array.isArray(allFees) && (allFees === null || allFees === void 0 ? void 0 : allFees.length) > 0) {
434
434
  var totalFromAllFees = filterSiblingFees(allFees).filter(function (i) { var _a; return ((_a = i.fee) === null || _a === void 0 ? void 0 : _a.id) !== fee_1.id; }).map(function (it) {
435
435
  var result = calculateFee(it, cte, allFees, debug, allFeesForCalc);
436
- if (result === null || result === void 0 ? void 0 : result.totalToCalc) {
437
- return result.totalToCalc;
436
+ if (result === null || result === void 0 ? void 0 : result.totalFee) {
437
+ return result.totalFee;
438
438
  }
439
439
  return 0;
440
440
  }, 0);
Binary file