@burdenoff/microfe-billing 2026.708.1 → 2026.715.1
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.
|
@@ -154,7 +154,7 @@ var Ye = () => {
|
|
|
154
154
|
currency: z.selectedCurrency || "USD"
|
|
155
155
|
},
|
|
156
156
|
skip: k !== "CREDITS"
|
|
157
|
-
}), J = l(() => Mt?.getCostOfCredits?.amount && q > 0 ? Mt.getCostOfCredits.amount / q : .01, [Mt, q]), Y = l(() => Dt?.getPaymentMethods ?? [], [Dt]), X = l(() => St?.
|
|
157
|
+
}), J = l(() => Mt?.getCostOfCredits?.amount && q > 0 ? Mt.getCostOfCredits.amount / q : .01, [Mt, q]), Y = l(() => Dt?.getPaymentMethods ?? [], [Dt]), X = l(() => St?.myBillingAccounts ?? [], [St]), Z = l(() => {
|
|
158
158
|
if (!z.billingAccount) return;
|
|
159
159
|
let e = X.find((e) => e.id === z.billingAccount?.id)?.billingAddresses;
|
|
160
160
|
if (e && e.length > 0) return e[0]?.country || void 0;
|
|
@@ -1293,7 +1293,7 @@ var Ye = () => {
|
|
|
1293
1293
|
hasAddress: !!(z.billingAccount.billingAddresses?.[0]?.line1?.trim() && z.billingAccount.billingAddresses?.[0]?.postalCode?.trim()),
|
|
1294
1294
|
onCompleted: () => {
|
|
1295
1295
|
ct.current = !0, st(!1), Rt(), wt().then((e) => {
|
|
1296
|
-
let t = (e.data?.
|
|
1296
|
+
let t = (e.data?.myBillingAccounts ?? []).find((e) => e.id === z.billingAccount?.id);
|
|
1297
1297
|
t && z.setBillingAccount(t);
|
|
1298
1298
|
});
|
|
1299
1299
|
},
|