@fluid-app/portal-sdk 0.1.235 → 0.1.237

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 (68) hide show
  1. package/dist/{AppDownloadScreen-B0YwMqYM.cjs → AppDownloadScreen-BXnl23_d.cjs} +2 -2
  2. package/dist/{AppDownloadScreen-B0YwMqYM.cjs.map → AppDownloadScreen-BXnl23_d.cjs.map} +1 -1
  3. package/dist/{AppDownloadScreen-CT_TvZfy.mjs → AppDownloadScreen-DQR40F0y.mjs} +2 -2
  4. package/dist/{AppDownloadScreen-CT_TvZfy.mjs.map → AppDownloadScreen-DQR40F0y.mjs.map} +1 -1
  5. package/dist/{AppNavigationContext-BDs1cOuG.cjs → AppNavigationContext-C1-hd9Rw.cjs} +1 -1
  6. package/dist/{AppNavigationContext-BDs1cOuG.cjs.map → AppNavigationContext-C1-hd9Rw.cjs.map} +1 -1
  7. package/dist/{AppNavigationContext-DNod9mf6.mjs → AppNavigationContext-Dvc0yoZF.mjs} +1 -1
  8. package/dist/{AppNavigationContext-DNod9mf6.mjs.map → AppNavigationContext-Dvc0yoZF.mjs.map} +1 -1
  9. package/dist/{ContactsScreen-BaILrn_J.cjs → ContactsScreen-CH_P8WxC.cjs} +1 -1
  10. package/dist/{ContactsScreen-C0TixAga.mjs → ContactsScreen-CMBERzKU.mjs} +2 -2
  11. package/dist/{ContactsScreen-C0TixAga.mjs.map → ContactsScreen-CMBERzKU.mjs.map} +1 -1
  12. package/dist/{ContactsScreen-Cgpeq_3G.cjs → ContactsScreen-Cj0_VI0d.cjs} +2 -2
  13. package/dist/{ContactsScreen-Cgpeq_3G.cjs.map → ContactsScreen-Cj0_VI0d.cjs.map} +1 -1
  14. package/dist/{CustomersScreen-DJzgMofN.mjs → CustomersScreen-BJOBG5f5.mjs} +1 -1
  15. package/dist/{CustomersScreen-DJzgMofN.mjs.map → CustomersScreen-BJOBG5f5.mjs.map} +1 -1
  16. package/dist/{CustomersScreen-GROLIynQ.cjs → CustomersScreen-DW3BuhBs.cjs} +1 -1
  17. package/dist/{CustomersScreen-GROLIynQ.cjs.map → CustomersScreen-DW3BuhBs.cjs.map} +1 -1
  18. package/dist/{MessagingScreen-CAqiCGjA.cjs → MessagingScreen-40YCQbX9.cjs} +3 -3
  19. package/dist/{MessagingScreen-CAqiCGjA.cjs.map → MessagingScreen-40YCQbX9.cjs.map} +1 -1
  20. package/dist/{MessagingScreen-DNxIsd2Q.cjs → MessagingScreen-CrdiB4M3.cjs} +1 -1
  21. package/dist/{MessagingScreen-BzTN_FU8.mjs → MessagingScreen-RItZgONw.mjs} +3 -3
  22. package/dist/{MessagingScreen-BzTN_FU8.mjs.map → MessagingScreen-RItZgONw.mjs.map} +1 -1
  23. package/dist/{OrdersScreen-BlZgI0XT.mjs → OrdersScreen-BV3vJ7xy.mjs} +2 -2
  24. package/dist/{OrdersScreen-BlZgI0XT.mjs.map → OrdersScreen-BV3vJ7xy.mjs.map} +1 -1
  25. package/dist/{OrdersScreen-Cr_2QuUc.cjs → OrdersScreen-Cuch7aki.cjs} +1 -1
  26. package/dist/{OrdersScreen-BrqNjvTY.cjs → OrdersScreen-DPcp2dLW.cjs} +2 -2
  27. package/dist/{OrdersScreen-BrqNjvTY.cjs.map → OrdersScreen-DPcp2dLW.cjs.map} +1 -1
  28. package/dist/{ProfileScreen-ZN-A1RDl.cjs → ProfileScreen-CEKbhSRz.cjs} +3 -3
  29. package/dist/{ProfileScreen-ZN-A1RDl.cjs.map → ProfileScreen-CEKbhSRz.cjs.map} +1 -1
  30. package/dist/{ProfileScreen-DFkgLmNL.mjs → ProfileScreen-CeD1jq89.mjs} +3 -3
  31. package/dist/{ProfileScreen-DFkgLmNL.mjs.map → ProfileScreen-CeD1jq89.mjs.map} +1 -1
  32. package/dist/{ProfileScreen-Urnx0LDK.cjs → ProfileScreen-Dex8VHSB.cjs} +1 -1
  33. package/dist/{ShareablesScreen-DlrTvvXe.cjs → ShareablesScreen-Bt0E1aya.cjs} +4 -4
  34. package/dist/{ShareablesScreen-DlrTvvXe.cjs.map → ShareablesScreen-Bt0E1aya.cjs.map} +1 -1
  35. package/dist/{ShareablesScreen-CvIi80jN.mjs → ShareablesScreen-D3Hfqg9-.mjs} +4 -4
  36. package/dist/{ShareablesScreen-CvIi80jN.mjs.map → ShareablesScreen-D3Hfqg9-.mjs.map} +1 -1
  37. package/dist/{ShareablesScreen-Boi-_GvN.cjs → ShareablesScreen-LSyiDa6q.cjs} +1 -1
  38. package/dist/{ShopScreen-2FSVxXiE.cjs → ShopScreen-BiqZPyiB.cjs} +3 -3
  39. package/dist/{ShopScreen-2FSVxXiE.cjs.map → ShopScreen-BiqZPyiB.cjs.map} +1 -1
  40. package/dist/{ShopScreen-BxjZQ0SG.cjs → ShopScreen-Cgro0M1d.cjs} +1 -1
  41. package/dist/{ShopScreen-Bkuiya9D.mjs → ShopScreen-dAe71cdL.mjs} +3 -3
  42. package/dist/{ShopScreen-Bkuiya9D.mjs.map → ShopScreen-dAe71cdL.mjs.map} +1 -1
  43. package/dist/{SubscriptionsScreen-B7pAMsaf.mjs → SubscriptionsScreen-CXM2zmF7.mjs} +4 -4
  44. package/dist/{SubscriptionsScreen-B7pAMsaf.mjs.map → SubscriptionsScreen-CXM2zmF7.mjs.map} +1 -1
  45. package/dist/{SubscriptionsScreen-Cv3C3SVW.cjs → SubscriptionsScreen-DrDSwMXS.cjs} +4 -4
  46. package/dist/{SubscriptionsScreen-Cv3C3SVW.cjs.map → SubscriptionsScreen-DrDSwMXS.cjs.map} +1 -1
  47. package/dist/{SubscriptionsScreen-BbokDXZD.cjs → SubscriptionsScreen-t5wtDGfB.cjs} +1 -1
  48. package/dist/index.cjs +159 -172
  49. package/dist/index.cjs.map +1 -1
  50. package/dist/index.d.cts +10 -1
  51. package/dist/index.d.cts.map +1 -1
  52. package/dist/index.d.mts +10 -1
  53. package/dist/index.d.mts.map +1 -1
  54. package/dist/index.mjs +159 -172
  55. package/dist/index.mjs.map +1 -1
  56. package/dist/{query-keys-D3lK70Ea.cjs → query-keys-elu0svUd.cjs} +1 -1
  57. package/dist/{query-keys-D3lK70Ea.cjs.map → query-keys-elu0svUd.cjs.map} +1 -1
  58. package/dist/{query-keys-xJy_fapN.mjs → query-keys-oQKvV4jp.mjs} +1 -1
  59. package/dist/{query-keys-xJy_fapN.mjs.map → query-keys-oQKvV4jp.mjs.map} +1 -1
  60. package/dist/{use-account-DcBCP06c.cjs → use-account-C1X-VLY-.cjs} +2 -2
  61. package/dist/{use-account-DcBCP06c.cjs.map → use-account-C1X-VLY-.cjs.map} +1 -1
  62. package/dist/{use-account-CBMPhhs7.mjs → use-account-C76sphlu.mjs} +2 -2
  63. package/dist/{use-account-CBMPhhs7.mjs.map → use-account-C76sphlu.mjs.map} +1 -1
  64. package/dist/{use-store-By_7tzrN.mjs → use-store-C2KBIS41.mjs} +1 -1
  65. package/dist/{use-store-By_7tzrN.mjs.map → use-store-C2KBIS41.mjs.map} +1 -1
  66. package/dist/{use-store-lOOUcpRT.cjs → use-store-D2S1FywW.cjs} +1 -1
  67. package/dist/{use-store-lOOUcpRT.cjs.map → use-store-D2S1FywW.cjs.map} +1 -1
  68. package/package.json +16 -16
