@fluid-app/portal-sdk 0.1.390 → 0.1.391

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.
Files changed (61) hide show
  1. package/dist/{AppNavigationContext-Dw_On0va.d.mts → AppNavigationContext-BSSOfIHg.d.mts} +8 -1
  2. package/dist/{AppNavigationContext-Dw_On0va.d.mts.map → AppNavigationContext-BSSOfIHg.d.mts.map} +1 -1
  3. package/dist/{AppNavigationContext-Db_mFrXm.d.cts → AppNavigationContext-C8hrkgZR.d.cts} +8 -1
  4. package/dist/{AppNavigationContext-Db_mFrXm.d.cts.map → AppNavigationContext-C8hrkgZR.d.cts.map} +1 -1
  5. package/dist/{FluidProvider-BfcG29PT.mjs → FluidProvider-CegGXzwS.mjs} +11 -5
  6. package/dist/FluidProvider-CegGXzwS.mjs.map +1 -0
  7. package/dist/{FluidProvider-CvyRvMMa.cjs → FluidProvider-DoY1xRUM.cjs} +11 -5
  8. package/dist/{FluidProvider-CvyRvMMa.cjs.map → FluidProvider-DoY1xRUM.cjs.map} +1 -1
  9. package/dist/{MessagingScreen-CkIY-Gkf.cjs → MessagingScreen-BGMv3dIE.cjs} +2 -2
  10. package/dist/{MessagingScreen-CNFeVh1u.cjs → MessagingScreen-BxFNVnPB.cjs} +2 -2
  11. package/dist/{MessagingScreen-CNFeVh1u.cjs.map → MessagingScreen-BxFNVnPB.cjs.map} +1 -1
  12. package/dist/{MessagingScreen-qXNcsl4-.mjs → MessagingScreen-CLYzVDN0.mjs} +2 -2
  13. package/dist/{MessagingScreen-qXNcsl4-.mjs.map → MessagingScreen-CLYzVDN0.mjs.map} +1 -1
  14. package/dist/{MessagingScreen-5KqM0KBC.mjs → MessagingScreen-GBjtssBo.mjs} +2 -2
  15. package/dist/{OrdersScreen-BPqOolGL.cjs → OrdersScreen-CW9q3SSJ.cjs} +2 -2
  16. package/dist/{OrdersScreen-BPqOolGL.cjs.map → OrdersScreen-CW9q3SSJ.cjs.map} +1 -1
  17. package/dist/{OrdersScreen-BGLW79kk.mjs → OrdersScreen-Cg5HcgmH.mjs} +2 -2
  18. package/dist/{OrdersScreen-CNyjYP5D.cjs → OrdersScreen-CoYzyNb0.cjs} +2 -2
  19. package/dist/{OrdersScreen-CzvcmBtF.mjs → OrdersScreen-uMGJOSzI.mjs} +2 -2
  20. package/dist/{OrdersScreen-CzvcmBtF.mjs.map → OrdersScreen-uMGJOSzI.mjs.map} +1 -1
  21. package/dist/{ProfileScreen-QHqdkZr0.mjs → ProfileScreen-BBfb-yb0.mjs} +3 -3
  22. package/dist/{ProfileScreen-QHqdkZr0.mjs.map → ProfileScreen-BBfb-yb0.mjs.map} +1 -1
  23. package/dist/{ProfileScreen-BXytHMQ9.mjs → ProfileScreen-B_szE2dH.mjs} +3 -3
  24. package/dist/{ProfileScreen-DCAvMSez.cjs → ProfileScreen-Bzg2jCK_.cjs} +3 -3
  25. package/dist/{ProfileScreen-DaiPMlWG.cjs → ProfileScreen-Dv04cioU.cjs} +3 -3
  26. package/dist/{ProfileScreen-DaiPMlWG.cjs.map → ProfileScreen-Dv04cioU.cjs.map} +1 -1
  27. package/dist/{ShopScreen-DPrt71ZR.cjs → ShopScreen-CU4vBFTh.cjs} +2 -2
  28. package/dist/{ShopScreen-DPrt71ZR.cjs.map → ShopScreen-CU4vBFTh.cjs.map} +1 -1
  29. package/dist/{ShopScreen-Dli69S1r.cjs → ShopScreen-Cv4ybD_r.cjs} +2 -2
  30. package/dist/{ShopScreen-BY-fGCuv.mjs → ShopScreen-DKy1aSlh.mjs} +2 -2
  31. package/dist/{ShopScreen-BY-fGCuv.mjs.map → ShopScreen-DKy1aSlh.mjs.map} +1 -1
  32. package/dist/{ShopScreen-CQm2LayD.mjs → ShopScreen-L4X2wKpT.mjs} +2 -2
  33. package/dist/{SubscriptionsScreen-DoG57hMn.mjs → SubscriptionsScreen-CGjYmRj3.mjs} +3 -3
  34. package/dist/{SubscriptionsScreen-DoG57hMn.mjs.map → SubscriptionsScreen-CGjYmRj3.mjs.map} +1 -1
  35. package/dist/{SubscriptionsScreen-CMrn02Xn.cjs → SubscriptionsScreen-DQMgUyOE.cjs} +3 -3
  36. package/dist/{SubscriptionsScreen-CMrn02Xn.cjs.map → SubscriptionsScreen-DQMgUyOE.cjs.map} +1 -1
  37. package/dist/{SubscriptionsScreen-tnC24Iv4.cjs → SubscriptionsScreen-ZeR1GQzC.cjs} +3 -3
  38. package/dist/{SubscriptionsScreen-DlZrgMFX.mjs → SubscriptionsScreen-_7NA14X-.mjs} +3 -3
  39. package/dist/adapters/account-api-adapter.d.ts.map +1 -1
  40. package/dist/index.cjs +18 -18
  41. package/dist/index.d.cts +1 -1
  42. package/dist/index.d.cts.map +1 -1
  43. package/dist/index.d.mts +1 -1
  44. package/dist/index.d.mts.map +1 -1
  45. package/dist/index.mjs +18 -18
  46. package/dist/preview/preview-entry.cjs +2 -2
  47. package/dist/preview/preview-entry.mjs +2 -2
  48. package/dist/providers/FluidProvider.d.ts.map +1 -1
  49. package/dist/screens/ShopScreen.d.ts.map +1 -1
  50. package/dist/{use-portal-card-add-3ds-flow-BfbkPCl2.mjs → use-portal-card-add-3ds-flow-BCCtRHVn.mjs} +2 -2
  51. package/dist/{use-portal-card-add-3ds-flow-BfbkPCl2.mjs.map → use-portal-card-add-3ds-flow-BCCtRHVn.mjs.map} +1 -1
  52. package/dist/{use-portal-card-add-3ds-flow-B05lhrGA.cjs → use-portal-card-add-3ds-flow-CaoqaZ1K.cjs} +2 -2
  53. package/dist/{use-portal-card-add-3ds-flow-B05lhrGA.cjs.map → use-portal-card-add-3ds-flow-CaoqaZ1K.cjs.map} +1 -1
  54. package/dist/{widget-package-utils-DdZ28aa2.mjs → widget-package-utils-2JwZzKqr.mjs} +2 -2
  55. package/dist/{widget-package-utils-DdZ28aa2.mjs.map → widget-package-utils-2JwZzKqr.mjs.map} +1 -1
  56. package/dist/{widget-package-utils-CJcLEvqE.cjs → widget-package-utils-D46LzFiW.cjs} +2 -2
  57. package/dist/{widget-package-utils-CJcLEvqE.cjs.map → widget-package-utils-D46LzFiW.cjs.map} +1 -1
  58. package/dist/widgets/authoring-condition.d.cts +1 -1
  59. package/dist/widgets/authoring-condition.d.mts +1 -1
  60. package/package.json +13 -13
  61. 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
- if (!account?.default_country_iso) return outer;
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: account.default_country_iso
18609
+ countryIso: resolved
18608
18610
  } };
18609
- }, [outer, account?.default_country_iso]);
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-CvyRvMMa.cjs.map
18788
+ //# sourceMappingURL=FluidProvider-DoY1xRUM.cjs.map