@oxy.so/services 6.2.0 → 8.0.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 (909) hide show
  1. package/README.md +80 -136
  2. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  3. package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  4. package/lib/commonjs/assets/assets/fonts/icons/manifest.json +5 -20
  5. package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  6. package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  7. package/lib/commonjs/assets/fonts/icons/manifest.json +5 -20
  8. package/lib/commonjs/index.js +21 -15
  9. package/lib/commonjs/index.js.map +1 -1
  10. package/lib/commonjs/ui/boot/runProviderColdBoot.js +2 -1
  11. package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -1
  12. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +2 -3
  13. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -1
  14. package/lib/commonjs/ui/components/OxyAuthChooser.js +15 -32
  15. package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
  16. package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
  17. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
  18. package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -1
  19. package/lib/commonjs/ui/components/ProfileButton.js +1 -1
  20. package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
  21. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +2 -2
  22. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  23. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +6 -17
  24. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +1 -1
  25. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +1 -1
  26. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -1
  27. package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +1 -1
  28. package/lib/commonjs/ui/components/authChooser/types.js +0 -8
  29. package/lib/commonjs/ui/components/authChooser/types.js.map +1 -1
  30. package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +1 -1
  31. package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +2 -2
  32. package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
  33. package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +325 -0
  34. package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -0
  35. package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js +52 -56
  36. package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
  37. package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +48 -38
  38. package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  39. package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +141 -0
  40. package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -0
  41. package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +496 -201
  42. package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
  43. package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js +211 -42
  44. package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -1
  45. package/lib/commonjs/ui/components/signIn/ReauthStep.js +186 -0
  46. package/lib/commonjs/ui/components/signIn/ReauthStep.js.map +1 -0
  47. package/lib/commonjs/ui/components/signIn/accountFlowParts.js +103 -26
  48. package/lib/commonjs/ui/components/signIn/accountFlowParts.js.map +1 -1
  49. package/lib/commonjs/ui/components/signIn/signInFlowStore.js +50 -0
  50. package/lib/commonjs/ui/components/signIn/signInFlowStore.js.map +1 -0
  51. package/lib/commonjs/ui/components/signIn/signInMethods.js +11 -25
  52. package/lib/commonjs/ui/components/signIn/signInMethods.js.map +1 -1
  53. package/lib/commonjs/ui/context/OxyContext.js +125 -119
  54. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  55. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +11 -10
  56. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
  57. package/lib/commonjs/ui/context/useOxyAccountGraph.js +4 -4
  58. package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -1
  59. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +1 -1
  60. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +19 -9
  61. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  62. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +4 -4
  63. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  64. package/lib/commonjs/ui/hooks/queries/queryKeys.js +23 -3
  65. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
  66. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +8 -8
  67. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
  68. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +27 -15
  69. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -1
  70. package/lib/commonjs/ui/hooks/queries/useFileQueries.js +5 -2
  71. package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
  72. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +8 -8
  73. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  74. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +4 -3
  75. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
  76. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +6 -6
  77. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
  78. package/lib/commonjs/ui/hooks/useAssets.js +36 -20
  79. package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
  80. package/lib/commonjs/ui/hooks/useAvatarPicker.js +6 -4
  81. package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
  82. package/lib/commonjs/ui/hooks/useDeviceManagement.js +5 -5
  83. package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -1
  84. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +2 -2
  85. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
  86. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +1 -4
  87. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
  88. package/lib/commonjs/ui/hooks/useFollow.js +2 -2
  89. package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
  90. package/lib/commonjs/ui/hooks/useFollowTarget.js +5 -5
  91. package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -1
  92. package/lib/commonjs/ui/hooks/useI18n.js +4 -1
  93. package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
  94. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +2 -2
  95. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -1
  96. package/lib/commonjs/ui/hooks/useSessionManagement.js +3 -3
  97. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
  98. package/lib/commonjs/ui/icons/subsetGlyphMaps.js +0 -15
  99. package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
  100. package/lib/commonjs/ui/navigation/routes.js +6 -4
  101. package/lib/commonjs/ui/navigation/routes.js.map +1 -1
  102. package/lib/commonjs/ui/navigation/surfaceRegistry.js +1 -1
  103. package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -1
  104. package/lib/commonjs/ui/oauth/browserBridge.js +247 -0
  105. package/lib/commonjs/ui/oauth/browserBridge.js.map +1 -0
  106. package/lib/commonjs/ui/oauth/completeOAuthCode.js +1 -1
  107. package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +1 -1
  108. package/lib/commonjs/ui/oauth/explicitOAuthConsent.js +1 -1
  109. package/lib/commonjs/ui/oauth/explicitOAuthConsent.js.map +1 -1
  110. package/lib/commonjs/ui/runtime/createOxyRuntime.js +9 -8
  111. package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
  112. package/lib/commonjs/ui/runtime/runtimeContext.js.map +1 -1
  113. package/lib/commonjs/ui/screens/AccountMembersScreen.js +7 -7
  114. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
  115. package/lib/commonjs/ui/screens/AccountSecurityPanelScreen.js +35 -0
  116. package/lib/commonjs/ui/screens/AccountSecurityPanelScreen.js.map +1 -0
  117. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +3 -3
  118. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  119. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +1 -1
  120. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  121. package/lib/commonjs/ui/screens/AppInfoScreen.js +5 -5
  122. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  123. package/lib/commonjs/ui/screens/AvatarCropScreen.js +3 -3
  124. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
  125. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +1 -1
  126. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
  127. package/lib/commonjs/ui/screens/CreateAccountScreen.js +1 -1
  128. package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
  129. package/lib/commonjs/ui/screens/DeleteAccountScreen.js +19 -0
  130. package/lib/commonjs/ui/screens/DeleteAccountScreen.js.map +1 -0
  131. package/lib/commonjs/ui/screens/DomainsScreen.js +217 -0
  132. package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -0
  133. package/lib/commonjs/ui/screens/EditProfileScreen.js +1 -1
  134. package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
  135. package/lib/commonjs/ui/screens/FileManagementScreen.js +25 -11
  136. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  137. package/lib/commonjs/ui/screens/HelpSupportScreen.js +1 -17
  138. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  139. package/lib/commonjs/ui/screens/LinkCommonsScreen.js +14 -0
  140. package/lib/commonjs/ui/screens/LinkCommonsScreen.js.map +1 -0
  141. package/lib/commonjs/ui/screens/ManageAccountScreen.js +57 -61
  142. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
  143. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +52 -62
  144. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  145. package/lib/commonjs/ui/screens/ProfileScreen.js +5 -13
  146. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  147. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +15 -24
  148. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  149. package/lib/commonjs/ui/screens/SignInAuthenticatorScreen.js +14 -0
  150. package/lib/commonjs/ui/screens/SignInAuthenticatorScreen.js.map +1 -0
  151. package/lib/commonjs/ui/screens/SignInPasswordScreen.js +20 -0
  152. package/lib/commonjs/ui/screens/SignInPasswordScreen.js.map +1 -0
  153. package/lib/commonjs/ui/screens/UserListScreen.js +3 -3
  154. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  155. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +1 -1
  156. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  157. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +25 -17
  158. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  159. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +2 -2
  160. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  161. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +8 -14
  162. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  163. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +11 -9
  164. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  165. package/lib/commonjs/ui/session/authStore.js +4 -4
  166. package/lib/commonjs/ui/session/authStore.js.map +1 -1
  167. package/lib/commonjs/ui/session/backgroundSession.js +5 -40
  168. package/lib/commonjs/ui/session/backgroundSession.js.map +1 -1
  169. package/lib/commonjs/ui/session/createSessionClient.js +3 -3
  170. package/lib/commonjs/ui/session/createSessionClient.js.map +1 -1
  171. package/lib/commonjs/ui/session/deviceCredentialTracker.js +42 -0
  172. package/lib/commonjs/ui/session/deviceCredentialTracker.js.map +1 -0
  173. package/lib/commonjs/ui/session/identityBinding.js +3 -3
  174. package/lib/commonjs/ui/session/identityBinding.js.map +1 -1
  175. package/lib/commonjs/ui/session/index.js +6 -6
  176. package/lib/commonjs/ui/session/index.js.map +1 -1
  177. package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js +2 -2
  178. package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js.map +1 -1
  179. package/lib/commonjs/ui/session/tokenTransport.js +3 -3
  180. package/lib/commonjs/ui/session/tokenTransport.js.map +1 -1
  181. package/lib/commonjs/ui/stores/assetStore.js +12 -0
  182. package/lib/commonjs/ui/stores/assetStore.js.map +1 -1
  183. package/lib/commonjs/ui/stores/followStore.js +6 -6
  184. package/lib/commonjs/ui/stores/followStore.js.map +1 -1
  185. package/lib/commonjs/ui/utils/accountDeletionHandoff.js +1 -4
  186. package/lib/commonjs/ui/utils/accountDeletionHandoff.js.map +1 -1
  187. package/lib/commonjs/ui/utils/avatarUtils.js +1 -1
  188. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
  189. package/lib/commonjs/ui/utils/deviceCredential.js +11 -4
  190. package/lib/commonjs/ui/utils/deviceCredential.js.map +1 -1
  191. package/lib/commonjs/ui/utils/fileManagement.js +0 -10
  192. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
  193. package/lib/commonjs/ui/utils/sessionHelpers.js +2 -2
  194. package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
  195. package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  196. package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  197. package/lib/module/assets/assets/fonts/icons/manifest.json +5 -20
  198. package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  199. package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  200. package/lib/module/assets/fonts/icons/manifest.json +5 -20
  201. package/lib/module/index.js +6 -6
  202. package/lib/module/index.js.map +1 -1
  203. package/lib/module/ui/boot/runProviderColdBoot.js +2 -1
  204. package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -1
  205. package/lib/module/ui/components/OxyAccountDialogScreen.js +2 -3
  206. package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -1
  207. package/lib/module/ui/components/OxyAuthChooser.js +15 -32
  208. package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
  209. package/lib/module/ui/components/OxySignInButton.js +1 -1
  210. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  211. package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -1
  212. package/lib/module/ui/components/ProfileButton.js +1 -1
  213. package/lib/module/ui/components/ProfileButton.js.map +1 -1
  214. package/lib/module/ui/components/authChooser/AccountsMenuView.js +1 -1
  215. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
  216. package/lib/module/ui/components/authChooser/SignInRequestView.js +6 -17
  217. package/lib/module/ui/components/authChooser/SignInRequestView.js.map +1 -1
  218. package/lib/module/ui/components/authChooser/TroubleDisclosure.js +1 -1
  219. package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -1
  220. package/lib/module/ui/components/authChooser/signInProgress.js.map +1 -1
  221. package/lib/module/ui/components/authChooser/types.js +0 -8
  222. package/lib/module/ui/components/authChooser/types.js.map +1 -1
  223. package/lib/module/ui/components/signIn/InlineCommonsQr.js +1 -1
  224. package/lib/module/ui/components/signIn/OxyAccountPicker.js +1 -1
  225. package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
  226. package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +321 -0
  227. package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -0
  228. package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js +54 -58
  229. package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
  230. package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +48 -38
  231. package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
  232. package/lib/module/ui/components/signIn/OxyPasswordPanel.js +136 -0
  233. package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -0
  234. package/lib/module/ui/components/signIn/OxySignInPanel.js +496 -201
  235. package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
  236. package/lib/module/ui/components/signIn/OxySignUpPanel.js +212 -43
  237. package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -1
  238. package/lib/module/ui/components/signIn/ReauthStep.js +181 -0
  239. package/lib/module/ui/components/signIn/ReauthStep.js.map +1 -0
  240. package/lib/module/ui/components/signIn/accountFlowParts.js +97 -26
  241. package/lib/module/ui/components/signIn/accountFlowParts.js.map +1 -1
  242. package/lib/module/ui/components/signIn/signInFlowStore.js +44 -0
  243. package/lib/module/ui/components/signIn/signInFlowStore.js.map +1 -0
  244. package/lib/module/ui/components/signIn/signInMethods.js +11 -25
  245. package/lib/module/ui/components/signIn/signInMethods.js.map +1 -1
  246. package/lib/module/ui/context/OxyContext.js +121 -115
  247. package/lib/module/ui/context/OxyContext.js.map +1 -1
  248. package/lib/module/ui/context/hooks/useAuthOperations.js +7 -7
  249. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
  250. package/lib/module/ui/context/useOxyAccountGraph.js +4 -4
  251. package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -1
  252. package/lib/module/ui/hooks/mutations/mutationFactory.js +1 -1
  253. package/lib/module/ui/hooks/mutations/useAccountMutations.js +19 -9
  254. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  255. package/lib/module/ui/hooks/mutations/useServicesMutations.js +4 -4
  256. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  257. package/lib/module/ui/hooks/queries/queryKeys.js +23 -3
  258. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
  259. package/lib/module/ui/hooks/queries/useAccountQueries.js +8 -8
  260. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  261. package/lib/module/ui/hooks/queries/useAuthMethods.js +25 -14
  262. package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -1
  263. package/lib/module/ui/hooks/queries/useFileQueries.js +5 -2
  264. package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
  265. package/lib/module/ui/hooks/queries/usePaymentQueries.js +8 -8
  266. package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  267. package/lib/module/ui/hooks/queries/useSecurityQueries.js +4 -3
  268. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
  269. package/lib/module/ui/hooks/queries/useServicesQueries.js +6 -6
  270. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
  271. package/lib/module/ui/hooks/useAssets.js +36 -20
  272. package/lib/module/ui/hooks/useAssets.js.map +1 -1
  273. package/lib/module/ui/hooks/useAvatarPicker.js +6 -4
  274. package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
  275. package/lib/module/ui/hooks/useDeviceManagement.js +4 -4
  276. package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -1
  277. package/lib/module/ui/hooks/useDeviceSwitcher.js +2 -2
  278. package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
  279. package/lib/module/ui/hooks/useFileDownloadUrl.js +1 -4
  280. package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -1
  281. package/lib/module/ui/hooks/useFollow.js +2 -2
  282. package/lib/module/ui/hooks/useFollow.js.map +1 -1
  283. package/lib/module/ui/hooks/useFollowTarget.js +5 -5
  284. package/lib/module/ui/hooks/useFollowTarget.js.map +1 -1
  285. package/lib/module/ui/hooks/useI18n.js +6 -3
  286. package/lib/module/ui/hooks/useI18n.js.map +1 -1
  287. package/lib/module/ui/hooks/useResolvedFileUrls.js +2 -2
  288. package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -1
  289. package/lib/module/ui/hooks/useSessionManagement.js +3 -3
  290. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
  291. package/lib/module/ui/icons/subsetGlyphMaps.js +0 -15
  292. package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
  293. package/lib/module/ui/navigation/routes.js +6 -4
  294. package/lib/module/ui/navigation/routes.js.map +1 -1
  295. package/lib/module/ui/navigation/surfaceRegistry.js +1 -1
  296. package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -1
  297. package/lib/module/ui/oauth/browserBridge.js +239 -0
  298. package/lib/module/ui/oauth/browserBridge.js.map +1 -0
  299. package/lib/module/ui/oauth/completeOAuthCode.js +1 -1
  300. package/lib/module/ui/oauth/completeOAuthCode.js.map +1 -1
  301. package/lib/module/ui/oauth/explicitOAuthConsent.js +1 -1
  302. package/lib/module/ui/oauth/explicitOAuthConsent.js.map +1 -1
  303. package/lib/module/ui/runtime/createOxyRuntime.js +4 -3
  304. package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
  305. package/lib/module/ui/runtime/runtimeContext.js.map +1 -1
  306. package/lib/module/ui/screens/AccountMembersScreen.js +7 -7
  307. package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
  308. package/lib/module/ui/screens/AccountSecurityPanelScreen.js +32 -0
  309. package/lib/module/ui/screens/AccountSecurityPanelScreen.js.map +1 -0
  310. package/lib/module/ui/screens/AccountSettingsScreen.js +3 -3
  311. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  312. package/lib/module/ui/screens/AccountVerificationScreen.js +1 -1
  313. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  314. package/lib/module/ui/screens/AppInfoScreen.js +5 -5
  315. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  316. package/lib/module/ui/screens/AvatarCropScreen.js +3 -3
  317. package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
  318. package/lib/module/ui/screens/ChangeAvatarScreen.js +1 -1
  319. package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
  320. package/lib/module/ui/screens/CreateAccountScreen.js +1 -1
  321. package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
  322. package/lib/module/ui/screens/DeleteAccountScreen.js +17 -0
  323. package/lib/module/ui/screens/DeleteAccountScreen.js.map +1 -0
  324. package/lib/module/ui/screens/DomainsScreen.js +212 -0
  325. package/lib/module/ui/screens/DomainsScreen.js.map +1 -0
  326. package/lib/module/ui/screens/EditProfileScreen.js +1 -1
  327. package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
  328. package/lib/module/ui/screens/FileManagementScreen.js +25 -11
  329. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  330. package/lib/module/ui/screens/HelpSupportScreen.js +1 -17
  331. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  332. package/lib/module/ui/screens/LinkCommonsScreen.js +12 -0
  333. package/lib/module/ui/screens/LinkCommonsScreen.js.map +1 -0
  334. package/lib/module/ui/screens/ManageAccountScreen.js +58 -62
  335. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
  336. package/lib/module/ui/screens/PrivacySettingsScreen.js +53 -63
  337. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  338. package/lib/module/ui/screens/ProfileScreen.js +5 -13
  339. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  340. package/lib/module/ui/screens/SearchSettingsScreen.js +16 -25
  341. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  342. package/lib/module/ui/screens/SignInAuthenticatorScreen.js +12 -0
  343. package/lib/module/ui/screens/SignInAuthenticatorScreen.js.map +1 -0
  344. package/lib/module/ui/screens/SignInPasswordScreen.js +18 -0
  345. package/lib/module/ui/screens/SignInPasswordScreen.js.map +1 -0
  346. package/lib/module/ui/screens/UserListScreen.js +3 -3
  347. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  348. package/lib/module/ui/screens/WelcomeNewUserScreen.js +1 -1
  349. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  350. package/lib/module/ui/screens/trust/TrustCenterScreen.js +26 -18
  351. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  352. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +2 -2
  353. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  354. package/lib/module/ui/screens/trust/TrustRewardsScreen.js +9 -15
  355. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  356. package/lib/module/ui/screens/trust/TrustRulesScreen.js +12 -10
  357. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  358. package/lib/module/ui/session/authStore.js +1 -1
  359. package/lib/module/ui/session/authStore.js.map +1 -1
  360. package/lib/module/ui/session/backgroundSession.js +5 -40
  361. package/lib/module/ui/session/backgroundSession.js.map +1 -1
  362. package/lib/module/ui/session/createSessionClient.js +1 -1
  363. package/lib/module/ui/session/createSessionClient.js.map +1 -1
  364. package/lib/module/ui/session/deviceCredentialTracker.js +38 -0
  365. package/lib/module/ui/session/deviceCredentialTracker.js.map +1 -0
  366. package/lib/module/ui/session/identityBinding.js +1 -1
  367. package/lib/module/ui/session/identityBinding.js.map +1 -1
  368. package/lib/module/ui/session/index.js +1 -1
  369. package/lib/module/ui/session/index.js.map +1 -1
  370. package/lib/module/ui/session/sharedDeviceCredentialStore.js +1 -1
  371. package/lib/module/ui/session/sharedDeviceCredentialStore.js.map +1 -1
  372. package/lib/module/ui/session/tokenTransport.js +3 -3
  373. package/lib/module/ui/session/tokenTransport.js.map +1 -1
  374. package/lib/module/ui/stores/assetStore.js +12 -0
  375. package/lib/module/ui/stores/assetStore.js.map +1 -1
  376. package/lib/module/ui/stores/followStore.js +6 -6
  377. package/lib/module/ui/stores/followStore.js.map +1 -1
  378. package/lib/module/ui/utils/accountDeletionHandoff.js +2 -5
  379. package/lib/module/ui/utils/accountDeletionHandoff.js.map +1 -1
  380. package/lib/module/ui/utils/avatarUtils.js +1 -1
  381. package/lib/module/ui/utils/avatarUtils.js.map +1 -1
  382. package/lib/module/ui/utils/deviceCredential.js +10 -3
  383. package/lib/module/ui/utils/deviceCredential.js.map +1 -1
  384. package/lib/module/ui/utils/fileManagement.js +0 -9
  385. package/lib/module/ui/utils/fileManagement.js.map +1 -1
  386. package/lib/module/ui/utils/sessionHelpers.js +2 -2
  387. package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
  388. package/lib/typescript/commonjs/index.d.ts +5 -5
  389. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  390. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +3 -2
  391. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -1
  392. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +2 -3
  393. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
  394. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +7 -7
  395. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
  396. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +2 -1
  397. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +1 -1
  398. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +1 -1
  399. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
  400. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +3 -4
  401. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +1 -1
  402. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +1 -1
  403. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +1 -1
  404. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -1
  405. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +2 -1
  406. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +1 -1
  407. package/lib/typescript/commonjs/ui/components/authChooser/signInFailureMessage.d.ts +1 -1
  408. package/lib/typescript/commonjs/ui/components/authChooser/signInFailureMessage.d.ts.map +1 -1
  409. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +2 -1
  410. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +1 -1
  411. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +1 -12
  412. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -1
  413. package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.d.ts +1 -1
  414. package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -1
  415. package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts +1 -1
  416. package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
  417. package/lib/typescript/commonjs/ui/components/signIn/OxyAuthenticatorPanel.d.ts +19 -0
  418. package/lib/typescript/commonjs/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -0
  419. package/lib/typescript/commonjs/ui/components/signIn/OxyDeleteAccountPanel.d.ts +10 -6
  420. package/lib/typescript/commonjs/ui/components/signIn/OxyDeleteAccountPanel.d.ts.map +1 -1
  421. package/lib/typescript/commonjs/ui/components/signIn/OxyLinkCommonsPanel.d.ts +6 -6
  422. package/lib/typescript/commonjs/ui/components/signIn/OxyLinkCommonsPanel.d.ts.map +1 -1
  423. package/lib/typescript/commonjs/ui/components/signIn/OxyPasswordPanel.d.ts +15 -0
  424. package/lib/typescript/commonjs/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -0
  425. package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts +21 -19
  426. package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
  427. package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts +16 -7
  428. package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -1
  429. package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts +34 -0
  430. package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -0
  431. package/lib/typescript/commonjs/ui/components/signIn/accountFlowParts.d.ts +38 -12
  432. package/lib/typescript/commonjs/ui/components/signIn/accountFlowParts.d.ts.map +1 -1
  433. package/lib/typescript/commonjs/ui/components/signIn/signInFlowStore.d.ts +20 -0
  434. package/lib/typescript/commonjs/ui/components/signIn/signInFlowStore.d.ts.map +1 -0
  435. package/lib/typescript/commonjs/ui/components/signIn/signInMethods.d.ts +8 -21
  436. package/lib/typescript/commonjs/ui/components/signIn/signInMethods.d.ts.map +1 -1
  437. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  438. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +2 -1
  439. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  440. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +4 -39
  441. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
  442. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +2 -1
  443. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -1
  444. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts +1 -1
  445. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
  446. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +1 -1
  447. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +2 -2
  448. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  449. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +5 -1
  450. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
  451. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +19 -1
  452. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  453. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +13 -20
  454. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +1 -1
  455. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +1 -1
  456. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +1 -1
  457. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +4 -4
  458. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
  459. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +3 -5
  460. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  461. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +5 -5
  462. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -1
  463. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +1 -1
  464. package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts +1 -1
  465. package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
  466. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
  467. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +1 -1
  468. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -1
  469. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +9 -7
  470. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
  471. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
  472. package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
  473. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  474. package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  475. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +0 -15
  476. package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
  477. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +1 -1
  478. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
  479. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +1 -1
  480. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
  481. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +7 -5
  482. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -1
  483. package/lib/typescript/commonjs/ui/oauth/browserBridge.d.ts +97 -0
  484. package/lib/typescript/commonjs/ui/oauth/browserBridge.d.ts.map +1 -0
  485. package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts +6 -2
  486. package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
  487. package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts +2 -1
  488. package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts.map +1 -1
  489. package/lib/typescript/commonjs/ui/runtime/types.d.ts +2 -1
  490. package/lib/typescript/commonjs/ui/runtime/types.d.ts.map +1 -1
  491. package/lib/typescript/commonjs/ui/screens/AccountSecurityPanelScreen.d.ts +11 -0
  492. package/lib/typescript/commonjs/ui/screens/AccountSecurityPanelScreen.d.ts.map +1 -0
  493. package/lib/typescript/commonjs/ui/screens/DeleteAccountScreen.d.ts +6 -0
  494. package/lib/typescript/commonjs/ui/screens/DeleteAccountScreen.d.ts.map +1 -0
  495. package/lib/typescript/commonjs/ui/screens/{SavesCollectionsScreen.d.ts → DomainsScreen.d.ts} +1 -1
  496. package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -0
  497. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  498. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  499. package/lib/typescript/commonjs/ui/screens/LinkCommonsScreen.d.ts +6 -0
  500. package/lib/typescript/commonjs/ui/screens/LinkCommonsScreen.d.ts.map +1 -0
  501. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  502. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  503. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
  504. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  505. package/lib/typescript/commonjs/ui/screens/SignInAuthenticatorScreen.d.ts +6 -0
  506. package/lib/typescript/commonjs/ui/screens/SignInAuthenticatorScreen.d.ts.map +1 -0
  507. package/lib/typescript/commonjs/ui/screens/SignInPasswordScreen.d.ts +6 -0
  508. package/lib/typescript/commonjs/ui/screens/SignInPasswordScreen.d.ts.map +1 -0
  509. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  510. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  511. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  512. package/lib/typescript/commonjs/ui/session/authStore.d.ts +1 -1
  513. package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -1
  514. package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts +3 -4
  515. package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts.map +1 -1
  516. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +2 -1
  517. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +1 -1
  518. package/lib/typescript/commonjs/ui/session/deviceCredentialTracker.d.ts +23 -0
  519. package/lib/typescript/commonjs/ui/session/deviceCredentialTracker.d.ts.map +1 -0
  520. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +1 -1
  521. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +1 -1
  522. package/lib/typescript/commonjs/ui/session/index.d.ts +1 -1
  523. package/lib/typescript/commonjs/ui/session/index.d.ts.map +1 -1
  524. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +1 -1
  525. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +1 -1
  526. package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts +1 -1
  527. package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -1
  528. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +3 -2
  529. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +1 -1
  530. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +7 -0
  531. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -1
  532. package/lib/typescript/commonjs/ui/types/navigation.d.ts +1 -1
  533. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
  534. package/lib/typescript/commonjs/ui/utils/accountDeletionHandoff.d.ts.map +1 -1
  535. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +10 -3
  536. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +1 -1
  537. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +1 -5
  538. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
  539. package/lib/typescript/module/index.d.ts +5 -5
  540. package/lib/typescript/module/index.d.ts.map +1 -1
  541. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +3 -2
  542. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -1
  543. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +2 -3
  544. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
  545. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +7 -7
  546. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
  547. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +2 -1
  548. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +1 -1
  549. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +1 -1
  550. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
  551. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +3 -4
  552. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +1 -1
  553. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +1 -1
  554. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +1 -1
  555. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -1
  556. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +2 -1
  557. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +1 -1
  558. package/lib/typescript/module/ui/components/authChooser/signInFailureMessage.d.ts +1 -1
  559. package/lib/typescript/module/ui/components/authChooser/signInFailureMessage.d.ts.map +1 -1
  560. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +2 -1
  561. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +1 -1
  562. package/lib/typescript/module/ui/components/authChooser/types.d.ts +1 -12
  563. package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -1
  564. package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.d.ts +1 -1
  565. package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -1
  566. package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts +1 -1
  567. package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
  568. package/lib/typescript/module/ui/components/signIn/OxyAuthenticatorPanel.d.ts +19 -0
  569. package/lib/typescript/module/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -0
  570. package/lib/typescript/module/ui/components/signIn/OxyDeleteAccountPanel.d.ts +10 -6
  571. package/lib/typescript/module/ui/components/signIn/OxyDeleteAccountPanel.d.ts.map +1 -1
  572. package/lib/typescript/module/ui/components/signIn/OxyLinkCommonsPanel.d.ts +6 -6
  573. package/lib/typescript/module/ui/components/signIn/OxyLinkCommonsPanel.d.ts.map +1 -1
  574. package/lib/typescript/module/ui/components/signIn/OxyPasswordPanel.d.ts +15 -0
  575. package/lib/typescript/module/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -0
  576. package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts +21 -19
  577. package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
  578. package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts +16 -7
  579. package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -1
  580. package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts +34 -0
  581. package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -0
  582. package/lib/typescript/module/ui/components/signIn/accountFlowParts.d.ts +38 -12
  583. package/lib/typescript/module/ui/components/signIn/accountFlowParts.d.ts.map +1 -1
  584. package/lib/typescript/module/ui/components/signIn/signInFlowStore.d.ts +20 -0
  585. package/lib/typescript/module/ui/components/signIn/signInFlowStore.d.ts.map +1 -0
  586. package/lib/typescript/module/ui/components/signIn/signInMethods.d.ts +8 -21
  587. package/lib/typescript/module/ui/components/signIn/signInMethods.d.ts.map +1 -1
  588. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  589. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +2 -1
  590. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  591. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +4 -39
  592. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
  593. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +2 -1
  594. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -1
  595. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts +1 -1
  596. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
  597. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +1 -1
  598. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +2 -2
  599. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  600. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +5 -1
  601. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
  602. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +19 -1
  603. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  604. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +13 -20
  605. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +1 -1
  606. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +1 -1
  607. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +1 -1
  608. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +4 -4
  609. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
  610. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +3 -5
  611. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  612. package/lib/typescript/module/ui/hooks/useAssets.d.ts +5 -5
  613. package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -1
  614. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +1 -1
  615. package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts +1 -1
  616. package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
  617. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
  618. package/lib/typescript/module/ui/hooks/useFollow.d.ts +1 -1
  619. package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -1
  620. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +9 -7
  621. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
  622. package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
  623. package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
  624. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
  625. package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
  626. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +0 -15
  627. package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
  628. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +1 -1
  629. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
  630. package/lib/typescript/module/ui/navigation/routes.d.ts +1 -1
  631. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
  632. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +7 -5
  633. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -1
  634. package/lib/typescript/module/ui/oauth/browserBridge.d.ts +97 -0
  635. package/lib/typescript/module/ui/oauth/browserBridge.d.ts.map +1 -0
  636. package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts +6 -2
  637. package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
  638. package/lib/typescript/module/ui/runtime/runtimeContext.d.ts +2 -1
  639. package/lib/typescript/module/ui/runtime/runtimeContext.d.ts.map +1 -1
  640. package/lib/typescript/module/ui/runtime/types.d.ts +2 -1
  641. package/lib/typescript/module/ui/runtime/types.d.ts.map +1 -1
  642. package/lib/typescript/module/ui/screens/AccountSecurityPanelScreen.d.ts +11 -0
  643. package/lib/typescript/module/ui/screens/AccountSecurityPanelScreen.d.ts.map +1 -0
  644. package/lib/typescript/module/ui/screens/DeleteAccountScreen.d.ts +6 -0
  645. package/lib/typescript/module/ui/screens/DeleteAccountScreen.d.ts.map +1 -0
  646. package/lib/typescript/module/ui/screens/{SavesCollectionsScreen.d.ts → DomainsScreen.d.ts} +1 -1
  647. package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -0
  648. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  649. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  650. package/lib/typescript/module/ui/screens/LinkCommonsScreen.d.ts +6 -0
  651. package/lib/typescript/module/ui/screens/LinkCommonsScreen.d.ts.map +1 -0
  652. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  653. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  654. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
  655. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  656. package/lib/typescript/module/ui/screens/SignInAuthenticatorScreen.d.ts +6 -0
  657. package/lib/typescript/module/ui/screens/SignInAuthenticatorScreen.d.ts.map +1 -0
  658. package/lib/typescript/module/ui/screens/SignInPasswordScreen.d.ts +6 -0
  659. package/lib/typescript/module/ui/screens/SignInPasswordScreen.d.ts.map +1 -0
  660. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  661. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  662. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  663. package/lib/typescript/module/ui/session/authStore.d.ts +1 -1
  664. package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -1
  665. package/lib/typescript/module/ui/session/backgroundSession.d.ts +3 -4
  666. package/lib/typescript/module/ui/session/backgroundSession.d.ts.map +1 -1
  667. package/lib/typescript/module/ui/session/createSessionClient.d.ts +2 -1
  668. package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +1 -1
  669. package/lib/typescript/module/ui/session/deviceCredentialTracker.d.ts +23 -0
  670. package/lib/typescript/module/ui/session/deviceCredentialTracker.d.ts.map +1 -0
  671. package/lib/typescript/module/ui/session/identityBinding.d.ts +1 -1
  672. package/lib/typescript/module/ui/session/identityBinding.d.ts.map +1 -1
  673. package/lib/typescript/module/ui/session/index.d.ts +1 -1
  674. package/lib/typescript/module/ui/session/index.d.ts.map +1 -1
  675. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +1 -1
  676. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +1 -1
  677. package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts +1 -1
  678. package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -1
  679. package/lib/typescript/module/ui/session/tokenTransport.d.ts +3 -2
  680. package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +1 -1
  681. package/lib/typescript/module/ui/stores/assetStore.d.ts +7 -0
  682. package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -1
  683. package/lib/typescript/module/ui/types/navigation.d.ts +1 -1
  684. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
  685. package/lib/typescript/module/ui/utils/accountDeletionHandoff.d.ts.map +1 -1
  686. package/lib/typescript/module/ui/utils/deviceCredential.d.ts +10 -3
  687. package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +1 -1
  688. package/lib/typescript/module/ui/utils/fileManagement.d.ts +1 -5
  689. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
  690. package/package.json +4 -5
  691. package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
  692. package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
  693. package/src/assets/fonts/icons/manifest.json +5 -20
  694. package/src/index.ts +8 -8
  695. package/src/ui/boot/__tests__/coldBootNoIdpRedirect.test.ts +4 -4
  696. package/src/ui/boot/runProviderColdBoot.ts +3 -9
  697. package/src/ui/components/OxyAccountDialogScreen.tsx +2 -3
  698. package/src/ui/components/OxyAuthChooser.tsx +13 -36
  699. package/src/ui/components/OxySignInButton.tsx +1 -1
  700. package/src/ui/components/OxySignInRequestSurface.tsx +2 -1
  701. package/src/ui/components/ProfileButton.tsx +1 -1
  702. package/src/ui/components/authChooser/AccountsMenuView.tsx +1 -6
  703. package/src/ui/components/authChooser/SignInRequestView.tsx +5 -23
  704. package/src/ui/components/authChooser/TroubleDisclosure.tsx +1 -1
  705. package/src/ui/components/authChooser/primitives.tsx +1 -1
  706. package/src/ui/components/authChooser/requestSurfaces.tsx +2 -1
  707. package/src/ui/components/authChooser/signInFailureMessage.ts +1 -1
  708. package/src/ui/components/authChooser/signInProgress.ts +2 -1
  709. package/src/ui/components/authChooser/types.ts +1 -13
  710. package/src/ui/components/signIn/InlineCommonsQr.tsx +2 -2
  711. package/src/ui/components/signIn/OxyAccountPicker.tsx +1 -1
  712. package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +294 -0
  713. package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +48 -61
  714. package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +43 -35
  715. package/src/ui/components/signIn/OxyPasswordPanel.tsx +117 -0
  716. package/src/ui/components/signIn/OxySignInPanel.tsx +534 -214
  717. package/src/ui/components/signIn/OxySignUpPanel.tsx +186 -56
  718. package/src/ui/components/signIn/ReauthStep.tsx +201 -0
  719. package/src/ui/components/signIn/accountFlowParts.tsx +139 -33
  720. package/src/ui/components/signIn/signInFlowStore.ts +41 -0
  721. package/src/ui/components/signIn/signInMethods.ts +10 -29
  722. package/src/ui/context/OxyContext.tsx +124 -145
  723. package/src/ui/context/hooks/useAuthOperations.ts +9 -8
  724. package/src/ui/context/oxyContextTypes.ts +4 -41
  725. package/src/ui/context/useOxyAccountGraph.ts +6 -5
  726. package/src/ui/hooks/accountDialogSnapshot.ts +1 -1
  727. package/src/ui/hooks/mutations/mutationFactory.ts +1 -1
  728. package/src/ui/hooks/mutations/useAccountMutations.ts +11 -10
  729. package/src/ui/hooks/mutations/useServicesMutations.ts +4 -4
  730. package/src/ui/hooks/queries/queryKeys.ts +26 -2
  731. package/src/ui/hooks/queries/useAccountQueries.ts +8 -8
  732. package/src/ui/hooks/queries/useAuthMethods.ts +22 -19
  733. package/src/ui/hooks/queries/useFileQueries.ts +2 -2
  734. package/src/ui/hooks/queries/usePaymentQueries.ts +8 -8
  735. package/src/ui/hooks/queries/useSecurityQueries.ts +4 -3
  736. package/src/ui/hooks/queries/useServicesQueries.ts +6 -6
  737. package/src/ui/hooks/useAssets.ts +26 -31
  738. package/src/ui/hooks/useAvatarPicker.ts +4 -4
  739. package/src/ui/hooks/useDeviceManagement.ts +4 -4
  740. package/src/ui/hooks/useDeviceSwitcher.ts +2 -7
  741. package/src/ui/hooks/useFileDownloadUrl.ts +1 -5
  742. package/src/ui/hooks/useFollow.ts +2 -2
  743. package/src/ui/hooks/useFollowTarget.ts +5 -5
  744. package/src/ui/hooks/useI18n.ts +6 -3
  745. package/src/ui/hooks/useResolvedFileUrls.ts +8 -6
  746. package/src/ui/hooks/useSessionManagement.ts +3 -3
  747. package/src/ui/icons/subsetGlyphMaps.ts +0 -15
  748. package/src/ui/navigation/__tests__/getSurfaceConfig.test.ts +1 -1
  749. package/src/ui/navigation/accountDialogManager.ts +1 -1
  750. package/src/ui/navigation/routes.ts +11 -8
  751. package/src/ui/navigation/surfaceRegistry.ts +8 -6
  752. package/src/ui/oauth/__tests__/browserAuthTransport.test.ts +8 -8
  753. package/src/ui/oauth/__tests__/browserBridge.test.ts +198 -0
  754. package/src/ui/oauth/__tests__/completeOAuthCode.test.ts +1 -1
  755. package/src/ui/oauth/__tests__/explicitOAuthConsent.test.ts +11 -11
  756. package/src/ui/oauth/__tests__/sharedCompletionPath.test.ts +7 -7
  757. package/src/ui/oauth/browserBridge.ts +234 -0
  758. package/src/ui/oauth/completeOAuthCode.ts +1 -1
  759. package/src/ui/oauth/explicitOAuthConsent.ts +1 -1
  760. package/src/ui/runtime/createOxyRuntime.ts +8 -16
  761. package/src/ui/runtime/runtimeContext.tsx +2 -1
  762. package/src/ui/runtime/types.ts +2 -1
  763. package/src/ui/screens/AccountMembersScreen.tsx +7 -7
  764. package/src/ui/screens/AccountSecurityPanelScreen.tsx +26 -0
  765. package/src/ui/screens/AccountSettingsScreen.tsx +3 -3
  766. package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
  767. package/src/ui/screens/AppInfoScreen.tsx +5 -5
  768. package/src/ui/screens/AvatarCropScreen.tsx +3 -3
  769. package/src/ui/screens/ChangeAvatarScreen.tsx +1 -1
  770. package/src/ui/screens/CreateAccountScreen.tsx +1 -1
  771. package/src/ui/screens/DeleteAccountScreen.tsx +13 -0
  772. package/src/ui/screens/DomainsScreen.tsx +187 -0
  773. package/src/ui/screens/EditProfileScreen.tsx +1 -1
  774. package/src/ui/screens/FileManagementScreen.tsx +15 -21
  775. package/src/ui/screens/HelpSupportScreen.tsx +0 -15
  776. package/src/ui/screens/LinkCommonsScreen.tsx +13 -0
  777. package/src/ui/screens/ManageAccountScreen.tsx +47 -82
  778. package/src/ui/screens/PrivacySettingsScreen.tsx +48 -67
  779. package/src/ui/screens/ProfileScreen.tsx +5 -10
  780. package/src/ui/screens/SearchSettingsScreen.tsx +15 -27
  781. package/src/ui/screens/SignInAuthenticatorScreen.tsx +13 -0
  782. package/src/ui/screens/SignInPasswordScreen.tsx +13 -0
  783. package/src/ui/screens/UserListScreen.tsx +3 -3
  784. package/src/ui/screens/WelcomeNewUserScreen.tsx +1 -1
  785. package/src/ui/screens/trust/TrustCenterScreen.tsx +25 -29
  786. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +2 -2
  787. package/src/ui/screens/trust/TrustRewardsScreen.tsx +9 -19
  788. package/src/ui/screens/trust/TrustRulesScreen.tsx +14 -14
  789. package/src/ui/session/__tests__/authStore.test.ts +1 -1
  790. package/src/ui/session/__tests__/backgroundSession.test.ts +2 -61
  791. package/src/ui/session/__tests__/createSessionClient.test.ts +7 -9
  792. package/src/ui/session/__tests__/sharedDeviceCredentialStore.test.ts +1 -1
  793. package/src/ui/session/__tests__/tokenTransport.test.ts +9 -7
  794. package/src/ui/session/authStore.ts +1 -7
  795. package/src/ui/session/backgroundSession.ts +5 -41
  796. package/src/ui/session/createSessionClient.ts +2 -6
  797. package/src/ui/session/deviceCredentialTracker.ts +49 -0
  798. package/src/ui/session/identityBinding.ts +1 -6
  799. package/src/ui/session/index.ts +1 -1
  800. package/src/ui/session/nativeSecureStorage.ts +1 -1
  801. package/src/ui/session/sharedDeviceCredentialStore.ts +1 -6
  802. package/src/ui/session/tokenTransport.ts +5 -4
  803. package/src/ui/stores/__tests__/followStore.test.ts +13 -15
  804. package/src/ui/stores/assetStore.ts +15 -0
  805. package/src/ui/stores/followStore.ts +7 -7
  806. package/src/ui/types/navigation.ts +2 -1
  807. package/src/ui/utils/accountDeletionHandoff.ts +2 -4
  808. package/src/ui/utils/avatarUtils.ts +1 -1
  809. package/src/ui/utils/deviceCredential.ts +11 -4
  810. package/src/ui/utils/fileManagement.ts +0 -12
  811. package/src/ui/utils/sessionHelpers.ts +2 -2
  812. package/lib/commonjs/ui/components/signIn/OxyCreateAccountPanel.js +0 -236
  813. package/lib/commonjs/ui/components/signIn/OxyCreateAccountPanel.js.map +0 -1
  814. package/lib/commonjs/ui/components/signIn/OxyRecoverAccountPanel.js +0 -170
  815. package/lib/commonjs/ui/components/signIn/OxyRecoverAccountPanel.js.map +0 -1
  816. package/lib/commonjs/ui/components/signIn/passkeyError.js +0 -46
  817. package/lib/commonjs/ui/components/signIn/passkeyError.js.map +0 -1
  818. package/lib/commonjs/ui/context/passkeyFlow.js +0 -114
  819. package/lib/commonjs/ui/context/passkeyFlow.js.map +0 -1
  820. package/lib/commonjs/ui/screens/FAQScreen.js +0 -162
  821. package/lib/commonjs/ui/screens/FAQScreen.js.map +0 -1
  822. package/lib/commonjs/ui/screens/FeedbackScreen.js +0 -601
  823. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +0 -1
  824. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +0 -968
  825. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
  826. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +0 -132
  827. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +0 -1
  828. package/lib/commonjs/webauthn/passkeyClient.js +0 -39
  829. package/lib/commonjs/webauthn/passkeyClient.js.map +0 -1
  830. package/lib/commonjs/webauthn/passkeyClient.native.js +0 -34
  831. package/lib/commonjs/webauthn/passkeyClient.native.js.map +0 -1
  832. package/lib/commonjs/webauthn/passkeyClient.web.js +0 -57
  833. package/lib/commonjs/webauthn/passkeyClient.web.js.map +0 -1
  834. package/lib/module/ui/components/signIn/OxyCreateAccountPanel.js +0 -231
  835. package/lib/module/ui/components/signIn/OxyCreateAccountPanel.js.map +0 -1
  836. package/lib/module/ui/components/signIn/OxyRecoverAccountPanel.js +0 -165
  837. package/lib/module/ui/components/signIn/OxyRecoverAccountPanel.js.map +0 -1
  838. package/lib/module/ui/components/signIn/passkeyError.js +0 -40
  839. package/lib/module/ui/components/signIn/passkeyError.js.map +0 -1
  840. package/lib/module/ui/context/passkeyFlow.js +0 -107
  841. package/lib/module/ui/context/passkeyFlow.js.map +0 -1
  842. package/lib/module/ui/screens/FAQScreen.js +0 -157
  843. package/lib/module/ui/screens/FAQScreen.js.map +0 -1
  844. package/lib/module/ui/screens/FeedbackScreen.js +0 -599
  845. package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
  846. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +0 -963
  847. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
  848. package/lib/module/ui/screens/SavesCollectionsScreen.js +0 -127
  849. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +0 -1
  850. package/lib/module/webauthn/passkeyClient.js +0 -33
  851. package/lib/module/webauthn/passkeyClient.js.map +0 -1
  852. package/lib/module/webauthn/passkeyClient.native.js +0 -28
  853. package/lib/module/webauthn/passkeyClient.native.js.map +0 -1
  854. package/lib/module/webauthn/passkeyClient.web.js +0 -52
  855. package/lib/module/webauthn/passkeyClient.web.js.map +0 -1
  856. package/lib/typescript/commonjs/ui/components/signIn/OxyCreateAccountPanel.d.ts +0 -24
  857. package/lib/typescript/commonjs/ui/components/signIn/OxyCreateAccountPanel.d.ts.map +0 -1
  858. package/lib/typescript/commonjs/ui/components/signIn/OxyRecoverAccountPanel.d.ts +0 -20
  859. package/lib/typescript/commonjs/ui/components/signIn/OxyRecoverAccountPanel.d.ts.map +0 -1
  860. package/lib/typescript/commonjs/ui/components/signIn/passkeyError.d.ts +0 -16
  861. package/lib/typescript/commonjs/ui/components/signIn/passkeyError.d.ts.map +0 -1
  862. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +0 -92
  863. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +0 -1
  864. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +0 -5
  865. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +0 -1
  866. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +0 -5
  867. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +0 -1
  868. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
  869. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
  870. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
  871. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts +0 -20
  872. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts.map +0 -1
  873. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts +0 -15
  874. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts.map +0 -1
  875. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts +0 -36
  876. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts.map +0 -1
  877. package/lib/typescript/module/ui/components/signIn/OxyCreateAccountPanel.d.ts +0 -24
  878. package/lib/typescript/module/ui/components/signIn/OxyCreateAccountPanel.d.ts.map +0 -1
  879. package/lib/typescript/module/ui/components/signIn/OxyRecoverAccountPanel.d.ts +0 -20
  880. package/lib/typescript/module/ui/components/signIn/OxyRecoverAccountPanel.d.ts.map +0 -1
  881. package/lib/typescript/module/ui/components/signIn/passkeyError.d.ts +0 -16
  882. package/lib/typescript/module/ui/components/signIn/passkeyError.d.ts.map +0 -1
  883. package/lib/typescript/module/ui/context/passkeyFlow.d.ts +0 -92
  884. package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +0 -1
  885. package/lib/typescript/module/ui/screens/FAQScreen.d.ts +0 -5
  886. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +0 -1
  887. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +0 -5
  888. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +0 -1
  889. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
  890. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
  891. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
  892. package/lib/typescript/module/webauthn/passkeyClient.d.ts +0 -20
  893. package/lib/typescript/module/webauthn/passkeyClient.d.ts.map +0 -1
  894. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts +0 -15
  895. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts.map +0 -1
  896. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts +0 -36
  897. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts.map +0 -1
  898. package/src/ui/components/signIn/OxyCreateAccountPanel.tsx +0 -207
  899. package/src/ui/components/signIn/OxyRecoverAccountPanel.tsx +0 -154
  900. package/src/ui/components/signIn/passkeyError.ts +0 -44
  901. package/src/ui/context/__tests__/passkeyFlow.test.ts +0 -239
  902. package/src/ui/context/passkeyFlow.ts +0 -145
  903. package/src/ui/screens/FAQScreen.tsx +0 -200
  904. package/src/ui/screens/FeedbackScreen.tsx +0 -766
  905. package/src/ui/screens/PremiumSubscriptionScreen.tsx +0 -1103
  906. package/src/ui/screens/SavesCollectionsScreen.tsx +0 -167
  907. package/src/webauthn/passkeyClient.native.ts +0 -26
  908. package/src/webauthn/passkeyClient.ts +0 -31
  909. package/src/webauthn/passkeyClient.web.ts +0 -56