@@ -41,4 +41,4 @@ Object.defineProperty(exports, "storeKeys", {
41
41
  }
42
42
  });
43
43
 
44
- //# sourceMappingURL=query-keys-D3lK70Ea.cjs.map
44
+ //# sourceMappingURL=query-keys-elu0svUd.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-keys-D3lK70Ea.cjs","names":[],"sources":["../src/account/query-keys.ts"],"sourcesContent":["export const accountKeys = {\n all: [\"portalTenant\", \"account\"] as const,\n detail: (userId?: number) => [...accountKeys.all, userId] as const,\n} as const;\n\nexport const storeKeys = {\n countries: () => [\"bff-store-countries\"] as const,\n languages: () => [\"bff-store-languages\"] as const,\n} as const;\n\nexport const payKeys = {\n addresses: {\n all: [\"portalTenant\", \"addresses\"] as const,\n list: (userId?: number) => [...payKeys.addresses.all, userId] as const,\n },\n paymentMethods: {\n all: [\"portalTenant\", \"paymentMethods\"] as const,\n list: (userId?: number) => [...payKeys.paymentMethods.all, userId] as const,\n },\n pointsLedgers: {\n all: [\"portalTenant\", \"pointsLedgers\"] as const,\n list: (userId?: number) => [...payKeys.pointsLedgers.all, userId] as const,\n },\n} as const;\n"],"mappings":";AAAA,MAAa,cAAc;CACzB,KAAK,CAAC,gBAAgB,UAAU;CAChC,SAAS,WAAoB,CAAC,GAAG,YAAY,KAAK,OAAO;CAC1D;AAED,MAAa,YAAY;CACvB,iBAAiB,CAAC,sBAAsB;CACxC,iBAAiB,CAAC,sBAAsB;CACzC;AAED,MAAa,UAAU;CACrB,WAAW;EACT,KAAK,CAAC,gBAAgB,YAAY;EAClC,OAAO,WAAoB,CAAC,GAAG,QAAQ,UAAU,KAAK,OAAO;EAC9D;CACD,gBAAgB;EACd,KAAK,CAAC,gBAAgB,iBAAiB;EACvC,OAAO,WAAoB,CAAC,GAAG,QAAQ,eAAe,KAAK,OAAO;EACnE;CACD,eAAe;EACb,KAAK,CAAC,gBAAgB,gBAAgB;EACtC,OAAO,WAAoB,CAAC,GAAG,QAAQ,cAAc,KAAK,OAAO;EAClE;CACF"}
1
+ {"version":3,"file":"query-keys-elu0svUd.cjs","names":[],"sources":["../src/account/query-keys.ts"],"sourcesContent":["export const accountKeys = {\n all: [\"portalTenant\", \"account\"] as const,\n detail: (userId?: number) => [...accountKeys.all, userId] as const,\n} as const;\n\nexport const storeKeys = {\n countries: () => [\"bff-store-countries\"] as const,\n languages: () => [\"bff-store-languages\"] as const,\n} as const;\n\nexport const payKeys = {\n addresses: {\n all: [\"portalTenant\", \"addresses\"] as const,\n list: (userId?: number) => [...payKeys.addresses.all, userId] as const,\n },\n paymentMethods: {\n all: [\"portalTenant\", \"paymentMethods\"] as const,\n list: (userId?: number) => [...payKeys.paymentMethods.all, userId] as const,\n },\n pointsLedgers: {\n all: [\"portalTenant\", \"pointsLedgers\"] as const,\n list: (userId?: number) => [...payKeys.pointsLedgers.all, userId] as const,\n },\n} as const;\n"],"mappings":";AAAA,MAAa,cAAc;CACzB,KAAK,CAAC,gBAAgB,UAAU;CAChC,SAAS,WAAoB,CAAC,GAAG,YAAY,KAAK,OAAO;CAC1D;AAED,MAAa,YAAY;CACvB,iBAAiB,CAAC,sBAAsB;CACxC,iBAAiB,CAAC,sBAAsB;CACzC;AAED,MAAa,UAAU;CACrB,WAAW;EACT,KAAK,CAAC,gBAAgB,YAAY;EAClC,OAAO,WAAoB,CAAC,GAAG,QAAQ,UAAU,KAAK,OAAO;EAC9D;CACD,gBAAgB;EACd,KAAK,CAAC,gBAAgB,iBAAiB;EACvC,OAAO,WAAoB,CAAC,GAAG,QAAQ,eAAe,KAAK,OAAO;EACnE;CACD,eAAe;EACb,KAAK,CAAC,gBAAgB,gBAAgB;EACtC,OAAO,WAAoB,CAAC,GAAG,QAAQ,cAAc,KAAK,OAAO;EAClE;CACF"}
@@ -24,4 +24,4 @@ const payKeys = {
24
24
  //#endregion
25
25
  export { payKeys as n, storeKeys as r, accountKeys as t };
26
26
 
27
- //# sourceMappingURL=query-keys-xJy_fapN.mjs.map
27
+ //# sourceMappingURL=query-keys-oQKvV4jp.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-keys-xJy_fapN.mjs","names":[],"sources":["../src/account/query-keys.ts"],"sourcesContent":["export const accountKeys = {\n all: [\"portalTenant\", \"account\"] as const,\n detail: (userId?: number) => [...accountKeys.all, userId] as const,\n} as const;\n\nexport const storeKeys = {\n countries: () => [\"bff-store-countries\"] as const,\n languages: () => [\"bff-store-languages\"] as const,\n} as const;\n\nexport const payKeys = {\n addresses: {\n all: [\"portalTenant\", \"addresses\"] as const,\n list: (userId?: number) => [...payKeys.addresses.all, userId] as const,\n },\n paymentMethods: {\n all: [\"portalTenant\", \"paymentMethods\"] as const,\n list: (userId?: number) => [...payKeys.paymentMethods.all, userId] as const,\n },\n pointsLedgers: {\n all: [\"portalTenant\", \"pointsLedgers\"] as const,\n list: (userId?: number) => [...payKeys.pointsLedgers.all, userId] as const,\n },\n} as const;\n"],"mappings":";AAAA,MAAa,cAAc;CACzB,KAAK,CAAC,gBAAgB,UAAU;CAChC,SAAS,WAAoB,CAAC,GAAG,YAAY,KAAK,OAAO;CAC1D;AAED,MAAa,YAAY;CACvB,iBAAiB,CAAC,sBAAsB;CACxC,iBAAiB,CAAC,sBAAsB;CACzC;AAED,MAAa,UAAU;CACrB,WAAW;EACT,KAAK,CAAC,gBAAgB,YAAY;EAClC,OAAO,WAAoB,CAAC,GAAG,QAAQ,UAAU,KAAK,OAAO;EAC9D;CACD,gBAAgB;EACd,KAAK,CAAC,gBAAgB,iBAAiB;EACvC,OAAO,WAAoB,CAAC,GAAG,QAAQ,eAAe,KAAK,OAAO;EACnE;CACD,eAAe;EACb,KAAK,CAAC,gBAAgB,gBAAgB;EACtC,OAAO,WAAoB,CAAC,GAAG,QAAQ,cAAc,KAAK,OAAO;EAClE;CACF"}
1
+ {"version":3,"file":"query-keys-oQKvV4jp.mjs","names":[],"sources":["../src/account/query-keys.ts"],"sourcesContent":["export const accountKeys = {\n all: [\"portalTenant\", \"account\"] as const,\n detail: (userId?: number) => [...accountKeys.all, userId] as const,\n} as const;\n\nexport const storeKeys = {\n countries: () => [\"bff-store-countries\"] as const,\n languages: () => [\"bff-store-languages\"] as const,\n} as const;\n\nexport const payKeys = {\n addresses: {\n all: [\"portalTenant\", \"addresses\"] as const,\n list: (userId?: number) => [...payKeys.addresses.all, userId] as const,\n },\n paymentMethods: {\n all: [\"portalTenant\", \"paymentMethods\"] as const,\n list: (userId?: number) => [...payKeys.paymentMethods.all, userId] as const,\n },\n pointsLedgers: {\n all: [\"portalTenant\", \"pointsLedgers\"] as const,\n list: (userId?: number) => [...payKeys.pointsLedgers.all, userId] as const,\n },\n} as const;\n"],"mappings":";AAAA,MAAa,cAAc;CACzB,KAAK,CAAC,gBAAgB,UAAU;CAChC,SAAS,WAAoB,CAAC,GAAG,YAAY,KAAK,OAAO;CAC1D;AAED,MAAa,YAAY;CACvB,iBAAiB,CAAC,sBAAsB;CACxC,iBAAiB,CAAC,sBAAsB;CACzC;AAED,MAAa,UAAU;CACrB,WAAW;EACT,KAAK,CAAC,gBAAgB,YAAY;EAClC,OAAO,WAAoB,CAAC,GAAG,QAAQ,UAAU,KAAK,OAAO;EAC9D;CACD,gBAAgB;EACd,KAAK,CAAC,gBAAgB,iBAAiB;EACvC,OAAO,WAAoB,CAAC,GAAG,QAAQ,eAAe,KAAK,OAAO;EACnE;CACD,eAAe;EACb,KAAK,CAAC,gBAAgB,gBAAgB;EACtC,OAAO,WAAoB,CAAC,GAAG,QAAQ,cAAc,KAAK,OAAO;EAClE;CACF"}
@@ -1,6 +1,6 @@
1
1
  require("./chunk-9hOWP6kD.cjs");
2
2
  const require_account_api_context = require("./account-api-context-DZP9IiGg.cjs");
3
- const require_query_keys = require("./query-keys-D3lK70Ea.cjs");
3
+ const require_query_keys = require("./query-keys-elu0svUd.cjs");
4
4
  let _tanstack_react_query = require("@tanstack/react-query");
5
5
  //#region src/hooks/use-account.ts
6
6
  /**
@@ -25,4 +25,4 @@ Object.defineProperty(exports, "useAccount", {
25
25
  }
26
26
  });
27
27
 
28
- //# sourceMappingURL=use-account-DcBCP06c.cjs.map
28
+ //# sourceMappingURL=use-account-C1X-VLY-.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-account-DcBCP06c.cjs","names":["useAccountApi","accountKeys"],"sources":["../src/hooks/use-account.ts"],"sourcesContent":["import { useQuery, type UseQueryResult } from \"@tanstack/react-query\";\nimport { useAccountApi } from \"@fluid-app/portal-core/account-api-context\";\nimport type { AccountRep } from \"@fluid-app/portal-core/account-types\";\nimport { accountKeys } from \"../account/query-keys\";\n\n/**\n * Fetches the current user's account from GET /api/account.\n * Replaces the old useCurrentUser (which called non-existent /api/me).\n */\nexport function useAccount(): UseQueryResult<AccountRep> {\n const api = useAccountApi();\n\n return useQuery({\n queryKey: accountKeys.detail(),\n queryFn: async () => {\n const response = await api.fetchAccount();\n return response.account;\n },\n staleTime: 5 * 60 * 1000,\n });\n}\n"],"mappings":";;;;;;;;;AASA,SAAgB,aAAyC;CACvD,MAAM,MAAMA,4BAAAA,eAAe;AAE3B,SAAA,GAAA,sBAAA,UAAgB;EACd,UAAUC,mBAAAA,YAAY,QAAQ;EAC9B,SAAS,YAAY;AAEnB,WADiB,MAAM,IAAI,cAAc,EACzB;;EAElB,WAAW,MAAS;EACrB,CAAC"}
1
+ {"version":3,"file":"use-account-C1X-VLY-.cjs","names":["useAccountApi","accountKeys"],"sources":["../src/hooks/use-account.ts"],"sourcesContent":["import { useQuery, type UseQueryResult } from \"@tanstack/react-query\";\nimport { useAccountApi } from \"@fluid-app/portal-core/account-api-context\";\nimport type { AccountRep } from \"@fluid-app/portal-core/account-types\";\nimport { accountKeys } from \"../account/query-keys\";\n\n/**\n * Fetches the current user's account from GET /api/account.\n * Replaces the old useCurrentUser (which called non-existent /api/me).\n */\nexport function useAccount(): UseQueryResult<AccountRep> {\n const api = useAccountApi();\n\n return useQuery({\n queryKey: accountKeys.detail(),\n queryFn: async () => {\n const response = await api.fetchAccount();\n return response.account;\n },\n staleTime: 5 * 60 * 1000,\n });\n}\n"],"mappings":";;;;;;;;;AASA,SAAgB,aAAyC;CACvD,MAAM,MAAMA,4BAAAA,eAAe;AAE3B,SAAA,GAAA,sBAAA,UAAgB;EACd,UAAUC,mBAAAA,YAAY,QAAQ;EAC9B,SAAS,YAAY;AAEnB,WADiB,MAAM,IAAI,cAAc,EACzB;;EAElB,WAAW,MAAS;EACrB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { n as useAccountApi } from "./account-api-context-BIZ_aibJ.mjs";
2
- import { t as accountKeys } from "./query-keys-xJy_fapN.mjs";
2
+ import { t as accountKeys } from "./query-keys-oQKvV4jp.mjs";
3
3
  import { useQuery } from "@tanstack/react-query";
4
4
  //#region src/hooks/use-account.ts
5
5
  /**
@@ -19,4 +19,4 @@ function useAccount() {
19
19
  //#endregion
20
20
  export { useAccount as t };
21
21
 
22
- //# sourceMappingURL=use-account-CBMPhhs7.mjs.map
22
+ //# sourceMappingURL=use-account-C76sphlu.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-account-CBMPhhs7.mjs","names":[],"sources":["../src/hooks/use-account.ts"],"sourcesContent":["import { useQuery, type UseQueryResult } from \"@tanstack/react-query\";\nimport { useAccountApi } from \"@fluid-app/portal-core/account-api-context\";\nimport type { AccountRep } from \"@fluid-app/portal-core/account-types\";\nimport { accountKeys } from \"../account/query-keys\";\n\n/**\n * Fetches the current user's account from GET /api/account.\n * Replaces the old useCurrentUser (which called non-existent /api/me).\n */\nexport function useAccount(): UseQueryResult<AccountRep> {\n const api = useAccountApi();\n\n return useQuery({\n queryKey: accountKeys.detail(),\n queryFn: async () => {\n const response = await api.fetchAccount();\n return response.account;\n },\n staleTime: 5 * 60 * 1000,\n });\n}\n"],"mappings":";;;;;;;;AASA,SAAgB,aAAyC;CACvD,MAAM,MAAM,eAAe;AAE3B,QAAO,SAAS;EACd,UAAU,YAAY,QAAQ;EAC9B,SAAS,YAAY;AAEnB,WADiB,MAAM,IAAI,cAAc,EACzB;;EAElB,WAAW,MAAS;EACrB,CAAC"}
1
+ {"version":3,"file":"use-account-C76sphlu.mjs","names":[],"sources":["../src/hooks/use-account.ts"],"sourcesContent":["import { useQuery, type UseQueryResult } from \"@tanstack/react-query\";\nimport { useAccountApi } from \"@fluid-app/portal-core/account-api-context\";\nimport type { AccountRep } from \"@fluid-app/portal-core/account-types\";\nimport { accountKeys } from \"../account/query-keys\";\n\n/**\n * Fetches the current user's account from GET /api/account.\n * Replaces the old useCurrentUser (which called non-existent /api/me).\n */\nexport function useAccount(): UseQueryResult<AccountRep> {\n const api = useAccountApi();\n\n return useQuery({\n queryKey: accountKeys.detail(),\n queryFn: async () => {\n const response = await api.fetchAccount();\n return response.account;\n },\n staleTime: 5 * 60 * 1000,\n });\n}\n"],"mappings":";;;;;;;;AASA,SAAgB,aAAyC;CACvD,MAAM,MAAM,eAAe;AAE3B,QAAO,SAAS;EACd,UAAU,YAAY,QAAQ;EAC9B,SAAS,YAAY;AAEnB,WADiB,MAAM,IAAI,cAAc,EACzB;;EAElB,WAAW,MAAS;EACrB,CAAC"}
@@ -17,4 +17,4 @@ function useStore() {
17
17
  //#endregion
18
18
  export { useStore as t };
19
19
 
20
- //# sourceMappingURL=use-store-By_7tzrN.mjs.map
20
+ //# sourceMappingURL=use-store-C2KBIS41.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-store-By_7tzrN.mjs","names":[],"sources":["../src/hooks/use-store.ts"],"sourcesContent":["import { useQuery, type UseQueryResult } from \"@tanstack/react-query\";\nimport { useStoreApi } from \"@fluid-app/portal-core/store-api-context\";\nimport type { Store } from \"@fluid-app/portal-core/store-types\";\n\n/**\n * Fetches the tenant store branding from GET /api/store.\n */\nexport function useStore(): UseQueryResult<Store> {\n const api = useStoreApi();\n\n return useQuery({\n queryKey: [\"portalTenant\", \"store\"],\n queryFn: async () => {\n const response = await api.fetchStore();\n return response.store;\n },\n staleTime: 5 * 60 * 1000,\n });\n}\n"],"mappings":";;;;;;AAOA,SAAgB,WAAkC;CAChD,MAAM,MAAM,aAAa;AAEzB,QAAO,SAAS;EACd,UAAU,CAAC,gBAAgB,QAAQ;EACnC,SAAS,YAAY;AAEnB,WADiB,MAAM,IAAI,YAAY,EACvB;;EAElB,WAAW,MAAS;EACrB,CAAC"}
1
+ {"version":3,"file":"use-store-C2KBIS41.mjs","names":[],"sources":["../src/hooks/use-store.ts"],"sourcesContent":["import { useQuery, type UseQueryResult } from \"@tanstack/react-query\";\nimport { useStoreApi } from \"@fluid-app/portal-core/store-api-context\";\nimport type { Store } from \"@fluid-app/portal-core/store-types\";\n\n/**\n * Fetches the tenant store branding from GET /api/store.\n */\nexport function useStore(): UseQueryResult<Store> {\n const api = useStoreApi();\n\n return useQuery({\n queryKey: [\"portalTenant\", \"store\"],\n queryFn: async () => {\n const response = await api.fetchStore();\n return response.store;\n },\n staleTime: 5 * 60 * 1000,\n });\n}\n"],"mappings":";;;;;;AAOA,SAAgB,WAAkC;CAChD,MAAM,MAAM,aAAa;AAEzB,QAAO,SAAS;EACd,UAAU,CAAC,gBAAgB,QAAQ;EACnC,SAAS,YAAY;AAEnB,WADiB,MAAM,IAAI,YAAY,EACvB;;EAElB,WAAW,MAAS;EACrB,CAAC"}
@@ -23,4 +23,4 @@ Object.defineProperty(exports, "useStore", {
23
23
  }
24
24
  });
25
25
 
26
- //# sourceMappingURL=use-store-lOOUcpRT.cjs.map
26
+ //# sourceMappingURL=use-store-D2S1FywW.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-store-lOOUcpRT.cjs","names":["useStoreApi"],"sources":["../src/hooks/use-store.ts"],"sourcesContent":["import { useQuery, type UseQueryResult } from \"@tanstack/react-query\";\nimport { useStoreApi } from \"@fluid-app/portal-core/store-api-context\";\nimport type { Store } from \"@fluid-app/portal-core/store-types\";\n\n/**\n * Fetches the tenant store branding from GET /api/store.\n */\nexport function useStore(): UseQueryResult<Store> {\n const api = useStoreApi();\n\n return useQuery({\n queryKey: [\"portalTenant\", \"store\"],\n queryFn: async () => {\n const response = await api.fetchStore();\n return response.store;\n },\n staleTime: 5 * 60 * 1000,\n });\n}\n"],"mappings":";;;;;;;AAOA,SAAgB,WAAkC;CAChD,MAAM,MAAMA,0BAAAA,aAAa;AAEzB,SAAA,GAAA,sBAAA,UAAgB;EACd,UAAU,CAAC,gBAAgB,QAAQ;EACnC,SAAS,YAAY;AAEnB,WADiB,MAAM,IAAI,YAAY,EACvB;;EAElB,WAAW,MAAS;EACrB,CAAC"}
1
+ {"version":3,"file":"use-store-D2S1FywW.cjs","names":["useStoreApi"],"sources":["../src/hooks/use-store.ts"],"sourcesContent":["import { useQuery, type UseQueryResult } from \"@tanstack/react-query\";\nimport { useStoreApi } from \"@fluid-app/portal-core/store-api-context\";\nimport type { Store } from \"@fluid-app/portal-core/store-types\";\n\n/**\n * Fetches the tenant store branding from GET /api/store.\n */\nexport function useStore(): UseQueryResult<Store> {\n const api = useStoreApi();\n\n return useQuery({\n queryKey: [\"portalTenant\", \"store\"],\n queryFn: async () => {\n const response = await api.fetchStore();\n return response.store;\n },\n staleTime: 5 * 60 * 1000,\n });\n}\n"],"mappings":";;;;;;;AAOA,SAAgB,WAAkC;CAChD,MAAM,MAAMA,0BAAAA,aAAa;AAEzB,SAAA,GAAA,sBAAA,UAAgB;EACd,UAAU,CAAC,gBAAgB,QAAQ;EACnC,SAAS,YAAY;AAEnB,WADiB,MAAM,IAAI,YAAY,EACvB;;EAElB,WAAW,MAAS;EACrB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-app/portal-sdk",
3
- "version": "0.1.235",
3
+ "version": "0.1.237",
4
4
  "description": "SDK for building custom Fluid portals",
5
5
  "files": [
6
6
  "dist",
@@ -71,51 +71,51 @@
71
71
  "tsdown": "^0.21.0",
72
72
  "typescript": "^5",
73
73
  "zod": "4.3.5",
74
- "@fluid-app/auth": "0.1.0",
75
74
  "@fluid-app/api-client-core": "0.1.0",
76
75
  "@fluid-app/cart-ui": "0.1.17",
76
+ "@fluid-app/auth": "0.1.0",
77
77
  "@fluid-app/company-switcher-core": "0.1.0",
78
78
  "@fluid-app/company-switcher-ui": "0.1.0",
79
79
  "@fluid-app/contacts-core": "0.1.0",
80
80
  "@fluid-app/contacts-ui": "0.1.0",
81
81
  "@fluid-app/file-picker-core": "0.1.0",
82
82
  "@fluid-app/file-picker-api-client": "0.1.0",
83
- "@fluid-app/fluidos-api-client": "0.1.0",
84
83
  "@fluid-app/fluid-pay-core": "0.1.0",
84
+ "@fluid-app/fluidos-api-client": "0.1.0",
85
85
  "@fluid-app/messaging-core": "0.1.0",
86
86
  "@fluid-app/messaging-api-client": "0.1.0",
87
- "@fluid-app/mysite-core": "0.1.0",
88
87
  "@fluid-app/messaging-ui": "0.1.0",
89
- "@fluid-app/orders-core": "0.1.0",
90
- "@fluid-app/mysite-ui": "0.1.0",
88
+ "@fluid-app/mysite-core": "0.1.0",
91
89
  "@fluid-app/orders-ui": "0.1.0",
90
+ "@fluid-app/orders-core": "0.1.0",
92
91
  "@fluid-app/permissions": "0.1.0",
93
- "@fluid-app/portal-core": "0.1.23",
92
+ "@fluid-app/mysite-ui": "0.1.0",
94
93
  "@fluid-app/portal-app-download-ui": "0.1.0",
94
+ "@fluid-app/portal-core": "0.1.23",
95
95
  "@fluid-app/portal-preview": "0.1.0",
96
+ "@fluid-app/portal-pro-upgrade-ui": "0.1.0",
96
97
  "@fluid-app/portal-react": "0.1.0",
97
98
  "@fluid-app/portal-tenant-api-client": "0.1.0",
98
- "@fluid-app/portal-pro-upgrade-ui": "0.1.0",
99
99
  "@fluid-app/portal-tenant-contacts-api-client": "0.1.0",
100
+ "@fluid-app/portal-tenant-content-api-client": "0.1.0",
100
101
  "@fluid-app/portal-tenant-mysite-api-client": "0.1.0",
101
102
  "@fluid-app/portal-tenant-pay-api-client": "0.1.0",
102
- "@fluid-app/portal-tenant-content-api-client": "0.1.0",
103
- "@fluid-app/portal-widgets": "0.1.22",
104
103
  "@fluid-app/portal-tenant-store-api-client": "0.1.0",
105
- "@fluid-app/products-core": "0.1.0",
104
+ "@fluid-app/portal-widgets": "0.1.22",
106
105
  "@fluid-app/products-api-client": "0.1.0",
106
+ "@fluid-app/products-core": "0.1.0",
107
+ "@fluid-app/profile-core": "0.1.0",
107
108
  "@fluid-app/profile-ui": "0.1.0",
108
109
  "@fluid-app/query-persister": "0.1.0",
109
110
  "@fluid-app/shareables-core": "0.1.0",
110
- "@fluid-app/profile-core": "0.1.0",
111
- "@fluid-app/store-api-client": "0.1.0",
112
- "@fluid-app/shop-ui": "0.1.0",
113
111
  "@fluid-app/shareables-ui": "0.1.0",
112
+ "@fluid-app/shop-ui": "0.1.0",
113
+ "@fluid-app/store-api-client": "0.1.0",
114
114
  "@fluid-app/store-core": "0.1.0",
115
- "@fluid-app/subscriptions-core": "0.1.0",
116
115
  "@fluid-app/subscriptions-ui": "0.1.0",
116
+ "@fluid-app/ui-primitives": "0.1.13",
117
117
  "@fluid-app/typescript-config": "0.0.0",
118
- "@fluid-app/ui-primitives": "0.1.13"
118
+ "@fluid-app/subscriptions-core": "0.1.0"
119
119
  },
120
120
  "peerDependencies": {
121
121
  "@hookform/resolvers": "^5.2.2",