@billingos/sdk 0.1.1 → 0.1.2
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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3351,7 +3351,7 @@ function Jr({
|
|
|
3351
3351
|
}).format(k.amount / 100), ne = (k) => k.prices.find((M) => M.interval === h) || k.prices[0] || null, oe = (k) => {
|
|
3352
3352
|
a ? a(k) : (x(k), y(!0));
|
|
3353
3353
|
}, Ne = u.useCallback(async (k) => {
|
|
3354
|
-
console.log("%c🎉 [PricingTable] handlePaymentSuccess CALLED!", "color: #10b981; font-size: 14px; font-weight: bold;", k), console.log("[PricingTable] Subscription data:", k), y(!1), x(null), console.log("[PricingTable] Showing success notification..."), P(!0), setTimeout(() => P(!1), 5e3), d &&
|
|
3354
|
+
console.log("%c🎉 [PricingTable] handlePaymentSuccess CALLED!", "color: #10b981; font-size: 14px; font-weight: bold;", k), console.log("[PricingTable] Subscription data:", k), y(!1), x(null), console.log("[PricingTable] Showing success notification..."), P(!0), setTimeout(() => P(!1), 5e3), d && (console.log("[PricingTable] Calling onPlanChanged callback..."), d(k)), console.log("%c🔄 Invalidating products cache...", "color: #8b5cf6; font-weight: 600;"), await S.invalidateQueries({
|
|
3355
3355
|
queryKey: ["products"],
|
|
3356
3356
|
refetchType: "all"
|
|
3357
3357
|
// Force refetch even if not stale
|