@fluid-app/portal-sdk 0.1.434 → 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-C-jNBTLu.cjs → SubscriptionsScreen-B-_roNpR.cjs} +6 -4
- package/dist/SubscriptionsScreen-B-_roNpR.cjs.map +1 -0
- package/dist/{SubscriptionsScreen-BnUZ8EOe.mjs → SubscriptionsScreen-CWFdOYEg.mjs} +1 -1
- package/dist/{SubscriptionsScreen-BN64Oz6u.cjs → SubscriptionsScreen-CooYSf-y.cjs} +1 -1
- package/dist/{SubscriptionsScreen-CSO3Kwls.mjs → SubscriptionsScreen-zgrsLRUN.mjs} +6 -4
- 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 +17 -17
- package/dist/SubscriptionsScreen-C-jNBTLu.cjs.map +0 -1
- package/dist/SubscriptionsScreen-CSO3Kwls.mjs.map +0 -1
|
@@ -2844,12 +2844,14 @@ function mapMeta(raw) {
|
|
|
2844
2844
|
};
|
|
2845
2845
|
}
|
|
2846
2846
|
/**
|
|
2847
|
-
* Narrows the generated generic Meta schema to the
|
|
2848
|
-
*
|
|
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
|
|
@@ -8490,4 +8492,4 @@ Object.defineProperty(exports, "subscriptionsScreenPropertySchema", {
|
|
|
8490
8492
|
}
|
|
8491
8493
|
});
|
|
8492
8494
|
|
|
8493
|
-
//# sourceMappingURL=SubscriptionsScreen-
|
|
8495
|
+
//# sourceMappingURL=SubscriptionsScreen-B-_roNpR.cjs.map
|