@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,208 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.createQueryClient = exports.clearQueryCache = exports.attachQueryPersistence = void 0;
|
|
7
|
-
var _reactQuery = require("@tanstack/react-query");
|
|
8
|
-
var _reactQueryPersistClient = require("@tanstack/react-query-persist-client");
|
|
9
|
-
var _queryAsyncStoragePersister = require("@tanstack/query-async-storage-persister");
|
|
10
|
-
var _core = require("@oxyhq/core");
|
|
11
|
-
/**
|
|
12
|
-
* Offline-first QueryClient with cross-restart persistence.
|
|
13
|
-
*
|
|
14
|
-
* Wires together:
|
|
15
|
-
* - TanStack Query with `networkMode: 'offlineFirst'` for queries and mutations
|
|
16
|
-
* so cached data is served immediately and mutations are queued (paused) while
|
|
17
|
-
* the browser/device reports offline.
|
|
18
|
-
* - `persistQueryClient(...)` from `@tanstack/react-query-persist-client` so that
|
|
19
|
-
* query results AND paused mutations survive a cold restart (kill-and-relaunch).
|
|
20
|
-
* - `onlineManager` resume hook so paused mutations replay the moment the
|
|
21
|
-
* network is reported back, even if the host app swapped in a custom
|
|
22
|
-
* onlineManager implementation.
|
|
23
|
-
*
|
|
24
|
-
* Storage layer:
|
|
25
|
-
* - React Native -> AsyncStorage via `createAsyncStoragePersister`.
|
|
26
|
-
* - Web -> localStorage via `createSyncStoragePersister` (wrapped in the
|
|
27
|
-
* async persister API for a single call site).
|
|
28
|
-
* - Both adapters are content-shape compatible with our `StorageInterface`.
|
|
29
|
-
*
|
|
30
|
-
* Whitelist policy:
|
|
31
|
-
* - Persist every account/user/session/privacy query and every queued mutation.
|
|
32
|
-
* - DO NOT persist large list queries (e.g. activity feeds) — they go stale
|
|
33
|
-
* fast and would balloon storage. Add new keys to `PERSISTED_QUERY_PREFIXES`
|
|
34
|
-
* when introducing reads that should survive restart.
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
const QUERY_CACHE_KEY = 'oxy_query_cache_v3';
|
|
38
|
-
const QUERY_CACHE_MAX_AGE = 30 * 24 * 60 * 60 * 1000; // 30 days
|
|
39
|
-
const QUERY_PERSIST_THROTTLE_MS = 1_000;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Query-key prefixes that should survive cold restart. Anything not listed
|
|
43
|
-
* is dropped during dehydration so the persisted blob stays small.
|
|
44
|
-
*
|
|
45
|
-
* Mutations are persisted independently (always) so the offline write queue
|
|
46
|
-
* works regardless of the read whitelist.
|
|
47
|
-
*/
|
|
48
|
-
const PERSISTED_QUERY_PREFIXES = ['accounts', 'users', 'sessions', 'devices', 'privacy'];
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Adapt our `StorageInterface` (which always returns `null` for missing keys)
|
|
52
|
-
* to TanStack's `AsyncStorage` shape. The two are structurally identical
|
|
53
|
-
* apart from naming; this also gives us a single place to add error
|
|
54
|
-
* suppression if a host platform's storage throws.
|
|
55
|
-
*/
|
|
56
|
-
function adaptStorage(storage) {
|
|
57
|
-
return {
|
|
58
|
-
getItem: key => storage.getItem(key),
|
|
59
|
-
setItem: (key, value) => storage.setItem(key, value),
|
|
60
|
-
removeItem: key => storage.removeItem(key)
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Decide whether a given query should be written to persistent storage.
|
|
66
|
-
*
|
|
67
|
-
* Two gates:
|
|
68
|
-
* 1. The query must be in our prefix whitelist.
|
|
69
|
-
* 2. The query must have completed successfully at least once — there's no
|
|
70
|
-
* point persisting a `pending`/`error` state, and persisting `error` would
|
|
71
|
-
* leak failure objects across restarts.
|
|
72
|
-
*/
|
|
73
|
-
function shouldDehydrateQuery(query) {
|
|
74
|
-
if (query.state.status !== 'success') {
|
|
75
|
-
return false;
|
|
76
|
-
}
|
|
77
|
-
const head = query.queryKey[0];
|
|
78
|
-
if (typeof head !== 'string') {
|
|
79
|
-
return false;
|
|
80
|
-
}
|
|
81
|
-
return PERSISTED_QUERY_PREFIXES.includes(head);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Persist every mutation regardless of status — paused mutations are
|
|
86
|
-
* exactly the ones that must survive restart to replay when online.
|
|
87
|
-
*/
|
|
88
|
-
function shouldDehydrateMutation(_mutation) {
|
|
89
|
-
return true;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Create a QueryClient with offline-first defaults.
|
|
94
|
-
*
|
|
95
|
-
* Mutations marked with `networkMode: 'offlineFirst'` are queued by TanStack
|
|
96
|
-
* Query when offline (status "paused") and resumed automatically when
|
|
97
|
-
* `onlineManager` transitions back to online. Network monitoring wiring lives
|
|
98
|
-
* in `OxyProvider.tsx`.
|
|
99
|
-
*
|
|
100
|
-
* Persistence is attached separately via `attachQueryPersistence(...)`.
|
|
101
|
-
* Splitting the steps lets test/SSR callers create a stateless client.
|
|
102
|
-
*/
|
|
103
|
-
const createQueryClient = () => {
|
|
104
|
-
const client = new _reactQuery.QueryClient({
|
|
105
|
-
defaultOptions: {
|
|
106
|
-
queries: {
|
|
107
|
-
// Data is fresh for 5 minutes
|
|
108
|
-
staleTime: 5 * 60 * 1000,
|
|
109
|
-
// Keep unused data in cache for 30 minutes
|
|
110
|
-
gcTime: 30 * 60 * 1000,
|
|
111
|
-
// Retry 3 times with exponential backoff
|
|
112
|
-
retry: 3,
|
|
113
|
-
retryDelay: attemptIndex => Math.min(1000 * 2 ** attemptIndex, 30000),
|
|
114
|
-
// Refetch on reconnect so stale data is refreshed once online again.
|
|
115
|
-
refetchOnReconnect: true,
|
|
116
|
-
// Don't refetch on window focus (better for mobile)
|
|
117
|
-
refetchOnWindowFocus: false,
|
|
118
|
-
// Offline-first: serve cached data immediately, refetch in background.
|
|
119
|
-
networkMode: 'offlineFirst'
|
|
120
|
-
},
|
|
121
|
-
mutations: {
|
|
122
|
-
// Retry once for mutations
|
|
123
|
-
retry: 1,
|
|
124
|
-
// Offline-first: pause and queue mutations when offline.
|
|
125
|
-
networkMode: 'offlineFirst'
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
// Defensive: explicitly resume paused mutations whenever the network
|
|
131
|
-
// transitions back to online. TanStack Query does this internally too,
|
|
132
|
-
// but wiring it here keeps the behaviour robust if a custom onlineManager
|
|
133
|
-
// implementation is swapped in by the host app.
|
|
134
|
-
const unsubscribe = _reactQuery.onlineManager.subscribe(isOnline => {
|
|
135
|
-
if (isOnline) {
|
|
136
|
-
void client.getMutationCache().resumePausedMutations();
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
Object.defineProperty(client, '__oxyOnlineUnsubscribe', {
|
|
140
|
-
value: unsubscribe,
|
|
141
|
-
enumerable: false,
|
|
142
|
-
configurable: true,
|
|
143
|
-
writable: false
|
|
144
|
-
});
|
|
145
|
-
return client;
|
|
146
|
-
};
|
|
147
|
-
exports.createQueryClient = createQueryClient;
|
|
148
|
-
/**
|
|
149
|
-
* Wire `persistQueryClient` to the supplied storage adapter.
|
|
150
|
-
*
|
|
151
|
-
* Returns once the in-flight restore promise is available so callers can
|
|
152
|
-
* `await result.restored` before rendering UI that depends on cached data.
|
|
153
|
-
*
|
|
154
|
-
* Safe to no-op if `storage` is null/undefined (e.g. server-side render
|
|
155
|
-
* with no host storage).
|
|
156
|
-
*/
|
|
157
|
-
const attachQueryPersistence = (queryClient, storage) => {
|
|
158
|
-
if (!storage) {
|
|
159
|
-
return {
|
|
160
|
-
restored: Promise.resolve(),
|
|
161
|
-
unsubscribe: () => {}
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
const persister = (0, _queryAsyncStoragePersister.createAsyncStoragePersister)({
|
|
165
|
-
storage: adaptStorage(storage),
|
|
166
|
-
key: QUERY_CACHE_KEY,
|
|
167
|
-
throttleTime: QUERY_PERSIST_THROTTLE_MS
|
|
168
|
-
});
|
|
169
|
-
const [unsubscribe, restored] = (0, _reactQueryPersistClient.persistQueryClient)({
|
|
170
|
-
queryClient,
|
|
171
|
-
persister,
|
|
172
|
-
maxAge: QUERY_CACHE_MAX_AGE,
|
|
173
|
-
dehydrateOptions: {
|
|
174
|
-
shouldDehydrateQuery,
|
|
175
|
-
shouldDehydrateMutation
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
restored.catch(error => {
|
|
179
|
-
if ((0, _core.isDev)()) {
|
|
180
|
-
console.warn('[QueryClient] Failed to restore persisted cache', error);
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
return {
|
|
184
|
-
unsubscribe,
|
|
185
|
-
restored
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Remove the persisted query+mutation cache (used on full sign-out / data reset).
|
|
191
|
-
* Safe to call even if persistence was never attached.
|
|
192
|
-
*/
|
|
193
|
-
exports.attachQueryPersistence = attachQueryPersistence;
|
|
194
|
-
const clearQueryCache = async storage => {
|
|
195
|
-
try {
|
|
196
|
-
await storage.removeItem(QUERY_CACHE_KEY);
|
|
197
|
-
} catch (error) {
|
|
198
|
-
if ((0, _core.isDev)()) {
|
|
199
|
-
console.warn('[QueryClient] Failed to clear persisted query cache', error);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* Re-export the persisted client shape so callers can type custom persisters.
|
|
206
|
-
*/
|
|
207
|
-
exports.clearQueryCache = clearQueryCache;
|
|
208
|
-
//# sourceMappingURL=queryClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactQuery","require","_reactQueryPersistClient","_queryAsyncStoragePersister","_core","QUERY_CACHE_KEY","QUERY_CACHE_MAX_AGE","QUERY_PERSIST_THROTTLE_MS","PERSISTED_QUERY_PREFIXES","adaptStorage","storage","getItem","key","setItem","value","removeItem","shouldDehydrateQuery","query","state","status","head","queryKey","includes","shouldDehydrateMutation","_mutation","createQueryClient","client","QueryClient","defaultOptions","queries","staleTime","gcTime","retry","retryDelay","attemptIndex","Math","min","refetchOnReconnect","refetchOnWindowFocus","networkMode","mutations","unsubscribe","onlineManager","subscribe","isOnline","getMutationCache","resumePausedMutations","Object","defineProperty","enumerable","configurable","writable","exports","attachQueryPersistence","queryClient","restored","Promise","resolve","persister","createAsyncStoragePersister","throttleTime","persistQueryClient","maxAge","dehydrateOptions","catch","error","isDev","console","warn","clearQueryCache"],"sourceRoot":"../../../../src","sources":["ui/hooks/queryClient.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.useAssets = exports.setOxyAssetInstance = void 0;
|
|
7
|
-
var _react = require("react");
|
|
8
|
-
var _assetStore = require("../stores/assetStore.js");
|
|
9
|
-
// Create a singleton instance for the hook
|
|
10
|
-
let oxyInstance = null;
|
|
11
|
-
const setOxyAssetInstance = instance => {
|
|
12
|
-
oxyInstance = instance;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Hook for managing assets with Zustand store integration
|
|
17
|
-
*/
|
|
18
|
-
exports.setOxyAssetInstance = setOxyAssetInstance;
|
|
19
|
-
const useAssets = () => {
|
|
20
|
-
const {
|
|
21
|
-
assets,
|
|
22
|
-
uploadProgress,
|
|
23
|
-
loading,
|
|
24
|
-
errors,
|
|
25
|
-
setAsset,
|
|
26
|
-
setAssets,
|
|
27
|
-
removeAsset,
|
|
28
|
-
setUploadProgress,
|
|
29
|
-
removeUploadProgress,
|
|
30
|
-
addLink,
|
|
31
|
-
removeLink,
|
|
32
|
-
setUploading,
|
|
33
|
-
setLinking,
|
|
34
|
-
setDeleting,
|
|
35
|
-
setUploadError,
|
|
36
|
-
setLinkError,
|
|
37
|
-
setDeleteError,
|
|
38
|
-
clearErrors,
|
|
39
|
-
getAssetsByApp,
|
|
40
|
-
getAssetsByEntity,
|
|
41
|
-
getAssetUsageCount,
|
|
42
|
-
isAssetLinked,
|
|
43
|
-
reset
|
|
44
|
-
} = (0, _assetStore.useAssetStore)();
|
|
45
|
-
|
|
46
|
-
// Upload asset with progress tracking
|
|
47
|
-
const upload = (0, _react.useCallback)(async (file, metadata) => {
|
|
48
|
-
if (!oxyInstance) {
|
|
49
|
-
throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
|
|
50
|
-
}
|
|
51
|
-
try {
|
|
52
|
-
clearErrors();
|
|
53
|
-
setUploading(true);
|
|
54
|
-
const result = await oxyInstance.assetUpload(file, undefined, metadata);
|
|
55
|
-
|
|
56
|
-
// Update progress with final status
|
|
57
|
-
if (result?.file) {
|
|
58
|
-
const fileId = result.file.id;
|
|
59
|
-
setUploadProgress(fileId, {
|
|
60
|
-
fileId,
|
|
61
|
-
uploaded: file.size,
|
|
62
|
-
total: file.size,
|
|
63
|
-
percentage: 100,
|
|
64
|
-
status: 'complete'
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
// Remove progress after a short delay
|
|
68
|
-
setTimeout(() => {
|
|
69
|
-
removeUploadProgress(fileId);
|
|
70
|
-
}, 2000);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// Add asset to store
|
|
74
|
-
if (result.file) {
|
|
75
|
-
setAsset(result.file);
|
|
76
|
-
return result.file;
|
|
77
|
-
}
|
|
78
|
-
return null;
|
|
79
|
-
} catch (error) {
|
|
80
|
-
setUploadError((error instanceof Error ? error.message : null) || 'Upload failed');
|
|
81
|
-
throw error;
|
|
82
|
-
} finally {
|
|
83
|
-
setUploading(false);
|
|
84
|
-
}
|
|
85
|
-
}, [clearErrors, setUploading, setUploadProgress, removeUploadProgress, setAsset, setUploadError]);
|
|
86
|
-
|
|
87
|
-
// Link asset to entity
|
|
88
|
-
const link = (0, _react.useCallback)(async (assetId, app, entityType, entityId) => {
|
|
89
|
-
if (!oxyInstance) {
|
|
90
|
-
throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
|
|
91
|
-
}
|
|
92
|
-
try {
|
|
93
|
-
clearErrors();
|
|
94
|
-
setLinking(true);
|
|
95
|
-
|
|
96
|
-
// Auto-detect visibility for avatars and profile banners
|
|
97
|
-
const visibility = entityType === 'avatar' || entityType === 'profile-banner' ? 'public' : undefined;
|
|
98
|
-
const result = await oxyInstance.assetLink(assetId, app, entityType, entityId, visibility);
|
|
99
|
-
if (result.file) {
|
|
100
|
-
setAsset(result.file);
|
|
101
|
-
} else {
|
|
102
|
-
// If API doesn't return full file, update store optimistically
|
|
103
|
-
addLink(assetId, {
|
|
104
|
-
app,
|
|
105
|
-
entityType,
|
|
106
|
-
entityId,
|
|
107
|
-
createdBy: '',
|
|
108
|
-
// Will be filled by server
|
|
109
|
-
createdAt: new Date().toISOString()
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
} catch (error) {
|
|
113
|
-
setLinkError((error instanceof Error ? error.message : null) || 'Link failed');
|
|
114
|
-
throw error;
|
|
115
|
-
} finally {
|
|
116
|
-
setLinking(false);
|
|
117
|
-
}
|
|
118
|
-
}, [clearErrors, setLinking, setAsset, addLink, setLinkError]);
|
|
119
|
-
|
|
120
|
-
// Unlink asset from entity
|
|
121
|
-
const unlink = (0, _react.useCallback)(async (assetId, app, entityType, entityId) => {
|
|
122
|
-
if (!oxyInstance) {
|
|
123
|
-
throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
|
|
124
|
-
}
|
|
125
|
-
try {
|
|
126
|
-
clearErrors();
|
|
127
|
-
setLinking(true);
|
|
128
|
-
const result = await oxyInstance.assetUnlink(assetId, app, entityType, entityId);
|
|
129
|
-
if (result.file) {
|
|
130
|
-
setAsset(result.file);
|
|
131
|
-
} else {
|
|
132
|
-
// Update store optimistically
|
|
133
|
-
removeLink(assetId, app, entityType, entityId);
|
|
134
|
-
}
|
|
135
|
-
} catch (error) {
|
|
136
|
-
setLinkError((error instanceof Error ? error.message : null) || 'Unlink failed');
|
|
137
|
-
throw error;
|
|
138
|
-
} finally {
|
|
139
|
-
setLinking(false);
|
|
140
|
-
}
|
|
141
|
-
}, [clearErrors, setLinking, setAsset, removeLink, setLinkError]);
|
|
142
|
-
|
|
143
|
-
// Get asset URL
|
|
144
|
-
const getUrl = (0, _react.useCallback)(async (assetId, variant, expiresIn) => {
|
|
145
|
-
if (!oxyInstance) {
|
|
146
|
-
throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
|
|
147
|
-
}
|
|
148
|
-
const result = await oxyInstance.assetGetUrl(assetId, variant, expiresIn);
|
|
149
|
-
return result.url;
|
|
150
|
-
}, []);
|
|
151
|
-
|
|
152
|
-
// Get asset metadata
|
|
153
|
-
const getAsset = (0, _react.useCallback)(async assetId => {
|
|
154
|
-
if (!oxyInstance) {
|
|
155
|
-
throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
|
|
156
|
-
}
|
|
157
|
-
const result = await oxyInstance.assetGet(assetId);
|
|
158
|
-
if (result.file) {
|
|
159
|
-
setAsset(result.file);
|
|
160
|
-
return result.file;
|
|
161
|
-
}
|
|
162
|
-
throw new Error('Asset not found');
|
|
163
|
-
}, [setAsset]);
|
|
164
|
-
|
|
165
|
-
// Delete asset
|
|
166
|
-
const deleteAsset = (0, _react.useCallback)(async (assetId, force = false) => {
|
|
167
|
-
if (!oxyInstance) {
|
|
168
|
-
throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
|
|
169
|
-
}
|
|
170
|
-
try {
|
|
171
|
-
clearErrors();
|
|
172
|
-
setDeleting(true);
|
|
173
|
-
await oxyInstance.assetDelete(assetId, force);
|
|
174
|
-
removeAsset(assetId);
|
|
175
|
-
} catch (error) {
|
|
176
|
-
setDeleteError((error instanceof Error ? error.message : null) || 'Delete failed');
|
|
177
|
-
throw error;
|
|
178
|
-
} finally {
|
|
179
|
-
setDeleting(false);
|
|
180
|
-
}
|
|
181
|
-
}, [clearErrors, setDeleting, removeAsset, setDeleteError]);
|
|
182
|
-
|
|
183
|
-
// Restore asset from trash
|
|
184
|
-
const restore = (0, _react.useCallback)(async assetId => {
|
|
185
|
-
if (!oxyInstance) {
|
|
186
|
-
throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
|
|
187
|
-
}
|
|
188
|
-
const result = await oxyInstance.assetRestore(assetId);
|
|
189
|
-
if (result.file) {
|
|
190
|
-
setAsset(result.file);
|
|
191
|
-
}
|
|
192
|
-
}, [setAsset]);
|
|
193
|
-
|
|
194
|
-
// Get variants
|
|
195
|
-
const getVariants = (0, _react.useCallback)(async assetId => {
|
|
196
|
-
if (!oxyInstance) {
|
|
197
|
-
throw new Error('OxyServices instance not configured. Call setOxyAssetInstance first.');
|
|
198
|
-
}
|
|
199
|
-
return await oxyInstance.assetGetVariants(assetId);
|
|
200
|
-
}, []);
|
|
201
|
-
return {
|
|
202
|
-
// State
|
|
203
|
-
assets: Object.values(assets),
|
|
204
|
-
uploadProgress,
|
|
205
|
-
loading,
|
|
206
|
-
errors,
|
|
207
|
-
// Actions
|
|
208
|
-
upload,
|
|
209
|
-
link,
|
|
210
|
-
unlink,
|
|
211
|
-
getUrl,
|
|
212
|
-
getAsset,
|
|
213
|
-
deleteAsset,
|
|
214
|
-
restore,
|
|
215
|
-
getVariants,
|
|
216
|
-
// Utility methods
|
|
217
|
-
getAssetsByApp,
|
|
218
|
-
getAssetsByEntity,
|
|
219
|
-
getAssetUsageCount,
|
|
220
|
-
isAssetLinked,
|
|
221
|
-
// Store management
|
|
222
|
-
clearErrors,
|
|
223
|
-
reset
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
exports.useAssets = useAssets;
|
|
227
|
-
//# sourceMappingURL=useAssets.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_assetStore","oxyInstance","setOxyAssetInstance","instance","exports","useAssets","assets","uploadProgress","loading","errors","setAsset","setAssets","removeAsset","setUploadProgress","removeUploadProgress","addLink","removeLink","setUploading","setLinking","setDeleting","setUploadError","setLinkError","setDeleteError","clearErrors","getAssetsByApp","getAssetsByEntity","getAssetUsageCount","isAssetLinked","reset","useAssetStore","upload","useCallback","file","metadata","Error","result","assetUpload","undefined","fileId","id","uploaded","size","total","percentage","status","setTimeout","error","message","link","assetId","app","entityType","entityId","visibility","assetLink","createdBy","createdAt","Date","toISOString","unlink","assetUnlink","getUrl","variant","expiresIn","assetGetUrl","url","getAsset","assetGet","deleteAsset","force","assetDelete","restore","assetRestore","getVariants","assetGetVariants","Object","values"],"sourceRoot":"../../../../src","sources":["ui/hooks/useAssets.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
exports.executeWithToast = executeWithToast;
|
|
8
|
-
exports.useAsyncAction = useAsyncAction;
|
|
9
|
-
var _react = require("react");
|
|
10
|
-
var _toast = require("@oxyhq/bloom/toast");
|
|
11
|
-
/**
|
|
12
|
-
* Hook for handling async actions with loading state, error handling, and toast notifications.
|
|
13
|
-
* Reduces boilerplate for common patterns like try-catch with toast feedback.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* const { execute, isLoading } = useAsyncAction({
|
|
17
|
-
* action: () => api.saveSettings(settings),
|
|
18
|
-
* successMessage: 'Settings saved!',
|
|
19
|
-
* errorMessage: 'Failed to save settings',
|
|
20
|
-
* });
|
|
21
|
-
*
|
|
22
|
-
* <Button onPress={execute} disabled={isLoading}>Save</Button>
|
|
23
|
-
*/
|
|
24
|
-
function useAsyncAction(options) {
|
|
25
|
-
const [isLoading, setIsLoading] = (0, _react.useState)(false);
|
|
26
|
-
const [error, setError] = (0, _react.useState)(null);
|
|
27
|
-
const execute = (0, _react.useCallback)(async () => {
|
|
28
|
-
const {
|
|
29
|
-
action,
|
|
30
|
-
successMessage,
|
|
31
|
-
errorMessage,
|
|
32
|
-
onSuccess,
|
|
33
|
-
onError,
|
|
34
|
-
showLoadingToast,
|
|
35
|
-
loadingMessage
|
|
36
|
-
} = options;
|
|
37
|
-
setIsLoading(true);
|
|
38
|
-
setError(null);
|
|
39
|
-
if (showLoadingToast && loadingMessage) {
|
|
40
|
-
_toast.toast.info(loadingMessage);
|
|
41
|
-
}
|
|
42
|
-
try {
|
|
43
|
-
const result = await action();
|
|
44
|
-
if (successMessage) {
|
|
45
|
-
_toast.toast.success(successMessage);
|
|
46
|
-
}
|
|
47
|
-
onSuccess?.(result);
|
|
48
|
-
return result;
|
|
49
|
-
} catch (err) {
|
|
50
|
-
const message = typeof errorMessage === 'function' ? errorMessage(err) : errorMessage || (err instanceof Error ? err.message : null) || 'An error occurred';
|
|
51
|
-
_toast.toast.error(message);
|
|
52
|
-
setError(err instanceof Error ? err : new Error(message));
|
|
53
|
-
onError?.(err);
|
|
54
|
-
return undefined;
|
|
55
|
-
} finally {
|
|
56
|
-
setIsLoading(false);
|
|
57
|
-
}
|
|
58
|
-
}, [options]);
|
|
59
|
-
const resetError = (0, _react.useCallback)(() => {
|
|
60
|
-
setError(null);
|
|
61
|
-
}, []);
|
|
62
|
-
return {
|
|
63
|
-
execute,
|
|
64
|
-
isLoading,
|
|
65
|
-
error,
|
|
66
|
-
resetError
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Simplified version that just executes an async action with toast feedback.
|
|
72
|
-
* Useful for one-off actions.
|
|
73
|
-
*/
|
|
74
|
-
async function executeWithToast(action, options) {
|
|
75
|
-
const {
|
|
76
|
-
successMessage,
|
|
77
|
-
errorMessage,
|
|
78
|
-
loadingMessage
|
|
79
|
-
} = options || {};
|
|
80
|
-
if (loadingMessage) {
|
|
81
|
-
_toast.toast.info(loadingMessage);
|
|
82
|
-
}
|
|
83
|
-
try {
|
|
84
|
-
const result = await action();
|
|
85
|
-
if (successMessage) {
|
|
86
|
-
_toast.toast.success(successMessage);
|
|
87
|
-
}
|
|
88
|
-
return result;
|
|
89
|
-
} catch (err) {
|
|
90
|
-
_toast.toast.error(errorMessage || (err instanceof Error ? err.message : null) || 'An error occurred');
|
|
91
|
-
return undefined;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
var _default = exports.default = useAsyncAction;
|
|
95
|
-
//# sourceMappingURL=useAsyncAction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_toast","useAsyncAction","options","isLoading","setIsLoading","useState","error","setError","execute","useCallback","action","successMessage","errorMessage","onSuccess","onError","showLoadingToast","loadingMessage","toast","info","result","success","err","message","Error","undefined","resetError","executeWithToast","_default","exports","default"],"sourceRoot":"../../../../src","sources":["ui/hooks/useAsyncAction.ts"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AA8BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASE,cAAcA,CAC1BC,OAAiC,EACV;EACvB,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAG,IAAAC,eAAQ,EAAC,KAAK,CAAC;EACjD,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAG,IAAAF,eAAQ,EAAe,IAAI,CAAC;EAEtD,MAAMG,OAAO,GAAG,IAAAC,kBAAW,EAAC,YAAoC;IAC5D,MAAM;MACFC,MAAM;MACNC,cAAc;MACdC,YAAY;MACZC,SAAS;MACTC,OAAO;MACPC,gBAAgB;MAChBC;IACJ,CAAC,GAAGd,OAAO;IAEXE,YAAY,CAAC,IAAI,CAAC;IAClBG,QAAQ,CAAC,IAAI,CAAC;IAEd,IAAIQ,gBAAgB,IAAIC,cAAc,EAAE;MACpCC,YAAK,CAACC,IAAI,CAACF,cAAc,CAAC;IAC9B;IAEA,IAAI;MACA,MAAMG,MAAM,GAAG,MAAMT,MAAM,CAAC,CAAC;MAE7B,IAAIC,cAAc,EAAE;QAChBM,YAAK,CAACG,OAAO,CAACT,cAAc,CAAC;MACjC;MAEAE,SAAS,GAAGM,MAAM,CAAC;MACnB,OAAOA,MAAM;IACjB,CAAC,CAAC,OAAOE,GAAY,EAAE;MACnB,MAAMC,OAAO,GAAG,OAAOV,YAAY,KAAK,UAAU,GAC5CA,YAAY,CAACS,GAAG,CAAC,GACjBT,YAAY,KAAKS,GAAG,YAAYE,KAAK,GAAGF,GAAG,CAACC,OAAO,GAAG,IAAI,CAAC,IAAI,mBAAmB;MAExFL,YAAK,CAACX,KAAK,CAACgB,OAAO,CAAC;MACpBf,QAAQ,CAACc,GAAG,YAAYE,KAAK,GAAGF,GAAG,GAAG,IAAIE,KAAK,CAACD,OAAO,CAAC,CAAC;MACzDR,OAAO,GAAGO,GAAG,CAAC;MACd,OAAOG,SAAS;IACpB,CAAC,SAAS;MACNpB,YAAY,CAAC,KAAK,CAAC;IACvB;EACJ,CAAC,EAAE,CAACF,OAAO,CAAC,CAAC;EAEb,MAAMuB,UAAU,GAAG,IAAAhB,kBAAW,EAAC,MAAM;IACjCF,QAAQ,CAAC,IAAI,CAAC;EAClB,CAAC,EAAE,EAAE,CAAC;EAEN,OAAO;IAAEC,OAAO;IAAEL,SAAS;IAAEG,KAAK;IAAEmB;EAAW,CAAC;AACpD;;AAEA;AACA;AACA;AACA;AACO,eAAeC,gBAAgBA,CAClChB,MAAwB,EACxBR,OAIC,EACqB;EACtB,MAAM;IAAES,cAAc;IAAEC,YAAY;IAAEI;EAAe,CAAC,GAAGd,OAAO,IAAI,CAAC,CAAC;EAEtE,IAAIc,cAAc,EAAE;IAChBC,YAAK,CAACC,IAAI,CAACF,cAAc,CAAC;EAC9B;EAEA,IAAI;IACA,MAAMG,MAAM,GAAG,MAAMT,MAAM,CAAC,CAAC;IAC7B,IAAIC,cAAc,EAAE;MAChBM,YAAK,CAACG,OAAO,CAACT,cAAc,CAAC;IACjC;IACA,OAAOQ,MAAM;EACjB,CAAC,CAAC,OAAOE,GAAY,EAAE;IACnBJ,YAAK,CAACX,KAAK,CAACM,YAAY,KAAKS,GAAG,YAAYE,KAAK,GAAGF,GAAG,CAACC,OAAO,GAAG,IAAI,CAAC,IAAI,mBAAmB,CAAC;IAC/F,OAAOE,SAAS;EACpB;AACJ;AAAC,IAAAG,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEc5B,cAAc","ignoreList":[]}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.useAuth = useAuth;
|
|
7
|
-
var _react = require("react");
|
|
8
|
-
var _OxyContext = require("../context/OxyContext.js");
|
|
9
|
-
var _isWebBrowser = require("../utils/isWebBrowser.js");
|
|
10
|
-
/**
|
|
11
|
-
* Unified Auth Hook
|
|
12
|
-
*
|
|
13
|
-
* Provides a clean, standard interface for authentication across all platforms.
|
|
14
|
-
* This is the recommended way to access auth state in Oxy apps.
|
|
15
|
-
*
|
|
16
|
-
* Usage:
|
|
17
|
-
* ```tsx
|
|
18
|
-
* import { useAuth } from '@oxyhq/services';
|
|
19
|
-
*
|
|
20
|
-
* function MyComponent() {
|
|
21
|
-
* const { user, isAuthenticated, isLoading, signIn, signOut } = useAuth();
|
|
22
|
-
*
|
|
23
|
-
* if (isLoading) return <Loading />;
|
|
24
|
-
* if (!isAuthenticated) return <SignInButton onClick={() => signIn()} />;
|
|
25
|
-
* return <Welcome user={user} />;
|
|
26
|
-
* }
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* Session restore (zero cookies):
|
|
30
|
-
* - Web: this origin's own persisted `{deviceId, deviceSecret}` — a signed-out
|
|
31
|
-
* origin stays signed out until the user presses "Continue with Oxy". There is
|
|
32
|
-
* no cross-origin silent SSO: the SDK never navigates the tab on its own.
|
|
33
|
-
* - Native: shared Keychain / app-group identity (Commons)
|
|
34
|
-
* - Realtime sync: Socket.IO `session_state` on `device:<deviceId>` once authenticated
|
|
35
|
-
* - Manual sign-in: signIn() opens the in-app account dialog (web + native)
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Unified auth hook for all Oxy apps
|
|
40
|
-
*
|
|
41
|
-
* Features:
|
|
42
|
-
* - Zero config: Just wrap with OxyProvider and use
|
|
43
|
-
* - Cross-platform: Same API on native and web
|
|
44
|
-
* - Auto session restore: device-first cold boot (`deviceId` + `deviceSecret` mint);
|
|
45
|
-
* never auto-redirects to the IdP
|
|
46
|
-
* - Type-safe: Full TypeScript support
|
|
47
|
-
*/
|
|
48
|
-
function useAuth() {
|
|
49
|
-
const {
|
|
50
|
-
user,
|
|
51
|
-
isAuthenticated,
|
|
52
|
-
isLoading,
|
|
53
|
-
isTokenReady,
|
|
54
|
-
hasAccessToken,
|
|
55
|
-
canUsePrivateApi,
|
|
56
|
-
isPrivateApiPending,
|
|
57
|
-
isAuthResolved,
|
|
58
|
-
error,
|
|
59
|
-
signIn: oxySignIn,
|
|
60
|
-
logout,
|
|
61
|
-
logoutAll,
|
|
62
|
-
refreshSessions,
|
|
63
|
-
oxyServices,
|
|
64
|
-
switchToAccount,
|
|
65
|
-
hasIdentity,
|
|
66
|
-
getPublicKey,
|
|
67
|
-
showBottomSheet,
|
|
68
|
-
openAvatarPicker,
|
|
69
|
-
openAccountDialog
|
|
70
|
-
} = (0, _OxyContext.useOxy)();
|
|
71
|
-
const signIn = (0, _react.useCallback)(async publicKey => {
|
|
72
|
-
// Native: sign in directly with the cryptographic identity when a public key
|
|
73
|
-
// is provided, or an existing keychain identity is found.
|
|
74
|
-
if (publicKey) {
|
|
75
|
-
return oxySignIn(publicKey);
|
|
76
|
-
}
|
|
77
|
-
if (!(0, _isWebBrowser.isWebBrowser)()) {
|
|
78
|
-
const hasExisting = await hasIdentity();
|
|
79
|
-
if (hasExisting) {
|
|
80
|
-
const existingKey = await getPublicKey();
|
|
81
|
-
if (existingKey) {
|
|
82
|
-
return oxySignIn(existingKey);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// Web, or native without a keychain identity: open the unified account dialog
|
|
88
|
-
// on its sign-in view (device flow / QR / password hand-off). There is NO
|
|
89
|
-
// automatic navigation to a login page — the device-first cold boot already
|
|
90
|
-
// restored a session if one existed. The caller reacts to `isAuthenticated`,
|
|
91
|
-
// so this promise intentionally never resolves.
|
|
92
|
-
openAccountDialog('signin');
|
|
93
|
-
return new Promise(() => undefined);
|
|
94
|
-
}, [oxySignIn, hasIdentity, getPublicKey, openAccountDialog]);
|
|
95
|
-
const signOut = (0, _react.useCallback)(async () => {
|
|
96
|
-
await logout();
|
|
97
|
-
}, [logout]);
|
|
98
|
-
const signOutAll = (0, _react.useCallback)(async () => {
|
|
99
|
-
await logoutAll();
|
|
100
|
-
}, [logoutAll]);
|
|
101
|
-
const refresh = (0, _react.useCallback)(async () => {
|
|
102
|
-
await refreshSessions();
|
|
103
|
-
}, [refreshSessions]);
|
|
104
|
-
return {
|
|
105
|
-
// State
|
|
106
|
-
user,
|
|
107
|
-
isAuthenticated,
|
|
108
|
-
isLoading: isLoading || !isAuthResolved,
|
|
109
|
-
isReady: isTokenReady,
|
|
110
|
-
hasAccessToken,
|
|
111
|
-
canUsePrivateApi,
|
|
112
|
-
isPrivateApiPending,
|
|
113
|
-
isAuthResolved,
|
|
114
|
-
error,
|
|
115
|
-
// Actions
|
|
116
|
-
signIn,
|
|
117
|
-
signOut,
|
|
118
|
-
signOutAll,
|
|
119
|
-
refresh,
|
|
120
|
-
// Advanced
|
|
121
|
-
oxyServices,
|
|
122
|
-
switchToAccount,
|
|
123
|
-
showBottomSheet,
|
|
124
|
-
openAvatarPicker
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
//# sourceMappingURL=useAuth.js.map
|