b2m-utils 0.0.155 → 0.0.156
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
CHANGED
|
@@ -615,7 +615,7 @@ var getLaneFeesToCalc = function (cte) {
|
|
|
615
615
|
};
|
|
616
616
|
|
|
617
617
|
var getCtesFeesResult = function (feesToCalc, cte) {
|
|
618
|
-
var _a, _b, _c;
|
|
618
|
+
var _a, _b, _c, _d;
|
|
619
619
|
var results = [];
|
|
620
620
|
var _loop_1 = function (item) {
|
|
621
621
|
var feeTotal = calculateFee(item, cte, feesToCalc);
|
|
@@ -627,8 +627,8 @@ var getCtesFeesResult = function (feesToCalc, cte) {
|
|
|
627
627
|
var siblingFees = feesToCalc === null || feesToCalc === void 0 ? void 0 : feesToCalc.filter(function (i) { var _a, _b; return ((_a = i.fee) === null || _a === void 0 ? void 0 : _a.parentId) === fee_1.parentId && ((_b = i.fee) === null || _b === void 0 ? void 0 : _b.id) !== fee_1.id; });
|
|
628
628
|
if (siblingFees && (siblingFees === null || siblingFees === void 0 ? void 0 : siblingFees.length) > 0) {
|
|
629
629
|
var siblingFeesResults = [];
|
|
630
|
-
for (var
|
|
631
|
-
var item_1 = siblingFees_1[
|
|
630
|
+
for (var _e = 0, siblingFees_1 = siblingFees; _e < siblingFees_1.length; _e++) {
|
|
631
|
+
var item_1 = siblingFees_1[_e];
|
|
632
632
|
var result = calculateFee(item_1, cte);
|
|
633
633
|
siblingFeesResults.push(result);
|
|
634
634
|
}
|
|
@@ -650,7 +650,7 @@ var getCtesFeesResult = function (feesToCalc, cte) {
|
|
|
650
650
|
total: totalToPush,
|
|
651
651
|
resultFee: resultFee,
|
|
652
652
|
feeValue: feeValue,
|
|
653
|
-
feeId: item.
|
|
653
|
+
feeId: (_d = item.fee) === null || _d === void 0 ? void 0 : _d.id,
|
|
654
654
|
});
|
|
655
655
|
}
|
|
656
656
|
}
|
package/build/index.esm.js.gz
CHANGED
|
Binary file
|