@oxyhq/services 28.0.0 → 30.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/NOTICE +10 -9
- package/README.md +65 -2
- package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionModule.kt +178 -0
- package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionProvider.kt +99 -0
- package/android/src/main/java/so/oxy/devicesession/OxyDeviceSessionStore.kt +115 -0
- package/expo-module.config.json +1 -0
- package/package.json +8 -8
- package/plugins/withSharedDeviceSessionProvider.js +102 -0
- package/plugins/withSharedDeviceSessionReader.js +57 -0
- package/src/__tests__/esmSourcePurity.test.ts +61 -0
- package/src/index.ts +31 -9
- package/src/ui/boot/runProviderColdBoot.ts +7 -0
- package/src/ui/client.ts +1 -2
- package/src/ui/components/FollowTargetButton.tsx +31 -27
- package/src/ui/components/OxyAccountDialogScreen.tsx +10 -29
- package/src/ui/components/OxyAuthChooser.tsx +149 -50
- package/src/ui/components/OxyConsentScreen.tsx +7 -2
- package/src/ui/components/OxyProvider.tsx +25 -26
- package/src/ui/components/SurfaceScreen.tsx +28 -4
- package/src/ui/components/authChooser/AccountsMenuView.tsx +246 -96
- package/src/ui/components/authChooser/SignInEntryView.tsx +31 -8
- package/src/ui/components/authChooser/TroubleDisclosure.tsx +26 -11
- package/src/ui/components/authChooser/primitives.tsx +37 -23
- package/src/ui/components/authChooser/types.ts +34 -1
- package/src/ui/context/OxyContext.tsx +269 -324
- package/src/ui/context/hooks/useAuthOperations.ts +32 -35
- package/src/ui/context/oxyContextHelpers.ts +0 -30
- package/src/ui/context/oxyContextTypes.ts +9 -1
- package/src/ui/context/useOxyAccountGraph.ts +5 -19
- package/src/ui/hooks/accountDialogSnapshot.ts +37 -0
- package/src/ui/hooks/mutations/useAccountMutations.ts +0 -19
- package/src/ui/hooks/queries/__tests__/userCache.test.ts +12 -1
- package/src/ui/hooks/useDeviceSwitcher.ts +110 -0
- package/src/ui/hooks/useI18n.ts +23 -3
- package/src/ui/hooks/useSessionManagement.ts +62 -211
- package/src/ui/index.ts +1 -2
- package/src/ui/navigation/routes.ts +85 -75
- package/src/ui/navigation/surfaces.ts +6 -9
- package/src/ui/runtime/createOxyRuntime.ts +623 -0
- package/src/ui/runtime/index.ts +34 -0
- package/src/ui/runtime/runtimeContext.tsx +111 -0
- package/src/ui/runtime/types.ts +110 -0
- package/src/ui/runtime/useRuntimeSnapshot.ts +52 -0
- package/src/ui/screens/AccountMembersScreen.tsx +2 -2
- package/src/ui/screens/AccountSettingsScreen.tsx +1 -1
- package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
- package/src/ui/screens/ChangeAvatarScreen.tsx +1 -1
- package/src/ui/screens/ConnectedAppsScreen.tsx +1 -1
- package/src/ui/screens/FileManagementScreen.tsx +2 -2
- package/src/ui/screens/HistoryViewScreen.tsx +2 -2
- package/src/ui/screens/ManageAccountScreen.tsx +3 -3
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +2 -2
- package/src/ui/screens/trust/TrustCenterScreen.tsx +2 -2
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +1 -1
- package/src/ui/screens/trust/TrustRulesScreen.tsx +1 -1
- package/src/ui/server.ts +0 -1
- package/src/ui/session/__tests__/authStore.test.ts +90 -0
- package/src/ui/session/__tests__/sharedDeviceCredentialStore.test.ts +289 -0
- package/src/ui/session/authStore.ts +78 -9
- package/src/ui/session/sharedDeviceCredentialStore.ts +318 -0
- package/src/ui/stores/authStore.ts +171 -43
- package/src/ui/types/navigation.ts +26 -0
- package/src/ui/utils/avatarUtils.ts +2 -37
- package/lib/commonjs/assets/OxyLogo.svg +0 -1
- package/lib/commonjs/assets/assets/OxyLogo.svg +0 -1
- package/lib/commonjs/assets/assets/icons/OxyServices.tsx +0 -60
- package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +0 -39
- package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/commonjs/assets/icons/OxyServices.js +0 -51
- package/lib/commonjs/assets/icons/OxyServices.js.map +0 -1
- package/lib/commonjs/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/commonjs/assets/illustrations/HighFive.js +0 -58
- package/lib/commonjs/assets/illustrations/HighFive.js.map +0 -1
- package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/commonjs/index.js +0 -994
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/notifications/deviceNotifications.js +0 -443
- package/lib/commonjs/notifications/deviceNotifications.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/commonjs/ui/boot/runProviderColdBoot.js +0 -198
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +0 -1
- package/lib/commonjs/ui/client.js +0 -137
- package/lib/commonjs/ui/client.js.map +0 -1
- package/lib/commonjs/ui/components/AvatarCameraBadge.js +0 -43
- package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +0 -1
- package/lib/commonjs/ui/components/FollowButton.js +0 -255
- package/lib/commonjs/ui/components/FollowButton.js.map +0 -1
- package/lib/commonjs/ui/components/FollowTargetButton.js +0 -363
- package/lib/commonjs/ui/components/FollowTargetButton.js.map +0 -1
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +0 -195
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +0 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js +0 -405
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +0 -1
- package/lib/commonjs/ui/components/OxyAuthPrompt.js +0 -124
- package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +0 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js +0 -497
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +0 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +0 -44
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +0 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +0 -66
- package/lib/commonjs/ui/components/OxyPayButton.js.map +0 -1
- package/lib/commonjs/ui/components/OxyProvider.js +0 -315
- package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +0 -321
- package/lib/commonjs/ui/components/OxySignInButton.js.map +0 -1
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js +0 -147
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +0 -1
- package/lib/commonjs/ui/components/ProfileButton.js +0 -342
- package/lib/commonjs/ui/components/ProfileButton.js.map +0 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +0 -79
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +0 -1
- package/lib/commonjs/ui/components/RequireOxyAuth.js +0 -296
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +0 -1
- package/lib/commonjs/ui/components/SettingsIcon.js +0 -45
- package/lib/commonjs/ui/components/SettingsIcon.js.map +0 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +0 -63
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +0 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +0 -229
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +0 -542
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +0 -90
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +0 -106
- package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/SignUpView.js +0 -188
- package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +0 -61
- package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/primitives.js +0 -170
- package/lib/commonjs/ui/components/authChooser/primitives.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +0 -161
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/signInProgress.js +0 -59
- package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/styles.js +0 -219
- package/lib/commonjs/ui/components/authChooser/styles.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/types.js +0 -70
- package/lib/commonjs/ui/components/authChooser/types.js.map +0 -1
- package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js +0 -50
- package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/constants.js +0 -59
- package/lib/commonjs/ui/components/feedback/constants.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/types.js +0 -6
- package/lib/commonjs/ui/components/feedback/types.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +0 -52
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +0 -61
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +0 -125
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +0 -431
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +0 -172
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +0 -1
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +0 -64
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/commonjs/ui/components/internal/PinInput.js +0 -118
- package/lib/commonjs/ui/components/internal/PinInput.js.map +0 -1
- package/lib/commonjs/ui/components/logo/LogoIcon.js +0 -61
- package/lib/commonjs/ui/components/logo/LogoIcon.js.map +0 -1
- package/lib/commonjs/ui/components/logo/LogoText.js +0 -48
- package/lib/commonjs/ui/components/logo/LogoText.js.map +0 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +0 -133
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +0 -1
- package/lib/commonjs/ui/components/oauthNavigation.js +0 -83
- package/lib/commonjs/ui/components/oauthNavigation.js.map +0 -1
- package/lib/commonjs/ui/components/passkeyHubPopup.js +0 -33
- package/lib/commonjs/ui/components/passkeyHubPopup.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +0 -327
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +0 -105
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +0 -149
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +0 -84
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +0 -195
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/constants.js +0 -53
- package/lib/commonjs/ui/components/payment/constants.js.map +0 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +0 -401
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +0 -1
- package/lib/commonjs/ui/components/payment/types.js +0 -6
- package/lib/commonjs/ui/components/payment/types.js.map +0 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +0 -223
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
- package/lib/commonjs/ui/components/styles/overlay.js +0 -83
- package/lib/commonjs/ui/components/styles/overlay.js.map +0 -1
- package/lib/commonjs/ui/components/styles/shadow.js +0 -127
- package/lib/commonjs/ui/components/styles/shadow.js.map +0 -1
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +0 -83
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +0 -1
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js +0 -13
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +0 -1
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js +0 -9
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +0 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js +0 -50
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +0 -1
- package/lib/commonjs/ui/constants/spacing.js +0 -50
- package/lib/commonjs/ui/constants/spacing.js.map +0 -1
- package/lib/commonjs/ui/context/OxyContext.js +0 -1248
- package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
- package/lib/commonjs/ui/context/commitSessionFlow.js +0 -104
- package/lib/commonjs/ui/context/commitSessionFlow.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +0 -316
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +0 -1
- package/lib/commonjs/ui/context/oxyContextHelpers.js +0 -64
- package/lib/commonjs/ui/context/oxyContextHelpers.js.map +0 -1
- package/lib/commonjs/ui/context/oxyContextTypes.js +0 -6
- package/lib/commonjs/ui/context/oxyContextTypes.js.map +0 -1
- package/lib/commonjs/ui/context/passkeyFlow.js +0 -118
- package/lib/commonjs/ui/context/passkeyFlow.js.map +0 -1
- package/lib/commonjs/ui/context/useOxyAccountGraph.js +0 -111
- package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +0 -182
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +0 -40
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +0 -694
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +0 -197
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/paymentTypes.js +0 -2
- package/lib/commonjs/ui/hooks/queries/paymentTypes.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -222
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +0 -326
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +0 -49
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +0 -129
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +0 -145
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +0 -93
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +0 -170
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/userCache.js +0 -440
- package/lib/commonjs/ui/hooks/queries/userCache.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +0 -31
- package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +0 -1
- package/lib/commonjs/ui/hooks/queryClient.js +0 -208
- package/lib/commonjs/ui/hooks/queryClient.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAssets.js +0 -227
- package/lib/commonjs/ui/hooks/useAssets.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js +0 -95
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAuth.js +0 -127
- package/lib/commonjs/ui/hooks/useAuth.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +0 -106
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +0 -1
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +0 -73
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +0 -71
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFileFiltering.js +0 -76
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFollow.js +0 -331
- package/lib/commonjs/ui/hooks/useFollow.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFollow.types.js +0 -6
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFollowTarget.js +0 -160
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +0 -1
- package/lib/commonjs/ui/hooks/useI18n.js +0 -22
- package/lib/commonjs/ui/hooks/useI18n.js.map +0 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +0 -193
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +0 -1
- package/lib/commonjs/ui/hooks/useMutationStatus.js +0 -86
- package/lib/commonjs/ui/hooks/useMutationStatus.js.map +0 -1
- package/lib/commonjs/ui/hooks/useOnlineStatus.js +0 -34
- package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +0 -1
- package/lib/commonjs/ui/hooks/useOxyEvent.js +0 -28
- package/lib/commonjs/ui/hooks/useOxyEvent.js.map +0 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +0 -134
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +0 -1
- package/lib/commonjs/ui/hooks/useQueryClient.js +0 -20
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/commonjs/ui/hooks/useReduceMotion.js +0 -57
- package/lib/commonjs/ui/hooks/useReduceMotion.js.map +0 -1
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +0 -163
- package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +0 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +0 -290
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +0 -1
- package/lib/commonjs/ui/hooks/useSettingToggle.js +0 -132
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +0 -1
- package/lib/commonjs/ui/hooks/useStorage.js +0 -45
- package/lib/commonjs/ui/hooks/useStorage.js.map +0 -1
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js +0 -142
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +0 -1
- package/lib/commonjs/ui/hooks/useSwitchableAccounts.js +0 -64
- package/lib/commonjs/ui/hooks/useSwitchableAccounts.js.map +0 -1
- package/lib/commonjs/ui/index.js +0 -178
- package/lib/commonjs/ui/index.js.map +0 -1
- package/lib/commonjs/ui/isFrontend.js +0 -10
- package/lib/commonjs/ui/isFrontend.js.map +0 -1
- package/lib/commonjs/ui/navigation/accountDialogManager.js +0 -105
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +0 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +0 -62
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +0 -1
- package/lib/commonjs/ui/navigation/routes.js +0 -98
- package/lib/commonjs/ui/navigation/routes.js.map +0 -1
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js +0 -68
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +0 -1
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +0 -146
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +0 -1
- package/lib/commonjs/ui/navigation/surfaceRegistry.js +0 -147
- package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +0 -1
- package/lib/commonjs/ui/navigation/surfaces.js +0 -338
- package/lib/commonjs/ui/navigation/surfaces.js.map +0 -1
- package/lib/commonjs/ui/oauth/browserAuthTransport.js +0 -170
- package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +0 -1
- package/lib/commonjs/ui/oauth/completeOAuthCode.js +0 -78
- package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +0 -1
- package/lib/commonjs/ui/oauth/oauthHandshake.js +0 -53
- package/lib/commonjs/ui/oauth/oauthHandshake.js.map +0 -1
- package/lib/commonjs/ui/oauth/oauthPopup.js +0 -276
- package/lib/commonjs/ui/oauth/oauthPopup.js.map +0 -1
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js +0 -141
- package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +0 -1
- package/lib/commonjs/ui/oauth/types.js +0 -2
- package/lib/commonjs/ui/oauth/types.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +0 -443
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +0 -264
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +0 -184
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +0 -373
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +0 -987
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +0 -306
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +0 -169
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +0 -387
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +0 -546
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js +0 -167
- package/lib/commonjs/ui/screens/EditProfileScreen.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 -592
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +0 -1529
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FollowersListScreen.js +0 -17
- package/lib/commonjs/ui/screens/FollowersListScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FollowingListScreen.js +0 -17
- package/lib/commonjs/ui/screens/FollowingListScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +0 -123
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +0 -165
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +0 -235
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +0 -127
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +0 -188
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +0 -647
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +0 -150
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +0 -278
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PreferencesScreen.js +0 -194
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +0 -958
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +0 -501
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +0 -473
- package/lib/commonjs/ui/screens/ProfileScreen.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/ui/screens/SearchSettingsScreen.js +0 -138
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -61
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +0 -301
- package/lib/commonjs/ui/screens/UserListScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +0 -467
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +0 -64
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +0 -121
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +0 -552
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +0 -85
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +0 -506
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js +0 -44
- package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +0 -1
- package/lib/commonjs/ui/screens/fileManagement/shared.js +0 -79
- package/lib/commonjs/ui/screens/fileManagement/shared.js.map +0 -1
- package/lib/commonjs/ui/screens/linkFormat.js +0 -38
- package/lib/commonjs/ui/screens/linkFormat.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +0 -94
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +0 -185
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +0 -86
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +0 -222
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +0 -512
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +0 -92
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +0 -1
- package/lib/commonjs/ui/server.js +0 -86
- package/lib/commonjs/ui/server.js.map +0 -1
- package/lib/commonjs/ui/session/authStore.js +0 -39
- package/lib/commonjs/ui/session/authStore.js.map +0 -1
- package/lib/commonjs/ui/session/backgroundSession.js +0 -258
- package/lib/commonjs/ui/session/backgroundSession.js.map +0 -1
- package/lib/commonjs/ui/session/createSessionClient.js +0 -58
- package/lib/commonjs/ui/session/createSessionClient.js.map +0 -1
- package/lib/commonjs/ui/session/identityBinding.js +0 -95
- package/lib/commonjs/ui/session/identityBinding.js.map +0 -1
- package/lib/commonjs/ui/session/index.js +0 -78
- package/lib/commonjs/ui/session/index.js.map +0 -1
- package/lib/commonjs/ui/session/nativeSecureStorage.js +0 -90
- package/lib/commonjs/ui/session/nativeSecureStorage.js.map +0 -1
- package/lib/commonjs/ui/session/tokenTransport.js +0 -75
- package/lib/commonjs/ui/session/tokenTransport.js.map +0 -1
- package/lib/commonjs/ui/session/useBackgroundSessionSync.js +0 -81
- package/lib/commonjs/ui/session/useBackgroundSessionSync.js.map +0 -1
- package/lib/commonjs/ui/stores/accountStore.js +0 -221
- package/lib/commonjs/ui/stores/accountStore.js.map +0 -1
- package/lib/commonjs/ui/stores/assetStore.js +0 -225
- package/lib/commonjs/ui/stores/assetStore.js.map +0 -1
- package/lib/commonjs/ui/stores/authStore.js +0 -70
- package/lib/commonjs/ui/stores/authStore.js.map +0 -1
- package/lib/commonjs/ui/stores/followStore.js +0 -551
- package/lib/commonjs/ui/stores/followStore.js.map +0 -1
- package/lib/commonjs/ui/stores/followTargetStore.js +0 -152
- package/lib/commonjs/ui/stores/followTargetStore.js.map +0 -1
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js +0 -21
- package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +0 -1
- package/lib/commonjs/ui/types/fileManagement.js +0 -6
- package/lib/commonjs/ui/types/fileManagement.js.map +0 -1
- package/lib/commonjs/ui/types/navigation.js +0 -6
- package/lib/commonjs/ui/types/navigation.js.map +0 -1
- package/lib/commonjs/ui/types/surfaceScreen.js +0 -6
- package/lib/commonjs/ui/types/surfaceScreen.js.map +0 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +0 -77
- package/lib/commonjs/ui/utils/avatarUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/colorUtils.js +0 -49
- package/lib/commonjs/ui/utils/colorUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/commonsStoreLinks.js +0 -42
- package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +0 -1
- package/lib/commonjs/ui/utils/deliveryPlatform.js +0 -58
- package/lib/commonjs/ui/utils/deliveryPlatform.js.map +0 -1
- package/lib/commonjs/ui/utils/deviceCredential.js +0 -23
- package/lib/commonjs/ui/utils/deviceCredential.js.map +0 -1
- package/lib/commonjs/ui/utils/errorHandlers.js +0 -137
- package/lib/commonjs/ui/utils/errorHandlers.js.map +0 -1
- package/lib/commonjs/ui/utils/fileManagement.js +0 -147
- package/lib/commonjs/ui/utils/fileManagement.js.map +0 -1
- package/lib/commonjs/ui/utils/iconNames.js +0 -133
- package/lib/commonjs/ui/utils/iconNames.js.map +0 -1
- package/lib/commonjs/ui/utils/isWebBrowser.js +0 -13
- package/lib/commonjs/ui/utils/isWebBrowser.js.map +0 -1
- package/lib/commonjs/ui/utils/netConnectivity.js +0 -28
- package/lib/commonjs/ui/utils/netConnectivity.js.map +0 -1
- package/lib/commonjs/ui/utils/oauthReturn.js +0 -126
- package/lib/commonjs/ui/utils/oauthReturn.js.map +0 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js +0 -61
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +0 -1
- package/lib/commonjs/ui/utils/storageHelpers.js +0 -119
- package/lib/commonjs/ui/utils/storageHelpers.js.map +0 -1
- package/lib/commonjs/ui/utils/userUtils.js +0 -69
- package/lib/commonjs/ui/utils/userUtils.js.map +0 -1
- package/lib/commonjs/utils/hookUtils.js +0 -421
- package/lib/commonjs/utils/hookUtils.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/assets/OxyLogo.svg +0 -1
- package/lib/module/assets/assets/OxyLogo.svg +0 -1
- package/lib/module/assets/assets/icons/OxyServices.tsx +0 -60
- package/lib/module/assets/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/module/assets/assets/illustrations/HighFive.tsx +0 -39
- package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/module/assets/icons/OxyServices.js +0 -45
- package/lib/module/assets/icons/OxyServices.js.map +0 -1
- package/lib/module/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/module/assets/illustrations/HighFive.js +0 -53
- package/lib/module/assets/illustrations/HighFive.js.map +0 -1
- package/lib/module/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/module/index.js +0 -222
- package/lib/module/index.js.map +0 -1
- package/lib/module/notifications/deviceNotifications.js +0 -433
- package/lib/module/notifications/deviceNotifications.js.map +0 -1
- package/lib/module/package.json +0 -1
- package/lib/module/ui/boot/runProviderColdBoot.js +0 -192
- package/lib/module/ui/boot/runProviderColdBoot.js.map +0 -1
- package/lib/module/ui/client.js +0 -39
- package/lib/module/ui/client.js.map +0 -1
- package/lib/module/ui/components/AvatarCameraBadge.js +0 -40
- package/lib/module/ui/components/AvatarCameraBadge.js.map +0 -1
- package/lib/module/ui/components/FollowButton.js +0 -251
- package/lib/module/ui/components/FollowButton.js.map +0 -1
- package/lib/module/ui/components/FollowTargetButton.js +0 -357
- package/lib/module/ui/components/FollowTargetButton.js.map +0 -1
- package/lib/module/ui/components/OxyAccountDialogScreen.js +0 -190
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +0 -1
- package/lib/module/ui/components/OxyAuthChooser.js +0 -400
- package/lib/module/ui/components/OxyAuthChooser.js.map +0 -1
- package/lib/module/ui/components/OxyAuthPrompt.js +0 -118
- package/lib/module/ui/components/OxyAuthPrompt.js.map +0 -1
- package/lib/module/ui/components/OxyConsentScreen.js +0 -491
- package/lib/module/ui/components/OxyConsentScreen.js.map +0 -1
- package/lib/module/ui/components/OxyOAuthCallback.js +0 -40
- package/lib/module/ui/components/OxyOAuthCallback.js.map +0 -1
- package/lib/module/ui/components/OxyPayButton.js +0 -62
- package/lib/module/ui/components/OxyPayButton.js.map +0 -1
- package/lib/module/ui/components/OxyProvider.js +0 -312
- package/lib/module/ui/components/OxyProvider.js.map +0 -1
- package/lib/module/ui/components/OxySignInButton.js +0 -316
- package/lib/module/ui/components/OxySignInButton.js.map +0 -1
- package/lib/module/ui/components/OxySignInRequestSurface.js +0 -141
- package/lib/module/ui/components/OxySignInRequestSurface.js.map +0 -1
- package/lib/module/ui/components/ProfileButton.js +0 -336
- package/lib/module/ui/components/ProfileButton.js.map +0 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +0 -74
- package/lib/module/ui/components/ProfileSummaryCard.js.map +0 -1
- package/lib/module/ui/components/RequireOxyAuth.js +0 -292
- package/lib/module/ui/components/RequireOxyAuth.js.map +0 -1
- package/lib/module/ui/components/SettingsIcon.js +0 -40
- package/lib/module/ui/components/SettingsIcon.js.map +0 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js +0 -58
- package/lib/module/ui/components/SurfaceHeaderAction.js.map +0 -1
- package/lib/module/ui/components/SurfaceScreen.js +0 -224
- package/lib/module/ui/components/SurfaceScreen.js.map +0 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +0 -538
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +0 -1
- package/lib/module/ui/components/authChooser/SignInEntryView.js +0 -85
- package/lib/module/ui/components/authChooser/SignInEntryView.js.map +0 -1
- package/lib/module/ui/components/authChooser/SignInRequestView.js +0 -101
- package/lib/module/ui/components/authChooser/SignInRequestView.js.map +0 -1
- package/lib/module/ui/components/authChooser/SignUpView.js +0 -184
- package/lib/module/ui/components/authChooser/SignUpView.js.map +0 -1
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js +0 -57
- package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +0 -1
- package/lib/module/ui/components/authChooser/primitives.js +0 -163
- package/lib/module/ui/components/authChooser/primitives.js.map +0 -1
- package/lib/module/ui/components/authChooser/requestSurfaces.js +0 -151
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +0 -1
- package/lib/module/ui/components/authChooser/signInProgress.js +0 -55
- package/lib/module/ui/components/authChooser/signInProgress.js.map +0 -1
- package/lib/module/ui/components/authChooser/styles.js +0 -216
- package/lib/module/ui/components/authChooser/styles.js.map +0 -1
- package/lib/module/ui/components/authChooser/types.js +0 -66
- package/lib/module/ui/components/authChooser/types.js.map +0 -1
- package/lib/module/ui/components/authChooser/useUsernameAvailability.js +0 -46
- package/lib/module/ui/components/authChooser/useUsernameAvailability.js.map +0 -1
- package/lib/module/ui/components/feedback/constants.js +0 -55
- package/lib/module/ui/components/feedback/constants.js.map +0 -1
- package/lib/module/ui/components/feedback/types.js +0 -4
- package/lib/module/ui/components/feedback/types.js.map +0 -1
- package/lib/module/ui/components/feedback/useFeedbackForm.js +0 -47
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +0 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -55
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +0 -119
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +0 -425
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +0 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -166
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +0 -1
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +0 -59
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/module/ui/components/internal/PinInput.js +0 -113
- package/lib/module/ui/components/internal/PinInput.js.map +0 -1
- package/lib/module/ui/components/logo/LogoIcon.js +0 -55
- package/lib/module/ui/components/logo/LogoIcon.js.map +0 -1
- package/lib/module/ui/components/logo/LogoText.js +0 -42
- package/lib/module/ui/components/logo/LogoText.js.map +0 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +0 -127
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +0 -1
- package/lib/module/ui/components/oauthNavigation.js +0 -80
- package/lib/module/ui/components/oauthNavigation.js.map +0 -1
- package/lib/module/ui/components/passkeyHubPopup.js +0 -29
- package/lib/module/ui/components/passkeyHubPopup.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +0 -322
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +0 -100
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +0 -144
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +0 -79
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +0 -190
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +0 -1
- package/lib/module/ui/components/payment/constants.js +0 -47
- package/lib/module/ui/components/payment/constants.js.map +0 -1
- package/lib/module/ui/components/payment/paymentStyles.js +0 -396
- package/lib/module/ui/components/payment/paymentStyles.js.map +0 -1
- package/lib/module/ui/components/payment/types.js +0 -4
- package/lib/module/ui/components/payment/types.js.map +0 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +0 -216
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
- package/lib/module/ui/components/styles/overlay.js +0 -80
- package/lib/module/ui/components/styles/overlay.js.map +0 -1
- package/lib/module/ui/components/styles/shadow.js +0 -123
- package/lib/module/ui/components/styles/shadow.js.map +0 -1
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js +0 -78
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +0 -1
- package/lib/module/ui/components/utils/hasTouchHandler.js +0 -9
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +0 -1
- package/lib/module/ui/components/utils/roundLayoutSize.js +0 -4
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +0 -1
- package/lib/module/ui/components/utils/splitStyles.js +0 -46
- package/lib/module/ui/components/utils/splitStyles.js.map +0 -1
- package/lib/module/ui/constants/spacing.js +0 -45
- package/lib/module/ui/constants/spacing.js.map +0 -1
- package/lib/module/ui/context/OxyContext.js +0 -1243
- package/lib/module/ui/context/OxyContext.js.map +0 -1
- package/lib/module/ui/context/commitSessionFlow.js +0 -100
- package/lib/module/ui/context/commitSessionFlow.js.map +0 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +0 -311
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +0 -1
- package/lib/module/ui/context/oxyContextHelpers.js +0 -57
- package/lib/module/ui/context/oxyContextHelpers.js.map +0 -1
- package/lib/module/ui/context/oxyContextTypes.js +0 -4
- package/lib/module/ui/context/oxyContextTypes.js.map +0 -1
- package/lib/module/ui/context/passkeyFlow.js +0 -111
- package/lib/module/ui/context/passkeyFlow.js.map +0 -1
- package/lib/module/ui/context/useOxyAccountGraph.js +0 -107
- package/lib/module/ui/context/useOxyAccountGraph.js.map +0 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +0 -178
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +0 -1
- package/lib/module/ui/hooks/mutations/mutationKeys.js +0 -36
- package/lib/module/ui/hooks/mutations/mutationKeys.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +0 -685
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +0 -189
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +0 -1
- package/lib/module/ui/hooks/queries/paymentTypes.js +0 -2
- package/lib/module/ui/hooks/queries/paymentTypes.js.map +0 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +0 -207
- package/lib/module/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +0 -315
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js +0 -45
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +0 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js +0 -120
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +0 -137
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +0 -86
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +0 -161
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/userCache.js +0 -433
- package/lib/module/ui/hooks/queries/userCache.js.map +0 -1
- package/lib/module/ui/hooks/queries/userCacheRelationship.js +0 -27
- package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +0 -1
- package/lib/module/ui/hooks/queryClient.js +0 -201
- package/lib/module/ui/hooks/queryClient.js.map +0 -1
- package/lib/module/ui/hooks/useAssets.js +0 -221
- package/lib/module/ui/hooks/useAssets.js.map +0 -1
- package/lib/module/ui/hooks/useAsyncAction.js +0 -89
- package/lib/module/ui/hooks/useAsyncAction.js.map +0 -1
- package/lib/module/ui/hooks/useAuth.js +0 -123
- package/lib/module/ui/hooks/useAuth.js.map +0 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +0 -103
- package/lib/module/ui/hooks/useAvatarPicker.js.map +0 -1
- package/lib/module/ui/hooks/useDeviceManagement.js +0 -68
- package/lib/module/ui/hooks/useDeviceManagement.js.map +0 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +0 -66
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +0 -1
- package/lib/module/ui/hooks/useFileFiltering.js +0 -72
- package/lib/module/ui/hooks/useFileFiltering.js.map +0 -1
- package/lib/module/ui/hooks/useFollow.js +0 -324
- package/lib/module/ui/hooks/useFollow.js.map +0 -1
- package/lib/module/ui/hooks/useFollow.types.js +0 -4
- package/lib/module/ui/hooks/useFollow.types.js.map +0 -1
- package/lib/module/ui/hooks/useFollowTarget.js +0 -156
- package/lib/module/ui/hooks/useFollowTarget.js.map +0 -1
- package/lib/module/ui/hooks/useI18n.js +0 -18
- package/lib/module/ui/hooks/useI18n.js.map +0 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +0 -185
- package/lib/module/ui/hooks/useLanguageManagement.js.map +0 -1
- package/lib/module/ui/hooks/useMutationStatus.js +0 -82
- package/lib/module/ui/hooks/useMutationStatus.js.map +0 -1
- package/lib/module/ui/hooks/useOnlineStatus.js +0 -30
- package/lib/module/ui/hooks/useOnlineStatus.js.map +0 -1
- package/lib/module/ui/hooks/useOxyEvent.js +0 -25
- package/lib/module/ui/hooks/useOxyEvent.js.map +0 -1
- package/lib/module/ui/hooks/useProfileEditing.js +0 -129
- package/lib/module/ui/hooks/useProfileEditing.js.map +0 -1
- package/lib/module/ui/hooks/useQueryClient.js +0 -15
- package/lib/module/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/module/ui/hooks/useReduceMotion.js +0 -53
- package/lib/module/ui/hooks/useReduceMotion.js.map +0 -1
- package/lib/module/ui/hooks/useResolvedFileUrls.js +0 -157
- package/lib/module/ui/hooks/useResolvedFileUrls.js.map +0 -1
- package/lib/module/ui/hooks/useSessionManagement.js +0 -286
- package/lib/module/ui/hooks/useSessionManagement.js.map +0 -1
- package/lib/module/ui/hooks/useSettingToggle.js +0 -126
- package/lib/module/ui/hooks/useSettingToggle.js.map +0 -1
- package/lib/module/ui/hooks/useStorage.js +0 -40
- package/lib/module/ui/hooks/useStorage.js.map +0 -1
- package/lib/module/ui/hooks/useSurfaceHeader.js +0 -138
- package/lib/module/ui/hooks/useSurfaceHeader.js.map +0 -1
- package/lib/module/ui/hooks/useSwitchableAccounts.js +0 -60
- package/lib/module/ui/hooks/useSwitchableAccounts.js.map +0 -1
- package/lib/module/ui/index.js +0 -49
- package/lib/module/ui/index.js.map +0 -1
- package/lib/module/ui/isFrontend.js +0 -6
- package/lib/module/ui/isFrontend.js.map +0 -1
- package/lib/module/ui/navigation/accountDialogManager.js +0 -94
- package/lib/module/ui/navigation/accountDialogManager.js.map +0 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +0 -56
- package/lib/module/ui/navigation/bottomSheetManager.js.map +0 -1
- package/lib/module/ui/navigation/routes.js +0 -92
- package/lib/module/ui/navigation/routes.js.map +0 -1
- package/lib/module/ui/navigation/surfaceBackBridge.js +0 -63
- package/lib/module/ui/navigation/surfaceBackBridge.js.map +0 -1
- package/lib/module/ui/navigation/surfaceNavStack.js +0 -143
- package/lib/module/ui/navigation/surfaceNavStack.js.map +0 -1
- package/lib/module/ui/navigation/surfaceRegistry.js +0 -141
- package/lib/module/ui/navigation/surfaceRegistry.js.map +0 -1
- package/lib/module/ui/navigation/surfaces.js +0 -325
- package/lib/module/ui/navigation/surfaces.js.map +0 -1
- package/lib/module/ui/oauth/browserAuthTransport.js +0 -167
- package/lib/module/ui/oauth/browserAuthTransport.js.map +0 -1
- package/lib/module/ui/oauth/completeOAuthCode.js +0 -75
- package/lib/module/ui/oauth/completeOAuthCode.js.map +0 -1
- package/lib/module/ui/oauth/oauthHandshake.js +0 -50
- package/lib/module/ui/oauth/oauthHandshake.js.map +0 -1
- package/lib/module/ui/oauth/oauthPopup.js +0 -268
- package/lib/module/ui/oauth/oauthPopup.js.map +0 -1
- package/lib/module/ui/oauth/oauthPopupMessages.js +0 -135
- package/lib/module/ui/oauth/oauthPopupMessages.js.map +0 -1
- package/lib/module/ui/oauth/types.js +0 -2
- package/lib/module/ui/oauth/types.js.map +0 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +0 -438
- package/lib/module/ui/screens/AccountMembersScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +0 -260
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +0 -179
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +0 -1
- package/lib/module/ui/screens/AppInfoScreen.js +0 -368
- package/lib/module/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +0 -984
- package/lib/module/ui/screens/AvatarCropScreen.js.map +0 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js +0 -303
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +0 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +0 -164
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +0 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +0 -382
- package/lib/module/ui/screens/CreateAccountScreen.js.map +0 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +0 -541
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +0 -1
- package/lib/module/ui/screens/EditProfileScreen.js +0 -162
- package/lib/module/ui/screens/EditProfileScreen.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 -590
- package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/module/ui/screens/FileManagementScreen.js +0 -1525
- package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/FollowersListScreen.js +0 -12
- package/lib/module/ui/screens/FollowersListScreen.js.map +0 -1
- package/lib/module/ui/screens/FollowingListScreen.js +0 -12
- package/lib/module/ui/screens/FollowingListScreen.js.map +0 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +0 -118
- package/lib/module/ui/screens/HelpSupportScreen.js.map +0 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +0 -160
- package/lib/module/ui/screens/HistoryViewScreen.js.map +0 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -229
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +0 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +0 -122
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +0 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +0 -185
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +0 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +0 -642
- package/lib/module/ui/screens/ManageAccountScreen.js.map +0 -1
- package/lib/module/ui/screens/NotificationsScreen.js +0 -145
- package/lib/module/ui/screens/NotificationsScreen.js.map +0 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +0 -273
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +0 -1
- package/lib/module/ui/screens/PreferencesScreen.js +0 -189
- package/lib/module/ui/screens/PreferencesScreen.js.map +0 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +0 -953
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +0 -496
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/ProfileScreen.js +0 -468
- package/lib/module/ui/screens/ProfileScreen.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/ui/screens/SearchSettingsScreen.js +0 -133
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/UserLinksScreen.js +0 -57
- package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/module/ui/screens/UserListScreen.js +0 -296
- package/lib/module/ui/screens/UserListScreen.js.map +0 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +0 -462
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js +0 -59
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +0 -116
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +0 -548
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +0 -80
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +0 -502
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/photoGridLayout.js +0 -39
- package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +0 -1
- package/lib/module/ui/screens/fileManagement/shared.js +0 -70
- package/lib/module/ui/screens/fileManagement/shared.js.map +0 -1
- package/lib/module/ui/screens/linkFormat.js +0 -31
- package/lib/module/ui/screens/linkFormat.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +0 -89
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +0 -180
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +0 -81
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +0 -217
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +0 -507
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +0 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +0 -90
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +0 -1
- package/lib/module/ui/server.js +0 -56
- package/lib/module/ui/server.js.map +0 -1
- package/lib/module/ui/session/authStore.js +0 -35
- package/lib/module/ui/session/authStore.js.map +0 -1
- package/lib/module/ui/session/backgroundSession.js +0 -252
- package/lib/module/ui/session/backgroundSession.js.map +0 -1
- package/lib/module/ui/session/createSessionClient.js +0 -55
- package/lib/module/ui/session/createSessionClient.js.map +0 -1
- package/lib/module/ui/session/identityBinding.js +0 -89
- package/lib/module/ui/session/identityBinding.js.map +0 -1
- package/lib/module/ui/session/index.js +0 -21
- package/lib/module/ui/session/index.js.map +0 -1
- package/lib/module/ui/session/nativeSecureStorage.js +0 -88
- package/lib/module/ui/session/nativeSecureStorage.js.map +0 -1
- package/lib/module/ui/session/tokenTransport.js +0 -71
- package/lib/module/ui/session/tokenTransport.js.map +0 -1
- package/lib/module/ui/session/useBackgroundSessionSync.js +0 -76
- package/lib/module/ui/session/useBackgroundSessionSync.js.map +0 -1
- package/lib/module/ui/stores/accountStore.js +0 -213
- package/lib/module/ui/stores/accountStore.js.map +0 -1
- package/lib/module/ui/stores/assetStore.js +0 -212
- package/lib/module/ui/stores/assetStore.js.map +0 -1
- package/lib/module/ui/stores/authStore.js +0 -66
- package/lib/module/ui/stores/authStore.js.map +0 -1
- package/lib/module/ui/stores/followStore.js +0 -546
- package/lib/module/ui/stores/followStore.js.map +0 -1
- package/lib/module/ui/stores/followTargetStore.js +0 -143
- package/lib/module/ui/stores/followTargetStore.js.map +0 -1
- package/lib/module/ui/stores/resetSessionScopedStores.js +0 -18
- package/lib/module/ui/stores/resetSessionScopedStores.js.map +0 -1
- package/lib/module/ui/types/fileManagement.js +0 -4
- package/lib/module/ui/types/fileManagement.js.map +0 -1
- package/lib/module/ui/types/navigation.js +0 -4
- package/lib/module/ui/types/navigation.js.map +0 -1
- package/lib/module/ui/types/surfaceScreen.js +0 -4
- package/lib/module/ui/types/surfaceScreen.js.map +0 -1
- package/lib/module/ui/utils/avatarUtils.js +0 -73
- package/lib/module/ui/utils/avatarUtils.js.map +0 -1
- package/lib/module/ui/utils/colorUtils.js +0 -13
- package/lib/module/ui/utils/colorUtils.js.map +0 -1
- package/lib/module/ui/utils/commonsStoreLinks.js +0 -37
- package/lib/module/ui/utils/commonsStoreLinks.js.map +0 -1
- package/lib/module/ui/utils/deliveryPlatform.js +0 -55
- package/lib/module/ui/utils/deliveryPlatform.js.map +0 -1
- package/lib/module/ui/utils/deviceCredential.js +0 -18
- package/lib/module/ui/utils/deviceCredential.js.map +0 -1
- package/lib/module/ui/utils/errorHandlers.js +0 -129
- package/lib/module/ui/utils/errorHandlers.js.map +0 -1
- package/lib/module/ui/utils/fileManagement.js +0 -140
- package/lib/module/ui/utils/fileManagement.js.map +0 -1
- package/lib/module/ui/utils/iconNames.js +0 -124
- package/lib/module/ui/utils/iconNames.js.map +0 -1
- package/lib/module/ui/utils/isWebBrowser.js +0 -11
- package/lib/module/ui/utils/isWebBrowser.js.map +0 -1
- package/lib/module/ui/utils/netConnectivity.js +0 -23
- package/lib/module/ui/utils/netConnectivity.js.map +0 -1
- package/lib/module/ui/utils/oauthReturn.js +0 -122
- package/lib/module/ui/utils/oauthReturn.js.map +0 -1
- package/lib/module/ui/utils/sessionHelpers.js +0 -55
- package/lib/module/ui/utils/sessionHelpers.js.map +0 -1
- package/lib/module/ui/utils/storageHelpers.js +0 -111
- package/lib/module/ui/utils/storageHelpers.js.map +0 -1
- package/lib/module/ui/utils/userUtils.js +0 -63
- package/lib/module/ui/utils/userUtils.js.map +0 -1
- package/lib/module/utils/hookUtils.js +0 -403
- package/lib/module/utils/hookUtils.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/assets/icons/OxyServices.d.ts +0 -24
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +0 -1
- package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts +0 -8
- package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +0 -1
- package/lib/typescript/commonjs/index.d.ts +0 -106
- package/lib/typescript/commonjs/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +0 -192
- package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +0 -1
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +0 -60
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/client.d.ts +0 -30
- package/lib/typescript/commonjs/ui/client.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts +0 -4
- package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +0 -39
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts +0 -158
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +0 -40
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +0 -54
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +0 -59
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts +0 -45
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +0 -11
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts +0 -29
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +0 -40
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +0 -113
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +0 -108
- package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +0 -59
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +0 -33
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts +0 -55
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +0 -15
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +0 -16
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +0 -23
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +0 -38
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +0 -32
- package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +0 -34
- package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +0 -34
- package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +0 -36
- package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +0 -55
- package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +0 -63
- package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +0 -26
- package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +0 -209
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +0 -109
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts +0 -16
- package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/types.d.ts +0 -46
- package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts +0 -9
- package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +0 -24
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +0 -16
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +0 -14
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts +0 -9
- package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +0 -23
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +0 -22
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +0 -22
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +0 -26
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +0 -43
- package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +0 -23
- package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +0 -21
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +0 -14
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +0 -16
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +0 -10
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +0 -15
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/constants.d.ts +0 -7
- package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +0 -389
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts +0 -40
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -28
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +0 -6
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +0 -3
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts +0 -38
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts +0 -6
- package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts +0 -2
- package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts +0 -20
- package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/constants/spacing.d.ts +0 -33
- package/lib/typescript/commonjs/ui/constants/spacing.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +0 -7
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +0 -39
- package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +0 -74
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +0 -7
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +0 -211
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +0 -96
- package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +0 -32
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +0 -87
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +0 -30
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +0 -301
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +0 -23
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +0 -138
- package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +0 -137
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +0 -87
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +0 -212
- package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +0 -50
- package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +0 -64
- package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +0 -25
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +0 -44
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +0 -173
- package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
- package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +0 -66
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +0 -35
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts +0 -51
- package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +0 -109
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +0 -34
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts +0 -27
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +0 -19
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +0 -29
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +0 -108
- package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +0 -35
- package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts +0 -50
- package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +0 -5
- package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +0 -69
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +0 -23
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +0 -14
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts +0 -8
- package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +0 -42
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +0 -7
- package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts +0 -14
- package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +0 -48
- package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +0 -41
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts +0 -57
- package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +0 -16
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +0 -45
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts +0 -23
- package/lib/typescript/commonjs/ui/hooks/useSwitchableAccounts.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/index.d.ts +0 -39
- package/lib/typescript/commonjs/ui/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/isFrontend.d.ts +0 -3
- package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +0 -54
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +0 -34
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +0 -6
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts +0 -16
- package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +0 -75
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +0 -194
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +0 -110
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +0 -56
- package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts +0 -49
- package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +0 -50
- package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +0 -83
- package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts +0 -67
- package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/oauth/types.d.ts +0 -176
- package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts +0 -10
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts +0 -12
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +0 -58
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts +0 -38
- package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts +0 -11
- package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +0 -13
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts +0 -14
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.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/FileManagementScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +0 -12
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +0 -12
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts +0 -7
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +0 -13
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +0 -15
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.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/PrivacySettingsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts +0 -9
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +0 -18
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +0 -14
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +0 -23
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +0 -40
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +0 -43
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +0 -25
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +0 -51
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts +0 -37
- package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +0 -38
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts +0 -23
- package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts +0 -5
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/server.d.ts +0 -36
- package/lib/typescript/commonjs/ui/server.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/authStore.d.ts +0 -25
- package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts +0 -42
- package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +0 -40
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +0 -66
- package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/index.d.ts +0 -20
- package/lib/typescript/commonjs/ui/session/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +0 -25
- package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +0 -33
- package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts +0 -23
- package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/accountStore.d.ts +0 -27
- package/lib/typescript/commonjs/ui/stores/accountStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +0 -54
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts +0 -17
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts +0 -30
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts +0 -84
- package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +0 -10
- package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts +0 -51
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +0 -127
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts +0 -38
- package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +0 -24
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts +0 -10
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts +0 -24
- package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts +0 -33
- package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +0 -8
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +0 -35
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +0 -55
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/iconNames.d.ts +0 -112
- package/lib/typescript/commonjs/ui/utils/iconNames.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts +0 -9
- package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +0 -17
- package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +0 -48
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +0 -48
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +0 -28
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +0 -23
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/hookUtils.d.ts +0 -102
- package/lib/typescript/commonjs/utils/hookUtils.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/assets/icons/OxyServices.d.ts +0 -24
- package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +0 -1
- package/lib/typescript/module/assets/illustrations/HighFive.d.ts +0 -8
- package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +0 -1
- package/lib/typescript/module/index.d.ts +0 -106
- package/lib/typescript/module/index.d.ts.map +0 -1
- package/lib/typescript/module/notifications/deviceNotifications.d.ts +0 -192
- package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +0 -1
- package/lib/typescript/module/package.json +0 -1
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +0 -60
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +0 -1
- package/lib/typescript/module/ui/client.d.ts +0 -30
- package/lib/typescript/module/ui/client.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts +0 -4
- package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts +0 -39
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts +0 -158
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +0 -40
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +0 -54
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +0 -59
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts +0 -45
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +0 -11
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts +0 -29
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts +0 -40
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts +0 -113
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +0 -108
- package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +0 -59
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +0 -33
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts +0 -55
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts +0 -15
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +0 -16
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +0 -23
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +0 -38
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +0 -32
- package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +0 -34
- package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +0 -34
- package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +0 -36
- package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +0 -55
- package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +0 -63
- package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +0 -26
- package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts +0 -209
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +0 -109
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts +0 -16
- package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/constants.d.ts +0 -5
- package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/types.d.ts +0 -46
- package/lib/typescript/module/ui/components/feedback/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +0 -9
- package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +0 -24
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +0 -16
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +0 -14
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts +0 -9
- package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts +0 -23
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +0 -22
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts +0 -22
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +0 -26
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/oauthNavigation.d.ts +0 -43
- package/lib/typescript/module/ui/components/oauthNavigation.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +0 -23
- package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +0 -21
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +0 -14
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +0 -16
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +0 -10
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +0 -15
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/constants.d.ts +0 -7
- package/lib/typescript/module/ui/components/payment/constants.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +0 -389
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/payment/types.d.ts +0 -40
- package/lib/typescript/module/ui/components/payment/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -28
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/styles/overlay.d.ts +0 -6
- package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/styles/shadow.d.ts +0 -3
- package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts +0 -38
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts +0 -6
- package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts +0 -2
- package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/utils/splitStyles.d.ts +0 -20
- package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/constants/spacing.d.ts +0 -33
- package/lib/typescript/module/ui/constants/spacing.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +0 -7
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +0 -39
- package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +0 -74
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +0 -7
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +0 -211
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts +0 -96
- package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +0 -32
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +0 -87
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +0 -30
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +0 -301
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +0 -23
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +0 -138
- package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +0 -137
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +0 -87
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +0 -212
- package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +0 -50
- package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +0 -64
- package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +0 -25
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +0 -44
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +0 -173
- package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
- package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +0 -66
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +0 -35
- package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts +0 -51
- package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +0 -109
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +0 -34
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +0 -27
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +0 -19
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +0 -29
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useFollow.d.ts +0 -108
- package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +0 -35
- package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts +0 -50
- package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useI18n.d.ts +0 -5
- package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +0 -69
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +0 -23
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +0 -14
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts +0 -8
- package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +0 -42
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +0 -7
- package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts +0 -14
- package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +0 -48
- package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +0 -41
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts +0 -57
- package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useStorage.d.ts +0 -16
- package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +0 -45
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts +0 -23
- package/lib/typescript/module/ui/hooks/useSwitchableAccounts.d.ts.map +0 -1
- package/lib/typescript/module/ui/index.d.ts +0 -39
- package/lib/typescript/module/ui/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/isFrontend.d.ts +0 -3
- package/lib/typescript/module/ui/isFrontend.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +0 -54
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +0 -34
- package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts +0 -6
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts +0 -16
- package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +0 -75
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +0 -194
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +0 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts +0 -110
- package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +0 -56
- package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts +0 -49
- package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +0 -50
- package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +0 -83
- package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts +0 -67
- package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +0 -1
- package/lib/typescript/module/ui/oauth/types.d.ts +0 -176
- package/lib/typescript/module/ui/oauth/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts +0 -10
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +0 -12
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +0 -58
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts +0 -38
- package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts +0 -11
- package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +0 -13
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts +0 -14
- package/lib/typescript/module/ui/screens/EditProfileScreen.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/FileManagementScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +0 -12
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +0 -12
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +0 -7
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +0 -13
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +0 -15
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/PreferencesScreen.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/PrivacySettingsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +0 -9
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts +0 -18
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +0 -14
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +0 -23
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +0 -40
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +0 -43
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +0 -25
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +0 -51
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts +0 -37
- package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +0 -38
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/linkFormat.d.ts +0 -23
- package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts +0 -5
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/server.d.ts +0 -36
- package/lib/typescript/module/ui/server.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/authStore.d.ts +0 -25
- package/lib/typescript/module/ui/session/authStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/backgroundSession.d.ts +0 -42
- package/lib/typescript/module/ui/session/backgroundSession.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/createSessionClient.d.ts +0 -40
- package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/identityBinding.d.ts +0 -66
- package/lib/typescript/module/ui/session/identityBinding.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/index.d.ts +0 -20
- package/lib/typescript/module/ui/session/index.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +0 -25
- package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/tokenTransport.d.ts +0 -33
- package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +0 -1
- package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts +0 -23
- package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/accountStore.d.ts +0 -27
- package/lib/typescript/module/ui/stores/accountStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/assetStore.d.ts +0 -54
- package/lib/typescript/module/ui/stores/assetStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/authStore.d.ts +0 -17
- package/lib/typescript/module/ui/stores/authStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/followStore.d.ts +0 -30
- package/lib/typescript/module/ui/stores/followStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/followTargetStore.d.ts +0 -84
- package/lib/typescript/module/ui/stores/followTargetStore.d.ts.map +0 -1
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +0 -10
- package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
- package/lib/typescript/module/ui/types/fileManagement.d.ts +0 -51
- package/lib/typescript/module/ui/types/fileManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/types/navigation.d.ts +0 -127
- package/lib/typescript/module/ui/types/navigation.d.ts.map +0 -1
- package/lib/typescript/module/ui/types/surfaceScreen.d.ts +0 -38
- package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts +0 -24
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/colorUtils.d.ts +0 -10
- package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts +0 -24
- package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts +0 -33
- package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts +0 -8
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts +0 -35
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +0 -55
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/iconNames.d.ts +0 -112
- package/lib/typescript/module/ui/utils/iconNames.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/isWebBrowser.d.ts +0 -9
- package/lib/typescript/module/ui/utils/isWebBrowser.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts +0 -17
- package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts +0 -48
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +0 -48
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts +0 -28
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +0 -1
- package/lib/typescript/module/ui/utils/userUtils.d.ts +0 -23
- package/lib/typescript/module/ui/utils/userUtils.d.ts.map +0 -1
- package/lib/typescript/module/utils/hookUtils.d.ts +0 -102
- package/lib/typescript/module/utils/hookUtils.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/lib/typescript/nativewind-env.d.ts +0 -1
- package/lib/typescript/types/expo-crypto.d.ts +0 -29
- package/lib/typescript/types/expo-document-picker.d.ts +0 -36
- package/lib/typescript/types/expo-haptics.d.ts +0 -42
- package/lib/typescript/types/expo-image-picker.d.ts +0 -35
- package/lib/typescript/types/expo-secure-store.d.ts +0 -22
- package/lib/typescript/types/express.d.ts +0 -24
- package/lib/typescript/types/react-native-classname.d.ts +0 -39
- package/lib/typescript/types/react-native-web-style.d.ts +0 -27
- package/src/ui/hooks/useSwitchableAccounts.ts +0 -75
- package/src/ui/stores/accountStore.ts +0 -264
|
@@ -1,312 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useEffect, useRef, useState } from 'react';
|
|
4
|
-
import { AppState, Platform, StyleSheet, View } from 'react-native';
|
|
5
|
-
import { GestureHandlerRootView } from 'react-native-gesture-handler';
|
|
6
|
-
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
|
7
|
-
import { OxyContextProvider } from "../context/OxyContext.js";
|
|
8
|
-
import { QueryClientProvider, focusManager, onlineManager } from '@tanstack/react-query';
|
|
9
|
-
import { BloomDialogProvider } from '@oxyhq/bloom/dialog';
|
|
10
|
-
import { SurfaceProvider } from '@oxyhq/bloom/surfaces';
|
|
11
|
-
import { ToastOutlet } from '@oxyhq/bloom/toast';
|
|
12
|
-
import { logger as loggerUtil } from '@oxyhq/core';
|
|
13
|
-
import { RequireOxyAuth } from "./RequireOxyAuth.js";
|
|
14
|
-
import { attachQueryPersistence, createQueryClient } from "../hooks/queryClient.js";
|
|
15
|
-
import { createPlatformStorage } from "../utils/storageHelpers.js";
|
|
16
|
-
import { isNetConnectivityOnline } from "../utils/netConnectivity.js";
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Background color shown for the brief window between mount and the
|
|
20
|
-
* persisted-cache hydration completing. Matches the typical splash-screen
|
|
21
|
-
* backgrounds used across Oxy apps (dark surface, white-on-dark text), so
|
|
22
|
-
* the transition reads as a continuation of the splash instead of a
|
|
23
|
-
* white flash. Apps that need a different boot color can keep doing their
|
|
24
|
-
* own `expo-splash-screen` orchestration — this placeholder just guarantees
|
|
25
|
-
* we never render a transparent `null` while we wait.
|
|
26
|
-
*
|
|
27
|
-
* Light-mode background. Apps that boot into dark mode see a brief light
|
|
28
|
-
* flash here, which is unavoidable without re-implementing the BloomTheme
|
|
29
|
-
* resolver outside of `<BloomThemeProvider>`. The light value is far less
|
|
30
|
-
* jarring than `null` (transparent) on either theme.
|
|
31
|
-
*/
|
|
32
|
-
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
33
|
-
const BOOT_BG_COLOR = '#ffffff';
|
|
34
|
-
const bootStyles = StyleSheet.create({
|
|
35
|
-
providerRoot: {
|
|
36
|
-
flex: 1
|
|
37
|
-
},
|
|
38
|
-
bootShell: {
|
|
39
|
-
flex: 1,
|
|
40
|
-
backgroundColor: BOOT_BG_COLOR
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
// Detect if running on web
|
|
45
|
-
const isWeb = Platform.OS === 'web';
|
|
46
|
-
|
|
47
|
-
// Variable indirection: the module name is computed at runtime so Metro's
|
|
48
|
-
// static analyzer cannot trace this into the web bundle. Native-only.
|
|
49
|
-
const KEYBOARD_CONTROLLER_MODULE = 'react-native-keyboard-controller';
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* OxyProvider - Universal provider for Expo apps (native + web)
|
|
53
|
-
*
|
|
54
|
-
* Provides authentication, session management, query client, and UI overlays.
|
|
55
|
-
* Wraps its own overlay stack in SafeAreaProvider and GestureHandlerRootView so
|
|
56
|
-
* the shared Bloom SURFACE STACK (`<SurfaceProvider>` / `<SurfaceHost>`) — which
|
|
57
|
-
* hosts every SDK surface (the ~35 bottom-sheet routes + the AccountDialog) — can
|
|
58
|
-
* safely render even when a consuming app has not mounted those providers yet.
|
|
59
|
-
*
|
|
60
|
-
* Usage:
|
|
61
|
-
* ```tsx
|
|
62
|
-
* import { OxyProvider, useAuth } from '@oxyhq/services';
|
|
63
|
-
*
|
|
64
|
-
* function App() {
|
|
65
|
-
* return (
|
|
66
|
-
* <SafeAreaProvider>
|
|
67
|
-
* <GestureHandlerRootView style={{ flex: 1 }}>
|
|
68
|
-
* <OxyProvider baseURL="https://api.oxy.so">
|
|
69
|
-
* <YourApp />
|
|
70
|
-
* </OxyProvider>
|
|
71
|
-
* </GestureHandlerRootView>
|
|
72
|
-
* </SafeAreaProvider>
|
|
73
|
-
* );
|
|
74
|
-
* }
|
|
75
|
-
*
|
|
76
|
-
* function MyComponent() {
|
|
77
|
-
* const { isAuthenticated, user, signIn, signOut } = useAuth();
|
|
78
|
-
*
|
|
79
|
-
* if (!isAuthenticated) {
|
|
80
|
-
* return <OxySignInButton />;
|
|
81
|
-
* }
|
|
82
|
-
* return <Text>Welcome, {user?.username}!</Text>;
|
|
83
|
-
* }
|
|
84
|
-
* ```
|
|
85
|
-
*/
|
|
86
|
-
const OxyProvider = ({
|
|
87
|
-
oxyServices,
|
|
88
|
-
children,
|
|
89
|
-
onAuthStateChange,
|
|
90
|
-
storageKeyPrefix,
|
|
91
|
-
clientId,
|
|
92
|
-
baseURL,
|
|
93
|
-
authWebUrl,
|
|
94
|
-
authRedirectUri,
|
|
95
|
-
authorizeBaseUrl,
|
|
96
|
-
sessionMode = 'account',
|
|
97
|
-
webAuthMode = 'popup',
|
|
98
|
-
queryClient: providedQueryClient,
|
|
99
|
-
requireAuth = 'off',
|
|
100
|
-
backgroundSession = false
|
|
101
|
-
}) => {
|
|
102
|
-
// Dynamic KeyboardProvider for native. Uses variable indirection
|
|
103
|
-
// (KEYBOARD_CONTROLLER_MODULE) so Metro's static analyzer cannot trace
|
|
104
|
-
// the import into the web bundle. On web, the runtime guard short-circuits
|
|
105
|
-
// before the import runs.
|
|
106
|
-
const [KBProvider, setKBProvider] = useState(null);
|
|
107
|
-
useEffect(() => {
|
|
108
|
-
if (isWeb) return;
|
|
109
|
-
const moduleName = KEYBOARD_CONTROLLER_MODULE;
|
|
110
|
-
import(moduleName).then(mod => setKBProvider(() => mod.KeyboardProvider)).catch(error => {
|
|
111
|
-
if (__DEV__) {
|
|
112
|
-
loggerUtil.warn('react-native-keyboard-controller not available, skipping keyboard support', {
|
|
113
|
-
component: 'OxyProvider'
|
|
114
|
-
}, error);
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
}, []);
|
|
118
|
-
const KeyboardWrapper = KBProvider ?? (({
|
|
119
|
-
children
|
|
120
|
-
}) => /*#__PURE__*/_jsx(_Fragment, {
|
|
121
|
-
children: children
|
|
122
|
-
}));
|
|
123
|
-
|
|
124
|
-
// Storage + persistence wiring.
|
|
125
|
-
//
|
|
126
|
-
// We MUST await the restore() promise before exposing the QueryClient to
|
|
127
|
-
// children — otherwise the first render sees an empty cache and any
|
|
128
|
-
// <Suspense> queries or `enabled: !!cached` gates would skip the offline
|
|
129
|
-
// hit. Once the persisted blob has been hydrated (or definitively failed
|
|
130
|
-
// to hydrate), we mark the client ready and unblock rendering.
|
|
131
|
-
const storageRef = useRef(null);
|
|
132
|
-
const queryClientRef = useRef(null);
|
|
133
|
-
const persistenceUnsubRef = useRef(null);
|
|
134
|
-
|
|
135
|
-
// If the consumer supplied their own QueryClient we use it as-is and skip
|
|
136
|
-
// persistence — their host app owns that lifecycle.
|
|
137
|
-
const [queryClient, setQueryClient] = useState(() => {
|
|
138
|
-
if (providedQueryClient) {
|
|
139
|
-
queryClientRef.current = providedQueryClient;
|
|
140
|
-
return providedQueryClient;
|
|
141
|
-
}
|
|
142
|
-
return null;
|
|
143
|
-
});
|
|
144
|
-
useEffect(() => {
|
|
145
|
-
if (providedQueryClient) {
|
|
146
|
-
queryClientRef.current = providedQueryClient;
|
|
147
|
-
setQueryClient(providedQueryClient);
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
let mounted = true;
|
|
151
|
-
const bootstrap = async () => {
|
|
152
|
-
let storage = null;
|
|
153
|
-
try {
|
|
154
|
-
storage = await createPlatformStorage();
|
|
155
|
-
} catch (error) {
|
|
156
|
-
if (__DEV__) {
|
|
157
|
-
loggerUtil.warn('Failed to initialize storage for query persistence', {
|
|
158
|
-
component: 'OxyProvider'
|
|
159
|
-
}, error);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
if (!mounted || queryClientRef.current) return;
|
|
163
|
-
storageRef.current = storage;
|
|
164
|
-
const client = createQueryClient();
|
|
165
|
-
const {
|
|
166
|
-
restored,
|
|
167
|
-
unsubscribe
|
|
168
|
-
} = attachQueryPersistence(client, storage);
|
|
169
|
-
persistenceUnsubRef.current = unsubscribe;
|
|
170
|
-
|
|
171
|
-
// Block first render until the persisted cache is restored so
|
|
172
|
-
// offline reads land synchronously on the very first paint.
|
|
173
|
-
await restored;
|
|
174
|
-
if (!mounted) {
|
|
175
|
-
unsubscribe();
|
|
176
|
-
return;
|
|
177
|
-
}
|
|
178
|
-
queryClientRef.current = client;
|
|
179
|
-
setQueryClient(client);
|
|
180
|
-
};
|
|
181
|
-
bootstrap();
|
|
182
|
-
return () => {
|
|
183
|
-
mounted = false;
|
|
184
|
-
persistenceUnsubRef.current?.();
|
|
185
|
-
persistenceUnsubRef.current = null;
|
|
186
|
-
};
|
|
187
|
-
}, [providedQueryClient]);
|
|
188
|
-
|
|
189
|
-
// Hook React Query focus manager into app state (native) or visibility (web)
|
|
190
|
-
useEffect(() => {
|
|
191
|
-
if (isWeb) {
|
|
192
|
-
// Web: use document visibility
|
|
193
|
-
const handleVisibilityChange = () => {
|
|
194
|
-
focusManager.setFocused(document.visibilityState === 'visible');
|
|
195
|
-
};
|
|
196
|
-
document.addEventListener('visibilitychange', handleVisibilityChange);
|
|
197
|
-
return () => {
|
|
198
|
-
document.removeEventListener('visibilitychange', handleVisibilityChange);
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
// Native: use AppState
|
|
202
|
-
const subscription = AppState.addEventListener('change', state => {
|
|
203
|
-
focusManager.setFocused(state === 'active');
|
|
204
|
-
});
|
|
205
|
-
return () => {
|
|
206
|
-
subscription.remove();
|
|
207
|
-
};
|
|
208
|
-
}, []);
|
|
209
|
-
|
|
210
|
-
// Setup network status monitoring for offline detection
|
|
211
|
-
useEffect(() => {
|
|
212
|
-
let cleanup;
|
|
213
|
-
const setupNetworkMonitoring = async () => {
|
|
214
|
-
try {
|
|
215
|
-
if (isWeb) {
|
|
216
|
-
// Web: use navigator.onLine
|
|
217
|
-
onlineManager.setOnline(navigator.onLine);
|
|
218
|
-
const handleOnline = () => onlineManager.setOnline(true);
|
|
219
|
-
const handleOffline = () => onlineManager.setOnline(false);
|
|
220
|
-
window.addEventListener('online', handleOnline);
|
|
221
|
-
window.addEventListener('offline', handleOffline);
|
|
222
|
-
cleanup = () => {
|
|
223
|
-
window.removeEventListener('online', handleOnline);
|
|
224
|
-
window.removeEventListener('offline', handleOffline);
|
|
225
|
-
};
|
|
226
|
-
} else {
|
|
227
|
-
// Native: try to use NetInfo
|
|
228
|
-
try {
|
|
229
|
-
const NetInfo = await import('@react-native-community/netinfo');
|
|
230
|
-
const state = await NetInfo.default.fetch();
|
|
231
|
-
onlineManager.setOnline(isNetConnectivityOnline(state));
|
|
232
|
-
const unsubscribe = NetInfo.default.addEventListener(state => {
|
|
233
|
-
onlineManager.setOnline(isNetConnectivityOnline(state));
|
|
234
|
-
});
|
|
235
|
-
cleanup = () => unsubscribe();
|
|
236
|
-
} catch {
|
|
237
|
-
// NetInfo not available, default to online
|
|
238
|
-
onlineManager.setOnline(true);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
} catch (error) {
|
|
242
|
-
// Default to online if detection fails
|
|
243
|
-
onlineManager.setOnline(true);
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
setupNetworkMonitoring();
|
|
247
|
-
return () => {
|
|
248
|
-
cleanup?.();
|
|
249
|
-
};
|
|
250
|
-
}, []);
|
|
251
|
-
|
|
252
|
-
// While the QueryClient is being created and the persisted cache is
|
|
253
|
-
// hydrating, render a solid-color shell instead of `null`. Returning
|
|
254
|
-
// `null` here on mid-range Android devices flashed a transparent
|
|
255
|
-
// surface for 200–600ms after the native splash hid, which read as a
|
|
256
|
-
// glitch. The shell keeps the screen filled with a sensible default
|
|
257
|
-
// until children can mount under a real <QueryClientProvider>.
|
|
258
|
-
if (!queryClient) {
|
|
259
|
-
return /*#__PURE__*/_jsx(GestureHandlerRootView, {
|
|
260
|
-
style: bootStyles.providerRoot,
|
|
261
|
-
children: /*#__PURE__*/_jsx(SafeAreaProvider, {
|
|
262
|
-
children: /*#__PURE__*/_jsx(KeyboardWrapper, {
|
|
263
|
-
children: /*#__PURE__*/_jsx(View, {
|
|
264
|
-
style: bootStyles.bootShell
|
|
265
|
-
})
|
|
266
|
-
})
|
|
267
|
-
})
|
|
268
|
-
});
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
// Core content: QueryClient + OxyContext + UI overlays.
|
|
272
|
-
//
|
|
273
|
-
// Theming is owned by `@oxyhq/bloom`. Consumers must mount their own
|
|
274
|
-
// `<BloomThemeProvider>` in their app root and configure it directly
|
|
275
|
-
// (defaultColorPreset, defaultMode, persistKey, storage, fonts, etc.).
|
|
276
|
-
// OxyProvider does NOT wrap a BloomThemeProvider — that would create a
|
|
277
|
-
// duplicate scope that silently shadows the consumer's configuration.
|
|
278
|
-
const coreContent = /*#__PURE__*/_jsx(QueryClientProvider, {
|
|
279
|
-
client: queryClient,
|
|
280
|
-
children: /*#__PURE__*/_jsx(BloomDialogProvider, {
|
|
281
|
-
children: /*#__PURE__*/_jsxs(OxyContextProvider, {
|
|
282
|
-
oxyServices: oxyServices,
|
|
283
|
-
baseURL: baseURL,
|
|
284
|
-
authWebUrl: authWebUrl,
|
|
285
|
-
authRedirectUri: authRedirectUri,
|
|
286
|
-
authorizeBaseUrl: authorizeBaseUrl,
|
|
287
|
-
storageKeyPrefix: storageKeyPrefix,
|
|
288
|
-
clientId: clientId,
|
|
289
|
-
sessionMode: sessionMode,
|
|
290
|
-
webAuthMode: webAuthMode,
|
|
291
|
-
backgroundSession: backgroundSession,
|
|
292
|
-
onAuthStateChange: onAuthStateChange,
|
|
293
|
-
children: [/*#__PURE__*/_jsx(SurfaceProvider, {
|
|
294
|
-
children: requireAuth === 'off' ? children : /*#__PURE__*/_jsx(RequireOxyAuth, {
|
|
295
|
-
prompt: requireAuth,
|
|
296
|
-
children: children
|
|
297
|
-
})
|
|
298
|
-
}), /*#__PURE__*/_jsx(ToastOutlet, {})]
|
|
299
|
-
})
|
|
300
|
-
})
|
|
301
|
-
});
|
|
302
|
-
return /*#__PURE__*/_jsx(GestureHandlerRootView, {
|
|
303
|
-
style: bootStyles.providerRoot,
|
|
304
|
-
children: /*#__PURE__*/_jsx(SafeAreaProvider, {
|
|
305
|
-
children: /*#__PURE__*/_jsx(KeyboardWrapper, {
|
|
306
|
-
children: coreContent
|
|
307
|
-
})
|
|
308
|
-
})
|
|
309
|
-
});
|
|
310
|
-
};
|
|
311
|
-
export default OxyProvider;
|
|
312
|
-
//# sourceMappingURL=OxyProvider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useRef","useState","AppState","Platform","StyleSheet","View","GestureHandlerRootView","SafeAreaProvider","OxyContextProvider","QueryClientProvider","focusManager","onlineManager","BloomDialogProvider","SurfaceProvider","ToastOutlet","logger","loggerUtil","RequireOxyAuth","attachQueryPersistence","createQueryClient","createPlatformStorage","isNetConnectivityOnline","Fragment","_Fragment","jsx","_jsx","jsxs","_jsxs","BOOT_BG_COLOR","bootStyles","create","providerRoot","flex","bootShell","backgroundColor","isWeb","OS","KEYBOARD_CONTROLLER_MODULE","OxyProvider","oxyServices","children","onAuthStateChange","storageKeyPrefix","clientId","baseURL","authWebUrl","authRedirectUri","authorizeBaseUrl","sessionMode","webAuthMode","queryClient","providedQueryClient","requireAuth","backgroundSession","KBProvider","setKBProvider","moduleName","then","mod","KeyboardProvider","catch","error","__DEV__","warn","component","KeyboardWrapper","storageRef","queryClientRef","persistenceUnsubRef","setQueryClient","current","mounted","bootstrap","storage","client","restored","unsubscribe","handleVisibilityChange","setFocused","document","visibilityState","addEventListener","removeEventListener","subscription","state","remove","cleanup","setupNetworkMonitoring","setOnline","navigator","onLine","handleOnline","handleOffline","window","NetInfo","default","fetch","style","coreContent","prompt"],"sourceRoot":"../../../../src","sources":["ui/components/OxyProvider.tsx"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAiC,OAAO;AAC5E,SAASC,QAAQ,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACnE,SAASC,sBAAsB,QAAQ,8BAA8B;AACrE,SAASC,gBAAgB,QAAQ,gCAAgC;AAEjE,SAASC,kBAAkB,QAAsC,0BAAuB;AACxF,SAASC,mBAAmB,EAAEC,YAAY,EAAEC,aAAa,QAAQ,uBAAuB;AACxF,SAASC,mBAAmB,QAAQ,qBAAqB;AACzD,SAASC,eAAe,QAAQ,uBAAuB;AACvD,SAASC,WAAW,QAAQ,oBAAoB;AAChD,SAASC,MAAM,IAAIC,UAAU,QAAQ,aAAa;AAClD,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,sBAAsB,EAAEC,iBAAiB,QAAQ,yBAAsB;AAChF,SAASC,qBAAqB,QAA+B,4BAAyB;AACtF,SAASC,uBAAuB,QAAQ,6BAA0B;;AAElE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAbA,SAAAC,QAAA,IAAAC,SAAA,EAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAcA,MAAMC,aAAa,GAAG,SAAS;AAE/B,MAAMC,UAAU,GAAGzB,UAAU,CAAC0B,MAAM,CAAC;EACjCC,YAAY,EAAE;IACVC,IAAI,EAAE;EACV,CAAC;EACDC,SAA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AAA,CAAClB,gBAAgB;MAAAiC,QAAA,eACbf,IAAA,CAACwC,eAAe;QAAAzB,QAAA,EACX0D;MAAW,CACC;IAAC,CACJ;EAAC,CACC,CAAC;AAEjC,CAAC;AAED,eAAe5D,WAAW","ignoreList":[]}
|
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useCallback, useState, useEffect, useRef } from 'react';
|
|
4
|
-
import { Platform } from 'react-native';
|
|
5
|
-
import { logger, generatePkcePair, generateOAuthState, buildOAuthAuthorizeUrl } from '@oxyhq/core';
|
|
6
|
-
import { useAuthStore } from "../stores/authStore.js";
|
|
7
|
-
import { useShallow } from 'zustand/react/shallow';
|
|
8
|
-
import { useTheme } from '@oxyhq/bloom/theme';
|
|
9
|
-
import { Button } from '@oxyhq/bloom/button';
|
|
10
|
-
import { toast } from '@oxyhq/bloom/toast';
|
|
11
|
-
import { useOxy } from "../context/OxyContext.js";
|
|
12
|
-
import { useI18n } from "../hooks/useI18n.js";
|
|
13
|
-
import { LogoIcon } from "./logo/LogoIcon.js";
|
|
14
|
-
import { subscribeToAccountDialog } from "../navigation/accountDialogManager.js";
|
|
15
|
-
import { openAuthorizeUrlNative } from "./oauthNavigation.js";
|
|
16
|
-
import { closeOAuthPopup, openOAuthPopup } from "../oauth/oauthPopup.js";
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* The OAuth handshake surfaced to a NATIVE third-party RP via
|
|
20
|
-
* {@link OxySignInButtonProps.onOAuthResult} so it can finish the code exchange
|
|
21
|
-
* (`POST /auth/oauth/token`). Web sign-in is handled entirely by the SDK's web
|
|
22
|
-
* transport (`useOxy().startWebOAuthSignIn`) and never uses this callback.
|
|
23
|
-
*/
|
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
|
-
/**
|
|
26
|
-
* A pre-styled button component for signing in with Oxy identity
|
|
27
|
-
*
|
|
28
|
-
* This component opens the Oxy Auth flow which allows users to authenticate
|
|
29
|
-
* using their Oxy Accounts identity (via QR code or deep link).
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```tsx
|
|
33
|
-
* // Basic usage
|
|
34
|
-
* <OxySignInButton />
|
|
35
|
-
*
|
|
36
|
-
* // Custom styling
|
|
37
|
-
* <OxySignInButton
|
|
38
|
-
* variant="contained"
|
|
39
|
-
* style={{ marginTop: 20 }}
|
|
40
|
-
* text="Login with Oxy"
|
|
41
|
-
* />
|
|
42
|
-
*
|
|
43
|
-
* // Custom handler
|
|
44
|
-
* <OxySignInButton onPress={() => {
|
|
45
|
-
* // Custom authentication flow
|
|
46
|
-
* }} />
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
export const OxySignInButton = ({
|
|
50
|
-
variant = 'default',
|
|
51
|
-
onPress,
|
|
52
|
-
style,
|
|
53
|
-
textStyle,
|
|
54
|
-
text,
|
|
55
|
-
disabled = false,
|
|
56
|
-
showWhenAuthenticated = false,
|
|
57
|
-
oauthRedirectUri,
|
|
58
|
-
onOAuthResult
|
|
59
|
-
}) => {
|
|
60
|
-
const theme = useTheme();
|
|
61
|
-
const {
|
|
62
|
-
t
|
|
63
|
-
} = useI18n();
|
|
64
|
-
const {
|
|
65
|
-
openAccountDialog,
|
|
66
|
-
oxyServices,
|
|
67
|
-
clientId,
|
|
68
|
-
webAuthMode,
|
|
69
|
-
startWebOAuthSignIn
|
|
70
|
-
} = useOxy();
|
|
71
|
-
const {
|
|
72
|
-
isAuthenticated,
|
|
73
|
-
isLoading
|
|
74
|
-
} = useAuthStore(useShallow(state => ({
|
|
75
|
-
isAuthenticated: state.isAuthenticated,
|
|
76
|
-
isLoading: state.isLoading
|
|
77
|
-
})));
|
|
78
|
-
// Tracks whether the unified account dialog is open so we can show
|
|
79
|
-
// "Signing in..." while it is. The manager reports visibility on every
|
|
80
|
-
// change regardless of platform or what opened/closed it.
|
|
81
|
-
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
82
|
-
useEffect(() => subscribeToAccountDialog(setIsModalOpen), []);
|
|
83
|
-
|
|
84
|
-
// The application's public identity is resolved lazily on first press and its
|
|
85
|
-
// promise cached, so rapid taps share one in-flight resolve. The cache is
|
|
86
|
-
// KEYED on the identity inputs (clientId + the oxyServices instance): if
|
|
87
|
-
// either changes the cache is invalidated and re-resolved — without a
|
|
88
|
-
// useEffect. A rejected resolve clears the cache so a later press can retry.
|
|
89
|
-
const appResolutionRef = useRef(null);
|
|
90
|
-
// Re-entrancy guard: a routing pass may await network + crypto before it
|
|
91
|
-
// redirects, so block a second concurrent press from racing the sessionStorage
|
|
92
|
-
// handshake against a different PKCE pair.
|
|
93
|
-
const routingRef = useRef(false);
|
|
94
|
-
// Popup mode only opens a window for applications that could actually need
|
|
95
|
-
// one: `oauthRedirectUri` is required for (and only for) third-party OAuth,
|
|
96
|
-
// so an official app never flashes a popup open and closed while its
|
|
97
|
-
// in-app dialog loads.
|
|
98
|
-
const shouldPreOpenPopup = Platform.OS === 'web' && webAuthMode === 'popup' && Boolean(oauthRedirectUri);
|
|
99
|
-
const resolvePublicApplication = useCallback(() => {
|
|
100
|
-
if (!clientId) return null;
|
|
101
|
-
const cached = appResolutionRef.current;
|
|
102
|
-
if (cached && cached.clientId === clientId && cached.oxyServices === oxyServices) {
|
|
103
|
-
return cached.promise;
|
|
104
|
-
}
|
|
105
|
-
const promise = oxyServices.getPublicApplication(clientId).catch(error => {
|
|
106
|
-
// Only clear if this is still the live entry (a later resolve may have
|
|
107
|
-
// replaced it after a clientId/oxyServices change).
|
|
108
|
-
if (appResolutionRef.current?.promise === promise) {
|
|
109
|
-
appResolutionRef.current = null;
|
|
110
|
-
}
|
|
111
|
-
throw error;
|
|
112
|
-
});
|
|
113
|
-
appResolutionRef.current = {
|
|
114
|
-
clientId,
|
|
115
|
-
oxyServices,
|
|
116
|
-
promise
|
|
117
|
-
};
|
|
118
|
-
return promise;
|
|
119
|
-
}, [clientId, oxyServices]);
|
|
120
|
-
|
|
121
|
-
// A press that cannot reach a sign-in surface must SAY so. Without this the
|
|
122
|
-
// only trace of an aborted sign-in was a console line, so the button read as
|
|
123
|
-
// simply dead — the SDK owns this so no relying party has to wire it up.
|
|
124
|
-
// `ToastOutlet` is already mounted by `OxyProvider`.
|
|
125
|
-
const notifyNotConfigured = useCallback(appName => {
|
|
126
|
-
toast.error(t('signin.errors.notConfigured'), {
|
|
127
|
-
description: t('signin.errors.notConfiguredDescription', {
|
|
128
|
-
app: appName
|
|
129
|
-
})
|
|
130
|
-
});
|
|
131
|
-
}, [t]);
|
|
132
|
-
const notifyFailed = useCallback(() => {
|
|
133
|
-
toast.error(t('signin.errors.failed'), {
|
|
134
|
-
description: t('signin.errors.failedDescription')
|
|
135
|
-
});
|
|
136
|
-
}, [t]);
|
|
137
|
-
|
|
138
|
-
// Official / first-party surface: the in-app account + sign-in dialog.
|
|
139
|
-
const startOfficialSignIn = useCallback(() => {
|
|
140
|
-
openAccountDialog('signin');
|
|
141
|
-
}, [openAccountDialog]);
|
|
142
|
-
|
|
143
|
-
// Third-party surface: an OAuth 2.0 authorization-code + PKCE flow against
|
|
144
|
-
// auth.oxy.so. No FedCM, no SSO bounce, no Oxy session cookies.
|
|
145
|
-
//
|
|
146
|
-
// Web delegates to the ONE shared transport (`startWebOAuthSignIn`), which
|
|
147
|
-
// owns popup-vs-redirect selection, the popup lifecycle, the code exchange,
|
|
148
|
-
// and the session commit. Native keeps its in-app auth session and hands the
|
|
149
|
-
// handshake to the RP, which owns that exchange.
|
|
150
|
-
const startThirdPartyOAuth = useCallback(async (app, popup) => {
|
|
151
|
-
if (!clientId) {
|
|
152
|
-
closeOAuthPopup(popup);
|
|
153
|
-
startOfficialSignIn();
|
|
154
|
-
return;
|
|
155
|
-
}
|
|
156
|
-
if (!oauthRedirectUri) {
|
|
157
|
-
closeOAuthPopup(popup);
|
|
158
|
-
logger.error('OxySignInButton: a third_party application requires the `oauthRedirectUri` prop to start the OAuth flow; sign-in aborted', undefined, {
|
|
159
|
-
component: 'OxySignInButton',
|
|
160
|
-
clientId,
|
|
161
|
-
application: app.name
|
|
162
|
-
});
|
|
163
|
-
notifyNotConfigured(app.name);
|
|
164
|
-
return;
|
|
165
|
-
}
|
|
166
|
-
if (Platform.OS === 'web') {
|
|
167
|
-
const result = await startWebOAuthSignIn({
|
|
168
|
-
redirectUri: oauthRedirectUri,
|
|
169
|
-
// In popup mode the window was claimed during the press (see
|
|
170
|
-
// `handlePress`); `null` means the browser blocked it and the
|
|
171
|
-
// transport falls back to a redirect. `undefined` (redirect
|
|
172
|
-
// mode) lets the transport decide for itself.
|
|
173
|
-
...(shouldPreOpenPopup ? {
|
|
174
|
-
popup
|
|
175
|
-
} : {})
|
|
176
|
-
});
|
|
177
|
-
if (result.status === 'failed') {
|
|
178
|
-
logger.warn(`OxySignInButton: web sign-in failed (${result.reason})`, {
|
|
179
|
-
component: 'OxySignInButton',
|
|
180
|
-
application: app.name
|
|
181
|
-
}, result.description);
|
|
182
|
-
notifyFailed();
|
|
183
|
-
}
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
// Native: open the in-app auth session, then hand the handshake to the
|
|
188
|
-
// RP so it can complete the token exchange from its deep-link callback.
|
|
189
|
-
const [pkce, state] = await Promise.all([generatePkcePair(), generateOAuthState()]);
|
|
190
|
-
const authorizeUrl = buildOAuthAuthorizeUrl({
|
|
191
|
-
clientId,
|
|
192
|
-
redirectUri: oauthRedirectUri,
|
|
193
|
-
state,
|
|
194
|
-
codeChallenge: pkce.codeChallenge
|
|
195
|
-
});
|
|
196
|
-
const {
|
|
197
|
-
redirectUrl
|
|
198
|
-
} = await openAuthorizeUrlNative(authorizeUrl, oauthRedirectUri);
|
|
199
|
-
if (onOAuthResult) {
|
|
200
|
-
onOAuthResult({
|
|
201
|
-
redirectUrl,
|
|
202
|
-
state,
|
|
203
|
-
codeVerifier: pkce.codeVerifier
|
|
204
|
-
});
|
|
205
|
-
return;
|
|
206
|
-
}
|
|
207
|
-
logger.warn('OxySignInButton: native third-party sign-in cannot complete without an `onOAuthResult` handler; the code exchange is the RP\'s responsibility (state + code_verifier were not surfaced)', {
|
|
208
|
-
component: 'OxySignInButton',
|
|
209
|
-
application: app.name
|
|
210
|
-
});
|
|
211
|
-
notifyNotConfigured(app.name);
|
|
212
|
-
}, [clientId, oauthRedirectUri, onOAuthResult, startOfficialSignIn, startWebOAuthSignIn, shouldPreOpenPopup, notifyNotConfigured, notifyFailed]);
|
|
213
|
-
|
|
214
|
-
// Resolve the Application once, then route: third-party → OAuth; first-party
|
|
215
|
-
// / official / unresolved → the in-app dialog. Resolution failure NEVER
|
|
216
|
-
// breaks an official app's sign-in — it falls back to the dialog. Every path
|
|
217
|
-
// that does NOT reach the OAuth lane closes the pre-opened popup, so a
|
|
218
|
-
// mis-routed press can never leave an empty window on screen.
|
|
219
|
-
const routeSignIn = useCallback(async popup => {
|
|
220
|
-
if (routingRef.current) {
|
|
221
|
-
closeOAuthPopup(popup);
|
|
222
|
-
return;
|
|
223
|
-
}
|
|
224
|
-
routingRef.current = true;
|
|
225
|
-
try {
|
|
226
|
-
const resolving = resolvePublicApplication();
|
|
227
|
-
if (!resolving) {
|
|
228
|
-
closeOAuthPopup(popup);
|
|
229
|
-
startOfficialSignIn();
|
|
230
|
-
return;
|
|
231
|
-
}
|
|
232
|
-
let app;
|
|
233
|
-
try {
|
|
234
|
-
app = await resolving;
|
|
235
|
-
} catch (error) {
|
|
236
|
-
closeOAuthPopup(popup);
|
|
237
|
-
logger.warn('OxySignInButton: could not resolve the application; opening the sign-in dialog', {
|
|
238
|
-
component: 'OxySignInButton',
|
|
239
|
-
clientId
|
|
240
|
-
}, error);
|
|
241
|
-
startOfficialSignIn();
|
|
242
|
-
return;
|
|
243
|
-
}
|
|
244
|
-
if (app.type === 'third_party' && !app.isOfficial) {
|
|
245
|
-
await startThirdPartyOAuth(app, popup);
|
|
246
|
-
return;
|
|
247
|
-
}
|
|
248
|
-
closeOAuthPopup(popup);
|
|
249
|
-
startOfficialSignIn();
|
|
250
|
-
} catch (error) {
|
|
251
|
-
// `handlePress` fires this without awaiting, so an unexpected
|
|
252
|
-
// throw (a rejected native auth session, a crypto failure) would
|
|
253
|
-
// otherwise vanish into an unhandled rejection with the button
|
|
254
|
-
// left looking inert.
|
|
255
|
-
closeOAuthPopup(popup);
|
|
256
|
-
logger.error('OxySignInButton: sign-in routing threw; sign-in aborted', error instanceof Error ? error : new Error(String(error)), {
|
|
257
|
-
component: 'OxySignInButton',
|
|
258
|
-
clientId
|
|
259
|
-
});
|
|
260
|
-
notifyFailed();
|
|
261
|
-
} finally {
|
|
262
|
-
routingRef.current = false;
|
|
263
|
-
}
|
|
264
|
-
}, [resolvePublicApplication, startOfficialSignIn, startThirdPartyOAuth, clientId, notifyFailed]);
|
|
265
|
-
|
|
266
|
-
// Defer to a caller-supplied handler, otherwise route by application type.
|
|
267
|
-
//
|
|
268
|
-
// The popup is opened HERE, synchronously, before the async application
|
|
269
|
-
// resolve: `window.open` only survives while the click is still being
|
|
270
|
-
// handled, so a window opened after that first `await` is silently blocked.
|
|
271
|
-
const handlePress = useCallback(() => {
|
|
272
|
-
if (onPress) {
|
|
273
|
-
onPress();
|
|
274
|
-
return;
|
|
275
|
-
}
|
|
276
|
-
void routeSignIn(shouldPreOpenPopup ? openOAuthPopup() : null);
|
|
277
|
-
}, [onPress, routeSignIn, shouldPreOpenPopup]);
|
|
278
|
-
|
|
279
|
-
// Don't show the button if already authenticated (unless explicitly overridden)
|
|
280
|
-
if (isAuthenticated && !showWhenAuthenticated) return null;
|
|
281
|
-
const isButtonDisabled = disabled || isLoading || isModalOpen;
|
|
282
|
-
|
|
283
|
-
// Map the public `variant` API onto Bloom's Button variants:
|
|
284
|
-
// contained → primary (filled), outline → outline, default → secondary.
|
|
285
|
-
const buttonVariant = variant === 'contained' ? 'primary' : variant === 'outline' ? 'outline' : 'secondary';
|
|
286
|
-
|
|
287
|
-
// The Oxy mark reads white-on-primary for the filled (contained) button and
|
|
288
|
-
// primary-on-transparent for the outline / default surfaces.
|
|
289
|
-
const isContained = variant === 'contained';
|
|
290
|
-
const logoColor = isContained ? '#ffffff' : theme.colors.primary;
|
|
291
|
-
const logoLetterColor = isContained ? theme.colors.primary : '#ffffff';
|
|
292
|
-
|
|
293
|
-
// The relying party surfaces exactly ONE primary action, and it reads
|
|
294
|
-
// "Continue with Oxy" (issue #691). A caller-supplied `text` still wins.
|
|
295
|
-
const label = text ?? t('accountSwitcher.continueWithOxy');
|
|
296
|
-
return /*#__PURE__*/_jsx(Button, {
|
|
297
|
-
variant: buttonVariant,
|
|
298
|
-
onPress: handlePress,
|
|
299
|
-
disabled: isButtonDisabled,
|
|
300
|
-
style: style,
|
|
301
|
-
textStyle: [Platform.OS === 'web' ? {
|
|
302
|
-
fontWeight: '600'
|
|
303
|
-
} : null, textStyle],
|
|
304
|
-
icon: /*#__PURE__*/_jsx(LogoIcon, {
|
|
305
|
-
height: 20,
|
|
306
|
-
color: logoColor,
|
|
307
|
-
letterColor: logoLetterColor,
|
|
308
|
-
style: {
|
|
309
|
-
marginRight: 10
|
|
310
|
-
}
|
|
311
|
-
}),
|
|
312
|
-
children: isLoading || isModalOpen ? t('signin.status.signingIn') : label
|
|
313
|
-
});
|
|
314
|
-
};
|
|
315
|
-
export default OxySignInButton;
|
|
316
|
-
//# sourceMappingURL=OxySignInButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useState","useEffect","useRef","Platform","logger","generatePkcePair","generateOAuthState","buildOAuthAuthorizeUrl","useAuthStore","useShallow","useTheme","Button","toast","useOxy","useI18n","LogoIcon","subscribeToAccountDialog","openAuthorizeUrlNative","closeOAuthPopup","openOAuthPopup","jsx","_jsx","OxySignInButton","variant","onPress","style","textStyle","text","disabled","showWhenAuthenticated","oauthRedirectUri","onOAuthResult","theme","t","openAccountDialog","oxyServices","clientId","webAuthMode","startWebOAuthSignIn","isAuthenticated","isLoading","state","isModalOpen","setIsModalOpen","appResolutionRef","routingRef","shouldPreOpenPopup","OS","Boolean","resolvePublicApplication","cached","current","promise","getPublicApplication","catch","error","notifyNotConfigured","appName","description","app","notifyFailed","startOfficialSignIn","startThirdPartyOAuth","popup","undefined","component","application","name","result","redirectUri","status","warn","reason","pkce","Promise","all","authorizeUrl","codeChallenge","redirectUrl","codeVerifier","routeSignIn","resolving","type","isOfficial","Error","String","handlePress","isButtonDisabled","buttonVariant","isContained","logoColor","colors","primary","logoLetterColor","label","fontWeight","icon","height","color","letterColor","marginRight","children"],"sourceRoot":"../../../../src","sources":["ui/components/OxySignInButton.tsx"],"mappings":";;AACA,SAASA,WAAW,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAChE,SAAyDC,QAAQ,QAAQ,cAAc;AACvF,SACIC,MAAM,EACNC,gBAAgB,EAChBC,kBAAkB,EAClBC,sBAAsB,QAEnB,aAAa;AACpB,SAASC,YAAY,QAAQ,wBAAqB;AAClD,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,MAAM,QAA4B,qBAAqB;AAChE,SAASC,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,SAASC,OAAO,QAAQ,qBAAkB;AAC1C,SAASC,QAAQ,QAAQ,oBAAiB;AAC1C,SAASC,wBAAwB,QAAQ,uCAAoC;AAC7E,SAASC,sBAAsB,QAAQ,sBAAmB;AAC1D,SAASC,eAAe,EAAEC,cAAc,QAAQ,wBAAqB;;AAGrE;AACA;AACA;AACA;AACA;AACA;AALA,SAAAC,GAAA,IAAAC,IAAA;AA8FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAA+C,GAAGA,CAAC;EAC5DC,OAAO,GAAG,SAAS;EACnBC,OAAO;EACPC,KAAK;EACLC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