@oxyhq/services 5.21.6 → 5.22.0

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 (478) hide show
  1. package/README.md +201 -2
  2. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-Black.ttf +0 -0
  3. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-Bold.ttf +0 -0
  4. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-ExtraBold.ttf +0 -0
  5. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-Light.ttf +0 -0
  6. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-Medium.ttf +0 -0
  7. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-Regular.ttf +0 -0
  8. package/lib/commonjs/assets/assets/fonts/Inter/Inter_18pt-SemiBold.ttf +0 -0
  9. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-Black.ttf +0 -0
  10. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-Bold.ttf +0 -0
  11. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-ExtraBold.ttf +0 -0
  12. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-Light.ttf +0 -0
  13. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-Medium.ttf +0 -0
  14. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-Regular.ttf +0 -0
  15. package/lib/commonjs/assets/fonts/Inter/Inter_18pt-SemiBold.ttf +0 -0
  16. package/lib/commonjs/core/HttpService.js +87 -2
  17. package/lib/commonjs/core/HttpService.js.map +1 -1
  18. package/lib/commonjs/core/mixins/OxyServices.assets.js +3 -1
  19. package/lib/commonjs/core/mixins/OxyServices.assets.js.map +1 -1
  20. package/lib/commonjs/crypto/keyManager.js +67 -22
  21. package/lib/commonjs/crypto/keyManager.js.map +1 -1
  22. package/lib/commonjs/i18n/locales/en-US.json +3 -3
  23. package/lib/commonjs/i18n/locales/es-ES.json +240 -19
  24. package/lib/commonjs/index.js +66 -0
  25. package/lib/commonjs/index.js.map +1 -1
  26. package/lib/commonjs/ui/components/Avatar.js +1 -1
  27. package/lib/commonjs/ui/components/Avatar.js.map +1 -1
  28. package/lib/commonjs/ui/components/FollowButton.js +1 -1
  29. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  30. package/lib/commonjs/ui/components/FontLoader.js +34 -34
  31. package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
  32. package/lib/commonjs/ui/components/Header.js +4 -4
  33. package/lib/commonjs/ui/components/Header.js.map +1 -1
  34. package/lib/commonjs/ui/components/OxyPayButton.js +1 -1
  35. package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
  36. package/lib/commonjs/ui/components/OxySignInButton.js +2 -1
  37. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
  38. package/lib/commonjs/ui/components/ProfileCard.js +1 -1
  39. package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
  40. package/lib/commonjs/ui/components/SectionTitle.js +1 -1
  41. package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
  42. package/lib/commonjs/ui/components/StepBasedScreen.js +2 -1
  43. package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
  44. package/lib/commonjs/ui/components/feedback/feedbackStyles.js +2 -1
  45. package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -1
  46. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +57 -0
  47. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -0
  48. package/lib/commonjs/ui/components/fileManagement/styles.js +17 -17
  49. package/lib/commonjs/ui/components/fileManagement/styles.js.map +1 -1
  50. package/lib/commonjs/ui/components/payment/paymentStyles.js +7 -7
  51. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
  52. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +177 -0
  53. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -0
  54. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +10 -123
  55. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  56. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +2 -32
  57. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
  58. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +2 -31
  59. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
  60. package/lib/commonjs/ui/hooks/useFileFiltering.js +76 -0
  61. package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -0
  62. package/lib/commonjs/ui/navigation/routes.js +2 -0
  63. package/lib/commonjs/ui/navigation/routes.js.map +1 -1
  64. package/lib/commonjs/ui/screens/AccountCenterScreen.js +4 -2
  65. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
  66. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +13 -5
  67. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
  68. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +273 -1820
  69. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  70. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +1 -1
  71. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
  72. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +3 -1
  73. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  74. package/lib/commonjs/ui/screens/AppInfoScreen.js +2 -2
  75. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  76. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +640 -0
  77. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -0
  78. package/lib/commonjs/ui/screens/FileManagementScreen.js +41 -23
  79. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  80. package/lib/commonjs/ui/screens/HistoryViewScreen.js +9 -3
  81. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  82. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +4 -2
  83. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  84. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +3 -1
  85. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  86. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +11 -12
  87. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  88. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +12 -4
  89. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  90. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +3 -1
  91. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  92. package/lib/commonjs/ui/screens/SessionManagementScreen.js +15 -5
  93. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
  94. package/lib/commonjs/ui/screens/UserLinksScreen.js +3 -1
  95. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  96. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +2 -1
  97. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  98. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +2 -4
  99. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  100. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +3 -3
  101. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  102. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +3 -3
  103. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  104. package/lib/commonjs/ui/styles/authStyles.js +5 -4
  105. package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
  106. package/lib/commonjs/ui/styles/fonts.js +27 -27
  107. package/lib/commonjs/ui/styles/fonts.js.map +1 -1
  108. package/lib/commonjs/ui/styles/theme.js +3 -3
  109. package/lib/commonjs/ui/styles/theme.js.map +1 -1
  110. package/lib/commonjs/ui/utils/authHelpers.js +164 -0
  111. package/lib/commonjs/ui/utils/authHelpers.js.map +1 -0
  112. package/lib/commonjs/ui/utils/avatarUtils.js +18 -61
  113. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
  114. package/lib/commonjs/web.js +682 -0
  115. package/lib/commonjs/web.js.map +1 -0
  116. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-Black.ttf +0 -0
  117. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-Bold.ttf +0 -0
  118. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-ExtraBold.ttf +0 -0
  119. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-Light.ttf +0 -0
  120. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-Medium.ttf +0 -0
  121. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-Regular.ttf +0 -0
  122. package/lib/module/assets/assets/fonts/Inter/Inter_18pt-SemiBold.ttf +0 -0
  123. package/lib/module/assets/fonts/Inter/Inter_18pt-Black.ttf +0 -0
  124. package/lib/module/assets/fonts/Inter/Inter_18pt-Bold.ttf +0 -0
  125. package/lib/module/assets/fonts/Inter/Inter_18pt-ExtraBold.ttf +0 -0
  126. package/lib/module/assets/fonts/Inter/Inter_18pt-Light.ttf +0 -0
  127. package/lib/module/assets/fonts/Inter/Inter_18pt-Medium.ttf +0 -0
  128. package/lib/module/assets/fonts/Inter/Inter_18pt-Regular.ttf +0 -0
  129. package/lib/module/assets/fonts/Inter/Inter_18pt-SemiBold.ttf +0 -0
  130. package/lib/module/core/HttpService.js +87 -2
  131. package/lib/module/core/HttpService.js.map +1 -1
  132. package/lib/module/core/mixins/OxyServices.assets.js +3 -1
  133. package/lib/module/core/mixins/OxyServices.assets.js.map +1 -1
  134. package/lib/module/crypto/keyManager.js +67 -22
  135. package/lib/module/crypto/keyManager.js.map +1 -1
  136. package/lib/module/i18n/locales/en-US.json +3 -3
  137. package/lib/module/i18n/locales/es-ES.json +240 -19
  138. package/lib/module/index.js +6 -0
  139. package/lib/module/index.js.map +1 -1
  140. package/lib/module/ui/components/Avatar.js +1 -1
  141. package/lib/module/ui/components/Avatar.js.map +1 -1
  142. package/lib/module/ui/components/FollowButton.js +1 -1
  143. package/lib/module/ui/components/FollowButton.js.map +1 -1
  144. package/lib/module/ui/components/FontLoader.js +34 -34
  145. package/lib/module/ui/components/FontLoader.js.map +1 -1
  146. package/lib/module/ui/components/Header.js +4 -4
  147. package/lib/module/ui/components/Header.js.map +1 -1
  148. package/lib/module/ui/components/OxyPayButton.js +1 -1
  149. package/lib/module/ui/components/OxyPayButton.js.map +1 -1
  150. package/lib/module/ui/components/OxySignInButton.js +2 -1
  151. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  152. package/lib/module/ui/components/ProfileCard.js +1 -1
  153. package/lib/module/ui/components/ProfileCard.js.map +1 -1
  154. package/lib/module/ui/components/SectionTitle.js +1 -1
  155. package/lib/module/ui/components/SectionTitle.js.map +1 -1
  156. package/lib/module/ui/components/StepBasedScreen.js +2 -1
  157. package/lib/module/ui/components/StepBasedScreen.js.map +1 -1
  158. package/lib/module/ui/components/feedback/feedbackStyles.js +2 -1
  159. package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
  160. package/lib/module/ui/components/fileManagement/AnimatedButton.js +50 -0
  161. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -0
  162. package/lib/module/ui/components/fileManagement/styles.js +17 -17
  163. package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
  164. package/lib/module/ui/components/payment/paymentStyles.js +7 -7
  165. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
  166. package/lib/module/ui/hooks/mutations/mutationFactory.js +173 -0
  167. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -0
  168. package/lib/module/ui/hooks/mutations/useAccountMutations.js +10 -122
  169. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  170. package/lib/module/ui/hooks/queries/useAccountQueries.js +2 -32
  171. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  172. package/lib/module/ui/hooks/queries/useServicesQueries.js +2 -31
  173. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
  174. package/lib/module/ui/hooks/useFileFiltering.js +72 -0
  175. package/lib/module/ui/hooks/useFileFiltering.js.map +1 -0
  176. package/lib/module/ui/navigation/routes.js +2 -0
  177. package/lib/module/ui/navigation/routes.js.map +1 -1
  178. package/lib/module/ui/screens/AccountCenterScreen.js +4 -2
  179. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
  180. package/lib/module/ui/screens/AccountOverviewScreen.js +13 -5
  181. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  182. package/lib/module/ui/screens/AccountSettingsScreen.js +277 -1824
  183. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  184. package/lib/module/ui/screens/AccountSwitcherScreen.js +1 -1
  185. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
  186. package/lib/module/ui/screens/AccountVerificationScreen.js +3 -1
  187. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  188. package/lib/module/ui/screens/AppInfoScreen.js +2 -2
  189. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  190. package/lib/module/ui/screens/EditProfileFieldScreen.js +635 -0
  191. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -0
  192. package/lib/module/ui/screens/FileManagementScreen.js +41 -23
  193. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  194. package/lib/module/ui/screens/HistoryViewScreen.js +9 -3
  195. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  196. package/lib/module/ui/screens/LanguageSelectorScreen.js +4 -2
  197. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  198. package/lib/module/ui/screens/LegalDocumentsScreen.js +3 -1
  199. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  200. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +11 -12
  201. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  202. package/lib/module/ui/screens/PrivacySettingsScreen.js +12 -4
  203. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  204. package/lib/module/ui/screens/SearchSettingsScreen.js +3 -1
  205. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  206. package/lib/module/ui/screens/SessionManagementScreen.js +15 -5
  207. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
  208. package/lib/module/ui/screens/UserLinksScreen.js +3 -1
  209. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  210. package/lib/module/ui/screens/WelcomeNewUserScreen.js +2 -1
  211. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  212. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +2 -4
  213. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  214. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +3 -3
  215. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  216. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +3 -3
  217. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  218. package/lib/module/ui/styles/authStyles.js +5 -4
  219. package/lib/module/ui/styles/authStyles.js.map +1 -1
  220. package/lib/module/ui/styles/fonts.js +27 -27
  221. package/lib/module/ui/styles/fonts.js.map +1 -1
  222. package/lib/module/ui/styles/theme.js +3 -3
  223. package/lib/module/ui/styles/theme.js.map +1 -1
  224. package/lib/module/ui/utils/authHelpers.js +154 -0
  225. package/lib/module/ui/utils/authHelpers.js.map +1 -0
  226. package/lib/module/ui/utils/avatarUtils.js +18 -61
  227. package/lib/module/ui/utils/avatarUtils.js.map +1 -1
  228. package/lib/module/web.js +75 -0
  229. package/lib/module/web.js.map +1 -0
  230. package/lib/typescript/commonjs/core/HttpService.d.ts +5 -0
  231. package/lib/typescript/commonjs/core/HttpService.d.ts.map +1 -1
  232. package/lib/typescript/commonjs/crypto/keyManager.d.ts.map +1 -1
  233. package/lib/typescript/commonjs/index.d.ts +6 -0
  234. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  235. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
  236. package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
  238. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +16 -0
  239. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
  240. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +76 -0
  241. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
  242. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +29 -4
  243. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  244. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +1 -1
  245. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +1 -1
  247. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  248. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +29 -0
  249. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +1 -0
  250. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +1 -1
  251. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
  252. package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  253. package/lib/typescript/commonjs/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  254. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  255. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  256. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +13 -0
  257. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
  258. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  260. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  262. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  264. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  266. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
  267. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  268. package/lib/typescript/commonjs/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
  269. package/lib/typescript/commonjs/ui/styles/fonts.d.ts +7 -7
  270. package/lib/typescript/commonjs/ui/styles/theme.d.ts.map +1 -1
  271. package/lib/typescript/commonjs/ui/utils/authHelpers.d.ts +99 -0
  272. package/lib/typescript/commonjs/ui/utils/authHelpers.d.ts.map +1 -0
  273. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -1
  274. package/lib/typescript/commonjs/web.d.ts +54 -0
  275. package/lib/typescript/commonjs/web.d.ts.map +1 -0
  276. package/lib/typescript/module/core/HttpService.d.ts +5 -0
  277. package/lib/typescript/module/core/HttpService.d.ts.map +1 -1
  278. package/lib/typescript/module/crypto/keyManager.d.ts.map +1 -1
  279. package/lib/typescript/module/index.d.ts +6 -0
  280. package/lib/typescript/module/index.d.ts.map +1 -1
  281. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
  282. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +1 -1
  283. package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
  284. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +16 -0
  285. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
  286. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +76 -0
  287. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
  288. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +29 -4
  289. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  290. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +1 -1
  291. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
  292. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +1 -1
  293. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  294. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +29 -0
  295. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +1 -0
  296. package/lib/typescript/module/ui/navigation/routes.d.ts +1 -1
  297. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
  298. package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
  299. package/lib/typescript/module/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  300. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
  301. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  302. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +13 -0
  303. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
  304. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  305. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  306. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  307. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  308. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  309. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  310. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  311. package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  312. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
  313. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  314. package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
  315. package/lib/typescript/module/ui/styles/fonts.d.ts +7 -7
  316. package/lib/typescript/module/ui/styles/theme.d.ts.map +1 -1
  317. package/lib/typescript/module/ui/utils/authHelpers.d.ts +99 -0
  318. package/lib/typescript/module/ui/utils/authHelpers.d.ts.map +1 -0
  319. package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -1
  320. package/lib/typescript/module/web.d.ts +54 -0
  321. package/lib/typescript/module/web.d.ts.map +1 -0
  322. package/package.json +27 -41
  323. package/src/assets/fonts/Inter/Inter_18pt-Black.ttf +0 -0
  324. package/src/assets/fonts/Inter/Inter_18pt-Bold.ttf +0 -0
  325. package/src/assets/fonts/Inter/Inter_18pt-ExtraBold.ttf +0 -0
  326. package/src/assets/fonts/Inter/Inter_18pt-Light.ttf +0 -0
  327. package/src/assets/fonts/Inter/Inter_18pt-Medium.ttf +0 -0
  328. package/src/assets/fonts/Inter/Inter_18pt-Regular.ttf +0 -0
  329. package/src/assets/fonts/Inter/Inter_18pt-SemiBold.ttf +0 -0
  330. package/src/core/HttpService.ts +91 -0
  331. package/src/core/mixins/OxyServices.assets.ts +1 -1
  332. package/src/crypto/keyManager.ts +23 -22
  333. package/src/i18n/locales/en-US.json +3 -3
  334. package/src/i18n/locales/es-ES.json +240 -19
  335. package/src/index.ts +25 -0
  336. package/src/ui/components/Avatar.tsx +1 -1
  337. package/src/ui/components/FollowButton.tsx +1 -1
  338. package/src/ui/components/FontLoader.tsx +34 -34
  339. package/src/ui/components/Header.tsx +4 -4
  340. package/src/ui/components/OxyPayButton.tsx +1 -1
  341. package/src/ui/components/OxySignInButton.tsx +2 -1
  342. package/src/ui/components/ProfileCard.tsx +1 -1
  343. package/src/ui/components/SectionTitle.tsx +1 -1
  344. package/src/ui/components/StepBasedScreen.tsx +2 -1
  345. package/src/ui/components/feedback/feedbackStyles.ts +2 -1
  346. package/src/ui/components/fileManagement/AnimatedButton.tsx +56 -0
  347. package/src/ui/components/fileManagement/styles.ts +17 -17
  348. package/src/ui/components/payment/paymentStyles.ts +7 -7
  349. package/src/ui/hooks/mutations/mutationFactory.ts +215 -0
  350. package/src/ui/hooks/mutations/useAccountMutations.ts +48 -136
  351. package/src/ui/hooks/queries/useAccountQueries.ts +6 -33
  352. package/src/ui/hooks/queries/useServicesQueries.ts +6 -32
  353. package/src/ui/hooks/useFileFiltering.ts +115 -0
  354. package/src/ui/navigation/routes.ts +3 -0
  355. package/src/ui/screens/AccountCenterScreen.tsx +4 -2
  356. package/src/ui/screens/AccountOverviewScreen.tsx +13 -5
  357. package/src/ui/screens/AccountSettingsScreen.tsx +35 -1511
  358. package/src/ui/screens/AccountSwitcherScreen.tsx +1 -1
  359. package/src/ui/screens/AccountVerificationScreen.tsx +3 -1
  360. package/src/ui/screens/AppInfoScreen.tsx +2 -2
  361. package/src/ui/screens/EditProfileFieldScreen.tsx +685 -0
  362. package/src/ui/screens/FileManagementScreen.tsx +35 -17
  363. package/src/ui/screens/HistoryViewScreen.tsx +9 -3
  364. package/src/ui/screens/LanguageSelectorScreen.tsx +4 -2
  365. package/src/ui/screens/LegalDocumentsScreen.tsx +3 -1
  366. package/src/ui/screens/PremiumSubscriptionScreen.tsx +11 -13
  367. package/src/ui/screens/PrivacySettingsScreen.tsx +12 -4
  368. package/src/ui/screens/SearchSettingsScreen.tsx +3 -1
  369. package/src/ui/screens/SessionManagementScreen.tsx +15 -5
  370. package/src/ui/screens/UserLinksScreen.tsx +3 -1
  371. package/src/ui/screens/WelcomeNewUserScreen.tsx +2 -1
  372. package/src/ui/screens/karma/KarmaAboutScreen.tsx +6 -8
  373. package/src/ui/screens/karma/KarmaCenterScreen.tsx +3 -3
  374. package/src/ui/screens/karma/KarmaRewardsScreen.tsx +3 -3
  375. package/src/ui/styles/authStyles.ts +4 -4
  376. package/src/ui/styles/fonts.ts +26 -26
  377. package/src/ui/styles/theme.ts +3 -5
  378. package/src/ui/utils/authHelpers.ts +183 -0
  379. package/src/ui/utils/avatarUtils.ts +25 -65
  380. package/src/web.ts +230 -0
  381. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  382. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  383. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  384. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  385. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  386. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  387. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  388. package/lib/commonjs/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  389. package/lib/commonjs/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  390. package/lib/commonjs/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  391. package/lib/commonjs/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  392. package/lib/commonjs/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  393. package/lib/commonjs/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  394. package/lib/commonjs/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  395. package/lib/commonjs/ui/components/profile/EditBioModal.js +0 -181
  396. package/lib/commonjs/ui/components/profile/EditBioModal.js.map +0 -1
  397. package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js +0 -204
  398. package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js.map +0 -1
  399. package/lib/commonjs/ui/components/profile/EditEmailModal.js +0 -184
  400. package/lib/commonjs/ui/components/profile/EditEmailModal.js.map +0 -1
  401. package/lib/commonjs/ui/components/profile/EditFieldModal.js +0 -412
  402. package/lib/commonjs/ui/components/profile/EditFieldModal.js.map +0 -1
  403. package/lib/commonjs/ui/components/profile/EditLinksModal.js +0 -315
  404. package/lib/commonjs/ui/components/profile/EditLinksModal.js.map +0 -1
  405. package/lib/commonjs/ui/components/profile/EditLocationModal.js +0 -273
  406. package/lib/commonjs/ui/components/profile/EditLocationModal.js.map +0 -1
  407. package/lib/commonjs/ui/components/profile/EditUsernameModal.js +0 -180
  408. package/lib/commonjs/ui/components/profile/EditUsernameModal.js.map +0 -1
  409. package/lib/module/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  410. package/lib/module/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  411. package/lib/module/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  412. package/lib/module/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  413. package/lib/module/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  414. package/lib/module/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  415. package/lib/module/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  416. package/lib/module/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  417. package/lib/module/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  418. package/lib/module/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  419. package/lib/module/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  420. package/lib/module/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  421. package/lib/module/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  422. package/lib/module/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  423. package/lib/module/ui/components/profile/EditBioModal.js +0 -175
  424. package/lib/module/ui/components/profile/EditBioModal.js.map +0 -1
  425. package/lib/module/ui/components/profile/EditDisplayNameModal.js +0 -198
  426. package/lib/module/ui/components/profile/EditDisplayNameModal.js.map +0 -1
  427. package/lib/module/ui/components/profile/EditEmailModal.js +0 -178
  428. package/lib/module/ui/components/profile/EditEmailModal.js.map +0 -1
  429. package/lib/module/ui/components/profile/EditFieldModal.js +0 -406
  430. package/lib/module/ui/components/profile/EditFieldModal.js.map +0 -1
  431. package/lib/module/ui/components/profile/EditLinksModal.js +0 -309
  432. package/lib/module/ui/components/profile/EditLinksModal.js.map +0 -1
  433. package/lib/module/ui/components/profile/EditLocationModal.js +0 -267
  434. package/lib/module/ui/components/profile/EditLocationModal.js.map +0 -1
  435. package/lib/module/ui/components/profile/EditUsernameModal.js +0 -174
  436. package/lib/module/ui/components/profile/EditUsernameModal.js.map +0 -1
  437. package/lib/typescript/commonjs/ui/components/profile/EditBioModal.d.ts +0 -11
  438. package/lib/typescript/commonjs/ui/components/profile/EditBioModal.d.ts.map +0 -1
  439. package/lib/typescript/commonjs/ui/components/profile/EditDisplayNameModal.d.ts +0 -12
  440. package/lib/typescript/commonjs/ui/components/profile/EditDisplayNameModal.d.ts.map +0 -1
  441. package/lib/typescript/commonjs/ui/components/profile/EditEmailModal.d.ts +0 -11
  442. package/lib/typescript/commonjs/ui/components/profile/EditEmailModal.d.ts.map +0 -1
  443. package/lib/typescript/commonjs/ui/components/profile/EditFieldModal.d.ts +0 -110
  444. package/lib/typescript/commonjs/ui/components/profile/EditFieldModal.d.ts.map +0 -1
  445. package/lib/typescript/commonjs/ui/components/profile/EditLinksModal.d.ts +0 -18
  446. package/lib/typescript/commonjs/ui/components/profile/EditLinksModal.d.ts.map +0 -1
  447. package/lib/typescript/commonjs/ui/components/profile/EditLocationModal.d.ts +0 -20
  448. package/lib/typescript/commonjs/ui/components/profile/EditLocationModal.d.ts.map +0 -1
  449. package/lib/typescript/commonjs/ui/components/profile/EditUsernameModal.d.ts +0 -11
  450. package/lib/typescript/commonjs/ui/components/profile/EditUsernameModal.d.ts.map +0 -1
  451. package/lib/typescript/module/ui/components/profile/EditBioModal.d.ts +0 -11
  452. package/lib/typescript/module/ui/components/profile/EditBioModal.d.ts.map +0 -1
  453. package/lib/typescript/module/ui/components/profile/EditDisplayNameModal.d.ts +0 -12
  454. package/lib/typescript/module/ui/components/profile/EditDisplayNameModal.d.ts.map +0 -1
  455. package/lib/typescript/module/ui/components/profile/EditEmailModal.d.ts +0 -11
  456. package/lib/typescript/module/ui/components/profile/EditEmailModal.d.ts.map +0 -1
  457. package/lib/typescript/module/ui/components/profile/EditFieldModal.d.ts +0 -110
  458. package/lib/typescript/module/ui/components/profile/EditFieldModal.d.ts.map +0 -1
  459. package/lib/typescript/module/ui/components/profile/EditLinksModal.d.ts +0 -18
  460. package/lib/typescript/module/ui/components/profile/EditLinksModal.d.ts.map +0 -1
  461. package/lib/typescript/module/ui/components/profile/EditLocationModal.d.ts +0 -20
  462. package/lib/typescript/module/ui/components/profile/EditLocationModal.d.ts.map +0 -1
  463. package/lib/typescript/module/ui/components/profile/EditUsernameModal.d.ts +0 -11
  464. package/lib/typescript/module/ui/components/profile/EditUsernameModal.d.ts.map +0 -1
  465. package/src/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  466. package/src/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  467. package/src/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  468. package/src/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  469. package/src/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  470. package/src/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  471. package/src/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  472. package/src/ui/components/profile/EditBioModal.tsx +0 -184
  473. package/src/ui/components/profile/EditDisplayNameModal.tsx +0 -203
  474. package/src/ui/components/profile/EditEmailModal.tsx +0 -188
  475. package/src/ui/components/profile/EditFieldModal.tsx +0 -465
  476. package/src/ui/components/profile/EditLinksModal.tsx +0 -316
  477. package/src/ui/components/profile/EditLocationModal.tsx +0 -278
  478. package/src/ui/components/profile/EditUsernameModal.tsx +0 -183
