@oxyhq/services 13.0.2 → 13.0.3

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 (362) hide show
  1. package/lib/commonjs/index.js +0 -11
  2. package/lib/commonjs/index.js.map +1 -1
  3. package/lib/commonjs/ui/components/AccountMenuButton.js +8 -10
  4. package/lib/commonjs/ui/components/AccountMenuButton.js.map +1 -1
  5. package/lib/commonjs/ui/components/AccountSwitcher.js +65 -35
  6. package/lib/commonjs/ui/components/AccountSwitcher.js.map +1 -1
  7. package/lib/commonjs/ui/context/OxyContext.js +124 -93
  8. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  9. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +2 -2
  10. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
  11. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +12 -12
  12. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  13. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +8 -7
  14. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
  15. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +11 -6
  16. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  17. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +3 -3
  18. package/lib/commonjs/ui/screens/CreateAccountScreen.js +6 -4
  19. package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
  20. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +8 -7
  21. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  22. package/lib/commonjs/ui/screens/FileManagementScreen.js +13 -13
  23. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  24. package/lib/commonjs/ui/screens/HistoryViewScreen.js +7 -7
  25. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  26. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +5 -5
  27. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  28. package/lib/commonjs/ui/screens/ManageAccountScreen.js +17 -18
  29. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
  30. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +3 -3
  31. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  32. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +9 -9
  33. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  34. package/lib/commonjs/ui/screens/ProfileScreen.js +1 -1
  35. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  36. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +4 -4
  37. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
  38. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +6 -6
  39. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  40. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +6 -6
  41. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  42. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +4 -4
  43. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  44. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +4 -4
  45. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  46. package/lib/module/index.js +0 -5
  47. package/lib/module/index.js.map +1 -1
  48. package/lib/module/ui/components/AccountMenuButton.js +8 -10
  49. package/lib/module/ui/components/AccountMenuButton.js.map +1 -1
  50. package/lib/module/ui/components/AccountSwitcher.js +65 -35
  51. package/lib/module/ui/components/AccountSwitcher.js.map +1 -1
  52. package/lib/module/ui/context/OxyContext.js +124 -93
  53. package/lib/module/ui/context/OxyContext.js.map +1 -1
  54. package/lib/module/ui/hooks/queries/useAccountQueries.js +2 -2
  55. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  56. package/lib/module/ui/hooks/queries/usePaymentQueries.js +12 -12
  57. package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  58. package/lib/module/ui/hooks/queries/useServicesQueries.js +9 -7
  59. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
  60. package/lib/module/ui/screens/AccountSettingsScreen.js +11 -6
  61. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  62. package/lib/module/ui/screens/AccountSwitcherScreen.js +3 -3
  63. package/lib/module/ui/screens/CreateAccountScreen.js +6 -4
  64. package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
  65. package/lib/module/ui/screens/EditProfileFieldScreen.js +8 -7
  66. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  67. package/lib/module/ui/screens/FileManagementScreen.js +13 -13
  68. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  69. package/lib/module/ui/screens/HistoryViewScreen.js +7 -7
  70. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  71. package/lib/module/ui/screens/LanguageSelectorScreen.js +5 -5
  72. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  73. package/lib/module/ui/screens/ManageAccountScreen.js +17 -18
  74. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
  75. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +3 -3
  76. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  77. package/lib/module/ui/screens/PrivacySettingsScreen.js +9 -9
  78. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  79. package/lib/module/ui/screens/ProfileScreen.js +1 -1
  80. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  81. package/lib/module/ui/screens/SavesCollectionsScreen.js +4 -4
  82. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
  83. package/lib/module/ui/screens/SearchSettingsScreen.js +6 -6
  84. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  85. package/lib/module/ui/screens/WelcomeNewUserScreen.js +6 -6
  86. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  87. package/lib/module/ui/screens/trust/TrustCenterScreen.js +4 -4
  88. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  89. package/lib/module/ui/screens/trust/TrustRewardsScreen.js +4 -4
  90. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  91. package/lib/typescript/commonjs/index.d.ts +0 -1
  92. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  93. package/lib/typescript/commonjs/ui/components/AccountMenuButton.d.ts +5 -7
  94. package/lib/typescript/commonjs/ui/components/AccountMenuButton.d.ts.map +1 -1
  95. package/lib/typescript/commonjs/ui/components/AccountSwitcher.d.ts.map +1 -1
  96. package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts +1 -1
  97. package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts.map +1 -1
  98. package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts +2 -1
  99. package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts.map +1 -1
  100. package/lib/typescript/commonjs/ui/components/FontLoader.d.ts +1 -1
  101. package/lib/typescript/commonjs/ui/components/FontLoader.d.ts.map +1 -1
  102. package/lib/typescript/commonjs/ui/components/HelperText.d.ts +1 -1
  103. package/lib/typescript/commonjs/ui/components/HelperText.d.ts.map +1 -1
  104. package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts +2 -1
  105. package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts.map +1 -1
  106. package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts +2 -1
  107. package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts.map +1 -1
  108. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts +1 -1
  109. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts +1 -1
  110. package/lib/typescript/commonjs/ui/components/TextField/Label/InputLabel.d.ts +1 -1
  111. package/lib/typescript/commonjs/ui/components/TextField/Label/LabelBackground.d.ts +2 -1
  112. package/lib/typescript/commonjs/ui/components/TextField/Label/LabelBackground.d.ts.map +1 -1
  113. package/lib/typescript/commonjs/ui/components/TextField/TextFieldFlat.d.ts +2 -1
  114. package/lib/typescript/commonjs/ui/components/TextField/TextFieldFlat.d.ts.map +1 -1
  115. package/lib/typescript/commonjs/ui/components/TextField/TextFieldOutlined.d.ts +2 -1
  116. package/lib/typescript/commonjs/ui/components/TextField/TextFieldOutlined.d.ts.map +1 -1
  117. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +11 -26
  118. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  119. package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts +1 -1
  120. package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts.map +1 -1
  121. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  122. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  123. package/lib/typescript/commonjs/ui/screens/AccountSwitcherScreen.d.ts +3 -3
  124. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +1 -1
  125. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  126. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  127. package/lib/typescript/module/index.d.ts +60 -61
  128. package/lib/typescript/module/index.d.ts.map +1 -1
  129. package/lib/typescript/module/ui/client.d.ts +26 -26
  130. package/lib/typescript/module/ui/client.d.ts.map +1 -1
  131. package/lib/typescript/module/ui/components/AccountMenuButton.d.ts +5 -7
  132. package/lib/typescript/module/ui/components/AccountMenuButton.d.ts.map +1 -1
  133. package/lib/typescript/module/ui/components/AccountSwitcher.d.ts +1 -1
  134. package/lib/typescript/module/ui/components/AccountSwitcher.d.ts.map +1 -1
  135. package/lib/typescript/module/ui/components/ActivityIndicator.d.ts +2 -2
  136. package/lib/typescript/module/ui/components/ActivityIndicator.d.ts.map +1 -1
  137. package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts +1 -1
  138. package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts.map +1 -1
  139. package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts +4 -3
  140. package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts.map +1 -1
  141. package/lib/typescript/module/ui/components/FontLoader.d.ts +1 -1
  142. package/lib/typescript/module/ui/components/FontLoader.d.ts.map +1 -1
  143. package/lib/typescript/module/ui/components/HelperText.d.ts +1 -1
  144. package/lib/typescript/module/ui/components/HelperText.d.ts.map +1 -1
  145. package/lib/typescript/module/ui/components/Icon.d.ts +1 -1
  146. package/lib/typescript/module/ui/components/Icon.d.ts.map +1 -1
  147. package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts +3 -3
  148. package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts.map +1 -1
  149. package/lib/typescript/module/ui/components/IconButton/utils.d.ts +1 -1
  150. package/lib/typescript/module/ui/components/IconButton/utils.d.ts.map +1 -1
  151. package/lib/typescript/module/ui/components/OxyPayButton.d.ts +1 -1
  152. package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -1
  153. package/lib/typescript/module/ui/components/OxyProvider.d.ts +1 -1
  154. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  155. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts +2 -2
  156. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +1 -1
  157. package/lib/typescript/module/ui/components/Surface.d.ts +2 -2
  158. package/lib/typescript/module/ui/components/Surface.d.ts.map +1 -1
  159. package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts +3 -2
  160. package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts.map +1 -1
  161. package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts +3 -2
  162. package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts.map +1 -1
  163. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +3 -3
  164. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +1 -1
  165. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts +3 -3
  166. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +1 -1
  167. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts +4 -4
  168. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +1 -1
  169. package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts +1 -1
  170. package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts.map +1 -1
  171. package/lib/typescript/module/ui/components/TextField/Adornment/utils.d.ts +1 -1
  172. package/lib/typescript/module/ui/components/TextField/Adornment/utils.d.ts.map +1 -1
  173. package/lib/typescript/module/ui/components/TextField/Label/InputLabel.d.ts +2 -2
  174. package/lib/typescript/module/ui/components/TextField/Label/InputLabel.d.ts.map +1 -1
  175. package/lib/typescript/module/ui/components/TextField/Label/LabelBackground.d.ts +3 -2
  176. package/lib/typescript/module/ui/components/TextField/Label/LabelBackground.d.ts.map +1 -1
  177. package/lib/typescript/module/ui/components/TextField/TextFieldFlat.d.ts +3 -2
  178. package/lib/typescript/module/ui/components/TextField/TextFieldFlat.d.ts.map +1 -1
  179. package/lib/typescript/module/ui/components/TextField/TextFieldOutlined.d.ts +3 -2
  180. package/lib/typescript/module/ui/components/TextField/TextFieldOutlined.d.ts.map +1 -1
  181. package/lib/typescript/module/ui/components/TextField/helpers.d.ts +3 -3
  182. package/lib/typescript/module/ui/components/TextField/helpers.d.ts.map +1 -1
  183. package/lib/typescript/module/ui/components/TextField/types.d.ts +1 -1
  184. package/lib/typescript/module/ui/components/TextField/types.d.ts.map +1 -1
  185. package/lib/typescript/module/ui/components/TextField.d.ts +4 -4
  186. package/lib/typescript/module/ui/components/TextField.d.ts.map +1 -1
  187. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts +3 -3
  188. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts.map +1 -1
  189. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +3 -3
  190. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
  191. package/lib/typescript/module/ui/components/TouchableRipple/utils.d.ts +1 -1
  192. package/lib/typescript/module/ui/components/TouchableRipple/utils.d.ts.map +1 -1
  193. package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts +3 -3
  194. package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts.map +1 -1
  195. package/lib/typescript/module/ui/components/accountMenuRows.d.ts +1 -1
  196. package/lib/typescript/module/ui/components/accountMenuRows.d.ts.map +1 -1
  197. package/lib/typescript/module/ui/components/feedback/ProgressIndicator.d.ts +1 -1
  198. package/lib/typescript/module/ui/components/feedback/ProgressIndicator.d.ts.map +1 -1
  199. package/lib/typescript/module/ui/components/feedback/constants.d.ts +1 -1
  200. package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +1 -1
  201. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +1 -1
  202. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +1 -1
  203. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +1 -1
  204. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  205. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +1 -1
  206. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  207. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +1 -1
  208. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  209. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +1 -1
  210. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  211. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +1 -1
  212. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  213. package/lib/typescript/module/ui/components/payment/constants.d.ts +1 -1
  214. package/lib/typescript/module/ui/components/payment/constants.d.ts.map +1 -1
  215. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +1 -1
  216. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -1
  217. package/lib/typescript/module/ui/components/theming.d.ts +1 -1
  218. package/lib/typescript/module/ui/components/theming.d.ts.map +1 -1
  219. package/lib/typescript/module/ui/context/OxyContext.d.ts +14 -29
  220. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  221. package/lib/typescript/module/ui/context/ThemeContext.d.ts +1 -1
  222. package/lib/typescript/module/ui/context/ThemeContext.d.ts.map +1 -1
  223. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +2 -2
  224. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  225. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +1 -1
  226. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -1
  227. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  228. package/lib/typescript/module/ui/hooks/queryClient.d.ts +1 -1
  229. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
  230. package/lib/typescript/module/ui/hooks/useAuth.d.ts +1 -1
  231. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
  232. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +1 -1
  233. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -1
  234. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +1 -1
  235. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -1
  236. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +1 -1
  237. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
  238. package/lib/typescript/module/ui/hooks/useStorage.d.ts +1 -1
  239. package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +1 -1
  240. package/lib/typescript/module/ui/index.d.ts +28 -28
  241. package/lib/typescript/module/ui/index.d.ts.map +1 -1
  242. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +1 -1
  243. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -1
  244. package/lib/typescript/module/ui/navigation/routes.d.ts +1 -1
  245. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
  246. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts +1 -1
  247. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -1
  248. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +1 -1
  249. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  250. package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts +4 -4
  251. package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
  252. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +1 -1
  253. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  254. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +1 -1
  255. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
  256. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +1 -1
  257. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  258. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts +1 -1
  259. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  260. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts +1 -1
  261. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +1 -1
  262. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +1 -1
  263. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  264. package/lib/typescript/module/ui/screens/FAQScreen.d.ts +1 -1
  265. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -1
  266. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +1 -1
  267. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
  268. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts +1 -1
  269. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  270. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +1 -1
  271. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +1 -1
  272. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +1 -1
  273. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +1 -1
  274. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +1 -1
  275. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  276. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +1 -1
  277. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  278. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +1 -1
  279. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  280. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +1 -1
  281. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  282. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +1 -1
  283. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  284. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +1 -1
  285. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  286. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts +1 -1
  287. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -1
  288. package/lib/typescript/module/ui/screens/OxyAuthScreen.d.ts +1 -1
  289. package/lib/typescript/module/ui/screens/OxyAuthScreen.d.ts.map +1 -1
  290. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +2 -2
  291. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  292. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts +1 -1
  293. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -1
  294. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +1 -1
  295. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  296. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts +1 -1
  297. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  298. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +1 -1
  299. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
  300. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +1 -1
  301. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  302. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +1 -1
  303. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  304. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +1 -1
  305. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
  306. package/lib/typescript/module/ui/screens/UserListScreen.d.ts +1 -1
  307. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  308. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +1 -1
  309. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  310. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts +1 -1
  311. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
  312. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts +1 -1
  313. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  314. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts +1 -1
  315. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  316. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts +1 -1
  317. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  318. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts +1 -1
  319. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  320. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts +1 -1
  321. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  322. package/lib/typescript/module/ui/server.d.ts +2 -2
  323. package/lib/typescript/module/ui/server.d.ts.map +1 -1
  324. package/lib/typescript/module/ui/types/fileManagement.d.ts +1 -1
  325. package/lib/typescript/module/ui/types/fileManagement.d.ts.map +1 -1
  326. package/lib/typescript/module/ui/types/navigation.d.ts +1 -1
  327. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
  328. package/lib/typescript/module/ui/utils/fileManagement.d.ts +1 -1
  329. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
  330. package/package.json +21 -20
  331. package/src/index.ts +0 -5
  332. package/src/ui/components/AccountMenuButton.tsx +9 -11
  333. package/src/ui/components/AccountSwitcher.tsx +71 -37
  334. package/src/ui/context/OxyContext.tsx +127 -122
  335. package/src/ui/hooks/queries/useAccountQueries.ts +2 -2
  336. package/src/ui/hooks/queries/usePaymentQueries.ts +12 -12
  337. package/src/ui/hooks/queries/useServicesQueries.ts +9 -6
  338. package/src/ui/screens/AccountSettingsScreen.tsx +9 -5
  339. package/src/ui/screens/AccountSwitcherScreen.tsx +3 -3
  340. package/src/ui/screens/CreateAccountScreen.tsx +6 -4
  341. package/src/ui/screens/EditProfileFieldScreen.tsx +8 -7
  342. package/src/ui/screens/FileManagementScreen.tsx +13 -13
  343. package/src/ui/screens/HistoryViewScreen.tsx +7 -7
  344. package/src/ui/screens/LanguageSelectorScreen.tsx +5 -5
  345. package/src/ui/screens/ManageAccountScreen.tsx +17 -18
  346. package/src/ui/screens/PremiumSubscriptionScreen.tsx +3 -3
  347. package/src/ui/screens/PrivacySettingsScreen.tsx +9 -9
  348. package/src/ui/screens/ProfileScreen.tsx +1 -1
  349. package/src/ui/screens/SavesCollectionsScreen.tsx +5 -5
  350. package/src/ui/screens/SearchSettingsScreen.tsx +6 -6
  351. package/src/ui/screens/WelcomeNewUserScreen.tsx +6 -6
  352. package/src/ui/screens/trust/TrustCenterScreen.tsx +5 -5
  353. package/src/ui/screens/trust/TrustRewardsScreen.tsx +4 -4
  354. package/lib/commonjs/ui/components/ActiveAccountBanner.js +0 -144
  355. package/lib/commonjs/ui/components/ActiveAccountBanner.js.map +0 -1
  356. package/lib/module/ui/components/ActiveAccountBanner.js +0 -141
  357. package/lib/module/ui/components/ActiveAccountBanner.js.map +0 -1
  358. package/lib/typescript/commonjs/ui/components/ActiveAccountBanner.d.ts +0 -4
  359. package/lib/typescript/commonjs/ui/components/ActiveAccountBanner.d.ts.map +0 -1
  360. package/lib/typescript/module/ui/components/ActiveAccountBanner.d.ts +0 -4
  361. package/lib/typescript/module/ui/components/ActiveAccountBanner.d.ts.map +0 -1
  362. package/src/ui/components/ActiveAccountBanner.tsx +0 -130
