@fluid-app/portal-sdk 0.1.389 → 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 (65) 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-CThrU69_.mjs → FluidProvider-CegGXzwS.mjs} +19 -8
  6. package/dist/FluidProvider-CegGXzwS.mjs.map +1 -0
  7. package/dist/{FluidProvider-Bv-611UX.cjs → FluidProvider-DoY1xRUM.cjs} +19 -8
  8. package/dist/FluidProvider-DoY1xRUM.cjs.map +1 -0
  9. package/dist/{MessagingScreen-JRadkjXu.cjs → MessagingScreen-BGMv3dIE.cjs} +2 -2
  10. package/dist/{MessagingScreen-RcSfAzF3.cjs → MessagingScreen-BxFNVnPB.cjs} +2 -2
  11. package/dist/{MessagingScreen-RcSfAzF3.cjs.map → MessagingScreen-BxFNVnPB.cjs.map} +1 -1
  12. package/dist/{MessagingScreen-D1YHkBo9.mjs → MessagingScreen-CLYzVDN0.mjs} +2 -2
  13. package/dist/{MessagingScreen-D1YHkBo9.mjs.map → MessagingScreen-CLYzVDN0.mjs.map} +1 -1
  14. package/dist/{MessagingScreen-TaNsI8dA.mjs → MessagingScreen-GBjtssBo.mjs} +2 -2
  15. package/dist/{OrdersScreen-CrJ1zwId.cjs → OrdersScreen-CW9q3SSJ.cjs} +58 -2
  16. package/dist/OrdersScreen-CW9q3SSJ.cjs.map +1 -0
  17. package/dist/{OrdersScreen-C1MgEQQX.mjs → OrdersScreen-Cg5HcgmH.mjs} +2 -2
  18. package/dist/{OrdersScreen-Cl86Q3H-.cjs → OrdersScreen-CoYzyNb0.cjs} +2 -2
  19. package/dist/{OrdersScreen-BsB2jnzV.mjs → OrdersScreen-uMGJOSzI.mjs} +58 -2
  20. package/dist/OrdersScreen-uMGJOSzI.mjs.map +1 -0
  21. package/dist/{ProfileScreen-rGG2uL5S.mjs → ProfileScreen-BBfb-yb0.mjs} +3 -3
  22. package/dist/{ProfileScreen-rGG2uL5S.mjs.map → ProfileScreen-BBfb-yb0.mjs.map} +1 -1
  23. package/dist/{ProfileScreen-DCLG83Nj.mjs → ProfileScreen-B_szE2dH.mjs} +3 -3
  24. package/dist/{ProfileScreen-BoMEdiOM.cjs → ProfileScreen-Bzg2jCK_.cjs} +3 -3
  25. package/dist/{ProfileScreen-BjnMAGlF.cjs → ProfileScreen-Dv04cioU.cjs} +3 -3
  26. package/dist/{ProfileScreen-BjnMAGlF.cjs.map → ProfileScreen-Dv04cioU.cjs.map} +1 -1
  27. package/dist/{ShopScreen-BJTnBgqC.cjs → ShopScreen-CU4vBFTh.cjs} +2 -2
  28. package/dist/{ShopScreen-BJTnBgqC.cjs.map → ShopScreen-CU4vBFTh.cjs.map} +1 -1
  29. package/dist/{ShopScreen-BVe21Z5Y.cjs → ShopScreen-Cv4ybD_r.cjs} +2 -2
  30. package/dist/{ShopScreen-DkabG0ri.mjs → ShopScreen-DKy1aSlh.mjs} +2 -2
  31. package/dist/{ShopScreen-DkabG0ri.mjs.map → ShopScreen-DKy1aSlh.mjs.map} +1 -1
  32. package/dist/{ShopScreen-RypYnbBz.mjs → ShopScreen-L4X2wKpT.mjs} +2 -2
  33. package/dist/{SubscriptionsScreen-DbNBjZWM.mjs → SubscriptionsScreen-CGjYmRj3.mjs} +3 -3
  34. package/dist/{SubscriptionsScreen-DbNBjZWM.mjs.map → SubscriptionsScreen-CGjYmRj3.mjs.map} +1 -1
  35. package/dist/{SubscriptionsScreen-mQSP3T9t.cjs → SubscriptionsScreen-DQMgUyOE.cjs} +3 -3
  36. package/dist/{SubscriptionsScreen-mQSP3T9t.cjs.map → SubscriptionsScreen-DQMgUyOE.cjs.map} +1 -1
  37. package/dist/{SubscriptionsScreen-CGZZGAOa.cjs → SubscriptionsScreen-ZeR1GQzC.cjs} +3 -3
  38. package/dist/{SubscriptionsScreen-cdpbCLy_.mjs → SubscriptionsScreen-_7NA14X-.mjs} +3 -3
  39. package/dist/adapters/account-api-adapter.d.ts.map +1 -1
  40. package/dist/adapters/orders-api-adapter.d.ts.map +1 -1
  41. package/dist/index.cjs +18 -18
  42. package/dist/index.d.cts +1 -1
  43. package/dist/index.d.cts.map +1 -1
  44. package/dist/index.d.mts +1 -1
  45. package/dist/index.d.mts.map +1 -1
  46. package/dist/index.mjs +18 -18
  47. package/dist/preview/preview-entry.cjs +2 -2
  48. package/dist/preview/preview-entry.mjs +2 -2
  49. package/dist/providers/FluidProvider.d.ts.map +1 -1
  50. package/dist/screens/ShopScreen.d.ts.map +1 -1
  51. package/dist/{use-portal-card-add-3ds-flow-CZrxDpTV.mjs → use-portal-card-add-3ds-flow-BCCtRHVn.mjs} +2 -2
  52. package/dist/{use-portal-card-add-3ds-flow-CZrxDpTV.mjs.map → use-portal-card-add-3ds-flow-BCCtRHVn.mjs.map} +1 -1
  53. package/dist/{use-portal-card-add-3ds-flow-DrWgD6uf.cjs → use-portal-card-add-3ds-flow-CaoqaZ1K.cjs} +2 -2
  54. package/dist/{use-portal-card-add-3ds-flow-DrWgD6uf.cjs.map → use-portal-card-add-3ds-flow-CaoqaZ1K.cjs.map} +1 -1
  55. package/dist/{widget-package-utils-C42fwyj3.mjs → widget-package-utils-2JwZzKqr.mjs} +2 -2
  56. package/dist/{widget-package-utils-C42fwyj3.mjs.map → widget-package-utils-2JwZzKqr.mjs.map} +1 -1
  57. package/dist/{widget-package-utils-CqEcjLCK.cjs → widget-package-utils-D46LzFiW.cjs} +2 -2
  58. package/dist/{widget-package-utils-CqEcjLCK.cjs.map → widget-package-utils-D46LzFiW.cjs.map} +1 -1
  59. package/dist/widgets/authoring-condition.d.cts +1 -1
  60. package/dist/widgets/authoring-condition.d.mts +1 -1
  61. package/package.json +14 -14
  62. package/dist/FluidProvider-Bv-611UX.cjs.map +0 -1
  63. package/dist/FluidProvider-CThrU69_.mjs.map +0 -1
  64. package/dist/OrdersScreen-BsB2jnzV.mjs.map +0 -1
  65. package/dist/OrdersScreen-CrJ1zwId.cjs.map +0 -1
