b2m-utils 0.0.205 → 0.0.207
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 +5 -0
- package/build/index.esm.js.gz +0 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +5 -0
- package/build/index.js.gz +0 -0
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -513,6 +513,11 @@ var calculateFee = function (ratecardLaneFee, cte, allFees, debug, allFeesForCal
|
|
|
513
513
|
feesWithMaxWeight === null || feesWithMaxWeight === void 0 ? void 0 : feesWithMaxWeight.sort(function (a, b) { return b.maxWeight - a.maxWeight; });
|
|
514
514
|
// Pegar o primeiro (maior maxWeight)
|
|
515
515
|
var highestIntervalFee = feesWithMaxWeight === null || feesWithMaxWeight === void 0 ? void 0 : feesWithMaxWeight[0];
|
|
516
|
+
console.log({
|
|
517
|
+
feesWithMaxWeight: feesWithMaxWeight,
|
|
518
|
+
highestIntervalFee: highestIntervalFee,
|
|
519
|
+
allFeesForCalc: allFeesForCalc,
|
|
520
|
+
});
|
|
516
521
|
if (highestIntervalFee) {
|
|
517
522
|
// Calcula baseado na taxa do intervalo mais alto que tem maxWeight
|
|
518
523
|
var total_4 = +highestIntervalFee.value;
|
package/build/index.js.gz
CHANGED
|
Binary file
|