@@ -645,9 +645,9 @@ const FileManagementScreen = ({
645
645
  // Use useOxy() hook for OxyContext values. Files are owned by the ACTIVE
646
646
  // account (the org/project/bot when switched, else the personal user): the
647
647
  // default file owner and every "is this mine?" ownership check resolve
648
- // against `activeAccount`, so switching shows/manages that account's files.
648
+ // against `user`, so switching shows/manages that account's files.
649
649
  const {
650
- activeAccount,
650
+ user,
651
651
  oxyServices
652
652
  } = (0, _OxyContext.useOxy)();
653
653
  const {
@@ -884,7 +884,7 @@ const FileManagementScreen = ({
884
884
  // FileManagementScreen uses a slightly elevated page background.
885
885
  const backgroundColor = colors.backgroundSecondary;
886
886
  const borderColor = colors.border;
887
- const targetUserId = userId || activeAccount?.id;
887
+ const targetUserId = userId || user?.id;
888
888
  const storeSetUploading = (0, _fileStore.useFileStore)(s => s.setUploading);
889
889
  const storeSetUploadProgress = (0, _fileStore.useFileStore)(s => s.setUploadProgress);
890
890
  const storeSetDeleting = (0, _fileStore.useFileStore)(s => s.setDeleting);
@@ -2225,8 +2225,8 @@ const FileManagementScreen = ({
2225
2225
  style: [_styles.fileManagementStyles.emptyStateDescription, {
2226
2226
  color: colors.textSecondary
2227
2227
  }],
2228
- children: [" ", activeAccount?.id === targetUserId ? t('fileManagement.emptyPhotos.ownDescription') : t('fileManagement.emptyPhotos.otherDescription'), " "]
2229
- }), activeAccount?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
2228
+ children: [" ", user?.id === targetUserId ? t('fileManagement.emptyPhotos.ownDescription') : t('fileManagement.emptyPhotos.otherDescription'), " "]
2229
+ }), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
2230
2230
  style: [_styles.fileManagementStyles.emptyStateButton, {
2231
2231
  backgroundColor: colors.primary
2232
2232
  }],
@@ -2297,7 +2297,7 @@ const FileManagementScreen = ({
2297
2297
  containerWidth: safeContainerWidth
2298
2298
  })]
2299
2299
  });