@@ -8,6 +8,7 @@
8
8
  import { ec as EC } from 'elliptic';
9
9
  import type { ECKeyPair } from 'elliptic';
10
10
  import { Platform } from 'react-native';
11
+ import { logger } from '../utils/loggerUtils';
11
12
 
12
13
  // Lazy imports for React Native specific modules
13
14
  let SecureStore: typeof import('expo-secure-store') | null = null;
@@ -243,7 +244,7 @@ export class KeyManager {
243
244
  KeyManager.cachedHasSharedIdentity = true;
244
245
 
245
246
  if (__DEV__) {
246
- console.log('[KeyManager] Shared identity created successfully');
247
+ logger.debug('Shared identity created successfully', { component: 'KeyManager' });
247
248
  }
248
249
 
249
250
  return publicKey;
@@ -282,7 +283,7 @@ export class KeyManager {
282
283
  return publicKey;
283
284
  } catch (error) {
284
285
  if (__DEV__) {
285
- console.warn('[KeyManager] Failed to get shared public key:', error);
286
+ logger.warn('Failed to get shared public key', { component: 'KeyManager' }, error);
286
287
  }
287
288
  KeyManager.cachedSharedPublicKey = null;
288
289
  return null;
@@ -317,7 +318,7 @@ export class KeyManager {
317
318
  return privateKey;
318
319
  } catch (error) {
319
320
  if (__DEV__) {
320
- console.warn('[KeyManager] Failed to get shared private key:', error);
321
+ logger.warn('Failed to get shared private key', { component: 'KeyManager' }, error);
321
322
  }
322
323
  return null;
323
324
  }
@@ -348,7 +349,7 @@ export class KeyManager {
348
349
  return hasShared;
349
350
  } catch (error) {
350
351
  if (__DEV__) {
351
- console.warn('[KeyManager] Failed to check shared identity:', error);
352
+ logger.warn('Failed to check shared identity', { component: 'KeyManager' }, error);
352
353
  }
353
354
  KeyManager.cachedHasSharedIdentity = false;
354
355
  return false;
@@ -397,7 +398,7 @@ export class KeyManager {
397
398
  KeyManager.cachedHasSharedIdentity = true;
398
399
 
399
400
  if (__DEV__) {
400
- console.log('[KeyManager] Shared identity imported successfully');
401
+ logger.debug('Shared identity imported successfully', { component: 'KeyManager' });
401
402
  }
402
403
 
403
404
  return publicKey;
@@ -436,11 +437,11 @@ export class KeyManager {
436
437
  }
437
438
 
438
439
  if (__DEV__) {
439
- console.log('[KeyManager] Shared session stored successfully');
440
+ logger.debug('Shared session stored successfully', { component: 'KeyManager' });
440
441
  }
441
442
  } catch (error) {
442
443
  if (__DEV__) {
443
- console.error('[KeyManager] Failed to store shared session:', error);
444
+ logger.error('Failed to store shared session', error, { component: 'KeyManager' });
444
445
  }
445
446
  throw error;
446
447
  }
@@ -484,7 +485,7 @@ export class KeyManager {
484
485
  return { sessionId, accessToken };
485
486
  } catch (error) {
486
487
  if (__DEV__) {
487
- console.warn('[KeyManager] Failed to get shared session:', error);
488
+ logger.warn('Failed to get shared session', { component: 'KeyManager' }, error);
488
489
  }
489
490
  return null;
490
491
  }
@@ -517,11 +518,11 @@ export class KeyManager {
517
518
  }
518
519
 
519
520
  if (__DEV__) {
520
- console.log('[KeyManager] Shared session cleared successfully');
521
+ logger.debug('Shared session cleared successfully', { component: 'KeyManager' });
521
522
  }
522
523
  } catch (error) {
523
524
  if (__DEV__) {
524
- console.error('[KeyManager] Failed to clear shared session:', error);
525
+ logger.error('Failed to clear shared session', error, { component: 'KeyManager' });
525
526
  }
526
527
  }
527
528
  }
@@ -545,7 +546,7 @@ export class KeyManager {
545
546
  const hasShared = await KeyManager.hasSharedIdentity();
546
547
  if (hasShared) {
547
548
  if (__DEV__) {
548
- console.log('[KeyManager] Shared identity already exists, skipping migration');
549
+ logger.debug('Shared identity already exists, skipping migration', { component: 'KeyManager' });
549
550
  }
550
551
  return true;
551
552
  }
@@ -554,7 +555,7 @@ export class KeyManager {
554
555
  const privateKey = await KeyManager.getPrivateKey();
555
556
  if (!privateKey) {
556
557
  if (__DEV__) {
557
- console.log('[KeyManager] No local identity to migrate');
558
+ logger.debug('No local identity to migrate', { component: 'KeyManager' });
558
559
  }
559
560
  return false;
560
561
  }
@@ -563,13 +564,13 @@ export class KeyManager {
563
564
  await KeyManager.importSharedIdentity(privateKey);
564
565
 
565
566
  if (__DEV__) {
566
- console.log('[KeyManager] Successfully migrated local identity to shared identity');
567
+ logger.debug('Successfully migrated local identity to shared identity', { component: 'KeyManager' });
567
568
  }
568
569
 
569
570
  return true;
570
571
  } catch (error) {
571
572
  if (__DEV__) {
572
- console.error('[KeyManager] Failed to migrate to shared identity:', error);
573
+ logger.error('Failed to migrate to shared identity', error, { component: 'KeyManager' });
573
574
  }
574
575
  return false;
575
576
  }
@@ -640,7 +641,7 @@ export class KeyManager {
640
641
  // If secure store is not available, return null (no identity)
641
642
  // This allows the app to continue functioning even if secure store fails to load
642
643
  if (__DEV__) {
643
- console.warn('[KeyManager] Failed to access secure store:', error);
644
+ logger.warn('Failed to access secure store', { component: 'KeyManager' }, error);
644
645
  }
645
646
  return null;
646
647
  }
@@ -670,7 +671,7 @@ export class KeyManager {
670
671
  // Cache null to avoid repeated failed attempts
671
672
  KeyManager.cachedPublicKey = null;
672
673
  if (__DEV__) {
673
- console.warn('[KeyManager] Failed to access secure store:', error);
674
+ logger.warn('Failed to access secure store', { component: 'KeyManager' }, error);
674
675
  }
675
676
  return null;
676
677
  }
@@ -700,7 +701,7 @@ export class KeyManager {
700
701
  // Cache false to avoid repeated failed attempts
701
702
  KeyManager.cachedHasIdentity = false;
702
703
  if (__DEV__) {
703
- console.warn('[KeyManager] Failed to check identity:', error);
704
+ logger.warn('Failed to check identity', { component: 'KeyManager' }, error);
704
705
  }
705
706
  return false;
706
707
  }
@@ -741,11 +742,11 @@ export class KeyManager {
741
742
  try {
742
743
  const backupSuccess = await KeyManager.backupIdentity();
743
744
  if (!backupSuccess && typeof __DEV__ !== 'undefined' && __DEV__) {
744
- console.warn('[KeyManager] Failed to backup identity before deletion - proceeding anyway');
745
+ logger.warn('Failed to backup identity before deletion - proceeding anyway', { component: 'KeyManager' });
745
746
  }
746
747
  } catch (backupError) {
747
748
  if (typeof __DEV__ !== 'undefined' && __DEV__) {
748
- console.warn('[KeyManager] Failed to backup identity before deletion:', backupError);
749
+ logger.warn('Failed to backup identity before deletion', { component: 'KeyManager' }, backupError);
749
750
  }
750
751
  }
751
752
  }
@@ -795,7 +796,7 @@ export class KeyManager {
795
796
  return true;
796
797
  } catch (error) {
797
798
  if (typeof __DEV__ !== 'undefined' && __DEV__) {
798
- console.error('[KeyManager] Failed to backup identity:', error);
799
+ logger.error('Failed to backup identity', error, { component: 'KeyManager' });
799
800
  }
800
801
  return false;
801
802
  }
@@ -841,7 +842,7 @@ export class KeyManager {
841
842
  return true;
842
843
  } catch (error) {
843
844
  if (typeof __DEV__ !== 'undefined' && __DEV__) {
844
- console.error('[KeyManager] Identity integrity check failed:', error);
845
+ logger.error('Identity integrity check failed', error, { component: 'KeyManager' });
845
846
  }
846
847
  return false;
847
848
  }
@@ -898,7 +899,7 @@ export class KeyManager {
898
899
  return false;
899
900
  } catch (error) {
900
901
  if (typeof __DEV__ !== 'undefined' && __DEV__) {
901
- console.error('[KeyManager] Failed to restore identity from backup:', error);
902
+ logger.error('Failed to restore identity from backup', error, { component: 'KeyManager' });
902
903
  }
903
904
  return false;
904
905
  }
@@ -45,7 +45,7 @@
45
45
  "viewAllAccounts": "View {{count}} more",
46
46
  "status": {
47
47
  "accountSwitched": "Now using {{name}}"
48
- },
48
+ }
49
49
  },
50
50
  "signup": {
51
51
  "welcome": {
@@ -580,7 +580,7 @@
580
580
  "verifyAccount": {
581
581
  "title": "Verify Account",
582
582
  "subtitle": "Get a verified badge"
583
- },
583
+ }
584
584
  },
585
585
  "confirms": {
586
586
  "removeAvatar": "Remove your profile picture?"
@@ -594,7 +594,7 @@
594
594
  "avatarSelected": "Avatar selected",
595
595
  "avatarUpdated": "Avatar updated",
596
596
  "updateAvatarFailed": "Failed to update avatar",
597
- "noActiveSession": "No active session",
597
+ "noActiveSession": "No active session"
598
598
  }
599
599
  },
