b2m-utils 0.0.207 → 0.0.208
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.esm.js +1 -1
- package/build/index.esm.js.gz +0 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.gz +0 -0
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -503,7 +503,7 @@ var calculateFee = function (ratecardLaneFee, cte, allFees, debug, allFeesForCal
|
|
|
503
503
|
return ((_a = fee.fee) === null || _a === void 0 ? void 0 : _a.id) === ((_b = ratecardLaneFee.fee) === null || _b === void 0 ? void 0 : _b.id) &&
|
|
504
504
|
fee.maxWeight &&
|
|
505
505
|
(cte === null || cte === void 0 ? void 0 : cte.taxedWeight) &&
|
|
506
|
-
fee.maxWeight < cte.taxedWeight;
|
|
506
|
+
+fee.maxWeight < +cte.taxedWeight;
|
|
507
507
|
});
|
|
508
508
|
// Ordenar pelo maxWeight do maior para o menor
|
|
509
509
|
feesWithMaxWeight === null || feesWithMaxWeight === void 0 ? void 0 : feesWithMaxWeight.sort(function (a, b) { return b.maxWeight - a.maxWeight; });
|
package/build/index.esm.js.gz
CHANGED
|
Binary file
|