2300
- }, [filteredFiles, colors, activeAccount?.id, targetUserId, uploading, handleFileUpload, refreshing, loadFiles, loadingDimensions, photoDimensions, loadPhotoDimensions, createJustifiedRows, renderJustifiedPhotoItem, renderPhotoItem, safeContainerWidth]);
2300
+ }, [filteredFiles, colors, user?.id, targetUserId, uploading, handleFileUpload, refreshing, loadFiles, loadingDimensions, photoDimensions, loadPhotoDimensions, createJustifiedRows, renderJustifiedPhotoItem, renderPhotoItem, safeContainerWidth]);
2301
2301
 
2302
2302
  // Inline justified grid removed (moved to components/photogrid/JustifiedPhotoGrid.tsx)
2303
2303
 
@@ -2316,8 +2316,8 @@ const FileManagementScreen = ({
2316
2316
  style: [_styles.fileManagementStyles.emptyStateDescription, {
2317
2317
  color: colors.textSecondary
2318
2318
  }],
2319
- children: activeAccount?.id === targetUserId ? t('fileManagement.emptyFiles.ownDescription') : t('fileManagement.emptyFiles.otherDescription')
2320
- }), activeAccount?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
2319
+ children: user?.id === targetUserId ? t('fileManagement.emptyFiles.ownDescription') : t('fileManagement.emptyFiles.otherDescription')
2320
+ }), user?.id === targetUserId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
2321
2321
  style: [_styles.fileManagementStyles.emptyStateButton, {
2322
2322
  backgroundColor: colors.primary
2323
2323
  }],
