@fluid-app/portal-sdk 0.1.59 → 0.1.60

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 (89) hide show
  1. package/dist/{AppDownloadScreen-B_SwkDDi.cjs → AppDownloadScreen-BH7GQ-qi.cjs} +2 -2
  2. package/dist/{AppDownloadScreen-B_SwkDDi.cjs.map → AppDownloadScreen-BH7GQ-qi.cjs.map} +1 -1
  3. package/dist/{AppDownloadScreen-NJI_UTLu.cjs → AppDownloadScreen-CH96k5cA.cjs} +2 -2
  4. package/dist/{AppDownloadScreen-Dw7DyU92.mjs → AppDownloadScreen-CLWxnFsd.mjs} +2 -2
  5. package/dist/{AppDownloadScreen-B-4Om2j8.mjs → AppDownloadScreen-DcVl4492.mjs} +2 -2
  6. package/dist/{AppDownloadScreen-B-4Om2j8.mjs.map → AppDownloadScreen-DcVl4492.mjs.map} +1 -1
  7. package/dist/{ContactsScreen-C8510XHQ.cjs → ContactsScreen-B8iWQTbP.cjs} +2 -2
  8. package/dist/{ContactsScreen-BSaedR34.mjs → ContactsScreen-C8Bp62F4.mjs} +2 -2
  9. package/dist/{ContactsScreen-Dcx-CUNk.mjs → ContactsScreen-Dk9bp3Jj.mjs} +2 -2
  10. package/dist/{ContactsScreen-Dcx-CUNk.mjs.map → ContactsScreen-Dk9bp3Jj.mjs.map} +1 -1
  11. package/dist/{ContactsScreen-BHnAPB1v.cjs → ContactsScreen-IAGjo08W.cjs} +2 -2
  12. package/dist/{ContactsScreen-BHnAPB1v.cjs.map → ContactsScreen-IAGjo08W.cjs.map} +1 -1
  13. package/dist/{FluidProvider-BcMVqXGW.cjs → FluidProvider-9JuTycML.cjs} +4 -2
  14. package/dist/{FluidProvider-BcMVqXGW.cjs.map → FluidProvider-9JuTycML.cjs.map} +1 -1
  15. package/dist/{FluidProvider-NsdWcsos.mjs → FluidProvider-9ZC28GXK.mjs} +4 -2
  16. package/dist/{FluidProvider-NsdWcsos.mjs.map → FluidProvider-9ZC28GXK.mjs.map} +1 -1
  17. package/dist/{MessagingScreen-BUC6-xNT.cjs → MessagingScreen-BuZTTy-l.cjs} +2 -2
  18. package/dist/{MessagingScreen-CGvz_4UM.mjs → MessagingScreen-DdQPLrmd.mjs} +3 -3
  19. package/dist/{MessagingScreen-CGvz_4UM.mjs.map → MessagingScreen-DdQPLrmd.mjs.map} +1 -1
  20. package/dist/{MessagingScreen-XSXGBuM5.cjs → MessagingScreen-DpVYlTyB.cjs} +3 -3
  21. package/dist/{MessagingScreen-XSXGBuM5.cjs.map → MessagingScreen-DpVYlTyB.cjs.map} +1 -1
  22. package/dist/{MessagingScreen-CMx7NBXH.mjs → MessagingScreen-RhCqymLN.mjs} +2 -2
  23. package/dist/{MySiteScreen-CJaXSfvP.mjs → MySiteScreen-BgyCPMby.mjs} +3 -2
  24. package/dist/{MySiteScreen-armH7ZmU.cjs → MySiteScreen-DNn3aWn0.cjs} +2 -2
  25. package/dist/{MySiteScreen-armH7ZmU.cjs.map → MySiteScreen-DNn3aWn0.cjs.map} +1 -1
  26. package/dist/{MySiteScreen-6qkt1-AM.cjs → MySiteScreen-DadI19bJ.cjs} +2 -2
  27. package/dist/{MySiteScreen-BYhZIZth.mjs → MySiteScreen-Ddxdk1Pe.mjs} +2 -2
  28. package/dist/{MySiteScreen-BYhZIZth.mjs.map → MySiteScreen-Ddxdk1Pe.mjs.map} +1 -1
  29. package/dist/{OrdersScreen-cBlQv9h0.mjs → OrdersScreen-BB7vBz1g.mjs} +3 -2
  30. package/dist/{OrdersScreen-CKfSGMRB.cjs → OrdersScreen-CZdh8mbE.cjs} +2 -2
  31. package/dist/{OrdersScreen-36U1k66t.mjs → OrdersScreen-CwTIkQNI.mjs} +3 -3
  32. package/dist/{OrdersScreen-36U1k66t.mjs.map → OrdersScreen-CwTIkQNI.mjs.map} +1 -1
  33. package/dist/{OrdersScreen-D5qbccVE.cjs → OrdersScreen-DpyL3mIg.cjs} +3 -3
  34. package/dist/{OrdersScreen-D5qbccVE.cjs.map → OrdersScreen-DpyL3mIg.cjs.map} +1 -1
  35. package/dist/{ProductsScreen-DLysCJ9C.mjs → ProductsScreen-BDCW_OdU.mjs} +3 -2
  36. package/dist/{ProductsScreen-D1TMPOpi.cjs → ProductsScreen-CGjMUHds.cjs} +3 -3
  37. package/dist/{ProductsScreen-D1TMPOpi.cjs.map → ProductsScreen-CGjMUHds.cjs.map} +1 -1
  38. package/dist/{ProductsScreen-i6JTXwNY.mjs → ProductsScreen-CmZw1rWf.mjs} +3 -3
  39. package/dist/{ProductsScreen-i6JTXwNY.mjs.map → ProductsScreen-CmZw1rWf.mjs.map} +1 -1
  40. package/dist/{ProductsScreen-Y3MJJSeK.cjs → ProductsScreen-dN4s469R.cjs} +2 -2
  41. package/dist/{ProfileScreen-BGOd1zyN.cjs → ProfileScreen-1hqd2fN7.cjs} +3 -3
  42. package/dist/{ProfileScreen-BGOd1zyN.cjs.map → ProfileScreen-1hqd2fN7.cjs.map} +1 -1
  43. package/dist/{ProfileScreen-CFSEMg7L.mjs → ProfileScreen-DSr0OwIA.mjs} +2 -2
  44. package/dist/{ProfileScreen-DARnojGI.cjs → ProfileScreen-_4yPoIgh.cjs} +2 -2
  45. package/dist/{ProfileScreen-DOGhmpk-.mjs → ProfileScreen-pCW_VAPN.mjs} +3 -3
  46. package/dist/{ProfileScreen-DOGhmpk-.mjs.map → ProfileScreen-pCW_VAPN.mjs.map} +1 -1
  47. package/dist/{ShareablesScreen-Clf0Z7vk.mjs → ShareablesScreen-BuR6Mei7.mjs} +3 -2
  48. package/dist/{ShareablesScreen-C0OVGZ07.cjs → ShareablesScreen-CdXtyZma.cjs} +3 -3
  49. package/dist/{ShareablesScreen-C0OVGZ07.cjs.map → ShareablesScreen-CdXtyZma.cjs.map} +1 -1
  50. package/dist/{ShareablesScreen-i1KpJcwV.mjs → ShareablesScreen-Cm8zbATC.mjs} +3 -3
  51. package/dist/{ShareablesScreen-i1KpJcwV.mjs.map → ShareablesScreen-Cm8zbATC.mjs.map} +1 -1
  52. package/dist/{ShareablesScreen-CbcwPnLx.cjs → ShareablesScreen-DNzrgsmZ.cjs} +2 -2
  53. package/dist/{ShopScreen-Kq0LKtBN.mjs → ShopScreen-B3I6PRkp.mjs} +3 -2
  54. package/dist/{ShopScreen-DE1qzYW6.cjs → ShopScreen-BnVS75fU.cjs} +2 -2
  55. package/dist/{ShopScreen-1HiWn8Hg.mjs → ShopScreen-Dc3lQLGI.mjs} +4 -4
  56. package/dist/{ShopScreen-1HiWn8Hg.mjs.map → ShopScreen-Dc3lQLGI.mjs.map} +1 -1
  57. package/dist/{ShopScreen-ClGySVDF.cjs → ShopScreen-qZa0cEwy.cjs} +4 -4
  58. package/dist/{ShopScreen-ClGySVDF.cjs.map → ShopScreen-qZa0cEwy.cjs.map} +1 -1
  59. package/dist/{SubscriptionsScreen-D-pb9t7Z.mjs → SubscriptionsScreen-749p5heX.mjs} +3 -3
  60. package/dist/{SubscriptionsScreen-D-pb9t7Z.mjs.map → SubscriptionsScreen-749p5heX.mjs.map} +1 -1
  61. package/dist/{SubscriptionsScreen-CPicMEVG.cjs → SubscriptionsScreen-7VBEggJ_.cjs} +3 -3
  62. package/dist/{SubscriptionsScreen-CPicMEVG.cjs.map → SubscriptionsScreen-7VBEggJ_.cjs.map} +1 -1
  63. package/dist/{SubscriptionsScreen-CluHNO3J.cjs → SubscriptionsScreen-DRgSTuJv.cjs} +2 -2
  64. package/dist/{SubscriptionsScreen-4DRQtr5m.mjs → SubscriptionsScreen-V3mnPdFM.mjs} +3 -2
  65. package/dist/index.cjs +49 -37
  66. package/dist/index.cjs.map +1 -1
  67. package/dist/index.d.cts +10 -1
  68. package/dist/index.d.cts.map +1 -1
  69. package/dist/index.d.mts +10 -1
  70. package/dist/index.d.mts.map +1 -1
  71. package/dist/index.mjs +49 -37
  72. package/dist/index.mjs.map +1 -1
  73. package/dist/{use-account-clients-BNdnotPF.mjs → use-account-clients-CqC0etbc.mjs} +2 -2
  74. package/dist/{use-account-clients-BNdnotPF.mjs.map → use-account-clients-CqC0etbc.mjs.map} +1 -1
  75. package/dist/{use-account-clients-BcfCVnN1.cjs → use-account-clients-cHyQEhPp.cjs} +2 -2
  76. package/dist/{use-account-clients-BcfCVnN1.cjs.map → use-account-clients-cHyQEhPp.cjs.map} +1 -1
  77. package/dist/{use-current-user-C5ye4E_t.cjs → use-current-user-Ccn1lGeB.cjs} +3 -3
  78. package/dist/{use-current-user-C5ye4E_t.cjs.map → use-current-user-Ccn1lGeB.cjs.map} +1 -1
  79. package/dist/{use-current-user-BR36V_-x.mjs → use-current-user-CyodELl8.mjs} +3 -3
  80. package/dist/{use-current-user-BR36V_-x.mjs.map → use-current-user-CyodELl8.mjs.map} +1 -1
  81. package/dist/{use-customer-account-CBRukk1K.mjs → use-customer-account-DODRyBye.mjs} +3 -3
  82. package/dist/{use-customer-account-CBRukk1K.mjs.map → use-customer-account-DODRyBye.mjs.map} +1 -1
  83. package/dist/{use-customer-account-BUcZbQG8.cjs → use-customer-account-DOmzp1sM.cjs} +3 -3
  84. package/dist/{use-customer-account-BUcZbQG8.cjs.map → use-customer-account-DOmzp1sM.cjs.map} +1 -1
  85. package/dist/{use-fluid-api-ByXKmAb3.mjs → use-fluid-api-BvakcAkY.mjs} +2 -2
  86. package/dist/{use-fluid-api-ByXKmAb3.mjs.map → use-fluid-api-BvakcAkY.mjs.map} +1 -1
  87. package/dist/{use-fluid-api-Cp5NpYvl.cjs → use-fluid-api-CBm9h3s3.cjs} +2 -2
  88. package/dist/{use-fluid-api-Cp5NpYvl.cjs.map → use-fluid-api-CBm9h3s3.cjs.map} +1 -1
  89. package/package.json +18 -18
