@fluid-app/portal-sdk 0.1.433 → 0.1.435

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.
@@ -2844,12 +2844,14 @@ function mapMeta(raw) {
2844
2844
  };
2845
2845
  }
2846
2846
  /**
2847
- * Narrows the generated generic Meta schema to the stricter shared port shape
2848
- * without rebuilding the BFF response or dropping transport-only fields.
2847
+ * Narrows the generated generic Meta schema to the shared port shape without
2848
+ * rebuilding the BFF response or dropping transport-only fields. The
2849
+ * portal-tenant BFF serves meta.request_id as null (the contract allows it),
2850
+ * so only a non-string, non-null request_id is rejected.
2849
2851
  */
2850
2852
  function assertSharedFailedCycleWaiverPreview(response) {
2851
2853
  const meta = response.meta;
2852
- if (meta != null && (typeof meta.request_id !== "string" || typeof meta.timestamp !== "string")) throw new Error("Failed-cycle waiver preview metadata is invalid");
2854
+ if (meta != null && (meta.request_id != null && typeof meta.request_id !== "string" || typeof meta.timestamp !== "string")) throw new Error("Failed-cycle waiver preview metadata is invalid");
2853
2855
  }
2854
2856
  /**
2855
2857
  * Safely parses a price string to a number, returning the fallback if the
@@ -5896,7 +5898,7 @@ function PastDueBanner({ productTitle, nextRetryAt, declineCount, onUpdatePaymen
5896
5898
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5897
5899
  role: "status",
5898
5900
  "aria-live": "polite",
5899
- className: cn("border-destructive/20 bg-destructive/5 rounded-xl border p-4 sm:p-5", className),
5901
+ className: cn("border-destructive/50 bg-background rounded-xl border p-4 shadow-sm sm:p-5", className),
5900
5902
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5901
5903
  className: "flex items-start gap-3 sm:gap-4",
5902
5904
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -8490,4 +8492,4 @@ Object.defineProperty(exports, "subscriptionsScreenPropertySchema", {
8490
8492
  }
8491
8493
  });
8492
8494
 
8493
- //# sourceMappingURL=SubscriptionsScreen-DiLP88lX.cjs.map
8495
+ //# sourceMappingURL=SubscriptionsScreen-B-_roNpR.cjs.map