600
600
  "accountOverview": {
@@ -45,7 +45,7 @@
45
45
  "viewAllAccounts": "Ver {{count}} más",
46
46
  "status": {
47
47
  "accountSwitched": "Ahora usando {{name}}"
48
- },
48
+ }
49
49
  },
50
50
  "signup": {
51
51
  "welcome": {
@@ -91,7 +91,15 @@
91
91
  },
92
92
  "notSet": "Sin definir",
93
93
  "securityTip": "Para mayor seguridad, habilita la autenticación biométrica en Configuración de la cuenta después de crear tu cuenta.",
94
- "legalReminder": "Al crear una cuenta, aceptas nuestros Términos de servicio y Política de privacidad."
94
+ "legalReminder": "Al crear una cuenta, aceptas nuestros Términos de servicio y Política de privacidad.",
95
+ "sections": {
96
+ "account": "Información de la cuenta",
97
+ "next": "Próximos pasos"
98
+ },
99
+ "next": {
100
+ "securityTitle": "Mantén tu cuenta segura",
101
+ "legalTitle": "Todo listo"
102
+ }
95
103
  }
96
104
  },
97
105
  "profile": {
@@ -116,7 +124,8 @@
116
124
  "username": {
117
125
  "label": "Usuario",
118
126
  "placeholder": "Introduce tu usuario",
119
- "errorRequired": "Por favor, introduce tu usuario."
127
+ "errorRequired": "Por favor, introduce tu usuario.",
128
+ "helper": "Introduce tu usuario o correo electrónico"
120
129
  },
121
130
  "verify": {
122
131
  "title": "Verificar código",
@@ -180,14 +189,12 @@
180
189
  },
181
190
  "privacySettings": {
182
191
  "title": "Ajustes de privacidad",
183
- "subtitle": "Controla quién puede ver tu perfil",
184
- "coming": "¡Los ajustes de privacidad estarán disponibles pronto!"
192
+ "subtitle": "Controla quién puede ver tu perfil"
185
193
  },
186
194
  "verifyAccount": {
187
195
  "title": "Verificar cuenta",
188
- "subtitle": "Obtén una insignia verificada",
189
- "coming": "¡La verificación de cuenta estará disponible pronto!"
190
- },
196
+ "subtitle": "Obtén una insignia verificada"
197
+ }
191
198
  },
