@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.
- package/README.md +80 -136
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/manifest.json +5 -20
- package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/manifest.json +5 -20
- package/lib/commonjs/index.js +21 -15
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/boot/runProviderColdBoot.js +2 -1
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +2 -3
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js +15 -32
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +2 -2
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +6 -17
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +1 -1
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/types.js +0 -8
- package/lib/commonjs/ui/components/authChooser/types.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +325 -0
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -0
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js +52 -56
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +48 -38
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +141 -0
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -0
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +496 -201
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js +211 -42
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/ReauthStep.js +186 -0
- package/lib/commonjs/ui/components/signIn/ReauthStep.js.map +1 -0
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js +103 -26
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/signInFlowStore.js +50 -0
- package/lib/commonjs/ui/components/signIn/signInFlowStore.js.map +1 -0
- package/lib/commonjs/ui/components/signIn/signInMethods.js +11 -25
- package/lib/commonjs/ui/components/signIn/signInMethods.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +125 -119
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +11 -10
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/context/useOxyAccountGraph.js +4 -4
- package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +1 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +19 -9
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +4 -4
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +23 -3
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +8 -8
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +27 -15
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +5 -2
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +8 -8
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +4 -3
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +6 -6
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAssets.js +36 -20
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +6 -4
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +5 -5
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +2 -2
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +1 -4
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +2 -2
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollowTarget.js +5 -5
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js +4 -1
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +2 -2
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +3 -3
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +0 -15
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/commonjs/ui/navigation/routes.js +6 -4
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceRegistry.js +1 -1
- package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/commonjs/ui/oauth/browserBridge.js +247 -0
- package/lib/commonjs/ui/oauth/browserBridge.js.map +1 -0
- package/lib/commonjs/ui/oauth/completeOAuthCode.js +1 -1
- package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +1 -1
- package/lib/commonjs/ui/oauth/explicitOAuthConsent.js +1 -1
- package/lib/commonjs/ui/oauth/explicitOAuthConsent.js.map +1 -1
- package/lib/commonjs/ui/runtime/createOxyRuntime.js +9 -8
- package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/commonjs/ui/runtime/runtimeContext.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +7 -7
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSecurityPanelScreen.js +35 -0
- package/lib/commonjs/ui/screens/AccountSecurityPanelScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +3 -3
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +5 -5
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +3 -3
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +1 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DeleteAccountScreen.js +19 -0
- package/lib/commonjs/ui/screens/DeleteAccountScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/DomainsScreen.js +217 -0
- package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/EditProfileScreen.js +1 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +25 -11
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +1 -17
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LinkCommonsScreen.js +14 -0
- package/lib/commonjs/ui/screens/LinkCommonsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +57 -61
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +52 -62
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +5 -13
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +15 -24
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SignInAuthenticatorScreen.js +14 -0
- package/lib/commonjs/ui/screens/SignInAuthenticatorScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SignInPasswordScreen.js +20 -0
- package/lib/commonjs/ui/screens/SignInPasswordScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/UserListScreen.js +3 -3
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +25 -17
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +2 -2
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +8 -14
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +11 -9
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/session/authStore.js +4 -4
- package/lib/commonjs/ui/session/authStore.js.map +1 -1
- package/lib/commonjs/ui/session/backgroundSession.js +5 -40
- package/lib/commonjs/ui/session/backgroundSession.js.map +1 -1
- package/lib/commonjs/ui/session/createSessionClient.js +3 -3
- package/lib/commonjs/ui/session/createSessionClient.js.map +1 -1
- package/lib/commonjs/ui/session/deviceCredentialTracker.js +42 -0
- package/lib/commonjs/ui/session/deviceCredentialTracker.js.map +1 -0
- package/lib/commonjs/ui/session/identityBinding.js +3 -3
- package/lib/commonjs/ui/session/identityBinding.js.map +1 -1
- package/lib/commonjs/ui/session/index.js +6 -6
- package/lib/commonjs/ui/session/index.js.map +1 -1
- package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js +2 -2
- package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js.map +1 -1
- package/lib/commonjs/ui/session/tokenTransport.js +3 -3
- package/lib/commonjs/ui/session/tokenTransport.js.map +1 -1
- package/lib/commonjs/ui/stores/assetStore.js +12 -0
- package/lib/commonjs/ui/stores/assetStore.js.map +1 -1
- package/lib/commonjs/ui/stores/followStore.js +6 -6
- package/lib/commonjs/ui/stores/followStore.js.map +1 -1
- package/lib/commonjs/ui/utils/accountDeletionHandoff.js +1 -4
- package/lib/commonjs/ui/utils/accountDeletionHandoff.js.map +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
- package/lib/commonjs/ui/utils/deviceCredential.js +11 -4
- package/lib/commonjs/ui/utils/deviceCredential.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +0 -10
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js +2 -2
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/manifest.json +5 -20
- package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/fonts/icons/manifest.json +5 -20
- package/lib/module/index.js +6 -6
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/boot/runProviderColdBoot.js +2 -1
- package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -1
- package/lib/module/ui/components/OxyAccountDialogScreen.js +2 -3
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/module/ui/components/OxyAuthChooser.js +15 -32
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +1 -1
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js +1 -1
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/authChooser/SignInRequestView.js +6 -17
- package/lib/module/ui/components/authChooser/SignInRequestView.js.map +1 -1
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js +1 -1
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/module/ui/components/authChooser/signInProgress.js.map +1 -1
- package/lib/module/ui/components/authChooser/types.js +0 -8
- package/lib/module/ui/components/authChooser/types.js.map +1 -1
- package/lib/module/ui/components/signIn/InlineCommonsQr.js +1 -1
- package/lib/module/ui/components/signIn/OxyAccountPicker.js +1 -1
- package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +321 -0
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -0
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js +54 -58
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +48 -38
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js +136 -0
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -0
- package/lib/module/ui/components/signIn/OxySignInPanel.js +496 -201
- package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js +212 -43
- package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/ReauthStep.js +181 -0
- package/lib/module/ui/components/signIn/ReauthStep.js.map +1 -0
- package/lib/module/ui/components/signIn/accountFlowParts.js +97 -26
- package/lib/module/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/module/ui/components/signIn/signInFlowStore.js +44 -0
- package/lib/module/ui/components/signIn/signInFlowStore.js.map +1 -0
- package/lib/module/ui/components/signIn/signInMethods.js +11 -25
- package/lib/module/ui/components/signIn/signInMethods.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +121 -115
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +7 -7
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/context/useOxyAccountGraph.js +4 -4
- package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +1 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +19 -9
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +4 -4
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +23 -3
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +8 -8
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js +25 -14
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js +5 -2
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +8 -8
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +4 -3
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +6 -6
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/useAssets.js +36 -20
- package/lib/module/ui/hooks/useAssets.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +6 -4
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceManagement.js +4 -4
- package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js +2 -2
- package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +1 -4
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.js +2 -2
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js +5 -5
- package/lib/module/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +6 -3
- package/lib/module/ui/hooks/useI18n.js.map +1 -1
- package/lib/module/ui/hooks/useResolvedFileUrls.js +2 -2
- package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -1
- package/lib/module/ui/hooks/useSessionManagement.js +3 -3
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/icons/subsetGlyphMaps.js +0 -15
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +6 -4
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/navigation/surfaceRegistry.js +1 -1
- package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/module/ui/oauth/browserBridge.js +239 -0
- package/lib/module/ui/oauth/browserBridge.js.map +1 -0
- package/lib/module/ui/oauth/completeOAuthCode.js +1 -1
- package/lib/module/ui/oauth/completeOAuthCode.js.map +1 -1
- package/lib/module/ui/oauth/explicitOAuthConsent.js +1 -1
- package/lib/module/ui/oauth/explicitOAuthConsent.js.map +1 -1
- package/lib/module/ui/runtime/createOxyRuntime.js +4 -3
- package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/module/ui/runtime/runtimeContext.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +7 -7
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSecurityPanelScreen.js +32 -0
- package/lib/module/ui/screens/AccountSecurityPanelScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js +3 -3
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +5 -5
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +3 -3
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js +1 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/DeleteAccountScreen.js +17 -0
- package/lib/module/ui/screens/DeleteAccountScreen.js.map +1 -0
- package/lib/module/ui/screens/DomainsScreen.js +212 -0
- package/lib/module/ui/screens/DomainsScreen.js.map +1 -0
- package/lib/module/ui/screens/EditProfileScreen.js +1 -1
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +25 -11
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +1 -17
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/LinkCommonsScreen.js +12 -0
- package/lib/module/ui/screens/LinkCommonsScreen.js.map +1 -0
- package/lib/module/ui/screens/ManageAccountScreen.js +58 -62
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +53 -63
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +5 -13
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +16 -25
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SignInAuthenticatorScreen.js +12 -0
- package/lib/module/ui/screens/SignInAuthenticatorScreen.js.map +1 -0
- package/lib/module/ui/screens/SignInPasswordScreen.js +18 -0
- package/lib/module/ui/screens/SignInPasswordScreen.js.map +1 -0
- package/lib/module/ui/screens/UserListScreen.js +3 -3
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +26 -18
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +2 -2
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +9 -15
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +12 -10
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/ui/session/authStore.js +1 -1
- package/lib/module/ui/session/authStore.js.map +1 -1
- package/lib/module/ui/session/backgroundSession.js +5 -40
- package/lib/module/ui/session/backgroundSession.js.map +1 -1
- package/lib/module/ui/session/createSessionClient.js +1 -1
- package/lib/module/ui/session/createSessionClient.js.map +1 -1
- package/lib/module/ui/session/deviceCredentialTracker.js +38 -0
- package/lib/module/ui/session/deviceCredentialTracker.js.map +1 -0
- package/lib/module/ui/session/identityBinding.js +1 -1
- package/lib/module/ui/session/identityBinding.js.map +1 -1
- package/lib/module/ui/session/index.js +1 -1
- package/lib/module/ui/session/index.js.map +1 -1
- package/lib/module/ui/session/sharedDeviceCredentialStore.js +1 -1
- package/lib/module/ui/session/sharedDeviceCredentialStore.js.map +1 -1
- package/lib/module/ui/session/tokenTransport.js +3 -3
- package/lib/module/ui/session/tokenTransport.js.map +1 -1
- package/lib/module/ui/stores/assetStore.js +12 -0
- package/lib/module/ui/stores/assetStore.js.map +1 -1
- package/lib/module/ui/stores/followStore.js +6 -6
- package/lib/module/ui/stores/followStore.js.map +1 -1
- package/lib/module/ui/utils/accountDeletionHandoff.js +2 -5
- package/lib/module/ui/utils/accountDeletionHandoff.js.map +1 -1
- package/lib/module/ui/utils/avatarUtils.js +1 -1
- package/lib/module/ui/utils/avatarUtils.js.map +1 -1
- package/lib/module/ui/utils/deviceCredential.js +10 -3
- package/lib/module/ui/utils/deviceCredential.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +0 -9
- package/lib/module/ui/utils/fileManagement.js.map +1 -1
- package/lib/module/ui/utils/sessionHelpers.js +2 -2
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +5 -5
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +3 -2
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +2 -3
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +7 -7
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +2 -1
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +3 -4
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +2 -1
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/signInFailureMessage.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/signInFailureMessage.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +2 -1
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +1 -12
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAuthenticatorPanel.d.ts +19 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxyDeleteAccountPanel.d.ts +10 -6
- package/lib/typescript/commonjs/ui/components/signIn/OxyDeleteAccountPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyLinkCommonsPanel.d.ts +6 -6
- package/lib/typescript/commonjs/ui/components/signIn/OxyLinkCommonsPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyPasswordPanel.d.ts +15 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts +21 -19
- package/lib/typescript/commonjs/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts +16 -7
- package/lib/typescript/commonjs/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts +34 -0
- package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/signIn/accountFlowParts.d.ts +38 -12
- package/lib/typescript/commonjs/ui/components/signIn/accountFlowParts.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/signInFlowStore.d.ts +20 -0
- package/lib/typescript/commonjs/ui/components/signIn/signInFlowStore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/signIn/signInMethods.d.ts +8 -21
- package/lib/typescript/commonjs/ui/components/signIn/signInMethods.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +2 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +4 -39
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +2 -1
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +2 -2
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +5 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +19 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +13 -20
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +4 -4
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +3 -5
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +5 -5
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +9 -7
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +0 -15
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +1 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +1 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +7 -5
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/oauth/browserBridge.d.ts +97 -0
- package/lib/typescript/commonjs/ui/oauth/browserBridge.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts +6 -2
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts +2 -1
- package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/runtime/types.d.ts +2 -1
- package/lib/typescript/commonjs/ui/runtime/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSecurityPanelScreen.d.ts +11 -0
- package/lib/typescript/commonjs/ui/screens/AccountSecurityPanelScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/DeleteAccountScreen.d.ts +6 -0
- package/lib/typescript/commonjs/ui/screens/DeleteAccountScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/{SavesCollectionsScreen.d.ts → DomainsScreen.d.ts} +1 -1
- package/lib/typescript/commonjs/ui/screens/DomainsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LinkCommonsScreen.d.ts +6 -0
- package/lib/typescript/commonjs/ui/screens/LinkCommonsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SignInAuthenticatorScreen.d.ts +6 -0
- package/lib/typescript/commonjs/ui/screens/SignInAuthenticatorScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SignInPasswordScreen.d.ts +6 -0
- package/lib/typescript/commonjs/ui/screens/SignInPasswordScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/authStore.d.ts +1 -1
- package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts +3 -4
- package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +2 -1
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/deviceCredentialTracker.d.ts +23 -0
- package/lib/typescript/commonjs/ui/session/deviceCredentialTracker.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +1 -1
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/index.d.ts +1 -1
- package/lib/typescript/commonjs/ui/session/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +1 -1
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts +1 -1
- package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +3 -2
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +7 -0
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +1 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/accountDeletionHandoff.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +10 -3
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +1 -5
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +5 -5
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +3 -2
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +2 -3
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +7 -7
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +2 -1
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +1 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +3 -4
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +1 -1
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +1 -1
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +2 -1
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/signInFailureMessage.d.ts +1 -1
- package/lib/typescript/module/ui/components/authChooser/signInFailureMessage.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +2 -1
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +1 -12
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.d.ts +1 -1
- package/lib/typescript/module/ui/components/signIn/InlineCommonsQr.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAuthenticatorPanel.d.ts +19 -0
- package/lib/typescript/module/ui/components/signIn/OxyAuthenticatorPanel.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/signIn/OxyDeleteAccountPanel.d.ts +10 -6
- package/lib/typescript/module/ui/components/signIn/OxyDeleteAccountPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyLinkCommonsPanel.d.ts +6 -6
- package/lib/typescript/module/ui/components/signIn/OxyLinkCommonsPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyPasswordPanel.d.ts +15 -0
- package/lib/typescript/module/ui/components/signIn/OxyPasswordPanel.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts +21 -19
- package/lib/typescript/module/ui/components/signIn/OxySignInPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts +16 -7
- package/lib/typescript/module/ui/components/signIn/OxySignUpPanel.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts +34 -0
- package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/signIn/accountFlowParts.d.ts +38 -12
- package/lib/typescript/module/ui/components/signIn/accountFlowParts.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/signInFlowStore.d.ts +20 -0
- package/lib/typescript/module/ui/components/signIn/signInFlowStore.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/signIn/signInMethods.d.ts +8 -21
- package/lib/typescript/module/ui/components/signIn/signInMethods.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +2 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +4 -39
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +2 -1
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +2 -2
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +5 -1
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +19 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +13 -20
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +4 -4
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +3 -5
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +5 -5
- package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFollow.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +9 -7
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +0 -15
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +1 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts +1 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +7 -5
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/module/ui/oauth/browserBridge.d.ts +97 -0
- package/lib/typescript/module/ui/oauth/browserBridge.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts +6 -2
- package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -1
- package/lib/typescript/module/ui/runtime/runtimeContext.d.ts +2 -1
- package/lib/typescript/module/ui/runtime/runtimeContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/runtime/types.d.ts +2 -1
- package/lib/typescript/module/ui/runtime/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSecurityPanelScreen.d.ts +11 -0
- package/lib/typescript/module/ui/screens/AccountSecurityPanelScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/DeleteAccountScreen.d.ts +6 -0
- package/lib/typescript/module/ui/screens/DeleteAccountScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/{SavesCollectionsScreen.d.ts → DomainsScreen.d.ts} +1 -1
- package/lib/typescript/module/ui/screens/DomainsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LinkCommonsScreen.d.ts +6 -0
- package/lib/typescript/module/ui/screens/LinkCommonsScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SignInAuthenticatorScreen.d.ts +6 -0
- package/lib/typescript/module/ui/screens/SignInAuthenticatorScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SignInPasswordScreen.d.ts +6 -0
- package/lib/typescript/module/ui/screens/SignInPasswordScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/authStore.d.ts +1 -1
- package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/backgroundSession.d.ts +3 -4
- package/lib/typescript/module/ui/session/backgroundSession.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/createSessionClient.d.ts +2 -1
- package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/deviceCredentialTracker.d.ts +23 -0
- package/lib/typescript/module/ui/session/deviceCredentialTracker.d.ts.map +1 -0
- package/lib/typescript/module/ui/session/identityBinding.d.ts +1 -1
- package/lib/typescript/module/ui/session/identityBinding.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/index.d.ts +1 -1
- package/lib/typescript/module/ui/session/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +1 -1
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts +1 -1
- package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/tokenTransport.d.ts +3 -2
- package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +1 -1
- package/lib/typescript/module/ui/stores/assetStore.d.ts +7 -0
- package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/navigation.d.ts +1 -1
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/accountDeletionHandoff.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts +10 -3
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +1 -5
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
- package/package.json +4 -5
- package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/src/assets/fonts/icons/manifest.json +5 -20
- package/src/index.ts +8 -8
- package/src/ui/boot/__tests__/coldBootNoIdpRedirect.test.ts +4 -4
- package/src/ui/boot/runProviderColdBoot.ts +3 -9
- package/src/ui/components/OxyAccountDialogScreen.tsx +2 -3
- package/src/ui/components/OxyAuthChooser.tsx +13 -36
- package/src/ui/components/OxySignInButton.tsx +1 -1
- package/src/ui/components/OxySignInRequestSurface.tsx +2 -1
- package/src/ui/components/ProfileButton.tsx +1 -1
- package/src/ui/components/authChooser/AccountsMenuView.tsx +1 -6
- package/src/ui/components/authChooser/SignInRequestView.tsx +5 -23
- package/src/ui/components/authChooser/TroubleDisclosure.tsx +1 -1
- package/src/ui/components/authChooser/primitives.tsx +1 -1
- package/src/ui/components/authChooser/requestSurfaces.tsx +2 -1
- package/src/ui/components/authChooser/signInFailureMessage.ts +1 -1
- package/src/ui/components/authChooser/signInProgress.ts +2 -1
- package/src/ui/components/authChooser/types.ts +1 -13
- package/src/ui/components/signIn/InlineCommonsQr.tsx +2 -2
- package/src/ui/components/signIn/OxyAccountPicker.tsx +1 -1
- package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +294 -0
- package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +48 -61
- package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +43 -35
- package/src/ui/components/signIn/OxyPasswordPanel.tsx +117 -0
- package/src/ui/components/signIn/OxySignInPanel.tsx +534 -214
- package/src/ui/components/signIn/OxySignUpPanel.tsx +186 -56
- package/src/ui/components/signIn/ReauthStep.tsx +201 -0
- package/src/ui/components/signIn/accountFlowParts.tsx +139 -33
- package/src/ui/components/signIn/signInFlowStore.ts +41 -0
- package/src/ui/components/signIn/signInMethods.ts +10 -29
- package/src/ui/context/OxyContext.tsx +124 -145
- package/src/ui/context/hooks/useAuthOperations.ts +9 -8
- package/src/ui/context/oxyContextTypes.ts +4 -41
- package/src/ui/context/useOxyAccountGraph.ts +6 -5
- package/src/ui/hooks/accountDialogSnapshot.ts +1 -1
- package/src/ui/hooks/mutations/mutationFactory.ts +1 -1
- package/src/ui/hooks/mutations/useAccountMutations.ts +11 -10
- package/src/ui/hooks/mutations/useServicesMutations.ts +4 -4
- package/src/ui/hooks/queries/queryKeys.ts +26 -2
- package/src/ui/hooks/queries/useAccountQueries.ts +8 -8
- package/src/ui/hooks/queries/useAuthMethods.ts +22 -19
- package/src/ui/hooks/queries/useFileQueries.ts +2 -2
- package/src/ui/hooks/queries/usePaymentQueries.ts +8 -8
- package/src/ui/hooks/queries/useSecurityQueries.ts +4 -3
- package/src/ui/hooks/queries/useServicesQueries.ts +6 -6
- package/src/ui/hooks/useAssets.ts +26 -31
- package/src/ui/hooks/useAvatarPicker.ts +4 -4
- package/src/ui/hooks/useDeviceManagement.ts +4 -4
- package/src/ui/hooks/useDeviceSwitcher.ts +2 -7
- package/src/ui/hooks/useFileDownloadUrl.ts +1 -5
- package/src/ui/hooks/useFollow.ts +2 -2
- package/src/ui/hooks/useFollowTarget.ts +5 -5
- package/src/ui/hooks/useI18n.ts +6 -3
- package/src/ui/hooks/useResolvedFileUrls.ts +8 -6
- package/src/ui/hooks/useSessionManagement.ts +3 -3
- package/src/ui/icons/subsetGlyphMaps.ts +0 -15
- package/src/ui/navigation/__tests__/getSurfaceConfig.test.ts +1 -1
- package/src/ui/navigation/accountDialogManager.ts +1 -1
- package/src/ui/navigation/routes.ts +11 -8
- package/src/ui/navigation/surfaceRegistry.ts +8 -6
- package/src/ui/oauth/__tests__/browserAuthTransport.test.ts +8 -8
- package/src/ui/oauth/__tests__/browserBridge.test.ts +198 -0
- package/src/ui/oauth/__tests__/completeOAuthCode.test.ts +1 -1
- package/src/ui/oauth/__tests__/explicitOAuthConsent.test.ts +11 -11
- package/src/ui/oauth/__tests__/sharedCompletionPath.test.ts +7 -7
- package/src/ui/oauth/browserBridge.ts +234 -0
- package/src/ui/oauth/completeOAuthCode.ts +1 -1
- package/src/ui/oauth/explicitOAuthConsent.ts +1 -1
- package/src/ui/runtime/createOxyRuntime.ts +8 -16
- package/src/ui/runtime/runtimeContext.tsx +2 -1
- package/src/ui/runtime/types.ts +2 -1
- package/src/ui/screens/AccountMembersScreen.tsx +7 -7
- package/src/ui/screens/AccountSecurityPanelScreen.tsx +26 -0
- package/src/ui/screens/AccountSettingsScreen.tsx +3 -3
- package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
- package/src/ui/screens/AppInfoScreen.tsx +5 -5
- package/src/ui/screens/AvatarCropScreen.tsx +3 -3
- package/src/ui/screens/ChangeAvatarScreen.tsx +1 -1
- package/src/ui/screens/CreateAccountScreen.tsx +1 -1
- package/src/ui/screens/DeleteAccountScreen.tsx +13 -0
- package/src/ui/screens/DomainsScreen.tsx +187 -0
- package/src/ui/screens/EditProfileScreen.tsx +1 -1
- package/src/ui/screens/FileManagementScreen.tsx +15 -21
- package/src/ui/screens/HelpSupportScreen.tsx +0 -15
- package/src/ui/screens/LinkCommonsScreen.tsx +13 -0
- package/src/ui/screens/ManageAccountScreen.tsx +47 -82
- package/src/ui/screens/PrivacySettingsScreen.tsx +48 -67
- package/src/ui/screens/ProfileScreen.tsx +5 -10
- package/src/ui/screens/SearchSettingsScreen.tsx +15 -27
- package/src/ui/screens/SignInAuthenticatorScreen.tsx +13 -0
- package/src/ui/screens/SignInPasswordScreen.tsx +13 -0
- package/src/ui/screens/UserListScreen.tsx +3 -3
- package/src/ui/screens/WelcomeNewUserScreen.tsx +1 -1
- package/src/ui/screens/trust/TrustCenterScreen.tsx +25 -29
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +2 -2
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +9 -19
- package/src/ui/screens/trust/TrustRulesScreen.tsx +14 -14
- package/src/ui/session/__tests__/authStore.test.ts +1 -1
- package/src/ui/session/__tests__/backgroundSession.test.ts +2 -61
- package/src/ui/session/__tests__/createSessionClient.test.ts +7 -9
- package/src/ui/session/__tests__/sharedDeviceCredentialStore.test.ts +1 -1
- package/src/ui/session/__tests__/tokenTransport.test.ts +9 -7
- package/src/ui/session/authStore.ts +1 -7
- package/src/ui/session/backgroundSession.ts +5 -41
- package/src/ui/session/createSessionClient.ts +2 -6
- package/src/ui/session/deviceCredentialTracker.ts +49 -0
- package/src/ui/session/identityBinding.ts +1 -6
- package/src/ui/session/index.ts +1 -1
- package/src/ui/session/nativeSecureStorage.ts +1 -1
- package/src/ui/session/sharedDeviceCredentialStore.ts +1 -6
- package/src/ui/session/tokenTransport.ts +5 -4
- package/src/ui/stores/__tests__/followStore.test.ts +13 -15
- package/src/ui/stores/assetStore.ts +15 -0
- package/src/ui/stores/followStore.ts +7 -7
- package/src/ui/types/navigation.ts +2 -1
- package/src/ui/utils/accountDeletionHandoff.ts +2 -4
- package/src/ui/utils/avatarUtils.ts +1 -1
- package/src/ui/utils/deviceCredential.ts +11 -4
- package/src/ui/utils/fileManagement.ts +0 -12
- package/src/ui/utils/sessionHelpers.ts +2 -2
- package/lib/commonjs/ui/components/signIn/OxyCreateAccountPanel.js +0 -236
- package/lib/commonjs/ui/components/signIn/OxyCreateAccountPanel.js.map +0 -1
- package/lib/commonjs/ui/components/signIn/OxyRecoverAccountPanel.js +0 -170
- package/lib/commonjs/ui/components/signIn/OxyRecoverAccountPanel.js.map +0 -1
- package/lib/commonjs/ui/components/signIn/passkeyError.js +0 -46
- package/lib/commonjs/ui/components/signIn/passkeyError.js.map +0 -1
- package/lib/commonjs/ui/context/passkeyFlow.js +0 -114
- package/lib/commonjs/ui/context/passkeyFlow.js.map +0 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +0 -162
- package/lib/commonjs/ui/screens/FAQScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +0 -601
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +0 -968
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +0 -132
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/commonjs/webauthn/passkeyClient.js +0 -39
- package/lib/commonjs/webauthn/passkeyClient.js.map +0 -1
- package/lib/commonjs/webauthn/passkeyClient.native.js +0 -34
- package/lib/commonjs/webauthn/passkeyClient.native.js.map +0 -1
- package/lib/commonjs/webauthn/passkeyClient.web.js +0 -57
- package/lib/commonjs/webauthn/passkeyClient.web.js.map +0 -1
- package/lib/module/ui/components/signIn/OxyCreateAccountPanel.js +0 -231
- package/lib/module/ui/components/signIn/OxyCreateAccountPanel.js.map +0 -1
- package/lib/module/ui/components/signIn/OxyRecoverAccountPanel.js +0 -165
- package/lib/module/ui/components/signIn/OxyRecoverAccountPanel.js.map +0 -1
- package/lib/module/ui/components/signIn/passkeyError.js +0 -40
- package/lib/module/ui/components/signIn/passkeyError.js.map +0 -1
- package/lib/module/ui/context/passkeyFlow.js +0 -107
- package/lib/module/ui/context/passkeyFlow.js.map +0 -1
- package/lib/module/ui/screens/FAQScreen.js +0 -157
- package/lib/module/ui/screens/FAQScreen.js.map +0 -1
- package/lib/module/ui/screens/FeedbackScreen.js +0 -599
- package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +0 -963
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +0 -127
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/module/webauthn/passkeyClient.js +0 -33
- package/lib/module/webauthn/passkeyClient.js.map +0 -1
- package/lib/module/webauthn/passkeyClient.native.js +0 -28
- package/lib/module/webauthn/passkeyClient.native.js.map +0 -1
- package/lib/module/webauthn/passkeyClient.web.js +0 -52
- package/lib/module/webauthn/passkeyClient.web.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyCreateAccountPanel.d.ts +0 -24
- package/lib/typescript/commonjs/ui/components/signIn/OxyCreateAccountPanel.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyRecoverAccountPanel.d.ts +0 -20
- package/lib/typescript/commonjs/ui/components/signIn/OxyRecoverAccountPanel.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/signIn/passkeyError.d.ts +0 -16
- package/lib/typescript/commonjs/ui/components/signIn/passkeyError.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +0 -92
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts +0 -20
- package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts +0 -15
- package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts +0 -36
- package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/signIn/OxyCreateAccountPanel.d.ts +0 -24
- package/lib/typescript/module/ui/components/signIn/OxyCreateAccountPanel.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/signIn/OxyRecoverAccountPanel.d.ts +0 -20
- package/lib/typescript/module/ui/components/signIn/OxyRecoverAccountPanel.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/signIn/passkeyError.d.ts +0 -16
- package/lib/typescript/module/ui/components/signIn/passkeyError.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts +0 -92
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
- package/lib/typescript/module/webauthn/passkeyClient.d.ts +0 -20
- package/lib/typescript/module/webauthn/passkeyClient.d.ts.map +0 -1
- package/lib/typescript/module/webauthn/passkeyClient.native.d.ts +0 -15
- package/lib/typescript/module/webauthn/passkeyClient.native.d.ts.map +0 -1
- package/lib/typescript/module/webauthn/passkeyClient.web.d.ts +0 -36
- package/lib/typescript/module/webauthn/passkeyClient.web.d.ts.map +0 -1
- package/src/ui/components/signIn/OxyCreateAccountPanel.tsx +0 -207
- package/src/ui/components/signIn/OxyRecoverAccountPanel.tsx +0 -154
- package/src/ui/components/signIn/passkeyError.ts +0 -44
- package/src/ui/context/__tests__/passkeyFlow.test.ts +0 -239
- package/src/ui/context/passkeyFlow.ts +0 -145
- package/src/ui/screens/FAQScreen.tsx +0 -200
- package/src/ui/screens/FeedbackScreen.tsx +0 -766
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +0 -1103
- package/src/ui/screens/SavesCollectionsScreen.tsx +0 -167
- package/src/webauthn/passkeyClient.native.ts +0 -26
- package/src/webauthn/passkeyClient.ts +0 -31
- package/src/webauthn/passkeyClient.web.ts +0 -56
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* one entry into it.
|
|
13
13
|
* 2. The surface resolves with the cropped JPEG, with `{ removed: true }` when
|
|
14
14
|
* the user removed their photo, or `undefined` when they cancelled.
|
|
15
|
-
* 3. A crop is uploaded as a NEW file via `oxyServices.
|
|
15
|
+
* 3. A crop is uploaded as a NEW file via `oxyServices.assets.upload` and set as
|
|
16
16
|
* the avatar; a removal clears the avatar field.
|
|
17
17
|
*
|
|
18
18
|
* `expo-image-manipulator` is required for the crop step and `expo-image-picker`
|
|
@@ -36,7 +36,7 @@ interface UseAvatarPickerOptions {
|
|
|
36
36
|
queryClient: QueryClient;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
/** Upload result shape returned by oxyServices.
|
|
39
|
+
/** Upload result shape returned by oxyServices.assets.upload (single-file path). */
|
|
40
40
|
interface AssetUploadResult {
|
|
41
41
|
file?: { id?: string };
|
|
42
42
|
files?: Array<{ id?: string }>;
|
|
@@ -65,13 +65,13 @@ export function useAvatarPicker({
|
|
|
65
65
|
const finalizeCroppedAvatar = useCallback(
|
|
66
66
|
async (cropped: AvatarCropResult) => {
|
|
67
67
|
try {
|
|
68
|
-
const uploadResult = (await oxyServices.
|
|
68
|
+
const uploadResult = (await oxyServices.assets.upload(
|
|
69
69
|
{
|
|
70
70
|
uri: cropped.uri,
|
|
71
71
|
type: cropped.mime,
|
|
72
72
|
name: `avatar-${Date.now()}.jpg`,
|
|
73
73
|
},
|
|
74
|
-
'public',
|
|
74
|
+
{ visibility: 'public' },
|
|
75
75
|
)) as AssetUploadResult;
|
|
76
76
|
|
|
77
77
|
const newFileId = extractUploadedFileId(uploadResult);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
2
|
import type { ApiError } from '@oxy.so/core';
|
|
3
|
-
import { DeviceManager } from '@oxy.so/core';
|
|
3
|
+
import { DeviceManager } from '@oxy.so/core/session';
|
|
4
4
|
import type { OxyServices } from '@oxy.so/core';
|
|
5
5
|
import { handleAuthError } from '../utils/errorHandlers';
|
|
6
6
|
|
|
@@ -49,7 +49,7 @@ export const useDeviceManagement = ({
|
|
|
49
49
|
> => {
|
|
50
50
|
if (!activeSessionId) throw new Error('No active session');
|
|
51
51
|
try {
|
|
52
|
-
return await oxyServices.
|
|
52
|
+
return await oxyServices.devices.sessions(activeSessionId);
|
|
53
53
|
} catch (error) {
|
|
54
54
|
handleAuthError(error, {
|
|
55
55
|
defaultMessage: 'Failed to get device sessions',
|
|
@@ -65,7 +65,7 @@ export const useDeviceManagement = ({
|
|
|
65
65
|
if (!activeSessionId) throw new Error('No active session');
|
|
66
66
|
|
|
67
67
|
try {
|
|
68
|
-
await oxyServices.
|
|
68
|
+
await oxyServices.devices.logoutAll(activeSessionId);
|
|
69
69
|
await clearSessionState();
|
|
70
70
|
} catch (error) {
|
|
71
71
|
handleAuthError(error, {
|
|
@@ -83,7 +83,7 @@ export const useDeviceManagement = ({
|
|
|
83
83
|
if (!activeSessionId) throw new Error('No active session');
|
|
84
84
|
|
|
85
85
|
try {
|
|
86
|
-
await oxyServices.
|
|
86
|
+
await oxyServices.devices.rename(activeSessionId, deviceName);
|
|
87
87
|
await DeviceManager.updateDeviceName(deviceName);
|
|
88
88
|
} catch (error) {
|
|
89
89
|
handleAuthError(error, {
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { useCallback, useMemo } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
buildSwitcherRows,
|
|
4
|
-
projectDevicePrincipals,
|
|
5
|
-
type DeviceContext,
|
|
6
|
-
type SwitcherPrincipalRow,
|
|
7
|
-
} from '@oxy.so/core';
|
|
2
|
+
import { buildSwitcherRows, projectDevicePrincipals, type DeviceContext, type SwitcherPrincipalRow } from '@oxy.so/core/session';
|
|
8
3
|
import { useOxy } from '../context/OxyContext';
|
|
9
4
|
import { useI18n } from './useI18n';
|
|
10
5
|
import { useAccountDialogSnapshot } from './accountDialogSnapshot';
|
|
@@ -69,7 +64,7 @@ export function useDeviceSwitcher(): UseDeviceSwitcherResult {
|
|
|
69
64
|
buildSwitcherRows(
|
|
70
65
|
projectDevicePrincipals(snapshot.directory),
|
|
71
66
|
snapshot.activeContext?.contextId ?? null,
|
|
72
|
-
(avatar) => (avatar ? oxyServices.
|
|
67
|
+
(avatar) => (avatar ? oxyServices.assets.publicUrl(avatar, 'thumb') : undefined),
|
|
73
68
|
locale,
|
|
74
69
|
),
|
|
75
70
|
[snapshot.directory, snapshot.activeContext, oxyServices, locale],
|
|
@@ -55,11 +55,7 @@ export const useFileDownloadUrl = (
|
|
|
55
55
|
setError(null);
|
|
56
56
|
|
|
57
57
|
try {
|
|
58
|
-
|
|
59
|
-
throw new Error('getFileDownloadUrlAsync is not available on this OxyServices instance');
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
const resolvedUrl = await instance.getFileDownloadUrlAsync(targetFileId, variant, expiresIn);
|
|
58
|
+
const resolvedUrl = await instance.assets.url(targetFileId, variant, expiresIn);
|
|
63
59
|
|
|
64
60
|
if (!cancelled) {
|
|
65
61
|
setUrl(resolvedUrl || null);
|
|
@@ -201,7 +201,7 @@ export const useFollow = (userId?: string | string[]) => {
|
|
|
201
201
|
}, []);
|
|
202
202
|
|
|
203
203
|
const updateCountsFromFollowAction = useCallback((targetUserId: string, action: 'follow' | 'unfollow', counts: { followers: number; following: number }) => {
|
|
204
|
-
const currentUserId = oxyServices.
|
|
204
|
+
const currentUserId = oxyServices.session.userId || undefined;
|
|
205
205
|
useFollowStore.getState().updateCountsFromFollowAction(targetUserId, action, counts, currentUserId);
|
|
206
206
|
}, [oxyServices]);
|
|
207
207
|
|
|
@@ -317,7 +317,7 @@ export const useFollowForButton = (userId: string, oxyServices: OxyServices, ini
|
|
|
317
317
|
* useSeedFollowStatuses — returns a stable callback that bulk-seeds follow
|
|
318
318
|
* statuses into the store (seed-only-if-absent; never clobbers a live value).
|
|
319
319
|
*
|
|
320
|
-
* Wire this at the app root to seed from `oxyServices.
|
|
320
|
+
* Wire this at the app root to seed from `oxyServices.follows.viewerGraph()
|
|
321
321
|
* .followingIds` (map each followed id → `true`) so a page of `FollowButton`s
|
|
322
322
|
* paints the correct label on first render with ZERO follow-status network
|
|
323
323
|
* calls — the batched resolver then skips every seeded id.
|
|
@@ -87,7 +87,7 @@ export function useFollowTarget(
|
|
|
87
87
|
// user cannot act on.
|
|
88
88
|
if (!targetId || !canUsePrivateApi) return;
|
|
89
89
|
try {
|
|
90
|
-
const next = await oxyServices.
|
|
90
|
+
const next = await oxyServices.follows.targetStatus(targetId);
|
|
91
91
|
useFollowTargetStore.getState().setStatus(targetId, next);
|
|
92
92
|
useFollowTargetStore.getState().setError(targetId, undefined);
|
|
93
93
|
} catch (e) {
|
|
@@ -160,7 +160,7 @@ export function useFollowTarget(
|
|
|
160
160
|
// The server returns the whole resulting status, so store it rather
|
|
161
161
|
// than reconstructing one: `effectiveState`'s derivation lives there,
|
|
162
162
|
// and a client recomputing it is a second implementation of one rule.
|
|
163
|
-
async () => (await oxyServices.followTarget(targetId, opts)).status,
|
|
163
|
+
async () => (await oxyServices.follows.followTarget(targetId, opts)).status,
|
|
164
164
|
'Could not follow'
|
|
165
165
|
);
|
|
166
166
|
},
|
|
@@ -173,7 +173,7 @@ export function useFollowTarget(
|
|
|
173
173
|
return mutate(
|
|
174
174
|
{ ...UNKNOWN_FOLLOW_STATUS },
|
|
175
175
|
async () => {
|
|
176
|
-
await oxyServices.unfollowTarget(relationshipId);
|
|
176
|
+
await oxyServices.follows.unfollowTarget(relationshipId);
|
|
177
177
|
return { ...UNKNOWN_FOLLOW_STATUS };
|
|
178
178
|
},
|
|
179
179
|
'Could not unfollow'
|
|
@@ -187,7 +187,7 @@ export function useFollowTarget(
|
|
|
187
187
|
return mutate(
|
|
188
188
|
optimistic,
|
|
189
189
|
async () => {
|
|
190
|
-
await oxyServices.
|
|
190
|
+
await oxyServices.follows.setApplicationMode(relationshipId, 'disabled');
|
|
191
191
|
return optimistic;
|
|
192
192
|
},
|
|
193
193
|
'Could not change this app’s setting for this follow'
|
|
@@ -201,7 +201,7 @@ export function useFollowTarget(
|
|
|
201
201
|
return mutate(
|
|
202
202
|
optimistic,
|
|
203
203
|
async () => {
|
|
204
|
-
await oxyServices.
|
|
204
|
+
await oxyServices.follows.restoreInheritance(relationshipId);
|
|
205
205
|
return optimistic;
|
|
206
206
|
},
|
|
207
207
|
'Could not change this app’s setting for this follow'
|
package/src/ui/hooks/useI18n.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useMemo } from 'react';
|
|
1
|
+
import { useMemo, useSyncExternalStore } from 'react';
|
|
2
2
|
import { useOptionalOxy } from '../context/OxyContext';
|
|
3
|
-
import { translate } from '@oxy.so/core';
|
|
3
|
+
import { getLocalesVersion, subscribeLocales, translate } from '@oxy.so/core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The locale `@oxy.so/core`'s translator falls back to. Mirrors its own
|
|
@@ -25,8 +25,11 @@ const FALLBACK_LOCALE = 'en-US';
|
|
|
25
25
|
export function useI18n() {
|
|
26
26
|
const oxy = useOptionalOxy();
|
|
27
27
|
const currentLanguage = oxy?.currentLanguage ?? FALLBACK_LOCALE;
|
|
28
|
+
// Core's non-English dictionaries load on demand; re-translate when one lands.
|
|
29
|
+
const localesVersion = useSyncExternalStore(subscribeLocales, getLocalesVersion, getLocalesVersion);
|
|
30
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: `localesVersion` is the re-translate signal — a new `t` makes consumers re-render once a dictionary lands.
|
|
28
31
|
const t = useMemo(() => {
|
|
29
32
|
return (key: string, vars?: Record<string, string | number>) => translate(currentLanguage, key, vars);
|
|
30
|
-
}, [currentLanguage]);
|
|
33
|
+
}, [currentLanguage, localesVersion]);
|
|
31
34
|
return { t, locale: currentLanguage };
|
|
32
35
|
}
|
|
@@ -12,16 +12,18 @@ import type { FileMetadata } from '@oxy.so/core';
|
|
|
12
12
|
* the exact contract it depends on.
|
|
13
13
|
*/
|
|
14
14
|
export interface AssetUrlBatchResolver {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
assets: {
|
|
16
|
+
urls(
|
|
17
|
+
requests: Array<{ fileId: string; variant?: string }>,
|
|
18
|
+
options?: { expiresIn?: number; context?: string },
|
|
19
|
+
): Promise<Record<string, string>>;
|
|
20
|
+
};
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
24
|
* Private-safe grid/thumbnail URL resolution.
|
|
23
25
|
*
|
|
24
|
-
* The synchronous `oxyServices.
|
|
26
|
+
* The synchronous `oxyServices.assets.publicUrl(id, variant)` always yields
|
|
25
27
|
* the public CDN origin (`cloud.oxy.so/<id>`), which 404s for PRIVATE assets —
|
|
26
28
|
* and uploads default to private. Thumbnails and previews therefore have to be
|
|
27
29
|
* resolved through the authenticated batch endpoint, which returns a working
|
|
@@ -148,7 +150,7 @@ export function useResolvedFileUrls(
|
|
|
148
150
|
const merged: Record<string, string> = {};
|
|
149
151
|
for (let i = 0; i < requests.length; i += BATCH_CAP) {
|
|
150
152
|
const chunk = requests.slice(i, i + BATCH_CAP);
|
|
151
|
-
const urls = await oxyServices.
|
|
153
|
+
const urls = await oxyServices.assets.urls(chunk, {
|
|
152
154
|
expiresIn: ASSET_URL_TTL_SECONDS,
|
|
153
155
|
});
|
|
154
156
|
Object.assign(merged, urls);
|
|
@@ -129,7 +129,7 @@ export const useSessionManagement = ({
|
|
|
129
129
|
// leaking that stale token onto the shared `oxyClient` singleton after
|
|
130
130
|
// sign-out. Clearing here fires `onTokensChanged(null)`, propagating the
|
|
131
131
|
// logged-out state everywhere.
|
|
132
|
-
oxyServices.
|
|
132
|
+
oxyServices.session.clear();
|
|
133
133
|
|
|
134
134
|
if (queryClient) {
|
|
135
135
|
queryClient.clear();
|
|
@@ -157,11 +157,11 @@ export const useSessionManagement = ({
|
|
|
157
157
|
// `SessionClient` sync) before validating — there is no client-side
|
|
158
158
|
// refresh-cookie slot to fall back on. The native path arrives here only
|
|
159
159
|
// after a bearer has been planted too.
|
|
160
|
-
if (isWebBrowser() && !oxyServices.
|
|
160
|
+
if (isWebBrowser() && !oxyServices.session.accessToken) {
|
|
161
161
|
throw new Error('Session is invalid or expired');
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
const validation = await oxyServices.
|
|
164
|
+
const validation = await oxyServices.session.validate(sessionId, { useHeaderValidation: true });
|
|
165
165
|
if (!validation?.valid) {
|
|
166
166
|
throw new Error('Session is invalid or expired');
|
|
167
167
|
}
|
|
@@ -4,7 +4,6 @@ export const ioniconsGlyphMap = {
|
|
|
4
4
|
"alert": 61714,
|
|
5
5
|
"alert-circle": 61715,
|
|
6
6
|
"alert-circle-outline": 61716,
|
|
7
|
-
"analytics": 61723,
|
|
8
7
|
"apps": 61729,
|
|
9
8
|
"archive": 61732,
|
|
10
9
|
"arrow-back": 61735,
|
|
@@ -12,8 +11,6 @@ export const ioniconsGlyphMap = {
|
|
|
12
11
|
"arrow-forward": 61747,
|
|
13
12
|
"arrow-up": 61765,
|
|
14
13
|
"at": 61771,
|
|
15
|
-
"bookmark": 61864,
|
|
16
|
-
"briefcase": 61873,
|
|
17
14
|
"briefcase-outline": 61874,
|
|
18
15
|
"bug": 61882,
|
|
19
16
|
"bulb": 61888,
|
|
@@ -43,7 +40,6 @@ export const ioniconsGlyphMap = {
|
|
|
43
40
|
"code": 62056,
|
|
44
41
|
"cog": 62068,
|
|
45
42
|
"cog-outline": 62069,
|
|
46
|
-
"color-palette": 62077,
|
|
47
43
|
"construct-outline": 62087,
|
|
48
44
|
"copy-outline": 62096,
|
|
49
45
|
"cube-outline": 62105,
|
|
@@ -73,7 +69,6 @@ export const ioniconsGlyphMap = {
|
|
|
73
69
|
"grid": 62293,
|
|
74
70
|
"hand-left": 62299,
|
|
75
71
|
"hardware-chip-outline": 62309,
|
|
76
|
-
"headset": 62311,
|
|
77
72
|
"heart": 62314,
|
|
78
73
|
"heart-outline": 62327,
|
|
79
74
|
"help-circle": 62333,
|
|
@@ -119,7 +114,6 @@ export const ioniconsGlyphMap = {
|
|
|
119
114
|
"school-outline": 62813,
|
|
120
115
|
"search": 62815,
|
|
121
116
|
"search-outline": 62819,
|
|
122
|
-
"send": 62821,
|
|
123
117
|
"server": 62824,
|
|
124
118
|
"settings": 62827,
|
|
125
119
|
"share-outline": 62834,
|
|
@@ -171,8 +165,6 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
171
165
|
"bell": 983194,
|
|
172
166
|
"bell-outline": 983196,
|
|
173
167
|
"bio": 983206,
|
|
174
|
-
"bookmark": 983232,
|
|
175
|
-
"briefcase": 983254,
|
|
176
168
|
"briefcase-outline": 985108,
|
|
177
169
|
"bug": 983268,
|
|
178
170
|
"bullhorn": 983270,
|
|
@@ -191,7 +183,6 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
191
183
|
"cellphone-message": 985299,
|
|
192
184
|
"cellphone-screenshot": 985653,
|
|
193
185
|
"chart-line": 983338,
|
|
194
|
-
"chat": 985977,
|
|
195
186
|
"check-all": 983341,
|
|
196
187
|
"check-circle": 984544,
|
|
197
188
|
"chevron-down": 983360,
|
|
@@ -248,13 +239,11 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
248
239
|
"gift": 986692,
|
|
249
240
|
"gift-outline": 983713,
|
|
250
241
|
"grid": 983745,
|
|
251
|
-
"headset": 983758,
|
|
252
242
|
"heart": 983761,
|
|
253
243
|
"heart-outline": 983765,
|
|
254
244
|
"help-circle": 983767,
|
|
255
245
|
"help-circle-outline": 984613,
|
|
256
246
|
"history": 983770,
|
|
257
|
-
"hub": 990357,
|
|
258
247
|
"image": 983785,
|
|
259
248
|
"image-multiple-outline": 983791,
|
|
260
249
|
"image-outline": 985462,
|
|
@@ -264,7 +253,6 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
264
253
|
"label": 983829,
|
|
265
254
|
"leaf": 983850,
|
|
266
255
|
"library": 983857,
|
|
267
|
-
"lightbulb-on": 984808,
|
|
268
256
|
"link": 983863,
|
|
269
257
|
"link-variant": 983865,
|
|
270
258
|
"loading": 984946,
|
|
@@ -276,8 +264,6 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
276
264
|
"map-marker-outline": 985049,
|
|
277
265
|
"message": 983905,
|
|
278
266
|
"message-outline": 983909,
|
|
279
|
-
"message-text": 983913,
|
|
280
|
-
"minus": 983924,
|
|
281
267
|
"minus-circle": 983926,
|
|
282
268
|
"motion": 988594,
|
|
283
269
|
"music-note-outline": 986996,
|
|
@@ -308,7 +294,6 @@ export const materialCommunityIconsGlyphMap = {
|
|
|
308
294
|
"scale": 984178,
|
|
309
295
|
"school-outline": 987520,
|
|
310
296
|
"security": 984195,
|
|
311
|
-
"send": 984202,
|
|
312
297
|
"server": 984203,
|
|
313
298
|
"share-outline": 985394,
|
|
314
299
|
"shield": 984216,
|
|
@@ -36,7 +36,7 @@ describe('getSurfaceConfig presentation', () => {
|
|
|
36
36
|
// NAV-WITHIN: drilling into these swaps the content inside ONE surface,
|
|
37
37
|
// which reshapes the panel instead of hard-cutting.
|
|
38
38
|
expect(getSurfaceConfig('ManageAccount', {}).morph).toBe(true);
|
|
39
|
-
expect(getSurfaceConfig('
|
|
39
|
+
expect(getSurfaceConfig('TrustFAQ', {}).morph).toBe(true);
|
|
40
40
|
expect(getSurfaceConfig('FollowersList', {}).morph).toBe(true);
|
|
41
41
|
expect(getSurfaceConfig('FileManagement', imageOnlyPickerProps).morph).toBe(true);
|
|
42
42
|
});
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* view) from a non-React call site.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import type { AccountDialogView } from '@oxy.so/core';
|
|
13
|
+
import type { AccountDialogView } from '@oxy.so/core/session';
|
|
14
14
|
|
|
15
15
|
/** An app-owned action rendered inside the shared account menu. */
|
|
16
16
|
export interface AccountDialogMenuItem {
|
|
@@ -12,15 +12,11 @@ export type RouteName =
|
|
|
12
12
|
| 'SearchSettings'
|
|
13
13
|
| 'FileManagement'
|
|
14
14
|
| 'HelpSupport'
|
|
15
|
-
| 'FAQ'
|
|
16
|
-
| 'Feedback'
|
|
17
15
|
| 'LegalDocuments'
|
|
18
16
|
| 'AppInfo'
|
|
19
|
-
| 'PremiumSubscription'
|
|
20
17
|
| 'WelcomeNewUser'
|
|
21
18
|
| 'UserLinks'
|
|
22
19
|
| 'HistoryView'
|
|
23
|
-
| 'SavesCollections'
|
|
24
20
|
| 'EditProfile' // Profile-editing hub: one row per editable field
|
|
25
21
|
| 'EditProfileField' // Dedicated screen for editing a single profile field
|
|
26
22
|
| 'LearnMoreUsernames' // Informational screen about usernames
|
|
@@ -39,7 +35,12 @@ export type RouteName =
|
|
|
39
35
|
| 'AvatarCrop' // Square-crop editor, reached by navigating within the ChangeAvatar surface
|
|
40
36
|
| 'Notifications' // Per-channel notification preferences
|
|
41
37
|
| 'ConnectedApps' // OAuth-authorized third-party apps the user can revoke
|
|
38
|
+
| 'Domains' // Web domains the identity has proven it controls
|
|
42
39
|
| 'Preferences' // General user preferences (theme, reduce-motion, etc.)
|
|
40
|
+
| 'DeleteAccount' // Delete an account without a key, with a code by email
|
|
41
|
+
| 'LinkCommons' // Link Commons: the account becomes self-custodied
|
|
42
|
+
| 'SignInPassword' // Set or change the account's password
|
|
43
|
+
| 'SignInAuthenticator' // The account's authenticator app and backup codes
|
|
43
44
|
| 'AccountDialog'; // Unified account switcher + sign-in surface (OxyAccountDialogScreen body)
|
|
44
45
|
|
|
45
46
|
/**
|
|
@@ -79,15 +80,11 @@ const screenComponents: Record<RouteName, ComponentType<never>> = {
|
|
|
79
80
|
SearchSettings: lazy(() => import('../screens/SearchSettingsScreen')),
|
|
80
81
|
FileManagement: lazy(() => import('../screens/FileManagementScreen')),
|
|
81
82
|
HelpSupport: lazy(() => import('../screens/HelpSupportScreen')),
|
|
82
|
-
FAQ: lazy(() => import('../screens/FAQScreen')),
|
|
83
|
-
Feedback: lazy(() => import('../screens/FeedbackScreen')),
|
|
84
83
|
LegalDocuments: lazy(() => import('../screens/LegalDocumentsScreen')),
|
|
85
84
|
AppInfo: lazy(() => import('../screens/AppInfoScreen')),
|
|
86
|
-
PremiumSubscription: lazy(() => import('../screens/PremiumSubscriptionScreen')),
|
|
87
85
|
WelcomeNewUser: lazy(() => import('../screens/WelcomeNewUserScreen')),
|
|
88
86
|
UserLinks: lazy(() => import('../screens/UserLinksScreen')),
|
|
89
87
|
HistoryView: lazy(() => import('../screens/HistoryViewScreen')),
|
|
90
|
-
SavesCollections: lazy(() => import('../screens/SavesCollectionsScreen')),
|
|
91
88
|
EditProfile: lazy(() => import('../screens/EditProfileScreen')),
|
|
92
89
|
EditProfileField: lazy(() => import('../screens/EditProfileFieldScreen')),
|
|
93
90
|
// Informational screens
|
|
@@ -108,8 +105,14 @@ const screenComponents: Record<RouteName, ComponentType<never>> = {
|
|
|
108
105
|
ChangeAvatar: lazy(() => import('../screens/ChangeAvatarScreen')),
|
|
109
106
|
AvatarCrop: lazy(() => import('../screens/AvatarCropScreen')),
|
|
110
107
|
Notifications: lazy(() => import('../screens/NotificationsScreen')),
|
|
108
|
+
Domains: lazy(() => import('../screens/DomainsScreen')),
|
|
111
109
|
ConnectedApps: lazy(() => import('../screens/ConnectedAppsScreen')),
|
|
112
110
|
Preferences: lazy(() => import('../screens/PreferencesScreen')),
|
|
111
|
+
// The account's own sign-in security, in its settings.
|
|
112
|
+
DeleteAccount: lazy(() => import('../screens/DeleteAccountScreen')),
|
|
113
|
+
LinkCommons: lazy(() => import('../screens/LinkCommonsScreen')),
|
|
114
|
+
SignInPassword: lazy(() => import('../screens/SignInPasswordScreen')),
|
|
115
|
+
SignInAuthenticator: lazy(() => import('../screens/SignInAuthenticatorScreen')),
|
|
113
116
|
// Unified account switcher + sign-in surface. Its body lives in the
|
|
114
117
|
// `OxyAccountDialogScreen` component (folded from the standalone dialog); the
|
|
115
118
|
// surface stack provides the Dialog chrome around it.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import type { AccountDialogView
|
|
2
|
+
import type { AccountDialogView } from '@oxy.so/core/session';
|
|
3
|
+
import type { FileMetadata } from '@oxy.so/core';
|
|
3
4
|
import type { RouteName } from './routes';
|
|
4
5
|
import type { AvatarCropResult } from '../screens/AvatarCropScreen';
|
|
5
6
|
import type { AvatarRemovalResult } from '../screens/ChangeAvatarScreen';
|
|
@@ -38,15 +39,11 @@ export interface SurfaceRegistry {
|
|
|
38
39
|
*/
|
|
39
40
|
FileManagement: SurfaceRoute<Record<string, unknown>, FileMetadata>;
|
|
40
41
|
HelpSupport: SurfaceRoute;
|
|
41
|
-
FAQ: SurfaceRoute;
|
|
42
|
-
Feedback: SurfaceRoute;
|
|
43
42
|
LegalDocuments: SurfaceRoute;
|
|
44
43
|
AppInfo: SurfaceRoute;
|
|
45
|
-
PremiumSubscription: SurfaceRoute;
|
|
46
44
|
WelcomeNewUser: SurfaceRoute;
|
|
47
45
|
UserLinks: SurfaceRoute;
|
|
48
46
|
HistoryView: SurfaceRoute;
|
|
49
|
-
SavesCollections: SurfaceRoute;
|
|
50
47
|
EditProfile: SurfaceRoute;
|
|
51
48
|
EditProfileField: SurfaceRoute;
|
|
52
49
|
LearnMoreUsernames: SurfaceRoute;
|
|
@@ -56,6 +53,7 @@ export interface SurfaceRegistry {
|
|
|
56
53
|
TrustRules: SurfaceRoute;
|
|
57
54
|
AboutTrust: SurfaceRoute;
|
|
58
55
|
TrustFAQ: SurfaceRoute;
|
|
56
|
+
Domains: SurfaceRoute;
|
|
59
57
|
FollowersList: SurfaceRoute;
|
|
60
58
|
FollowingList: SurfaceRoute;
|
|
61
59
|
CreateAccount: SurfaceRoute;
|
|
@@ -76,6 +74,10 @@ export interface SurfaceRegistry {
|
|
|
76
74
|
Notifications: SurfaceRoute;
|
|
77
75
|
ConnectedApps: SurfaceRoute;
|
|
78
76
|
Preferences: SurfaceRoute;
|
|
77
|
+
DeleteAccount: SurfaceRoute;
|
|
78
|
+
LinkCommons: SurfaceRoute;
|
|
79
|
+
SignInPassword: SurfaceRoute;
|
|
80
|
+
SignInAuthenticator: SurfaceRoute;
|
|
79
81
|
/** Unified account switcher + sign-in surface (folded `OxyAccountDialogScreen` body). */
|
|
80
82
|
AccountDialog: SurfaceRoute<{ initialView?: AccountDialogView }>;
|
|
81
83
|
}
|
|
@@ -234,7 +236,7 @@ const isFileManagementImageOnlyPicker = (props: Record<string, unknown>): boolea
|
|
|
234
236
|
* (`scrollable: false`) so there is exactly ONE scroll container — otherwise a
|
|
235
237
|
* VirtualizedList nests inside a plain ScrollView (RN warning) or a nested
|
|
236
238
|
* vertical scroll-in-scroll breaks windowing. Screens with only a HORIZONTAL
|
|
237
|
-
* ScrollView
|
|
239
|
+
* ScrollView are NOT listed — a
|
|
238
240
|
* horizontal scroller does not conflict with the Dialog's vertical scroll.
|
|
239
241
|
*/
|
|
240
242
|
const OWN_SCROLL_CONTAINER_ROUTES: ReadonlySet<RouteName> = new Set<RouteName>([
|
|
@@ -58,13 +58,13 @@ function makeContext(
|
|
|
58
58
|
const commitSession = jest.fn().mockResolvedValue(undefined);
|
|
59
59
|
const base: WebOAuthTransportContext = {
|
|
60
60
|
mode: 'popup',
|
|
61
|
-
oxyServices: { exchangeOAuthCode } as unknown as OxyServices,
|
|
61
|
+
oxyServices: { auth: { oauth: { exchangeCode: exchangeOAuthCode } } } as unknown as OxyServices,
|
|
62
62
|
clientId: CLIENT_ID,
|
|
63
63
|
authorizeBaseUrl: AUTHORIZE_BASE_URL,
|
|
64
64
|
identityBound: false,
|
|
65
65
|
commitSession,
|
|
66
66
|
};
|
|
67
|
-
return { ...base, ...overrides, exchangeOAuthCode, commitSession };
|
|
67
|
+
return { ...base, ...overrides, auth: { oauth: { exchangeCode: exchangeOAuthCode } }, commitSession };
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
/** Wait for the transport to finish preparing PKCE and navigate the popup. */
|
|
@@ -120,7 +120,7 @@ describe('startWebOAuthSignIn', () => {
|
|
|
120
120
|
|
|
121
121
|
// The verifier the main window replays is the one behind the challenge it
|
|
122
122
|
// sent — the popup never saw either.
|
|
123
|
-
const exchangeArgs = context.
|
|
123
|
+
const exchangeArgs = context.auth.oauth.exchangeCode.mock.calls[0][0];
|
|
124
124
|
expect(exchangeArgs.code).toBe('code-1');
|
|
125
125
|
expect(exchangeArgs.redirectUri).toBe(REDIRECT_URI);
|
|
126
126
|
await expect(computeCodeChallenge(exchangeArgs.codeVerifier)).resolves.toBe(
|
|
@@ -192,7 +192,7 @@ describe('startWebOAuthSignIn', () => {
|
|
|
192
192
|
url.searchParams.get('state'),
|
|
193
193
|
);
|
|
194
194
|
expect(sessionStorage.getItem(OXY_OAUTH_CODE_VERIFIER_STORAGE_KEY)).toBeTruthy();
|
|
195
|
-
expect(context.
|
|
195
|
+
expect(context.auth.oauth.exchangeCode).not.toHaveBeenCalled();
|
|
196
196
|
});
|
|
197
197
|
|
|
198
198
|
it('falls back to a full-page redirect when the popup cannot be navigated', async () => {
|
|
@@ -235,7 +235,7 @@ describe('startWebOAuthSignIn', () => {
|
|
|
235
235
|
reason: 'idp-error',
|
|
236
236
|
description: 'user declined',
|
|
237
237
|
});
|
|
238
|
-
expect(context.
|
|
238
|
+
expect(context.auth.oauth.exchangeCode).not.toHaveBeenCalled();
|
|
239
239
|
expect(popup.close).toHaveBeenCalled();
|
|
240
240
|
});
|
|
241
241
|
|
|
@@ -251,7 +251,7 @@ describe('startWebOAuthSignIn', () => {
|
|
|
251
251
|
);
|
|
252
252
|
|
|
253
253
|
await expect(pending).resolves.toEqual({ status: 'failed', reason: 'state-mismatch' });
|
|
254
|
-
expect(context.
|
|
254
|
+
expect(context.auth.oauth.exchangeCode).not.toHaveBeenCalled();
|
|
255
255
|
expect(context.commitSession).not.toHaveBeenCalled();
|
|
256
256
|
});
|
|
257
257
|
|
|
@@ -267,12 +267,12 @@ describe('startWebOAuthSignIn', () => {
|
|
|
267
267
|
|
|
268
268
|
expect(result).toEqual({ status: 'timed-out' });
|
|
269
269
|
expect(popup.close).toHaveBeenCalled();
|
|
270
|
-
expect(context.
|
|
270
|
+
expect(context.auth.oauth.exchangeCode).not.toHaveBeenCalled();
|
|
271
271
|
});
|
|
272
272
|
|
|
273
273
|
it('reports a failed exchange', async () => {
|
|
274
274
|
const context = makeContext();
|
|
275
|
-
context.
|
|
275
|
+
context.auth.oauth.exchangeCode.mockRejectedValue(new Error('invalid_grant'));
|
|
276
276
|
const popup = fakePopup();
|
|
277
277
|
|
|
278
278
|
const pending = startWebOAuthSignIn(context, { redirectUri: REDIRECT_URI, popup });
|