@burdenoff/microfe-billing 2026.910.6 → 2026.910.8
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.
|
@@ -267,19 +267,19 @@ var $e = () => {
|
|
|
267
267
|
value: n
|
|
268
268
|
} : t
|
|
269
269
|
};
|
|
270
|
-
}) || [], r = F.selectedCurrency || "USD", i = t.currencyPrices?.[r] ?? t.price,
|
|
270
|
+
}) || [], r = F.selectedCurrency || "USD", i = t.currencyPrices, a = i?.[r] ?? t.price, o = i?.USD ?? t.price, ee = {
|
|
271
271
|
id: t.id,
|
|
272
272
|
type: "ADDON",
|
|
273
273
|
name: t.name,
|
|
274
274
|
description: typeof t.context == "object" && t.context !== null ? t.context.description : typeof t.context == "string" ? t.context : void 0,
|
|
275
|
-
price:
|
|
276
|
-
priceUSD:
|
|
275
|
+
price: a,
|
|
276
|
+
priceUSD: o,
|
|
277
277
|
currency: r,
|
|
278
278
|
quantity: e.quantity,
|
|
279
279
|
features: n,
|
|
280
280
|
metadata: { addonId: t.id }
|
|
281
281
|
};
|
|
282
|
-
F.addItem(
|
|
282
|
+
F.addItem(ee);
|
|
283
283
|
}
|
|
284
284
|
Q(!0);
|
|
285
285
|
return;
|
|
@@ -331,19 +331,19 @@ var $e = () => {
|
|
|
331
331
|
value: n
|
|
332
332
|
} : t
|
|
333
333
|
};
|
|
334
|
-
}) || [], n = F.selectedCurrency || "USD", r = e.currencyPrices?.[n] ?? e.price,
|
|
334
|
+
}) || [], n = F.selectedCurrency || "USD", r = e.currencyPrices, i = r?.[n] ?? e.price, a = r?.USD ?? e.price, o = {
|
|
335
335
|
id: e.id,
|
|
336
336
|
type: "ADDON",
|
|
337
337
|
name: e.name,
|
|
338
338
|
description: typeof e.context == "object" && e.context !== null ? e.context.description : typeof e.context == "string" ? e.context : void 0,
|
|
339
|
-
price:
|
|
340
|
-
priceUSD:
|
|
339
|
+
price: i,
|
|
340
|
+
priceUSD: a,
|
|
341
341
|
currency: n,
|
|
342
342
|
quantity: v?.quantity ?? 1,
|
|
343
343
|
features: t,
|
|
344
344
|
metadata: { addonId: e.id }
|
|
345
345
|
};
|
|
346
|
-
F.addItem(
|
|
346
|
+
F.addItem(o), Q(!0);
|
|
347
347
|
} else if (T && R?.getStoreOrder) {
|
|
348
348
|
let e = R.getStoreOrder, t = Ae(e);
|
|
349
349
|
for (let e of t) F.addItem(e);
|