192
199
  "confirms": {
193
200
  "removeAvatar": "¿Eliminar tu foto de perfil?"
@@ -201,7 +208,7 @@
201
208
  "avatarSelected": "Avatar seleccionado",
202
209
  "avatarUpdated": "Avatar actualizado",
203
210
  "updateAvatarFailed": "Error al actualizar el avatar",
204
- "noActiveSession": "No hay sesión activa",
211
+ "noActiveSession": "No hay sesión activa"
205
212
  }
206
213
  },
207
214
  "common": {
@@ -289,23 +296,27 @@
289
296
  "subtitle": "Métodos de pago y facturas",
290
297
  "coming": "¡La gestión de facturación estará disponible pronto!"
291
298
  },
292
- "accountSwitcher": {
293
- "titleShow": "Mostrar conmutador de cuentas",
294
- "titleHide": "Ocultar conmutador de cuentas",
295
- "subtitleHide": "Ocultar el conmutador de cuentas",
296
- "subtitleSwitchBetween": "Cambiar entre {{count}} cuentas",
297
- "subtitleLoading": "Cargando cuentas adicionales...",
298
- "subtitleManageMultiple": "Gestionar varias cuentas"
299
- },
300
299
  "downloadData": {
301
300
  "title": "Descargar mis datos",
302
301
  "subtitle": "Exporta la información de tu cuenta",
303
- "coming": "¡La descarga de datos estará disponible pronto!"
302
+ "confirmTitle": "Descargar datos de la cuenta",
303
+ "confirmMessage": "Elige el formato para exportar los datos de tu cuenta:",
304
+ "downloading": "Preparando descarga...",
305
+ "success": "Datos descargados correctamente",
306
+ "error": "Error al descargar los datos"
304
307
  },
