@fluid-app/portal-sdk 0.1.390 → 0.1.392
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/{AppNavigationContext-Dw_On0va.d.mts → AppNavigationContext-BSSOfIHg.d.mts} +8 -1
- package/dist/{AppNavigationContext-Dw_On0va.d.mts.map → AppNavigationContext-BSSOfIHg.d.mts.map} +1 -1
- package/dist/{AppNavigationContext-Db_mFrXm.d.cts → AppNavigationContext-C8hrkgZR.d.cts} +8 -1
- package/dist/{AppNavigationContext-Db_mFrXm.d.cts.map → AppNavigationContext-C8hrkgZR.d.cts.map} +1 -1
- package/dist/{FluidProvider-BfcG29PT.mjs → FluidProvider-CegGXzwS.mjs} +11 -5
- package/dist/FluidProvider-CegGXzwS.mjs.map +1 -0
- package/dist/{FluidProvider-CvyRvMMa.cjs → FluidProvider-DoY1xRUM.cjs} +11 -5
- package/dist/{FluidProvider-CvyRvMMa.cjs.map → FluidProvider-DoY1xRUM.cjs.map} +1 -1
- package/dist/{MessagingScreen-CkIY-Gkf.cjs → MessagingScreen-BGMv3dIE.cjs} +2 -2
- package/dist/{MessagingScreen-CNFeVh1u.cjs → MessagingScreen-BxFNVnPB.cjs} +2 -2
- package/dist/{MessagingScreen-CNFeVh1u.cjs.map → MessagingScreen-BxFNVnPB.cjs.map} +1 -1
- package/dist/{MessagingScreen-qXNcsl4-.mjs → MessagingScreen-CLYzVDN0.mjs} +2 -2
- package/dist/{MessagingScreen-qXNcsl4-.mjs.map → MessagingScreen-CLYzVDN0.mjs.map} +1 -1
- package/dist/{MessagingScreen-5KqM0KBC.mjs → MessagingScreen-GBjtssBo.mjs} +2 -2
- package/dist/{OrdersScreen-BPqOolGL.cjs → OrdersScreen-CW9q3SSJ.cjs} +2 -2
- package/dist/{OrdersScreen-BPqOolGL.cjs.map → OrdersScreen-CW9q3SSJ.cjs.map} +1 -1
- package/dist/{OrdersScreen-BGLW79kk.mjs → OrdersScreen-Cg5HcgmH.mjs} +2 -2
- package/dist/{OrdersScreen-CNyjYP5D.cjs → OrdersScreen-CoYzyNb0.cjs} +2 -2
- package/dist/{OrdersScreen-CzvcmBtF.mjs → OrdersScreen-uMGJOSzI.mjs} +2 -2
- package/dist/{OrdersScreen-CzvcmBtF.mjs.map → OrdersScreen-uMGJOSzI.mjs.map} +1 -1
- package/dist/{ProfileScreen-QHqdkZr0.mjs → ProfileScreen-BBfb-yb0.mjs} +3 -3
- package/dist/{ProfileScreen-QHqdkZr0.mjs.map → ProfileScreen-BBfb-yb0.mjs.map} +1 -1
- package/dist/{ProfileScreen-BXytHMQ9.mjs → ProfileScreen-B_szE2dH.mjs} +3 -3
- package/dist/{ProfileScreen-DCAvMSez.cjs → ProfileScreen-Bzg2jCK_.cjs} +3 -3
- package/dist/{ProfileScreen-DaiPMlWG.cjs → ProfileScreen-Dv04cioU.cjs} +3 -3
- package/dist/{ProfileScreen-DaiPMlWG.cjs.map → ProfileScreen-Dv04cioU.cjs.map} +1 -1
- package/dist/{ShopScreen-DPrt71ZR.cjs → ShopScreen-CU4vBFTh.cjs} +2 -2
- package/dist/{ShopScreen-DPrt71ZR.cjs.map → ShopScreen-CU4vBFTh.cjs.map} +1 -1
- package/dist/{ShopScreen-Dli69S1r.cjs → ShopScreen-Cv4ybD_r.cjs} +2 -2
- package/dist/{ShopScreen-BY-fGCuv.mjs → ShopScreen-DKy1aSlh.mjs} +2 -2
- package/dist/{ShopScreen-BY-fGCuv.mjs.map → ShopScreen-DKy1aSlh.mjs.map} +1 -1
- package/dist/{ShopScreen-CQm2LayD.mjs → ShopScreen-L4X2wKpT.mjs} +2 -2
- package/dist/{SubscriptionsScreen-DoG57hMn.mjs → SubscriptionsScreen-CGjYmRj3.mjs} +3 -3
- package/dist/{SubscriptionsScreen-DoG57hMn.mjs.map → SubscriptionsScreen-CGjYmRj3.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-CMrn02Xn.cjs → SubscriptionsScreen-DQMgUyOE.cjs} +3 -3
- package/dist/{SubscriptionsScreen-CMrn02Xn.cjs.map → SubscriptionsScreen-DQMgUyOE.cjs.map} +1 -1
- package/dist/{SubscriptionsScreen-tnC24Iv4.cjs → SubscriptionsScreen-ZeR1GQzC.cjs} +3 -3
- package/dist/{SubscriptionsScreen-DlZrgMFX.mjs → SubscriptionsScreen-_7NA14X-.mjs} +3 -3
- package/dist/adapters/account-api-adapter.d.ts.map +1 -1
- package/dist/index.cjs +18 -18
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +18 -18
- package/dist/preview/preview-entry.cjs +2 -2
- package/dist/preview/preview-entry.mjs +2 -2
- package/dist/providers/FluidProvider.d.ts.map +1 -1
- package/dist/screens/ShopScreen.d.ts.map +1 -1
- package/dist/{use-portal-card-add-3ds-flow-BfbkPCl2.mjs → use-portal-card-add-3ds-flow-BCCtRHVn.mjs} +2 -2
- package/dist/{use-portal-card-add-3ds-flow-BfbkPCl2.mjs.map → use-portal-card-add-3ds-flow-BCCtRHVn.mjs.map} +1 -1
- package/dist/{use-portal-card-add-3ds-flow-B05lhrGA.cjs → use-portal-card-add-3ds-flow-CaoqaZ1K.cjs} +2 -2
- package/dist/{use-portal-card-add-3ds-flow-B05lhrGA.cjs.map → use-portal-card-add-3ds-flow-CaoqaZ1K.cjs.map} +1 -1
- package/dist/{widget-package-utils-DdZ28aa2.mjs → widget-package-utils-2JwZzKqr.mjs} +2 -2
- package/dist/{widget-package-utils-DdZ28aa2.mjs.map → widget-package-utils-2JwZzKqr.mjs.map} +1 -1
- package/dist/{widget-package-utils-CJcLEvqE.cjs → widget-package-utils-D46LzFiW.cjs} +2 -2
- package/dist/{widget-package-utils-CJcLEvqE.cjs.map → widget-package-utils-D46LzFiW.cjs.map} +1 -1
- package/dist/widgets/authoring-condition.d.cts +1 -1
- package/dist/widgets/authoring-condition.d.mts +1 -1
- package/package.json +13 -13
- package/dist/FluidProvider-BfcG29PT.mjs.map +0 -1
|
@@ -15778,7 +15778,8 @@ function mapAccount(raw) {
|
|
|
15778
15778
|
social_links: raw.social_links ?? null,
|
|
15779
15779
|
recipient_id: raw.recipient_id ?? null,
|
|
15780
15780
|
default_country_iso: raw.default_country_iso ?? null,
|
|
15781
|
-
share_guid: raw.share_guid ?? null
|
|
15781
|
+
share_guid: raw.share_guid ?? null,
|
|
15782
|
+
market_country_iso: raw.market_country_iso ?? null
|
|
15782
15783
|
};
|
|
15783
15784
|
}
|
|
15784
15785
|
function createAccountApiAdapter(client) {
|
|
@@ -18601,12 +18602,17 @@ function FluidConfigHydrator({ children }) {
|
|
|
18601
18602
|
const outer = useFluidContext();
|
|
18602
18603
|
const { data: account } = require_use_account.useAccount();
|
|
18603
18604
|
const merged = (0, react.useMemo)(() => {
|
|
18604
|
-
|
|
18605
|
+
const resolved = account?.market_country_iso ?? account?.default_country_iso;
|
|
18606
|
+
if (!resolved) return outer;
|
|
18605
18607
|
return { config: {
|
|
18606
18608
|
...outer.config,
|
|
18607
|
-
countryIso:
|
|
18609
|
+
countryIso: resolved
|
|
18608
18610
|
} };
|
|
18609
|
-
}, [
|
|
18611
|
+
}, [
|
|
18612
|
+
outer,
|
|
18613
|
+
account?.market_country_iso,
|
|
18614
|
+
account?.default_country_iso
|
|
18615
|
+
]);
|
|
18610
18616
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FluidContext.Provider, {
|
|
18611
18617
|
value: merged,
|
|
18612
18618
|
children
|
|
@@ -18779,4 +18785,4 @@ Object.defineProperty(exports, "widgetPropertySchemas", {
|
|
|
18779
18785
|
}
|
|
18780
18786
|
});
|
|
18781
18787
|
|
|
18782
|
-
//# sourceMappingURL=FluidProvider-
|
|
18788
|
+
//# sourceMappingURL=FluidProvider-DoY1xRUM.cjs.map
|