@@ -1,6 +1,7 @@
1
1
  import { useMutation, useQueryClient } from '@tanstack/react-query';
2
2
  import { authenticatedApiCall } from '@oxy.so/core';
3
3
  import type {
4
+ AssetMetadata,
4
5
  AssetUploadInput,
5
6
  NotificationPreferences,
6
7
  PrivacySettings,
@@ -37,7 +38,7 @@ export const useUpdateProfile = () => {
37
38
  return authenticatedApiCall<User>(
38
39
  oxyServices,
39
40
  activeSessionId,
40
- () => oxyServices.updateProfile(updates)
41
+ () => oxyServices.users.updateMe(updates)
41
42
  );
42
43
  },
43
44
  // Optimistic update
@@ -134,7 +135,7 @@ export const useUploadAvatar = () => {
134
135
  mutationKey: [...mutationKeys.account.uploadAvatar],
135
136
  mutationFn: async (file: { uri: string; type?: string; name?: string; size?: number }) => {
136
137
  return authenticatedApiCall<User>(oxyServices, activeSessionId, async () => {
137
- const uploadResult = await oxyServices.assetUpload(file, 'public');
138
+ const uploadResult = await oxyServices.assets.upload(file, { visibility: 'public' });
138
139
  const fileId = uploadResult?.file?.id;
139
140
 
140
141
  if (!fileId || typeof fileId !== 'string') {
@@ -142,7 +143,7 @@ export const useUploadAvatar = () => {
142
143
  }
143
144
 
144
145
  // Update profile with file ID
145
- return await oxyServices.updateProfile({ avatar: fileId });
146
+ return await oxyServices.users.updateMe({ avatar: fileId });
146
147
  });
147
148
  },
148
149
  onMutate: async (file) => {
@@ -255,7 +256,7 @@ export const useUpdateAccountSettings = () => {
255
256
  const updatedPrivacy = await authenticatedApiCall<PrivacySettings>(
256
257
  oxyServices,
257
258
  activeSessionId,
258
- () => oxyServices.updatePrivacySettings(updates, userId)
259
+ () => oxyServices.privacy.updateSettings(updates, userId)
259
260
  );
260
261
  // Rebuild against the dispatch-time snapshot, NOT the live cache.
261
262
  // The cache may have been mutated by a sibling write between
@@ -361,7 +362,7 @@ export const useUpdatePrivacySettings = () => {
361
362
  return authenticatedApiCall<PrivacySettings>(
362
363
  oxyServices,
363
364
  activeSessionId,
364
- () => oxyServices.updatePrivacySettings(settings, targetUserId)
365
+ () => oxyServices.privacy.updateSettings(settings, targetUserId)
365
366
  );
366
367
  },
367
368
  // Optimistic update
@@ -532,7 +533,7 @@ export const useUpdateNotificationPreferences = () => {
532
533
  return authenticatedApiCall<User>(
533
534
  oxyServices,
534
535
  activeSessionId,
535
- () => oxyServices.updateNotificationPreferences(preferences)
536
+ () => oxyServices.users.updateMe({ notificationPreferences: preferences })
536
537
  );
537
538
  },
538
539
  onMutate: async (preferences) => {
@@ -590,7 +591,7 @@ export const useUpdateUserPreferences = () => {
590
591
  return authenticatedApiCall<User>(
591
592
  oxyServices,
592
593
  activeSessionId,
593
- () => oxyServices.updateUserPreferences(preferences)
594
+ () => oxyServices.users.updateMe({ userPreferences: preferences })
594
595
  );
595
596
  },
596
597
  onMutate: async (preferences) => {
@@ -643,7 +644,7 @@ export const useRevokeConnectedApp = () => {
643
644
  mutationKey: [...mutationKeys.connectedApps.revoke],
644
645
  mutationFn: async (applicationId: string) => {
645
646
  return authenticatedApiCall<void>(oxyServices, activeSessionId, () =>
646
- oxyServices.revokeAppGrant(applicationId)
647
+ oxyServices.apps.connected.revoke(applicationId)
647
648
  );
648
649
  },
649
650
  onSuccess: () => {
@@ -673,13 +674,13 @@ export const useUploadFile = () => {
673
674
  }: {
674
675
  file: AssetUploadInput;
675
676
  visibility?: 'private' | 'public' | 'unlisted';
676
- metadata?: Record<string, unknown>;
677
+ metadata?: AssetMetadata;
677
678
  onProgress?: (progress: number) => void;
678
679
  }) => {
679
680
  return authenticatedApiCall<UploadResult>(
680
681
  oxyServices,
681
682
  activeSessionId,
682
- () => oxyServices.assetUpload(file, visibility, metadata, onProgress)
683
+ () => oxyServices.assets.upload(file, { visibility, metadata, onProgress })
683
684
  );
684
685
  },
685
686
  });
@@ -48,7 +48,7 @@ export const useLogoutSession = () => {
48
48
  }
49
49
 
50
50
  const sessionToLogout = targetSessionId || activeSessionId;
51
- await oxyServices.logoutSession(activeSessionId, sessionToLogout);
51
+ await oxyServices.session.logout(activeSessionId, sessionToLogout);
52
52
 
53
53
  return sessionToLogout;
54
54
  },
@@ -101,7 +101,7 @@ export const useLogoutAll = () => {
101
101
  throw new Error('No active session');
102
102
  }
103
103
 
104
- await oxyServices.logoutAllSessions(activeSessionId);
104
+ await oxyServices.session.logoutAll(activeSessionId);
105
105
  await clearSessionState();
106
106
  },
107
107
  onSuccess: () => {
@@ -129,7 +129,7 @@ export const useUpdateDeviceName = () => {
129
129
  throw new Error('No active session');
130
130
  }
131
131
 
132
- return await oxyServices.updateDeviceName(activeSessionId, deviceName);
132
+ return await oxyServices.devices.rename(activeSessionId, deviceName);
133
133
  },
134
134
  onSuccess: () => {
135
135
  // Invalidate device and session queries
@@ -153,7 +153,7 @@ export const useRemoveDevice = () => {
153
153
  return useMutation({
154
154
  mutationKey: [...mutationKeys.session.removeDevice],
155
155
  mutationFn: async (deviceId: string) => {
156
- await oxyServices.removeDevice(deviceId);
156
+ await oxyServices.devices.remove(deviceId);
157
157
  return deviceId;
158
158
  },
159
159
  onSuccess: () => {
@@ -75,6 +75,8 @@ export const queryKeys = {
75
75
  privacy: {
76
76
  all: ['privacy'] as const,
77
77
  settings: (userId?: string) => [...queryKeys.privacy.all, 'settings', userId || 'current'] as const,
78
+ /** The active account's blocked + restricted lists. */
79
+ lists: (userId?: string) => [...queryKeys.privacy.all, 'lists', userId || 'current'] as const,
78
80
  },
79
81
 
80
82
  // Security activity queries
@@ -88,7 +90,13 @@ export const queryKeys = {
88
90
  [...queryKeys.security.all, 'infinite', limit, eventType] as const,
89
91
  },
90
92
 
91
- // Linked authentication methods (passwords, identity keys, passkeys, social)
93
+ // Linked authentication methods (the identity key)
94
+ /** How the signed-in account signs in: email, password, authenticator (`GET /users/me/sign-in-methods`). */
95
+ signInMethods: {
96
+ all: ['signInMethods'] as const,
97
+ current: (userId?: string) => [...queryKeys.signInMethods.all, userId || 'current'] as const,
98
+ },
99
+
92
100
  authMethods: {
93
101
  all: ['authMethods'] as const,
94
102
  list: (userId?: string) => [...queryKeys.authMethods.all, 'list', userId || 'current'] as const,
@@ -119,6 +127,22 @@ export const queryKeys = {
119
127
  counts: (userId: string) => [...queryKeys.follow.all, 'counts', userId] as const,
120
128
  },
121
129
 
130
+ // Oxy Trust reputation (the active account's standing)
131
+ reputation: {
132
+ all: ['reputation'] as const,
133
+ balance: (userId?: string) => [...queryKeys.reputation.all, 'balance', userId || 'current'] as const,
134
+ transactions: (userId: string | undefined, limit: number, offset = 0) =>
135
+ [...queryKeys.reputation.all, 'transactions', userId || 'current', limit, offset] as const,
136
+ rules: () => [...queryKeys.reputation.all, 'rules'] as const,
137
+ leaderboard: () => [...queryKeys.reputation.all, 'leaderboard'] as const,
138
+ },
139
+
140
+ // Verified domains on the signed-in identity
141
+ domains: {
142
+ all: ['domains'] as const,
143
+ list: (userId?: string) => [...queryKeys.domains.all, 'list', userId || 'current'] as const,
144
+ },
145
+
122
146
  // Payment / wallet / subscription queries
123
147
  payments: {
124
148
  all: ['payments'] as const,
@@ -191,7 +215,7 @@ export const invalidateStorageQueries = (queryClient: QueryClient): void => {
191
215
 
192
216
  /**
193
217
  * Helper to invalidate the user's linked auth-methods list (call after linking
194
- * or removing a passkey / password / identity key).
218
+ * or rotating the identity key).
195
219
  */
196
220
  export const invalidateAuthMethodsQueries = (queryClient: QueryClient): void => {
197
221
  queryClient.invalidateQueries({ queryKey: queryKeys.authMethods.all });
@@ -19,7 +19,7 @@ export const useUserProfile = (sessionId: string | null, options?: { enabled?: b
19
19
  if (!sessionId) {
20
20
  throw new Error('Session ID is required');
21
21
  }
22
- return await oxyServices.getUserBySession(sessionId);
22
+ return await oxyServices.users.bySession(sessionId);
23
23
  },
24
24
  enabled: (options?.enabled !== false) && !!sessionId,
25
25
  staleTime: 5 * 60 * 1000, // 5 minutes
@@ -37,7 +37,7 @@ export const useUserProfiles = (sessionIds: string[], options?: { enabled?: bool
37
37
  queries: sessionIds.map((sessionId) => ({
38
38
  queryKey: queryKeys.users.profile(sessionId),
39
39
  queryFn: async () => {
40
- const results = await oxyServices.getUsersBySessions([sessionId]);
40
+ const results = await oxyServices.users.bySessions([sessionId]);
41
41
  return results[0]?.user || null;
42
42
  },
43
43
  enabled: (options?.enabled !== false) && !!sessionId,
@@ -76,7 +76,7 @@ export const useCurrentUser = (options?: { enabled?: boolean }) => {
76
76
  const query = useQuery({
77
77
  queryKey: queryKeys.accounts.current(activeSessionId),
78
78
  queryFn: async () => {
79
- return await oxyServices.getCurrentUser();
79
+ return await oxyServices.users.me();
80
80
  },
81
81
  enabled: (options?.enabled !== false) && isAuthenticated && !!activeSessionId,
82
82
  staleTime: 1 * 60 * 1000, // 1 minute for current user
@@ -175,7 +175,7 @@ export const useUserById = (userId: string | null, options?: { enabled?: boolean
175
175
  if (!userId) {
176
176
  throw new Error('User ID is required');
177
177
  }
178
- return await oxyServices.getUserById(userId);
178
+ return await oxyServices.users.get(userId);
179
179
  },
180
180
  enabled: (options?.enabled !== false) && !!userId,
181
181
  staleTime: 5 * 60 * 1000,
@@ -209,7 +209,7 @@ export const useUserByUsername = (username: string | null, options?: { enabled?:
209
209
  // Match queryKeys.users.byUsername normalization so the cache key and
210
210
  // the API request agree (case-insensitive local handles).
211
211
  const normalizedUsername = username.trim().toLowerCase();
212
- return await oxyServices.getProfileByUsername(normalizedUsername);
212
+ return await oxyServices.users.byUsername(normalizedUsername);
213
213
  },
214
214
  enabled: (options?.enabled !== false) && !!username,
215
215
  staleTime: 5 * 60 * 1000,
@@ -245,7 +245,7 @@ export const useUsersBySessions = (sessionIds: string[], options?: { enabled?: b
245
245
  if (sessionIds.length === 0) {
246
246
  return [];
247
247
  }
248
- return await oxyServices.getUsersBySessions(sessionIds);
248
+ return await oxyServices.users.bySessions(sessionIds);
249
249
  },
250
250
  enabled: (options?.enabled !== false) && sessionIds.length > 0,
251
251
  staleTime: 5 * 60 * 1000,
@@ -267,7 +267,7 @@ export const useConnectedApps = (options?: { enabled?: boolean }) => {
267
267
  return authenticatedApiCall<ConnectedApp[]>(
268
268
  oxyServices,
269
269
  activeSessionId,
270
- () => oxyServices.listConnectedApps()
270
+ () => oxyServices.apps.connected.list()
271
271
  );
272
272
  },
273
273
  enabled: (options?.enabled !== false) && isAuthenticated,
@@ -296,7 +296,7 @@ export const usePrivacySettings = (userId?: string, options?: { enabled?: boolea
296
296
  return authenticatedApiCall(
297
297
  oxyServices,
298
298
  activeSessionId,
299
- () => oxyServices.getPrivacySettings(targetUserId)
299
+ () => oxyServices.privacy.settings(targetUserId)
300
300
  );
301
301
  },
302
302
  enabled: (options?.enabled !== false) && !!targetUserId,
@@ -1,6 +1,5 @@
1
- import { useMemo } from 'react';
2
1
  import { useQuery } from '@tanstack/react-query';
3
- import type { AuthMethodEntry, AuthMethodsResponse } from '@oxy.so/contracts';
2
+ import type { AuthMethodEntry, AuthMethodsResponse, SignInMethods } from '@oxy.so/contracts';
4
3
  import { queryKeys } from './queryKeys';
5
4
  import { useOxy } from '../../context/OxyContext';
6
5
 
@@ -8,38 +7,42 @@ import { useOxy } from '../../context/OxyContext';
8
7
  const EMPTY_METHODS: readonly AuthMethodEntry[] = Object.freeze([]);
9
8
 
10
9
  /**
11
- * The current account's linked authentication methods (`GET /auth/methods`),
12
- * plus convenience projections. Backs the security / account surfaces that let a
13
- * user see and manage their passwords, identity key, social logins, and passkeys.
14
- *
15
- * `passkeys` is the `type === 'webauthn'` subset — one entry per registered
16
- * credential. Invalidate via `queryKeys.authMethods.all` after linking a passkey
17
- * (`useOxy().addPasskey()` does this) or removing one.
10
+ * The current account's linked authentication methods (`GET /auth/methods`).
11
+ * Backs the security / account surfaces that let a user see their identity key
12
+ * and social logins.
18
13
  */
19
14
  export const useAuthMethods = (options?: { enabled?: boolean }) => {
20
15
  const { oxyServices, activeSessionId } = useOxy();
21
16
 
22
17
  const query = useQuery<AuthMethodsResponse>({
23
18
  queryKey: queryKeys.authMethods.list(),
24
- queryFn: () => oxyServices.listAuthMethods(),
19
+ queryFn: () => oxyServices.identity.authMethods(),
25
20
  enabled: options?.enabled !== false && !!activeSessionId,
26
21
  staleTime: 5 * 60 * 1000, // 5 minutes
27
22
  gcTime: 10 * 60 * 1000, // 10 minutes
28
23
  });
29
24
 
30
- const methods = query.data?.methods ?? EMPTY_METHODS;
31
- const passkeys = useMemo(
32
- () => methods.filter((method) => method.type === 'webauthn'),
33
- [methods],
34
- );
35
-
36
25
  return {
37
26
  ...query,
38
27
  /** Every linked auth method. Empty while loading. */
39
- methods,
40
- /** The registered passkeys (a `type === 'webauthn'` subset of `methods`). */
41
- passkeys,
28
+ methods: query.data?.methods ?? EMPTY_METHODS,
42
29
  /** The account's DID, or `null` while loading. */
43
30
  did: query.data?.did ?? null,
44
31
  };
45
32
  };
33
+
34
+ /**
35
+ * How the signed-in account signs in (`GET /users/me/sign-in-methods`): whether
36
+ * it has an email, a password, an authenticator app, and how many backup codes
37
+ * are left. Invalidate `queryKeys.signInMethods.all` after changing any of them
38
+ * (the security panels do).
39
+ */
40
+ export const useSignInMethods = (options?: { enabled?: boolean }) => {
41
+ const { oxyServices, activeSessionId, user } = useOxy();
42
+ return useQuery<SignInMethods>({
43
+ queryKey: queryKeys.signInMethods.current(user?.id),
44
+ queryFn: () => oxyServices.auth.methods(),
45
+ enabled: options?.enabled !== false && !!activeSessionId,
46
+ staleTime: 60 * 1000,
47
+ });
48
+ };
@@ -21,7 +21,7 @@ import { queryKeys } from './queryKeys';
21
21
  /** Files fetched per page. */
22
22
  export const FILES_PAGE_SIZE = 40;
23
23
 
24
- /** Raw file record as returned by `oxyServices.listUserFiles` / `assetUpload`. */
24
+ /** Raw file record as returned by `oxyServices.assets.list` / `assetUpload`. */
25
25
  export interface RawUserFile {
26
26
  id: string;
27
27
  originalName?: string;
@@ -68,7 +68,7 @@ export const useUserFilesInfinite = (ownerId?: string) => {
68
68
  queryKey: queryKeys.files.list(ownerId),
69
69
  queryFn: async ({ pageParam }) => {
70
70
  const offset = typeof pageParam === 'number' ? pageParam : 0;
71
- const response = await oxyServices.listUserFiles(FILES_PAGE_SIZE, offset);
71
+ const response = await oxyServices.assets.list({ limit: FILES_PAGE_SIZE, offset });
72
72
  const raw = (response.files ?? []) as RawUserFile[];
73
73
  const files = raw.map(mapRawFileToMetadata);
74
74
  return {
@@ -29,7 +29,7 @@ import type {
29
29
  /**
30
30
  * Get the current user's subscription.
31
31
  *
32
- * Wraps `oxyServices.getCurrentUserSubscription()`
32
+ * Wraps `oxyServices.billing.subscription()`
33
33
  * (`GET /subscription/:userId`, billing-first). Returns the persisted
34
34
  * subscription or the API's `{ plan: 'basic' }` fallback when the user has
35
35
  * never subscribed.
@@ -43,7 +43,7 @@ export const useUserSubscription = (options?: { enabled?: boolean }) => {
43
43
  return authenticatedApiCall<Subscription>(
44
44
  oxyServices,
45
45
  activeSessionId,
46
- () => oxyServices.getCurrentUserSubscription(),
46
+ () => oxyServices.billing.subscription(),
47
47
  );
48
48
  },
49
49
  enabled: (options?.enabled !== false) && isAuthenticated && !!user?.id,
@@ -56,7 +56,7 @@ export const useUserSubscription = (options?: { enabled?: boolean }) => {
56
56
  /**
57
57
  * Get the current user's payment / billing history.
58
58
  *
59
- * Wraps `oxyServices.getUserPayments()` (`GET /payments/user`), which
59
+ * Wraps `oxyServices.billing.payments()` (`GET /payments/user`), which
60
60
  * returns the user's `deposit` and `purchase` transactions newest-first.
61
61
  */
62
62
  export const useUserPayments = (options?: { enabled?: boolean }) => {
@@ -68,7 +68,7 @@ export const useUserPayments = (options?: { enabled?: boolean }) => {
68
68
  return authenticatedApiCall<Payment[]>(
69
69
  oxyServices,
70
70
  activeSessionId,
71
- () => oxyServices.getUserPayments(),
71
+ () => oxyServices.billing.payments(),
72
72
  );
73
73
  },
74
74
  enabled: (options?.enabled !== false) && isAuthenticated && !!user?.id,
@@ -81,7 +81,7 @@ export const useUserPayments = (options?: { enabled?: boolean }) => {
81
81
  /**
82
82
  * Get the current user's FairCoin wallet balance.
83
83
  *
84
- * Wraps `oxyServices.getCurrentUserWallet()` (`GET /wallet/:userId`).
84
+ * Wraps `oxyServices.billing.wallet()` (`GET /wallet/:userId`).
85
85
  * Balance changes frequently, so the fresh window is intentionally short.
86
86
  */
87
87
  export const useUserWallet = (options?: { enabled?: boolean }) => {
@@ -93,7 +93,7 @@ export const useUserWallet = (options?: { enabled?: boolean }) => {
93
93
  return authenticatedApiCall<Wallet>(
94
94
  oxyServices,
95
95
  activeSessionId,
96
- () => oxyServices.getCurrentUserWallet(),
96
+ () => oxyServices.billing.wallet(),
97
97
  );
98
98
  },
99
99
  enabled: (options?.enabled !== false) && isAuthenticated && !!user?.id,
@@ -105,7 +105,7 @@ export const useUserWallet = (options?: { enabled?: boolean }) => {
105
105
  /**
106
106
  * Get the current user's wallet transaction history (paginated).
107
107
  *
108
- * Wraps `oxyServices.getCurrentUserWalletTransactions(options)`
108
+ * Wraps `oxyServices.billing.walletTransactions(options)`
109
109
  * (`GET /wallet/transactions/:userId`). The API responds with a
110
110
  * `{ data, pagination }` envelope, preserved here as
111
111
  * `WalletTransactionsResponse`.
@@ -127,7 +127,7 @@ export const useUserWalletTransactions = (
127
127
  return authenticatedApiCall<WalletTransactionsResponse>(
128
128
  oxyServices,
129
129
  activeSessionId,
130
- () => oxyServices.getCurrentUserWalletTransactions({ limit, offset }),
130
+ () => oxyServices.billing.walletTransactions({ limit, offset }),
131
131
  );
132
132
  },
133
133
  enabled: (options?.enabled !== false) && isAuthenticated && !!user?.id,
@@ -27,7 +27,7 @@ export const useSecurityActivity = (
27
27
  throw new Error('No active session');
28
28
  }
29
29
 
30
- const response = await oxyServices.getSecurityActivity(
30
+ const response = await oxyServices.devices.securityActivity(
31
31
  options?.limit,
32
32
  options?.offset,
33
33
  options?.eventType
@@ -54,7 +54,8 @@ export const useRecentSecurityActivity = (limit = 10) => {
54
54
  throw new Error('No active session');
55
55
  }
56
56
 
57
- return await oxyServices.getRecentSecurityActivity(limit);
57
+ const page = await oxyServices.devices.securityActivity(limit, 0);
58
+ return page.data;
58
59
  },
59
60
  enabled: !!activeSessionId,
60
61
  staleTime: 5 * 60 * 1000, // 5 minutes
@@ -85,7 +86,7 @@ export const useInfiniteSecurityActivity = (
85
86
  }
86
87
 
87
88
  const offset = typeof pageParam === 'number' ? pageParam : 0;
88
- return await oxyServices.getSecurityActivity(
89
+ return await oxyServices.devices.securityActivity(
89
90
  limit,
90
91
  offset,
91
92
  options?.eventType
@@ -50,7 +50,7 @@ export const useSession = (sessionId: string | null, options?: { enabled?: boole
50
50
  throw new Error('Session ID is required');
51
51
  }
52
52
 
53
- const validation = await oxyServices.validateSession(sessionId, { useHeaderValidation: true });
53
+ const validation = await oxyServices.session.validate(sessionId, { useHeaderValidation: true });
54
54
  if (!validation?.valid || !validation.user) {
55
55
  throw new Error('Session not found or invalid');
56
56
  }
@@ -84,7 +84,7 @@ export const useDeviceSessions = (options?: { enabled?: boolean }) => {
84
84
  throw new Error('No active session');
85
85
  }
86
86
 
87
- return await oxyServices.getDeviceSessions(activeSessionId);
87
+ return await oxyServices.devices.sessions(activeSessionId);
88
88
  },
89
89
  enabled: (options?.enabled !== false) && !!activeSessionId,
90
90
  staleTime: 2 * 60 * 1000,
@@ -104,7 +104,7 @@ export const useUserDevices = (options?: { enabled?: boolean }) => {
104
104
  return authenticatedApiCall(
105
105
  oxyServices,
106
106
  activeSessionId,
107
- () => oxyServices.getUserDevices()
107
+ () => oxyServices.devices.list()
108
108
  );
109
109
  },
110
110
  enabled: (options?.enabled !== false) && isAuthenticated && !!activeSessionId,
@@ -122,7 +122,7 @@ export const useSecurityInfo = (options?: { enabled?: boolean }) => {
122
122
  return useQuery({
123
123
  queryKey: [...queryKeys.devices.all, 'security'],
124
124
  queryFn: async () => {
125
- return await oxyServices.getSecurityInfo();
125
+ return await oxyServices.devices.securityInfo();
126
126
  },
127
127
  enabled: (options?.enabled !== false) && isAuthenticated,
128
128
  staleTime: 5 * 60 * 1000,
@@ -132,7 +132,7 @@ export const useSecurityInfo = (options?: { enabled?: boolean }) => {
132
132
 
133
133
  /**
134
134
  * Get account storage usage (server-aggregated usage across assets, mail,
135
- * recordings, etc.). Wraps `oxyServices.getAccountStorageUsage()` in a
135
+ * recordings, etc.). Wraps `oxyServices.assets.usage()` in a
136
136
  * TanStack query so consumers get caching, background refetch, and a
137
137
  * consistent `isLoading` / `refetch` surface instead of hand-rolled
138
138
  * `useEffect` fetches.
@@ -146,7 +146,7 @@ export const useAccountStorageUsage = (options?: { enabled?: boolean }) => {
146
146
  return authenticatedApiCall(
147
147
  oxyServices,
148
148
  activeSessionId,
149
- () => oxyServices.getAccountStorageUsage()
149
+ () => oxyServices.assets.usage()
150
150
  );
151
151
  },
152
152
  enabled: (options?.enabled !== false) && isAuthenticated && !!activeSessionId,
@@ -1,12 +1,7 @@
1
1
  import { useCallback } from 'react';
2
2
  import { useAssetStore } from '../stores/assetStore';
3
3
  import type { OxyServices } from '@oxy.so/core';
4
- import {
5
- type Asset,
6
- AssetLinkRequest,
7
- AssetUnlinkRequest,
8
- AssetUploadProgress
9
- } from '@oxy.so/core';
4
+ import type { Asset, AssetMetadata, AssetRecord, AssetVariant, UploadedAsset } from '@oxy.so/core';
10
5
 
11
6
  // Create a singleton instance for the hook
12
7
  let oxyInstance: OxyServices | null = null;
@@ -24,7 +19,7 @@ export const useAssets = () => {
24
19
  uploadProgress,
25
20
  loading,
26
21
  errors,
27
- setAsset,
22
+ mergeAsset,
28
23
  setAssets,
29
24
  removeAsset,
30
25
  setUploadProgress,
@@ -47,9 +42,9 @@ export const useAssets = () => {
47
42
 
48
43
  // Upload asset with progress tracking
49
44
  const upload = useCallback(async (
50
- file: File,
51
- metadata?: Record<string, unknown>
52
- ): Promise<Asset | null> => {
45
+ file: File,
46
+ metadata?: AssetMetadata
47
+ ): Promise<UploadedAsset | null> => {
53
48
  if (!oxyInstance) {
54
49
  throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
55
50
  }
@@ -58,7 +53,7 @@ export const useAssets = () => {
58
53
  clearErrors();
59
54
  setUploading(true);
60
55
 
61
- const result = await oxyInstance.assetUpload(file, undefined, metadata);
56
+ const result = await oxyInstance.assets.upload(file, { metadata });
62
57
 
63
58
  // Update progress with final status
64
59
  if (result?.file) {
@@ -79,7 +74,7 @@ export const useAssets = () => {
79
74
 
80
75
  // Add asset to store
81
76
  if (result.file) {
82
- setAsset(result.file);
77
+ mergeAsset(result.file);
83
78
  return result.file;
84
79
  }
85
80
 
@@ -95,7 +90,7 @@ export const useAssets = () => {
95
90
  setUploading,
96
91
  setUploadProgress,
97
92
  removeUploadProgress,
98
- setAsset,
93
+ mergeAsset,
99
94
  setUploadError
100
95
  ]);
101
96
 
@@ -119,10 +114,10 @@ export const useAssets = () => {
119
114
  ? 'public' as const
120
115
  : undefined;
121
116
 
122
- const result = await oxyInstance.assetLink(assetId, app, entityType, entityId, visibility);
117
+ const result = await oxyInstance.assets.link(assetId, { app, entityType, entityId }, { visibility });
123
118
 
124
119
  if (result.file) {
125
- setAsset(result.file);
120
+ mergeAsset(result.file);
126
121
  } else {
127
122
  // If API doesn't return full file, update store optimistically
128
123
  addLink(assetId, {
@@ -139,7 +134,7 @@ export const useAssets = () => {
139
134
  } finally {
140
135
  setLinking(false);
141
136
  }
142
- }, [clearErrors, setLinking, setAsset, addLink, setLinkError]);
137
+ }, [clearErrors, setLinking, mergeAsset, addLink, setLinkError]);
143
138
 
144
139
  // Unlink asset from entity
145
140
  const unlink = useCallback(async (
@@ -156,10 +151,10 @@ export const useAssets = () => {
156
151
  clearErrors();
157
152
  setLinking(true);
158
153
 
159
- const result = await oxyInstance.assetUnlink(assetId, app, entityType, entityId);
154
+ const result = await oxyInstance.assets.unlink(assetId, { app, entityType, entityId });
160
155
 
161
156
  if (result.file) {
162
- setAsset(result.file);
157
+ mergeAsset(result.file);
163
158
  } else {
164
159
  // Update store optimistically
165
160
  removeLink(assetId, app, entityType, entityId);
@@ -170,7 +165,7 @@ export const useAssets = () => {
170
165
  } finally {
171
166
  setLinking(false);
172
167
  }
173
- }, [clearErrors, setLinking, setAsset, removeLink, setLinkError]);
168
+ }, [clearErrors, setLinking, mergeAsset, removeLink, setLinkError]);
174
169
 
175
170
  // Get asset URL
176
171
  const getUrl = useCallback(async (
@@ -181,22 +176,21 @@ export const useAssets = () => {
181
176
  if (!oxyInstance) {
182
177
  throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
183
178
  }
184
- const result = await oxyInstance.assetGetUrl(assetId, variant, expiresIn);
185
- return result.url;
179
+ return oxyInstance.assets.url(assetId, variant, expiresIn);
186
180
  }, []);
187
181
 
188
182
  // Get asset metadata
189
- const getAsset = useCallback(async (assetId: string): Promise<Asset> => {
183
+ const getAsset = useCallback(async (assetId: string): Promise<AssetRecord> => {
190
184
  if (!oxyInstance) {
191
185
  throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
192
186
  }
193
- const result = await oxyInstance.assetGet(assetId);
187
+ const result = await oxyInstance.assets.get(assetId);
194
188
  if (result.file) {
195
- setAsset(result.file);
189
+ mergeAsset(result.file);
196
190
  return result.file;
197
191
  }
198
192
  throw new Error('Asset not found');
199
- }, [setAsset]);
193
+ }, [mergeAsset]);
200
194
 
201
195
  // Delete asset
202
196
  const deleteAsset = useCallback(async (
@@ -211,7 +205,7 @@ export const useAssets = () => {
211
205
  clearErrors();
212
206
  setDeleting(true);
213
207
 
214
- await oxyInstance.assetDelete(assetId, force);
208
+ await oxyInstance.assets.delete(assetId, { force });
215
209
  removeAsset(assetId);
216
210
  } catch (error: unknown) {
217
211
  setDeleteError((error instanceof Error ? error.message : null) || 'Delete failed');
@@ -226,18 +220,19 @@ export const useAssets = () => {
226
220
  if (!oxyInstance) {
227
221
  throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
228
222
  }
229
- const result = await oxyInstance.assetRestore(assetId);
223
+ const result = await oxyInstance.assets.restore(assetId);
230
224
  if (result.file) {
231
- setAsset(result.file);
225
+ mergeAsset(result.file);
232
226
  }
233
- }, [setAsset]);
227
+ }, [mergeAsset]);
234
228
 
235
229
  // Get variants
236
- const getVariants = useCallback(async (assetId: string) => {
230
+ const getVariants = useCallback(async (assetId: string): Promise<AssetVariant[]> => {
237
231
  if (!oxyInstance) {
238
232
  throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
239
233
  }
240
- return await oxyInstance.assetGetVariants(assetId);
234
+ const { file } = await oxyInstance.assets.get(assetId);
235
+ return file?.variants ?? [];
241
236
  }, []);
242
237
 
243
238
  return {