305
308
  "deleteAccount": {
306
309
  "title": "Eliminar cuenta",
307
310
  "subtitle": "Elimina tu cuenta permanentemente",
308
- "coming": "¡La eliminación de cuenta estará disponible pronto!"
311
+ "confirmTitle": "Eliminar cuenta",
312
+ "confirmMessage": "Esta acción no se puede deshacer. Esto eliminará permanentemente tu cuenta y todos los datos asociados.\n\n¿Seguro que quieres eliminar tu cuenta?",
313
+ "finalConfirm": "Esta es tu advertencia final. Tu cuenta será eliminada permanentemente y no se podrá recuperar. Escribe \"{{username}}\" para confirmar.",
314
+ "confirm": "Eliminar para siempre",
315
+ "passwordRequired": "Se requiere confirmación de contraseña. Por favor, usa un modal con entrada de contraseña para completar la eliminación de la cuenta.",
316
+ "missingFields": "Se requiere contraseña y confirmación",
317
+ "confirmMismatch": "El texto de confirmación no coincide con el usuario",
318
+ "success": "Cuenta eliminada correctamente",
319
+ "error": "Error al eliminar la cuenta"
309
320
  },
310
321
  "preferences": {
311
322
  "title": "Preferencias de la cuenta",
@@ -329,6 +340,30 @@
329
340
  "signOut": {
330
341
  "title": "Cerrar sesión",
331
342
  "subtitle": "Cierra sesión en tu cuenta actual"
343
+ },
344
+ "history": {
345
+ "title": "Historial",
346
+ "subtitle": "Ver y gestionar tu historial de búsqueda"
347
+ },
348
+ "saves": {
349
+ "title": "Guardados y colecciones",
350
+ "subtitle": "Ver tus elementos guardados y colecciones"
351
+ },
352
+ "searchSettings": {
353
+ "title": "Configuración de búsqueda",
354
+ "subtitle": "SafeSearch y personalización"
355
+ },
356
+ "language": {
357
+ "title": "Idioma",
358
+ "subtitle": "Elige tu idioma preferido"
359
+ },
360
+ "privacyPolicy": {
361
+ "title": "Política de privacidad",
362
+ "subtitle": "Cómo manejamos tus datos"
363
+ },
364
+ "termsOfService": {
365
+ "title": "Términos de servicio",
366
+ "subtitle": "Términos y condiciones de uso"
332
367
  }
333
368
  },
