@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.
- package/dist/{SubscriptionsScreen-DiLP88lX.cjs → SubscriptionsScreen-B-_roNpR.cjs} +7 -5
- package/dist/SubscriptionsScreen-B-_roNpR.cjs.map +1 -0
- package/dist/{SubscriptionsScreen-CJJe0giN.mjs → SubscriptionsScreen-CWFdOYEg.mjs} +1 -1
- package/dist/{SubscriptionsScreen-CWXKytKn.cjs → SubscriptionsScreen-CooYSf-y.cjs} +1 -1
- package/dist/{SubscriptionsScreen-DpOk1RbV.mjs → SubscriptionsScreen-zgrsLRUN.mjs} +7 -5
- package/dist/SubscriptionsScreen-zgrsLRUN.mjs.map +1 -0
- package/dist/adapters/subscriptions-api-adapter.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +20 -20
- package/dist/SubscriptionsScreen-DiLP88lX.cjs.map +0 -1
- package/dist/SubscriptionsScreen-DpOk1RbV.mjs.map +0 -1
|
@@ -33,7 +33,7 @@ import "./MediaRenderer-BydUiy9x.mjs";
|
|
|
33
33
|
import "./CarouselWidget-CKnYvxm5.mjs";
|
|
34
34
|
import "./CatchUpWidget-CEDOOF9V.mjs";
|
|
35
35
|
import "./src-CAi8-qUm.mjs";
|
|
36
|
-
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-
|
|
36
|
+
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-zgrsLRUN.mjs";
|
|
37
37
|
import "./ChartWidget-5NR50o-9.mjs";
|
|
38
38
|
import "./ContainerWidget-sfWLzdpC.mjs";
|
|
39
39
|
import "./EmbedWidget-CVqRlRwv.mjs";
|
|
@@ -57,6 +57,6 @@ require("./use-portal-card-add-3ds-flow-KJYm0WRh.cjs");
|
|
|
57
57
|
require("./display-Ca4zjZd5.cjs");
|
|
58
58
|
require("./Combobox-CMWzBod7.cjs");
|
|
59
59
|
require("./prop-types-BL9DoSxF.cjs");
|
|
60
|
-
const require_SubscriptionsScreen = require("./SubscriptionsScreen-
|
|
60
|
+
const require_SubscriptionsScreen = require("./SubscriptionsScreen-B-_roNpR.cjs");
|
|
61
61
|
exports.SubscriptionsScreen = require_SubscriptionsScreen.SubscriptionsScreen;
|
|
62
62
|
exports.subscriptionsScreenPropertySchema = require_SubscriptionsScreen.subscriptionsScreenPropertySchema;
|
|
@@ -2782,12 +2782,14 @@ function mapMeta(raw) {
|
|
|
2782
2782
|
};
|
|
2783
2783
|
}
|
|
2784
2784
|
/**
|
|
2785
|
-
* Narrows the generated generic Meta schema to the
|
|
2786
|
-
*
|
|
2785
|
+
* Narrows the generated generic Meta schema to the shared port shape without
|
|
2786
|
+
* rebuilding the BFF response or dropping transport-only fields. The
|
|
2787
|
+
* portal-tenant BFF serves meta.request_id as null (the contract allows it),
|
|
2788
|
+
* so only a non-string, non-null request_id is rejected.
|
|
2787
2789
|
*/
|
|
2788
2790
|
function assertSharedFailedCycleWaiverPreview(response) {
|
|
2789
2791
|
const meta = response.meta;
|
|
2790
|
-
if (meta != null && (typeof meta.request_id !== "string" || typeof meta.timestamp !== "string")) throw new Error("Failed-cycle waiver preview metadata is invalid");
|
|
2792
|
+
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");
|
|
2791
2793
|
}
|
|
2792
2794
|
/**
|
|
2793
2795
|
* Safely parses a price string to a number, returning the fallback if the
|
|
@@ -5833,7 +5835,7 @@ function PastDueBanner({ productTitle, nextRetryAt, declineCount, onUpdatePaymen
|
|
|
5833
5835
|
return /* @__PURE__ */ jsx("div", {
|
|
5834
5836
|
role: "status",
|
|
5835
5837
|
"aria-live": "polite",
|
|
5836
|
-
className: cn("border-destructive/
|
|
5838
|
+
className: cn("border-destructive/50 bg-background rounded-xl border p-4 shadow-sm sm:p-5", className),
|
|
5837
5839
|
children: /* @__PURE__ */ jsxs("div", {
|
|
5838
5840
|
className: "flex items-start gap-3 sm:gap-4",
|
|
5839
5841
|
children: [/* @__PURE__ */ jsx("div", {
|
|
@@ -8416,4 +8418,4 @@ const subscriptionsScreenPropertySchema = {
|
|
|
8416
8418
|
//#endregion
|
|
8417
8419
|
export { subscriptionsScreenPropertySchema as n, SubscriptionsScreen as t };
|
|
8418
8420
|
|
|
8419
|
-
//# sourceMappingURL=SubscriptionsScreen-
|
|
8421
|
+
//# sourceMappingURL=SubscriptionsScreen-zgrsLRUN.mjs.map
|