@@ -67,7 +67,7 @@ node_tty = require_chunk.__toESM(node_tty);
67
67
  let zlib = require("zlib");
68
68
  zlib = require_chunk.__toESM(zlib);
69
69
  let events = require("events");
70
- //#region ../../../node_modules/.pnpm/@tanstack+query-core@5.90.12/node_modules/@tanstack/query-core/build/modern/timeoutManager.js
70
+ //#region ../../../node_modules/.pnpm/@tanstack+query-core@5.101.0/node_modules/@tanstack/query-core/build/modern/timeoutManager.js
71
71
  var defaultTimeoutProvider = {
72
72
  setTimeout: (callback, delay) => setTimeout(callback, delay),
73
73
  clearTimeout: (timeoutId) => clearTimeout(timeoutId),
@@ -153,7 +153,7 @@ function hasObjectPrototype(o) {
153
153
  return Object.prototype.toString.call(o) === "[object Object]";
154
154
  }
155
155
  //#endregion
156
- //#region ../../../node_modules/.pnpm/@tanstack+query-core@5.90.12/node_modules/@tanstack/query-core/build/modern/notifyManager.js
156
+ //#region ../../../node_modules/.pnpm/@tanstack+query-core@5.101.0/node_modules/@tanstack/query-core/build/modern/notifyManager.js
157
157
  var defaultScheduler = systemSetTimeoutZero;
158
158
  function createNotifyManager() {
159
159
  let queue = [];
@@ -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) {
@@ -17389,7 +17390,12 @@ const ordersDomain = require_static_dict_adapter.createDomainTranslations({
17389
17390
  load_failed_hint: "Something went wrong on our end. Please try again.",
17390
17391
  try_again: "Try again",
17391
17392
  shipping_address_map: "Shipping address map",
17392
- card_fallback: "Card"
17393
+ card_fallback: "Card",
17394
+ order_on_its_way: "Your order is on its way",
17395
+ tracking_number: "Tracking number",
17396
+ track_package: "Track package",
17397
+ track_package_aria: "Track package {{number}}",
17398
+ track_package_aria_with_carrier: "Track {{carrier}} package {{number}}"
17393
17399
  },
17394
17400
  loaders: {
17395
17401
  de: () => Promise.resolve().then(() => require("./de-BgbCjXtD.cjs")).then((m) => m.default),
@@ -18596,12 +18602,17 @@ function FluidConfigHydrator({ children }) {
18596
18602
  const outer = useFluidContext();
18597
18603
  const { data: account } = require_use_account.useAccount();
18598
18604
  const merged = (0, react.useMemo)(() => {
18599
- if (!account?.default_country_iso) return outer;
18605
+ const resolved = account?.market_country_iso ?? account?.default_country_iso;
18606
+ if (!resolved) return outer;
18600
18607
  return { config: {
18601
18608
  ...outer.config,
18602
- countryIso: account.default_country_iso
18609
+ countryIso: resolved
18603
18610
  } };
18604
- }, [outer, account?.default_country_iso]);
18611
+ }, [
18612
+ outer,
18613
+ account?.market_country_iso,
18614
+ account?.default_country_iso
18615
+ ]);
18605
18616
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FluidContext.Provider, {
18606
18617
  value: merged,
18607
18618
  children
@@ -18774,4 +18785,4 @@ Object.defineProperty(exports, "widgetPropertySchemas", {
18774
18785
  }
18775
18786
  });
18776
18787
 
18777
- //# sourceMappingURL=FluidProvider-Bv-611UX.cjs.map
18788
+ //# sourceMappingURL=FluidProvider-DoY1xRUM.cjs.map