@lukoweb/apitogo-plugin-dev-portal-billing 0.2.65 → 0.2.71

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.
@@ -217,6 +217,10 @@ const SubscriptionsPage = () => {
217
217
  className: "mb-8 rounded-xl border border-dashed p-8 text-center",
218
218
  body: "You do not have a plan yet. Choose one to start using the API; your billing details appear here afterwards."
219
219
  }) : null,
220
+ billingState === "ready" && !hasActivePlan && !confirmingPayment ? /* @__PURE__ */ jsx(ChoosePlanNotice, {
221
+ className: "mb-8 rounded-xl border border-dashed p-8 text-center",
222
+ body: "You have no active plan: your earlier plans below have ended. Choose a plan to use the API again."
223
+ }) : null,
220
224
  !isLoading && earlierSubscriptions.length > 0 ? /* @__PURE__ */ jsxs("section", {
221
225
  className: "mb-8",
222
226
  children: [/* @__PURE__ */ jsx("p", {
package/dist/index.mjs CHANGED
@@ -372,7 +372,7 @@ const CheckoutPage = lazy(() => import("./CheckoutPage-CZ9NXp8z.mjs"));
372
372
  const ContactSalesPage = lazy(() => import("./ContactSalesPage-CNx7qTyo.mjs"));
373
373
  const CredentialsPage = lazy(() => import("./CredentialsPage-CZeYg5Bd.mjs"));
374
374
  const PricingPage = lazy(() => import("./PricingPage-CmeLQeEx.mjs"));
375
- const SubscriptionsPage = lazy(() => import("./SubscriptionsPage-9SubcmOS.mjs"));
375
+ const SubscriptionsPage = lazy(() => import("./SubscriptionsPage-CfG0q5dL.mjs"));
376
376
  const UsagePage = lazy(() => import("./UsagePage-CFZTZMvk.mjs"));
377
377
  function resolvePricingEnabled(config) {
378
378
  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.65",
3
+ "version": "0.2.71",
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.65",
50
- "@lukoweb/apitogo-module-user-panel": "0.2.65"
49
+ "@lukoweb/apitogo": "0.2.71",
50
+ "@lukoweb/apitogo-module-user-panel": "0.2.71"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "react": ">=19.2.0",