@lukoweb/apitogo-plugin-dev-portal-billing 0.2.37 → 0.2.38
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.
|
@@ -98,7 +98,7 @@ const SubscriptionsPage = () => {
|
|
|
98
98
|
className: "text-muted-foreground",
|
|
99
99
|
children: "Loading billing details…"
|
|
100
100
|
}) : null,
|
|
101
|
-
!isLoading &&
|
|
101
|
+
!isLoading && activeSubscription ? /* @__PURE__ */ jsxs("div", {
|
|
102
102
|
className: "mb-8 rounded-xl border border-border bg-card p-6",
|
|
103
103
|
children: [
|
|
104
104
|
/* @__PURE__ */ jsx("p", {
|
|
@@ -107,9 +107,9 @@ const SubscriptionsPage = () => {
|
|
|
107
107
|
}),
|
|
108
108
|
/* @__PURE__ */ jsx("h2", {
|
|
109
109
|
className: "mt-2 text-2xl font-bold",
|
|
110
|
-
children: activePlan.
|
|
110
|
+
children: activePlan?.displayName ?? activeSubscription.planSku
|
|
111
111
|
}),
|
|
112
|
-
/* @__PURE__ */ jsxs("p", {
|
|
112
|
+
activePlan ? /* @__PURE__ */ jsxs("p", {
|
|
113
113
|
className: "mt-1 text-sm text-muted-foreground",
|
|
114
114
|
children: [
|
|
115
115
|
formatPlanPrice(activePlan),
|
|
@@ -117,6 +117,9 @@ const SubscriptionsPage = () => {
|
|
|
117
117
|
" ",
|
|
118
118
|
formatBillingPeriod(activePlan.billingPeriod)
|
|
119
119
|
]
|
|
120
|
+
}) : /* @__PURE__ */ jsx("p", {
|
|
121
|
+
className: "mt-1 text-sm text-muted-foreground",
|
|
122
|
+
children: "This plan is no longer offered. Your access continues until you cancel or change plan."
|
|
120
123
|
}),
|
|
121
124
|
activeSubscription.currentPeriodEnd ? /* @__PURE__ */ jsxs("p", {
|
|
122
125
|
className: "mt-3 text-sm text-muted-foreground",
|
package/dist/index.mjs
CHANGED
|
@@ -368,7 +368,7 @@ const CheckoutPage = lazy(() => import("./CheckoutPage-DiYurW2O.mjs"));
|
|
|
368
368
|
const ContactSalesPage = lazy(() => import("./ContactSalesPage-Vjzm-RxO.mjs"));
|
|
369
369
|
const CredentialsPage = lazy(() => import("./CredentialsPage-Ir8Gf62T.mjs"));
|
|
370
370
|
const PricingPage = lazy(() => import("./PricingPage-DodoDd3h.mjs"));
|
|
371
|
-
const SubscriptionsPage = lazy(() => import("./SubscriptionsPage-
|
|
371
|
+
const SubscriptionsPage = lazy(() => import("./SubscriptionsPage-vF7jYwOC.mjs"));
|
|
372
372
|
const UsagePage = lazy(() => import("./UsagePage-C4K_arXh.mjs"));
|
|
373
373
|
function resolvePricingEnabled(config) {
|
|
374
374
|
if (config.__meta?.pricingEnabled !== void 0) return config.__meta.pricingEnabled;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lukoweb/apitogo-plugin-dev-portal-billing",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.38",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/zuplo/zudoku",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"react": "19.2.4",
|
|
47
47
|
"react-dom": "19.2.4",
|
|
48
48
|
"tsdown": "0.20.3",
|
|
49
|
-
"@lukoweb/apitogo": "0.2.
|
|
50
|
-
"@lukoweb/apitogo-module-user-panel": "0.2.
|
|
49
|
+
"@lukoweb/apitogo": "0.2.38",
|
|
50
|
+
"@lukoweb/apitogo-module-user-panel": "0.2.38"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": ">=19.2.0",
|