@@ -2557,7 +2557,7 @@ const FileManagementScreen = ({
2557
2557
  // standalone file manager (non-picker browse) keeps the existing UI.
2558
2558
  if (isImageOnlyPicker && !showUploadPreview) {
2559
2559
  const photosOnly = filteredFiles.filter(file => file.contentType.startsWith('image/'));
2560
- const isOwner = activeAccount?.id === targetUserId;
2560
+ const isOwner = user?.id === targetUserId;
2561
2561
  const allowUpload = isOwner && allowUploadInSelectMode;
2562
2562
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
2563
2563
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(PhotoPickerView, {
@@ -2608,13 +2608,13 @@ const FileManagementScreen = ({
2608
2608
  onClose: handleCloseFile,
2609
2609
  onDownload: handleFileDownload,
2610
2610
  onDelete: confirmFileDelete,
2611
- isOwner: activeAccount?.id === targetUserId
2611
+ isOwner: user?.id === targetUserId
2612
2612
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FileDetailsModal.FileDetailsModal, {
2613
2613
  control: fileDetailsControl,
2614
2614
  file: selectedFile,
2615
2615
  onDownload: handleFileDownload,
2616
2616
  onDelete: confirmFileDelete,
2617
- isOwner: activeAccount?.id === targetUserId
2617
+ isOwner: user?.id === targetUserId
2618
2618
  })]
2619
2619
  });
2620
2620
  }
@@ -2775,7 +2775,7 @@ const FileManagementScreen = ({
2775
2775
  size: 14,
2776
2776
  color: colors.textSecondary
2777
2777
  })]
2778
- }), activeAccount?.id === targetUserId && (!selectMode || selectMode && allowUploadInSelectMode) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
2778
+ }), user?.id === targetUserId && (!selectMode || selectMode && allowUploadInSelectMode) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
2779
2779
  style: [_styles.fileManagementStyles.uploadButton, isImageOnlyPicker && _styles.fileManagementStyles.uploadButtonExtended, {
2780
2780
  backgroundColor: colors.primary
2781
2781
  }],
@@ -2967,7 +2967,7 @@ const FileManagementScreen = ({
2967
2967
  file: selectedFile,
2968
2968
  onDownload: handleFileDownload,
2969
2969
  onDelete: confirmFileDelete,
2970
- isOwner: activeAccount?.id === targetUserId
2970
+ isOwner: user?.id === targetUserId
2971
2971
  }), !selectMode && uploading && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
2972
2972
  style: [_styles.fileManagementStyles.uploadBannerContainer, {
2973
2973
  pointerEvents: 'none'