334
369
  "manageComing": "¡La gestión de tu cuenta Oxy estará disponible pronto!",
@@ -719,5 +754,191 @@
719
754
  "enter": "Entrar",
720
755
  "continue": "Continuar"
721
756
  }
757
+ },
758
+ "history": {
759
+ "title": "Historial",
760
+ "actions": "Acciones",
761
+ "recent": "Historial reciente",
762
+ "loading": "Cargando historial...",
763
+ "empty": "Aún no hay historial",
764
+ "justNow": "Justo ahora",
765
+ "minutesAgo": "minutos atrás",
766
+ "hoursAgo": "horas atrás",
767
+ "daysAgo": "días atrás",
768
+ "deleteLast15Minutes": {
769
+ "title": "Eliminar últimos 15 minutos",
770
+ "subtitle": "Eliminar entradas recientes del historial",
771
+ "confirm": "¿Eliminar los últimos 15 minutos del historial?",
772
+ "success": "Últimos 15 minutos eliminados",
773
+ "error": "Error al eliminar el historial"
774
+ },
775
+ "clearAll": {
776
+ "title": "Borrar todo el historial",
777
+ "subtitle": "Eliminar todas las entradas del historial",
778
+ "confirm": "¿Borrar todo el historial? Esto no se puede deshacer.",
779
+ "success": "Historial borrado",
780
+ "error": "Error al borrar el historial"
781
+ }
782
+ },
783
+ "saves": {
784
+ "title": "Guardados y colecciones",
785
+ "tabs": {
786
+ "saves": "Guardados",
787
+ "collections": "Colecciones"
788
+ },
789
+ "loading": "Cargando...",
790
+ "empty": "Aún no hay elementos guardados",
791
+ "noCollections": "Aún no hay colecciones",
792
+ "savedItems": "Elementos guardados",
793
+ "collections": "Colecciones",
794
+ "loadError": "Error al cargar elementos guardados"
795
+ },
796
+ "searchSettings": {
797
+ "title": "Configuración de búsqueda",
798
+ "safeSearch": {
799
+ "title": "SafeSearch",
800
+ "label": "Activar SafeSearch",
801
+ "description": "Filtrar contenido explícito de los resultados de búsqueda",
802
+ "updated": "Configuración de SafeSearch actualizada",
803
+ "error": "Error al actualizar SafeSearch"
804
+ },
805
+ "personalization": {
806
+ "title": "Personalización de búsqueda",
807
+ "label": "Búsqueda personalizada",
808
+ "description": "Usa tu actividad para mejorar los resultados de búsqueda",
809
+ "updated": "Personalización de búsqueda actualizada",
810
+ "error": "Error al actualizar la personalización"
811
+ }
812
+ },
813
+ "privacySettings": {
814
+ "title": "Configuración de privacidad",
815
+ "loadError": "Error al cargar la configuración de privacidad",
816
+ "updated": "Configuración de privacidad actualizada",
817
+ "updateError": "Error al actualizar la configuración de privacidad",
818
+ "sections": {
819
+ "account": "PRIVACIDAD DE LA CUENTA",
820
+ "interactions": "INTERACCIONES",
821
+ "activity": "ACTIVIDAD Y DATOS",
822
+ "content": "CONTENIDO Y SEGURIDAD"
823
+ },
824
+ "isPrivateAccount": "Cuenta privada",
825
+ "isPrivateAccountDesc": "Solo los seguidores aprobados pueden ver tus publicaciones",
826
+ "profileVisibility": "Visibilidad del perfil",
827
+ "profileVisibilityDesc": "Controla quién puede ver tu perfil",
828
+ "hideOnlineStatus": "Ocultar estado en línea",
829
+ "hideOnlineStatusDesc": "No mostrar cuando estás en línea",
830
+ "hideLastSeen": "Ocultar última vez visto",
831
+ "hideLastSeenDesc": "No mostrar cuándo estuviste activo por última vez",
832
+ "allowTagging": "Permitir etiquetado",
833
+ "allowTaggingDesc": "Permite que otros te etiqueten en publicaciones",
834
+ "allowMentions": "Permitir menciones",
835
+ "allowMentionsDesc": "Permite que otros te mencionen",
836
+ "allowDirectMessages": "Permitir mensajes directos",
837
+ "allowDirectMessagesDesc": "Permite que otros te envíen mensajes directos",
838
+ "hideReadReceipts": "Ocultar confirmaciones de lectura",
839
+ "hideReadReceiptsDesc": "No mostrar confirmaciones de lectura en mensajes",
840
+ "showActivity": "Mostrar estado de actividad",
841
+ "showActivityDesc": "Mostrar tu actividad en tu perfil",
842
+ "dataSharing": "Compartir datos",
843
+ "dataSharingDesc": "Permitir compartir datos para personalización",
844
+ "locationSharing": "Compartir ubicación",
845
+ "locationSharingDesc": "Compartir tu ubicación",
846
+ "analyticsSharing": "Compartir análisis",
847
+ "analyticsSharingDesc": "Permitir recopilación de datos de análisis",
848
+ "sensitiveContent": "Mostrar contenido sensible",
849
+ "sensitiveContentDesc": "Permitir contenido sensible o explícito",
850
+ "autoFilter": "Filtro automático",
851
+ "autoFilterDesc": "Filtrar automáticamente contenido inapropiado",
852
+ "muteKeywords": "Silenciar palabras clave",
853
+ "muteKeywordsDesc": "Ocultar publicaciones que contengan palabras clave silenciadas",
854
+ "blockScreenshots": "Bloquear capturas de pantalla",
855
+ "blockScreenshotsDesc": "Evitar capturas de pantalla de tu contenido"
856
+ },
857
+ "accountVerification": {
858
+ "title": "Verificación de cuenta",
859
+ "description": "Solicita una insignia verificada para tu cuenta. Las cuentas verificadas ayudan a establecer autenticidad y credibilidad.",
860
+ "sections": {
861
+ "request": "SOLICITUD DE VERIFICACIÓN"
862
+ },
863
+ "reasonLabel": "Motivo de la verificación *",
864
+ "reasonPlaceholder": "Explica por qué necesitas una insignia verificada (p. ej., figura pública, marca, organización)",
865
+ "reasonRequired": "Por favor, proporciona un motivo para la verificación",
866
+ "evidenceLabel": "Evidencia (Opcional)",
867
+ "evidencePlaceholder": "Proporciona documentación de respaldo o enlaces (p. ej., sitio web oficial, perfiles de redes sociales)",
868
+ "submit": "Enviar solicitud",
869
+ "submitError": "Error al enviar la solicitud de verificación",
870
+ "successTitle": "Solicitud enviada",
871
+ "successMessage": "Tu solicitud de verificación ha sido enviada. ID de solicitud: {{requestId}}",
872
+ "ok": "OK",
873
+ "error": "Servicio no disponible",
874
+ "note": "Nota: Las solicitudes de verificación se revisan manualmente y pueden tardar varios días. Te notificaremos cuando tu solicitud haya sido revisada."
875
+ },
876
+ "help": {
877
+ "title": "Ayuda y soporte",
878
+ "options": "Obtener ayuda",
879
+ "resources": "Recursos",
880
+ "contactError": "Error al abrir el cliente de correo",
881
+ "reportError": "Error al abrir el cliente de correo",
882
+ "linkError": "Error al abrir el enlace",
883
+ "faqComing": "FAQ próximamente",
884
+ "faq": {
885
+ "title": "Preguntas frecuentes",
886
+ "subtitle": "Encuentra respuestas a preguntas comunes"
887
+ },
888
+ "contact": {
889
+ "title": "Contactar con soporte",
890
+ "subtitle": "Obtén ayuda de nuestro equipo de soporte"
891
+ },
892
+ "reportBug": {
893
+ "title": "Reportar un error",
894
+ "subtitle": "Ayúdanos a mejorar reportando problemas"
895
+ },
896
+ "documentation": {
897
+ "title": "Documentación",
898
+ "subtitle": "Guías de usuario y tutoriales"
899
+ },
900
+ "community": {
901
+ "title": "Comunidad",
902
+ "subtitle": "Únete a nuestra comunidad"
903
+ },
904
+ "developersPortal": {
905
+ "title": "Portal de desarrolladores",
906
+ "subtitle": "Documentación de API y recursos para desarrolladores"
907
+ }
908
+ },
909
+ "legal": {
910
+ "title": "Documentos legales",
911
+ "documents": "Documentos",
912
+ "policies": "Políticas y directrices",
913
+ "opening": "Abriendo documento...",
914
+ "openError": "Error al abrir el documento",
915
+ "privacyPolicy": {
916
+ "title": "Política de privacidad",
917
+ "subtitle": "Cómo manejamos tus datos"
918
+ },
919
+ "termsOfService": {
920
+ "title": "Términos de servicio",
921
+ "subtitle": "Términos y condiciones de uso"
922
+ },
923
+ "communityGuidelines": {
924
+ "title": "Directrices de la comunidad",
925
+ "subtitle": "Reglas y expectativas para nuestra comunidad"
926
+ },
927
+ "dataRetention": {
928
+ "title": "Política de retención de datos",
929
+ "subtitle": "Cuánto tiempo conservamos tus datos"
930
+ },
931
+ "contentModeration": {
932
+ "title": "Política de moderación de contenido",
933
+ "subtitle": "Cómo moderamos el contenido"
934
+ },
935
+ "childSafety": {
936
+ "title": "Política de seguridad infantil",
937
+ "subtitle": "Protegiendo a los menores en nuestra plataforma"
938
+ },
939
+ "cookiePolicy": {
940
+ "title": "Política de cookies",
941
+ "subtitle": "Cómo usamos cookies y tecnologías similares"
942
+ }
722
943
  }
