@mx-cartographer/experiences 6.25.8 → 6.25.9

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [6.25.9] - 08-25-2025
2
+
3
+ - **FIXED** - Debts table showing available balance instead of current balance
4
+
1
5
  ## [6.25.8] - 08-25-2025
2
6
 
3
7
  - **FIXED** - Spending widget so that it displays all income categories
package/dist/index.es.js CHANGED
@@ -12453,8 +12453,8 @@ function Zr(e, n) {
12453
12453
  const a = n.payment_due_at ? ur(ri(n.payment_due_at)) : 1, o = _r(/* @__PURE__ */ new Date()).setDate(a);
12454
12454
  i.balance = Math.abs(n.amount - n.current_amount), i.interest_rate = n.interest_rate, i.is_paid_off = n.is_complete, i.monthly_payment = n.monthly_payment, i.name = n.name, i.original_balance = n.initial_amount, i.payment_due_date = o;
12455
12455
  } else {
12456
- const a = e.payment_due_at ? ur(ri(e.payment_due_at)) : 1, o = _r(/* @__PURE__ */ new Date()).setDate(a), r = Math.abs(e.available_balance ?? e.balance ?? 0), s = e.minimum_payment ?? void 0, c = e.interest_rate ?? e.apr ?? e.apy;
12457
- i.balance = Math.abs(r), i.interest_rate = c, i.is_paid_off = r === 0, i.monthly_payment = s, i.name = e?.name ?? Mp.unnamed_label, i.original_balance = e.original_balance, i.payment_due_date = o;
12456
+ const a = e.payment_due_at ? ur(ri(e.payment_due_at)) : 1, o = _r(/* @__PURE__ */ new Date()).setDate(a), r = e.balance ?? 0, s = e.minimum_payment ?? void 0, c = e.interest_rate ?? e.apr ?? e.apy;
12457
+ i.balance = Math.max(r, 0), i.interest_rate = c, i.is_paid_off = r === 0, i.monthly_payment = s, i.name = e?.name ?? Mp.unnamed_label, i.original_balance = e.original_balance, i.payment_due_date = o;
12458
12458
  }
12459
12459
  return i.is_impossible = !1, i.priority = void 0, i.projected_payoff_date = void 0, i;
12460
12460
  }