@@ -2704,7 +2704,9 @@ function createFluidClient(config) {
2704
2704
  current: () => get("/api/reps/me"),
2705
2705
  updateProfile: (data) => patch("/api/reps/me", data)
2706
2706
  },
2707
- profile: { get: () => get("/api/rep_app/manifest") },
2707
+ profile: { get: async () => {
2708
+ return transformManifestToRepAppData(await getFluidOSManifest(fetchClient, { platform: "browser" })).profile;
2709
+ } },
2708
2710
  app: {
2709
2711
  getRaw: async () => {
2710
2712
  return await getFluidOSManifest(fetchClient, { platform: "browser" });
@@ -3212,4 +3214,4 @@ function useFluidContext() {
3212
3214
  //#endregion
3213
3215
  export { storeToken as A, USER_TYPES as B, extractAllTokensFromUrl as C, clearTokens as D, hasTokenInUrl as E, isValidToken as F, updateCustomer as G, createPersister as H, validateToken as I, ApiError$1 as K, AUTH_CONSTANTS as L, getTokenExpiration as M, getTokenTimeRemaining as N, getStoredToken as O, isTokenExpired as P, STORAGE_KEYS as R, cleanTokenFromUrl as S, extractTokenFromUrl as T, deleteDatabase as U, isUserType as V, fetchCustomerAccount as W, toNavigationItem as _, FluidAuthProvider as a, DEFAULT_AUTH_URL as b, useThemeContext as c, createFluidClient as d, isApiError as f, transformThemes$1 as g, transformManifestToRepAppData as h, widgetPropertySchemas as i, decodeToken as j, hasStoredToken as k, themes_exports as l, getActiveThemeId$1 as m, useFluidContext as n, useFluidAuthContext as o, buildThemeDefinition as p, createFetchClient as q, DEFAULT_SDK_WIDGET_REGISTRY as r, FluidThemeProvider as s, FluidProvider as t, ApiError as u, normalizeComponentTree as v, extractCompanyTokenFromUrl as w, createDefaultAuthRedirect as x, toScreenDefinition as y, URL_PARAMS as z };
3214
3216
 
3215
- //# sourceMappingURL=FluidProvider-NsdWcsos.mjs.map
3217
+ //# sourceMappingURL=FluidProvider-9ZC28GXK.mjs.map