723
944
  }
package/src/index.ts CHANGED
@@ -183,6 +183,31 @@ export {
183
183
  useRemoveDevice,
184
184
  } from './ui/hooks/mutations';
185
185
 
186
+ // Mutation factory utilities
187
+ export {
188
+ createProfileMutation,
189
+ createGenericMutation,
190
+ } from './ui/hooks/mutations/mutationFactory';
191
+ export type {
192
+ ProfileMutationConfig,
193
+ GenericMutationConfig,
194
+ } from './ui/hooks/mutations/mutationFactory';
195
+
196
+ // Authentication helpers
197
+ export {
198
+ ensureValidToken,
199
+ withAuthErrorHandling,
200
+ authenticatedApiCall,
201
+ isAuthenticationError,
202
+ SessionSyncRequiredError,
203
+ AuthenticationFailedError,
204
+ } from './ui/utils/authHelpers';
205
+ export type { HandleApiErrorOptions } from './ui/utils/authHelpers';
206
+
207
+ // File filtering hook
208
+ export { useFileFiltering } from './ui/hooks/useFileFiltering';
209
+ export type { ViewMode, SortBy, SortOrder } from './ui/hooks/useFileFiltering';
210
+
186
211
  // UI components
187
212
  export { OxySignInButton } from './ui/components/OxySignInButton';
188
213
  export { OxyLogo, FollowButton } from './ui';
@@ -191,7 +191,7 @@ const Avatar: React.FC<AvatarProps> = ({
191
191
  styles.text,
192
192
  {
193
193
  fontSize,
194
- fontFamily: fontFamilies.phuduBold,
194
+ fontFamily: fontFamilies.interBold,
195
195
  color: textColor,
196
196
  textAlign: 'center' as const,
197
197
  lineHeight: size, // Match line height to size for perfect vertical centering
@@ -212,7 +212,7 @@ const FollowButton: React.FC<FollowButtonProps> = ({
212
212
  // Get base text style (without state-specific colors since they're animated)
213
213
  const getBaseTextStyle = (): StyleProp<TextStyle> => {
214
214
  const baseTextStyle = {
215
- fontFamily: fontFamilies.phuduSemiBold,
215
+ fontFamily: fontFamilies.interSemiBold,
216
216
  fontWeight: '600' as const,
217
217
  };
218
218