b2m-utils 0.0.265 → 0.0.266

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.
package/build/index.js CHANGED
@@ -921,7 +921,7 @@ var calculateFee = function (ratecardLaneFee, cte, allFees, debug, allFeesForCal
921
921
  return {
922
922
  totalFee: +totalFee.toFixed(2),
923
923
  resultFee: resultFee,
924
- totalToCalc: +totalFee.toFixed(2),
924
+ totalToCalc: totalToCalc === 0 ? totalToCalc : +totalFee.toFixed(2),
925
925
  feeValue: ratecardLaneFee.value,
926
926
  fee: fee_1,
927
927
  };
package/build/index.js.gz CHANGED
Binary file