@oxyhq/services 6.9.46 → 6.10.2
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/lib/commonjs/index.js +36 -13
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/client.js +0 -20
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/ActingAsBanner.js +0 -4
- package/lib/commonjs/ui/components/ActingAsBanner.js.map +1 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js +1 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/commonjs/ui/components/Avatar.js +0 -2
- package/lib/commonjs/ui/components/Avatar.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheet.js +33 -398
- package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +8 -0
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +3 -5
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +0 -5
- package/lib/commonjs/ui/components/Header.js.map +1 -1
- package/lib/commonjs/ui/components/Icon.js +6 -7
- package/lib/commonjs/ui/components/Icon.js.map +1 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js +1 -5
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +0 -2
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +100 -37
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +23 -9
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +11 -8
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
- package/lib/commonjs/ui/components/QuickActions.js +2 -2
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +139 -284
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +0 -2
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
- package/lib/commonjs/ui/components/TextField.js +0 -1
- package/lib/commonjs/ui/components/TextField.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +0 -2
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +0 -2
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +80 -76
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +6 -8
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +18 -23
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/styles.js +213 -25
- package/lib/commonjs/ui/components/fileManagement/styles.js.map +1 -1
- package/lib/commonjs/ui/components/logo/LogoIcon.js +63 -0
- package/lib/commonjs/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/commonjs/ui/components/logo/LogoText.js +50 -0
- package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +54 -88
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +2 -2
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +2 -10
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/commonjs/ui/components/styles/overlay.js +7 -9
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
- package/lib/commonjs/ui/components/theming.js +0 -1
- package/lib/commonjs/ui/components/theming.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +34 -21
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +1 -3
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/hooks/index.js +32 -12
- package/lib/commonjs/ui/hooks/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +10 -5
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +34 -0
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +235 -57
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +17 -13
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/index.js +6 -0
- package/lib/commonjs/ui/hooks/queries/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +2 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +80 -3
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +36 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js +168 -70
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js +7 -7
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js +0 -8
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +71 -20
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +12 -41
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/commonjs/ui/hooks/useMutationStatus.js +86 -0
- package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js +33 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSessionSocket.js +101 -130
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSettingToggle.js +4 -4
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/commonjs/ui/index.js +1 -11
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/routes.js +55 -3
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +16 -16
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +108 -123
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +20 -19
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +204 -161
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +18 -18
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +22 -23
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +939 -0
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js +13 -20
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +10 -13
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +4 -4
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +17 -15
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +797 -159
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +8 -9
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +29 -21
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +3 -5
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +5 -5
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -2
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +75 -73
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +32 -21
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +4 -3
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +3 -3
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +57 -56
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +2 -3
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +39 -22
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +18 -21
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +0 -3
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +6 -10
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +6 -6
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +13 -19
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +5 -5
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +0 -5
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/styles/authStyles.js +0 -5
- package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
- package/lib/commonjs/ui/styles/index.js +0 -11
- package/lib/commonjs/ui/styles/index.js.map +1 -1
- package/lib/commonjs/ui/styles/spacing.js +1 -42
- package/lib/commonjs/ui/styles/spacing.js.map +1 -1
- package/lib/commonjs/ui/styles/theme.js +0 -4
- package/lib/commonjs/ui/styles/theme.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +58 -39
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js +3 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/userUtils.js +33 -16
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
- package/lib/module/index.js +9 -5
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/client.js +0 -6
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/ActingAsBanner.js +0 -4
- package/lib/module/ui/components/ActingAsBanner.js.map +1 -1
- package/lib/module/ui/components/ActivityIndicator.js +1 -1
- package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/module/ui/components/Avatar.js +0 -2
- package/lib/module/ui/components/Avatar.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +35 -400
- package/lib/module/ui/components/BottomSheet.js.map +1 -1
- package/lib/module/ui/components/BottomSheetRouter.js +9 -1
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +2 -4
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/Header.js +0 -5
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/Icon.js +6 -7
- package/lib/module/ui/components/Icon.js.map +1 -1
- package/lib/module/ui/components/IconButton/IconButton.js +1 -5
- package/lib/module/ui/components/IconButton/IconButton.js.map +1 -1
- package/lib/module/ui/components/OxyPayButton.js +0 -2
- package/lib/module/ui/components/OxyPayButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +103 -40
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +23 -9
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +11 -8
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/QuickActions.js +2 -2
- package/lib/module/ui/components/QuickActions.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +137 -284
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/StepBasedScreen.js +0 -2
- package/lib/module/ui/components/StepBasedScreen.js.map +1 -1
- package/lib/module/ui/components/TextField.js +0 -1
- package/lib/module/ui/components/TextField.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/module/ui/components/feedback/feedbackStyles.js +0 -2
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +80 -75
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +6 -7
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +18 -22
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/fileManagement/styles.js +212 -24
- package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
- package/lib/module/ui/components/logo/LogoIcon.js +56 -0
- package/lib/module/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/module/ui/components/logo/LogoText.js +43 -0
- package/lib/module/ui/components/logo/LogoText.js.map +1 -0
- package/lib/module/ui/components/modals/DeleteAccountModal.js +55 -88
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js +2 -10
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/module/ui/components/styles/overlay.js +8 -8
- package/lib/module/ui/components/styles/overlay.js.map +1 -1
- package/lib/module/ui/components/theming.js +0 -1
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +32 -19
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +1 -3
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/hooks/index.js +5 -3
- package/lib/module/ui/hooks/index.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +6 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationKeys.js +30 -0
- package/lib/module/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +231 -52
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +9 -5
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/index.js +1 -1
- package/lib/module/ui/hooks/queries/index.js.map +1 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +2 -1
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +80 -3
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +35 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queryClient.js +166 -68
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useAsyncAction.js +3 -3
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +0 -3
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +73 -22
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +11 -39
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/module/ui/hooks/useMutationStatus.js +82 -0
- package/lib/module/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/module/ui/hooks/useOnlineStatus.js +29 -0
- package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/module/ui/hooks/useSessionSocket.js +101 -130
- package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/module/ui/index.js +1 -10
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +54 -2
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +15 -14
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +96 -111
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +19 -18
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +189 -145
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +15 -15
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +14 -15
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +936 -0
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/module/ui/screens/CreateManagedAccountScreen.js +11 -18
- package/lib/module/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +8 -11
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +3 -3
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +14 -12
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +764 -125
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +2 -3
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +26 -17
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +1 -3
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +3 -3
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -2
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +60 -57
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +27 -16
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +4 -3
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +2 -2
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +48 -47
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +2 -3
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +40 -23
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +16 -19
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +0 -3
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +6 -10
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +6 -6
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +13 -19
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js +5 -5
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/module/ui/server.js +0 -4
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/styles/authStyles.js +0 -5
- package/lib/module/ui/styles/authStyles.js.map +1 -1
- package/lib/module/ui/styles/index.js +0 -1
- package/lib/module/ui/styles/index.js.map +1 -1
- package/lib/module/ui/styles/spacing.js +0 -42
- package/lib/module/ui/styles/spacing.js.map +1 -1
- package/lib/module/ui/styles/theme.js +0 -4
- package/lib/module/ui/styles/theme.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +54 -36
- package/lib/module/ui/utils/fileManagement.js.map +1 -1
- package/lib/module/ui/utils/sessionHelpers.js +3 -1
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/module/ui/utils/userUtils.js +34 -16
- package/lib/module/ui/utils/userUtils.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +7 -3
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +0 -2
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ActingAsBanner.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Avatar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts +27 -27
- package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/BottomSheetRouter.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Icon.d.ts +3 -2
- package/lib/typescript/commonjs/ui/components/Icon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts +4 -1
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TextField.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +0 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +3 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/styles.d.ts +200 -17
- package/lib/typescript/commonjs/ui/components/fileManagement/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +0 -7
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +3 -1
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/theming.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/index.d.ts +5 -3
- package/lib/typescript/commonjs/ui/hooks/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +11 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +25 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +161 -9
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/index.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +22 -8
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +13 -3
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +7 -5
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +57 -9
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +10 -2
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +2 -6
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +13 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSessionSocket.d.ts +1 -2
- package/lib/typescript/commonjs/ui/hooks/useSessionSocket.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts +1 -4
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +48 -2
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +49 -0
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/server.d.ts +0 -2
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/authStyles.d.ts +0 -4
- package/lib/typescript/commonjs/ui/styles/authStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/index.d.ts +0 -1
- package/lib/typescript/commonjs/ui/styles/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/spacing.d.ts +0 -36
- package/lib/typescript/commonjs/ui/styles/spacing.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/theme.d.ts +0 -1
- package/lib/typescript/commonjs/ui/styles/theme.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +39 -12
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +3 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +19 -18
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +7 -3
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +0 -2
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ActingAsBanner.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Avatar.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BottomSheet.d.ts +27 -27
- package/lib/typescript/module/ui/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Icon.d.ts +3 -2
- package/lib/typescript/module/ui/components/Icon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileCard.d.ts +4 -1
- package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts +2 -2
- package/lib/typescript/module/ui/components/TextField/helpers.d.ts +2 -2
- package/lib/typescript/module/ui/components/TextField/types.d.ts +0 -1
- package/lib/typescript/module/ui/components/TextField/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField.d.ts +1 -1
- package/lib/typescript/module/ui/components/TextField.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts +0 -1
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +0 -2
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +3 -2
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/styles.d.ts +200 -17
- package/lib/typescript/module/ui/components/fileManagement/styles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +2 -2
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +0 -7
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/styles/overlay.d.ts +3 -1
- package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/theming.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/index.d.ts +5 -3
- package/lib/typescript/module/ui/hooks/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +11 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +25 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +161 -9
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/index.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/queries/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +1 -0
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +22 -8
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +13 -3
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +7 -5
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +57 -9
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +0 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +10 -2
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +2 -6
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +13 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSessionSocket.d.ts +1 -2
- package/lib/typescript/module/ui/hooks/useSessionSocket.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts +1 -4
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts +48 -2
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +49 -0
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/server.d.ts +0 -2
- package/lib/typescript/module/ui/server.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/authStyles.d.ts +0 -4
- package/lib/typescript/module/ui/styles/authStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/index.d.ts +0 -1
- package/lib/typescript/module/ui/styles/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/spacing.d.ts +0 -36
- package/lib/typescript/module/ui/styles/spacing.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/theme.d.ts +0 -1
- package/lib/typescript/module/ui/styles/theme.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +39 -12
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +3 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/userUtils.d.ts +19 -18
- package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -1
- package/lib/typescript/types/expo-vector-icons.d.ts +7 -4
- package/package.json +64 -31
- package/src/index.ts +11 -4
- package/src/types/expo-vector-icons.d.ts +7 -4
- package/src/ui/client.ts +0 -6
- package/src/ui/components/ActingAsBanner.tsx +0 -4
- package/src/ui/components/ActivityIndicator.tsx +1 -1
- package/src/ui/components/Avatar.tsx +0 -2
- package/src/ui/components/BottomSheet.tsx +41 -440
- package/src/ui/components/BottomSheetRouter.tsx +12 -1
- package/src/ui/components/FollowButton.tsx +2 -4
- package/src/ui/components/Header.tsx +0 -5
- package/src/ui/components/Icon.tsx +12 -6
- package/src/ui/components/IconButton/IconButton.tsx +0 -3
- package/src/ui/components/OxyPayButton.tsx +0 -2
- package/src/ui/components/OxyProvider.tsx +127 -48
- package/src/ui/components/OxySignInButton.tsx +21 -9
- package/src/ui/components/ProfileCard.tsx +13 -10
- package/src/ui/components/QuickActions.tsx +2 -2
- package/src/ui/components/SignInModal.tsx +80 -199
- package/src/ui/components/StepBasedScreen.tsx +0 -2
- package/src/ui/components/TextField/Addons/Outline.tsx +2 -2
- package/src/ui/components/TextField/helpers.tsx +2 -2
- package/src/ui/components/TextField/types.tsx +0 -1
- package/src/ui/components/TextField.tsx +1 -2
- package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +1 -1
- package/src/ui/components/feedback/feedbackStyles.ts +0 -2
- package/src/ui/components/fileManagement/AnimatedButton.tsx +0 -1
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +71 -65
- package/src/ui/components/fileManagement/FileViewer.tsx +6 -9
- package/src/ui/components/fileManagement/UploadPreview.tsx +21 -25
- package/src/ui/components/fileManagement/styles.ts +206 -18
- package/src/ui/components/logo/LogoIcon.tsx +70 -0
- package/src/ui/components/logo/LogoText.tsx +70 -0
- package/src/ui/components/modals/DeleteAccountModal.tsx +56 -91
- package/src/ui/components/payment/PaymentDetailsStep.tsx +1 -1
- package/src/ui/components/payment/PaymentReviewStep.tsx +1 -1
- package/src/ui/components/payment/PaymentSuccessStep.tsx +1 -1
- package/src/ui/components/payment/paymentStyles.ts +0 -8
- package/src/ui/components/styles/overlay.tsx +17 -8
- package/src/ui/components/theming.tsx +0 -1
- package/src/ui/components/types.tsx +3 -2
- package/src/ui/context/OxyContext.tsx +34 -19
- package/src/ui/context/hooks/useAuthOperations.ts +1 -3
- package/src/ui/hooks/index.ts +11 -4
- package/src/ui/hooks/mutations/mutationFactory.ts +16 -1
- package/src/ui/hooks/mutations/mutationKeys.ts +28 -0
- package/src/ui/hooks/mutations/useAccountMutations.ts +251 -59
- package/src/ui/hooks/mutations/useServicesMutations.ts +10 -4
- package/src/ui/hooks/queries/index.ts +1 -0
- package/src/ui/hooks/queries/queryKeys.ts +2 -0
- package/src/ui/hooks/queries/useAccountQueries.ts +83 -3
- package/src/ui/hooks/queries/useSecurityQueries.ts +42 -2
- package/src/ui/hooks/queryClient.ts +194 -69
- package/src/ui/hooks/useAsyncAction.ts +3 -3
- package/src/ui/hooks/useAuth.ts +0 -2
- package/src/ui/hooks/useAvatarPicker.ts +108 -27
- package/src/ui/hooks/useFileDownloadUrl.ts +15 -39
- package/src/ui/hooks/useMutationStatus.ts +111 -0
- package/src/ui/hooks/useOnlineStatus.ts +29 -0
- package/src/ui/hooks/useSessionSocket.ts +136 -126
- package/src/ui/hooks/useSettingToggle.ts +1 -1
- package/src/ui/index.ts +0 -12
- package/src/ui/navigation/routes.ts +93 -2
- package/src/ui/screens/AccountCenterScreen.tsx +15 -13
- package/src/ui/screens/AccountOverviewScreen.tsx +94 -104
- package/src/ui/screens/AccountSettingsScreen.tsx +18 -17
- package/src/ui/screens/AccountSwitcherScreen.tsx +331 -298
- package/src/ui/screens/AccountVerificationScreen.tsx +15 -15
- package/src/ui/screens/AppInfoScreen.tsx +8 -13
- package/src/ui/screens/AvatarCropScreen.tsx +1073 -0
- package/src/ui/screens/CreateManagedAccountScreen.tsx +5 -16
- package/src/ui/screens/EditProfileFieldScreen.tsx +5 -10
- package/src/ui/screens/FAQScreen.tsx +3 -3
- package/src/ui/screens/FeedbackScreen.tsx +14 -12
- package/src/ui/screens/FileManagementScreen.tsx +885 -124
- package/src/ui/screens/HelpSupportScreen.tsx +2 -3
- package/src/ui/screens/HistoryViewScreen.tsx +24 -9
- package/src/ui/screens/LanguageSelectorScreen.tsx +1 -3
- package/src/ui/screens/LegalDocumentsScreen.tsx +3 -3
- package/src/ui/screens/PaymentGatewayScreen.tsx +2 -2
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +51 -56
- package/src/ui/screens/PrivacySettingsScreen.tsx +22 -20
- package/src/ui/screens/ProfileScreen.tsx +1 -2
- package/src/ui/screens/SavesCollectionsScreen.tsx +2 -2
- package/src/ui/screens/SessionManagementScreen.tsx +35 -47
- package/src/ui/screens/UserLinksScreen.tsx +1 -2
- package/src/ui/screens/UserListScreen.tsx +30 -19
- package/src/ui/screens/WelcomeNewUserScreen.tsx +14 -18
- package/src/ui/screens/karma/KarmaAboutScreen.tsx +0 -3
- package/src/ui/screens/karma/KarmaCenterScreen.tsx +4 -8
- package/src/ui/screens/karma/KarmaFAQScreen.tsx +1 -1
- package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +3 -4
- package/src/ui/screens/karma/KarmaRewardsScreen.tsx +13 -18
- package/src/ui/screens/karma/KarmaRulesScreen.tsx +3 -4
- package/src/ui/server.ts +0 -4
- package/src/ui/styles/authStyles.ts +0 -5
- package/src/ui/styles/index.ts +0 -1
- package/src/ui/styles/spacing.ts +0 -43
- package/src/ui/styles/theme.ts +0 -4
- package/src/ui/utils/fileManagement.ts +66 -38
- package/src/ui/utils/sessionHelpers.ts +3 -1
- package/src/ui/utils/userUtils.ts +45 -29
- package/lib/commonjs/lib/sonner-safe.js +0 -32
- package/lib/commonjs/lib/sonner-safe.js.map +0 -1
- package/lib/commonjs/lib/sonner.js +0 -19
- package/lib/commonjs/lib/sonner.js.map +0 -1
- package/lib/commonjs/lib/sonner.native.js +0 -24
- package/lib/commonjs/lib/sonner.native.js.map +0 -1
- package/lib/commonjs/lib/sonner.web.js +0 -24
- package/lib/commonjs/lib/sonner.web.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js +0 -33
- package/lib/commonjs/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeStyles.js +0 -38
- package/lib/commonjs/ui/hooks/useThemeStyles.js.map +0 -1
- package/lib/commonjs/ui/styles/fonts.js +0 -84
- package/lib/commonjs/ui/styles/fonts.js.map +0 -1
- package/lib/module/lib/sonner-safe.js +0 -29
- package/lib/module/lib/sonner-safe.js.map +0 -1
- package/lib/module/lib/sonner.js +0 -14
- package/lib/module/lib/sonner.js.map +0 -1
- package/lib/module/lib/sonner.native.js +0 -19
- package/lib/module/lib/sonner.native.js.map +0 -1
- package/lib/module/lib/sonner.web.js +0 -19
- package/lib/module/lib/sonner.web.js.map +0 -1
- package/lib/module/ui/hooks/useThemeColors.js +0 -29
- package/lib/module/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/module/ui/hooks/useThemeStyles.js +0 -33
- package/lib/module/ui/hooks/useThemeStyles.js.map +0 -1
- package/lib/module/ui/styles/fonts.js +0 -81
- package/lib/module/ui/styles/fonts.js.map +0 -1
- package/lib/typescript/commonjs/lib/sonner-safe.d.ts +0 -9
- package/lib/typescript/commonjs/lib/sonner-safe.d.ts.map +0 -1
- package/lib/typescript/commonjs/lib/sonner.d.ts +0 -12
- package/lib/typescript/commonjs/lib/sonner.d.ts.map +0 -1
- package/lib/typescript/commonjs/lib/sonner.native.d.ts +0 -15
- package/lib/typescript/commonjs/lib/sonner.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/lib/sonner.web.d.ts +0 -15
- package/lib/typescript/commonjs/lib/sonner.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useThemeColors.d.ts +0 -87
- package/lib/typescript/commonjs/ui/hooks/useThemeColors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useThemeStyles.d.ts +0 -22
- package/lib/typescript/commonjs/ui/hooks/useThemeStyles.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/styles/fonts.d.ts +0 -21
- package/lib/typescript/commonjs/ui/styles/fonts.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner-safe.d.ts +0 -9
- package/lib/typescript/module/lib/sonner-safe.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner.d.ts +0 -12
- package/lib/typescript/module/lib/sonner.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner.native.d.ts +0 -15
- package/lib/typescript/module/lib/sonner.native.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner.web.d.ts +0 -15
- package/lib/typescript/module/lib/sonner.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useThemeColors.d.ts +0 -87
- package/lib/typescript/module/ui/hooks/useThemeColors.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useThemeStyles.d.ts +0 -22
- package/lib/typescript/module/ui/hooks/useThemeStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/styles/fonts.d.ts +0 -21
- package/lib/typescript/module/ui/styles/fonts.d.ts.map +0 -1
- package/src/lib/sonner-safe.ts +0 -31
- package/src/lib/sonner.native.ts +0 -28
- package/src/lib/sonner.ts +0 -11
- package/src/lib/sonner.web.ts +0 -28
- package/src/ui/hooks/useThemeColors.ts +0 -27
- package/src/ui/hooks/useThemeStyles.ts +0 -50
- package/src/ui/styles/fonts.ts +0 -77
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { useState, useEffect, useCallback, useRef } from 'react';
|
|
14
|
-
import { View, Text, TouchableOpacity, StyleSheet, Modal, Dimensions, Platform, Linking
|
|
14
|
+
import { View, Text, TouchableOpacity, StyleSheet, Modal, Dimensions, Platform, Linking } from 'react-native';
|
|
15
15
|
import Animated, { useSharedValue, useAnimatedStyle, withTiming } from 'react-native-reanimated';
|
|
16
16
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
17
17
|
import io from 'socket.io-client';
|
|
@@ -19,7 +19,6 @@ import QRCode from 'react-native-qrcode-svg';
|
|
|
19
19
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
20
20
|
import { Button } from '@oxyhq/bloom/button';
|
|
21
21
|
import { Loading } from '@oxyhq/bloom/loading';
|
|
22
|
-
import { BottomSheet } from '@oxyhq/bloom/bottom-sheet';
|
|
23
22
|
import { useOxy } from "../context/OxyContext.js";
|
|
24
23
|
import OxyLogo from "./OxyLogo.js";
|
|
25
24
|
import { createDebugLogger } from '@oxyhq/core';
|
|
@@ -58,17 +57,12 @@ export const subscribeToSignInModal = listener => {
|
|
|
58
57
|
};
|
|
59
58
|
const SignInModal = () => {
|
|
60
59
|
const [visible, setVisible] = useState(false);
|
|
61
|
-
const [view, setView] = useState('main');
|
|
62
60
|
const [authSession, setAuthSession] = useState(null);
|
|
63
61
|
const [isLoading, setIsLoading] = useState(false);
|
|
64
62
|
const [error, setError] = useState(null);
|
|
65
63
|
const [isWaiting, setIsWaiting] = useState(false);
|
|
66
64
|
const insets = useSafeAreaInsets();
|
|
67
65
|
const theme = useTheme();
|
|
68
|
-
const {
|
|
69
|
-
width: windowWidth
|
|
70
|
-
} = useWindowDimensions();
|
|
71
|
-
const isWide = windowWidth >= 768;
|
|
72
66
|
const {
|
|
73
67
|
oxyServices,
|
|
74
68
|
switchSession
|
|
@@ -76,7 +70,6 @@ const SignInModal = () => {
|
|
|
76
70
|
const socketRef = useRef(null);
|
|
77
71
|
const pollingIntervalRef = useRef(null);
|
|
78
72
|
const isProcessingRef = useRef(false);
|
|
79
|
-
const sheetRef = useRef(null);
|
|
80
73
|
|
|
81
74
|
// Animation values
|
|
82
75
|
const opacity = useSharedValue(0);
|
|
@@ -100,9 +93,7 @@ const SignInModal = () => {
|
|
|
100
93
|
scale.value = withTiming(1, {
|
|
101
94
|
duration: 250
|
|
102
95
|
});
|
|
103
|
-
setView('main');
|
|
104
96
|
generateAuthSession();
|
|
105
|
-
if (!isWide) sheetRef.current?.present();
|
|
106
97
|
} else {
|
|
107
98
|
opacity.value = withTiming(0, {
|
|
108
99
|
duration: 200
|
|
@@ -110,9 +101,8 @@ const SignInModal = () => {
|
|
|
110
101
|
scale.value = withTiming(0.9, {
|
|
111
102
|
duration: 200
|
|
112
103
|
});
|
|
113
|
-
if (!isWide) sheetRef.current?.dismiss();
|
|
114
104
|
}
|
|
115
|
-
}, [visible
|
|
105
|
+
}, [visible]);
|
|
116
106
|
const backdropStyle = useAnimatedStyle(() => ({
|
|
117
107
|
opacity: opacity.value
|
|
118
108
|
}));
|
|
@@ -123,25 +113,34 @@ const SignInModal = () => {
|
|
|
123
113
|
}]
|
|
124
114
|
}));
|
|
125
115
|
|
|
126
|
-
// Handle successful authorization
|
|
127
|
-
|
|
116
|
+
// Handle successful authorization.
|
|
117
|
+
//
|
|
118
|
+
// The auth-session socket (or fallback poll) hands us the new
|
|
119
|
+
// `sessionId`. Before any session-management code can touch it we
|
|
120
|
+
// MUST first exchange the secret `sessionToken` (held only by this
|
|
121
|
+
// client) for the first access token via `claimSessionByToken` —
|
|
122
|
+
// this is the device-flow equivalent of OAuth's code-for-token
|
|
123
|
+
// exchange (RFC 8628 §3.4).
|
|
124
|
+
//
|
|
125
|
+
// Without that exchange the SDK has no bearer token and every
|
|
126
|
+
// subsequent call (including `switchSession` -> `getTokenBySession`)
|
|
127
|
+
// would 401 against the C1-hardened API. Once `claimSessionByToken`
|
|
128
|
+
// plants the tokens in the HttpService, the rest of the session
|
|
129
|
+
// wiring (state, persistence, language preference) flows through
|
|
130
|
+
// the normal `switchSession` path.
|
|
131
|
+
const handleAuthSuccess = useCallback(async (sessionId, sessionToken) => {
|
|
128
132
|
if (isProcessingRef.current) return;
|
|
129
133
|
isProcessingRef.current = true;
|
|
130
|
-
|
|
131
|
-
// Dismiss the in-app browser (if any) so the user returns to the app.
|
|
132
|
-
if (Platform.OS !== 'web') {
|
|
133
|
-
try {
|
|
134
|
-
const WebBrowser = await import('expo-web-browser');
|
|
135
|
-
WebBrowser.dismissBrowser();
|
|
136
|
-
} catch {
|
|
137
|
-
/* expo-web-browser not available */
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
134
|
try {
|
|
135
|
+
// Plant the bearer + refresh tokens for this newly-authorized
|
|
136
|
+
// session. Single-use — replay attempts on this sessionToken
|
|
137
|
+
// are rejected by the API.
|
|
138
|
+
await oxyServices.claimSessionByToken(sessionToken);
|
|
139
|
+
|
|
140
|
+
// Now the SDK has a bearer token, the normal session
|
|
141
|
+
// management path can hydrate state from the sessionId.
|
|
141
142
|
if (switchSession) {
|
|
142
143
|
await switchSession(sessionId);
|
|
143
|
-
} else {
|
|
144
|
-
await oxyServices.getTokenBySession(sessionId);
|
|
145
144
|
}
|
|
146
145
|
hideSignInModal();
|
|
147
146
|
} catch (err) {
|
|
@@ -166,11 +165,6 @@ const SignInModal = () => {
|
|
|
166
165
|
|
|
167
166
|
// Connect to socket for real-time updates
|
|
168
167
|
const connectSocket = useCallback(sessionToken => {
|
|
169
|
-
// Disconnect any pre-existing socket to avoid duplicates on re-renders.
|
|
170
|
-
if (socketRef.current) {
|
|
171
|
-
socketRef.current.disconnect();
|
|
172
|
-
socketRef.current = null;
|
|
173
|
-
}
|
|
174
168
|
const baseURL = oxyServices.getBaseURL();
|
|
175
169
|
const socket = io(`${baseURL}/auth-session`, {
|
|
176
170
|
transports: ['websocket', 'polling'],
|
|
@@ -187,7 +181,10 @@ const SignInModal = () => {
|
|
|
187
181
|
debug.log('Auth update received:', payload);
|
|
188
182
|
if (payload.status === 'authorized' && payload.sessionId) {
|
|
189
183
|
cleanup();
|
|
190
|
-
|
|
184
|
+
// `sessionToken` was generated by this client and is in scope
|
|
185
|
+
// via the `sessionToken` arg — pass it through so the claim
|
|
186
|
+
// call can exchange it for the first access token.
|
|
187
|
+
handleAuthSuccess(payload.sessionId, sessionToken);
|
|
191
188
|
} else if (payload.status === 'cancelled') {
|
|
192
189
|
cleanup();
|
|
193
190
|
setError('Authorization was denied.');
|
|
@@ -213,7 +210,9 @@ const SignInModal = () => {
|
|
|
213
210
|
});
|
|
214
211
|
if (response.authorized && response.sessionId) {
|
|
215
212
|
cleanup();
|
|
216
|
-
|
|
213
|
+
// Pass the original sessionToken through; the claim
|
|
214
|
+
// exchange needs it to mint the first access token.
|
|
215
|
+
handleAuthSuccess(response.sessionId, sessionToken);
|
|
217
216
|
} else if (response.status === 'cancelled') {
|
|
218
217
|
cleanup();
|
|
219
218
|
setError('Authorization was denied.');
|
|
@@ -255,14 +254,14 @@ const SignInModal = () => {
|
|
|
255
254
|
}
|
|
256
255
|
}, [oxyServices, connectSocket]);
|
|
257
256
|
|
|
258
|
-
// Generate a random session token
|
|
257
|
+
// Generate a cryptographically random session token.
|
|
258
|
+
// 16 random bytes -> 32 hex chars (128 bits of entropy) — unguessable.
|
|
259
|
+
// crypto.getRandomValues is guaranteed available because importing
|
|
260
|
+
// @oxyhq/core installs a polyfill via expo-crypto on React Native.
|
|
259
261
|
const generateSessionToken = () => {
|
|
260
|
-
const
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
result += chars.charAt(Math.floor(Math.random() * chars.length));
|
|
264
|
-
}
|
|
265
|
-
return result;
|
|
262
|
+
const bytes = new Uint8Array(16);
|
|
263
|
+
crypto.getRandomValues(bytes);
|
|
264
|
+
return Array.from(bytes, b => b.toString(16).padStart(2, '0')).join('');
|
|
266
265
|
};
|
|
267
266
|
|
|
268
267
|
// Build the QR code data
|
|
@@ -304,17 +303,8 @@ const SignInModal = () => {
|
|
|
304
303
|
const top = (screenHeight - height) / 2;
|
|
305
304
|
window.open(webUrl.toString(), 'oxy-auth-popup', `width=${width},height=${height},left=${left},top=${top},popup=1`);
|
|
306
305
|
} else {
|
|
307
|
-
// Open in
|
|
308
|
-
|
|
309
|
-
try {
|
|
310
|
-
const WebBrowser = await import('expo-web-browser');
|
|
311
|
-
await WebBrowser.openBrowserAsync(webUrl.toString(), {
|
|
312
|
-
presentationStyle: WebBrowser.WebBrowserPresentationStyle.PAGE_SHEET,
|
|
313
|
-
dismissButtonStyle: 'close'
|
|
314
|
-
});
|
|
315
|
-
} catch {
|
|
316
|
-
Linking.openURL(webUrl.toString());
|
|
317
|
-
}
|
|
306
|
+
// Open in browser on native
|
|
307
|
+
Linking.openURL(webUrl.toString());
|
|
318
308
|
}
|
|
319
309
|
}, [authSession, oxyServices]);
|
|
320
310
|
|
|
@@ -336,198 +326,7 @@ const SignInModal = () => {
|
|
|
336
326
|
cleanup();
|
|
337
327
|
};
|
|
338
328
|
}, [cleanup]);
|
|
339
|
-
if (!visible
|
|
340
|
-
const innerContent = /*#__PURE__*/_jsxs(_Fragment, {
|
|
341
|
-
children: [!isWide && view === 'qr' ? /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
342
|
-
style: styles.backButton,
|
|
343
|
-
onPress: () => setView('main'),
|
|
344
|
-
accessibilityLabel: "Back",
|
|
345
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
346
|
-
style: styles.backButtonText,
|
|
347
|
-
children: "\u2039"
|
|
348
|
-
})
|
|
349
|
-
}) : null, isWide ? /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
350
|
-
style: styles.closeButton,
|
|
351
|
-
onPress: handleClose,
|
|
352
|
-
accessibilityLabel: "Close",
|
|
353
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
354
|
-
style: styles.closeButtonText,
|
|
355
|
-
children: "\xD7"
|
|
356
|
-
})
|
|
357
|
-
}) : null, isLoading ? /*#__PURE__*/_jsxs(View, {
|
|
358
|
-
style: styles.loadingContainer,
|
|
359
|
-
children: [/*#__PURE__*/_jsx(OxyLogo, {
|
|
360
|
-
variant: "icon",
|
|
361
|
-
size: 56
|
|
362
|
-
}), /*#__PURE__*/_jsx(Loading, {
|
|
363
|
-
size: "large"
|
|
364
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
365
|
-
className: "text-muted-foreground",
|
|
366
|
-
style: styles.loadingText,
|
|
367
|
-
children: "Preparing sign in..."
|
|
368
|
-
})]
|
|
369
|
-
}) : error ? /*#__PURE__*/_jsxs(View, {
|
|
370
|
-
style: styles.errorContainer,
|
|
371
|
-
children: [/*#__PURE__*/_jsx(OxyLogo, {
|
|
372
|
-
variant: "icon",
|
|
373
|
-
size: 56
|
|
374
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
375
|
-
className: "text-destructive",
|
|
376
|
-
style: styles.errorText,
|
|
377
|
-
children: error
|
|
378
|
-
}), /*#__PURE__*/_jsx(Button, {
|
|
379
|
-
onPress: handleRefresh,
|
|
380
|
-
children: "Try Again"
|
|
381
|
-
})]
|
|
382
|
-
}) : isWide ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
383
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
384
|
-
style: styles.header,
|
|
385
|
-
children: [/*#__PURE__*/_jsx(OxyLogo, {
|
|
386
|
-
variant: "icon",
|
|
387
|
-
size: 56
|
|
388
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
389
|
-
style: [styles.title, {
|
|
390
|
-
color: theme.colors.text
|
|
391
|
-
}],
|
|
392
|
-
children: "Sign in with Oxy"
|
|
393
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
394
|
-
style: [styles.subtitle, {
|
|
395
|
-
color: theme.colors.textSecondary
|
|
396
|
-
}],
|
|
397
|
-
children: "Scan with Oxy Accounts app or use the button below"
|
|
398
|
-
})]
|
|
399
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
400
|
-
style: [styles.qrContainer, {
|
|
401
|
-
backgroundColor: 'white'
|
|
402
|
-
}],
|
|
403
|
-
children: authSession ? /*#__PURE__*/_jsx(QRCode, {
|
|
404
|
-
value: getQRData(),
|
|
405
|
-
size: 200,
|
|
406
|
-
backgroundColor: "white",
|
|
407
|
-
color: "black"
|
|
408
|
-
}) : /*#__PURE__*/_jsx(Loading, {
|
|
409
|
-
size: "large"
|
|
410
|
-
})
|
|
411
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
412
|
-
style: styles.dividerContainer,
|
|
413
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
414
|
-
style: [styles.divider, {
|
|
415
|
-
backgroundColor: theme.colors.border
|
|
416
|
-
}]
|
|
417
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
418
|
-
style: [styles.dividerText, {
|
|
419
|
-
color: theme.colors.textTertiary
|
|
420
|
-
}],
|
|
421
|
-
children: "or"
|
|
422
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
423
|
-
style: [styles.divider, {
|
|
424
|
-
backgroundColor: theme.colors.border
|
|
425
|
-
}]
|
|
426
|
-
})]
|
|
427
|
-
}), /*#__PURE__*/_jsx(Button, {
|
|
428
|
-
onPress: handleOpenAuthPopup,
|
|
429
|
-
icon: /*#__PURE__*/_jsx(OxyLogo, {
|
|
430
|
-
variant: "icon",
|
|
431
|
-
size: 20,
|
|
432
|
-
fillColor: theme.colors.card
|
|
433
|
-
}),
|
|
434
|
-
children: "Open Oxy Auth"
|
|
435
|
-
}), isWaiting && /*#__PURE__*/_jsxs(View, {
|
|
436
|
-
style: styles.statusContainer,
|
|
437
|
-
children: [/*#__PURE__*/_jsx(Loading, {
|
|
438
|
-
size: "small"
|
|
439
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
440
|
-
style: [styles.statusText, {
|
|
441
|
-
color: theme.colors.textSecondary
|
|
442
|
-
}],
|
|
443
|
-
children: "Waiting for authorization\u2026"
|
|
444
|
-
})]
|
|
445
|
-
})]
|
|
446
|
-
}) : view === 'main' ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
447
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
448
|
-
style: styles.header,
|
|
449
|
-
children: [/*#__PURE__*/_jsx(OxyLogo, {
|
|
450
|
-
variant: "icon",
|
|
451
|
-
size: 56
|
|
452
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
453
|
-
style: [styles.title, {
|
|
454
|
-
color: theme.colors.text
|
|
455
|
-
}],
|
|
456
|
-
children: "Sign in with Oxy"
|
|
457
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
458
|
-
style: [styles.subtitle, {
|
|
459
|
-
color: theme.colors.textSecondary
|
|
460
|
-
}],
|
|
461
|
-
children: "One account for the whole Oxy ecosystem. Continue to authorize this device."
|
|
462
|
-
})]
|
|
463
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
464
|
-
style: styles.actions,
|
|
465
|
-
children: [/*#__PURE__*/_jsx(Button, {
|
|
466
|
-
onPress: handleOpenAuthPopup,
|
|
467
|
-
icon: /*#__PURE__*/_jsx(OxyLogo, {
|
|
468
|
-
variant: "icon",
|
|
469
|
-
size: 20,
|
|
470
|
-
fillColor: theme.colors.card
|
|
471
|
-
}),
|
|
472
|
-
children: "Continue with Oxy"
|
|
473
|
-
}), /*#__PURE__*/_jsx(Button, {
|
|
474
|
-
variant: "ghost",
|
|
475
|
-
onPress: () => setView('qr'),
|
|
476
|
-
children: "Scan QR code instead"
|
|
477
|
-
})]
|
|
478
|
-
})]
|
|
479
|
-
}) : /*#__PURE__*/_jsxs(_Fragment, {
|
|
480
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
481
|
-
style: styles.header,
|
|
482
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
483
|
-
style: [styles.title, {
|
|
484
|
-
color: theme.colors.text
|
|
485
|
-
}],
|
|
486
|
-
children: "Scan QR"
|
|
487
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
488
|
-
style: [styles.subtitle, {
|
|
489
|
-
color: theme.colors.textSecondary
|
|
490
|
-
}],
|
|
491
|
-
children: "Open the Oxy Accounts app on another device and scan this code."
|
|
492
|
-
})]
|
|
493
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
494
|
-
style: [styles.qrContainer, {
|
|
495
|
-
backgroundColor: 'white'
|
|
496
|
-
}],
|
|
497
|
-
children: authSession ? /*#__PURE__*/_jsx(QRCode, {
|
|
498
|
-
value: getQRData(),
|
|
499
|
-
size: 220,
|
|
500
|
-
backgroundColor: "white",
|
|
501
|
-
color: "black"
|
|
502
|
-
}) : /*#__PURE__*/_jsx(Loading, {
|
|
503
|
-
size: "large"
|
|
504
|
-
})
|
|
505
|
-
}), isWaiting && /*#__PURE__*/_jsxs(View, {
|
|
506
|
-
style: styles.statusContainer,
|
|
507
|
-
children: [/*#__PURE__*/_jsx(Loading, {
|
|
508
|
-
size: "small"
|
|
509
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
510
|
-
style: [styles.statusText, {
|
|
511
|
-
color: theme.colors.textSecondary
|
|
512
|
-
}],
|
|
513
|
-
children: "Waiting for authorization\u2026"
|
|
514
|
-
})]
|
|
515
|
-
})]
|
|
516
|
-
})]
|
|
517
|
-
});
|
|
518
|
-
if (!isWide) {
|
|
519
|
-
return /*#__PURE__*/_jsx(BottomSheet, {
|
|
520
|
-
ref: sheetRef,
|
|
521
|
-
onDismiss: handleClose,
|
|
522
|
-
enablePanDownToClose: true,
|
|
523
|
-
children: /*#__PURE__*/_jsx(View, {
|
|
524
|
-
style: [styles.sheetContent, {
|
|
525
|
-
paddingBottom: insets.bottom + 24
|
|
526
|
-
}],
|
|
527
|
-
children: innerContent
|
|
528
|
-
})
|
|
529
|
-
});
|
|
530
|
-
}
|
|
329
|
+
if (!visible) return null;
|
|
531
330
|
return /*#__PURE__*/_jsx(Modal, {
|
|
532
331
|
visible: visible,
|
|
533
332
|
transparent: true,
|
|
@@ -542,12 +341,98 @@ const SignInModal = () => {
|
|
|
542
341
|
style: StyleSheet.absoluteFill,
|
|
543
342
|
onPress: handleClose,
|
|
544
343
|
activeOpacity: 1
|
|
545
|
-
}), /*#__PURE__*/
|
|
344
|
+
}), /*#__PURE__*/_jsxs(Animated.View, {
|
|
546
345
|
style: [styles.content, contentStyle, {
|
|
547
346
|
paddingTop: insets.top + 20,
|
|
548
347
|
paddingBottom: insets.bottom + 20
|
|
549
348
|
}],
|
|
550
|
-
children:
|
|
349
|
+
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
350
|
+
style: styles.closeButton,
|
|
351
|
+
onPress: handleClose,
|
|
352
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
353
|
+
style: styles.closeButtonText,
|
|
354
|
+
children: "\xD7"
|
|
355
|
+
})
|
|
356
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
357
|
+
style: styles.header,
|
|
358
|
+
children: [/*#__PURE__*/_jsx(OxyLogo, {
|
|
359
|
+
variant: "icon",
|
|
360
|
+
size: 56
|
|
361
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
362
|
+
className: "text-foreground",
|
|
363
|
+
style: styles.title,
|
|
364
|
+
children: "Sign in with Oxy"
|
|
365
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
366
|
+
className: "text-muted-foreground",
|
|
367
|
+
style: styles.subtitle,
|
|
368
|
+
children: "Scan with Oxy Accounts app or use the button below"
|
|
369
|
+
})]
|
|
370
|
+
}), isLoading ? /*#__PURE__*/_jsxs(View, {
|
|
371
|
+
style: styles.loadingContainer,
|
|
372
|
+
children: [/*#__PURE__*/_jsx(Loading, {
|
|
373
|
+
size: "large"
|
|
374
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
375
|
+
className: "text-muted-foreground",
|
|
376
|
+
style: styles.loadingText,
|
|
377
|
+
children: "Preparing sign in..."
|
|
378
|
+
})]
|
|
379
|
+
}) : error ? /*#__PURE__*/_jsxs(View, {
|
|
380
|
+
style: styles.errorContainer,
|
|
381
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
382
|
+
className: "text-destructive",
|
|
383
|
+
style: styles.errorText,
|
|
384
|
+
children: error
|
|
385
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
386
|
+
onPress: handleRefresh,
|
|
387
|
+
children: "Try Again"
|
|
388
|
+
})]
|
|
389
|
+
}) : /*#__PURE__*/_jsxs(_Fragment, {
|
|
390
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
391
|
+
style: [styles.qrContainer, {
|
|
392
|
+
backgroundColor: 'white'
|
|
393
|
+
}],
|
|
394
|
+
children: authSession ? /*#__PURE__*/_jsx(QRCode, {
|
|
395
|
+
value: getQRData(),
|
|
396
|
+
size: 200,
|
|
397
|
+
backgroundColor: "white",
|
|
398
|
+
color: "black"
|
|
399
|
+
}) : /*#__PURE__*/_jsx(Loading, {
|
|
400
|
+
size: "large"
|
|
401
|
+
})
|
|
402
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
403
|
+
style: styles.dividerContainer,
|
|
404
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
405
|
+
style: [styles.divider, {
|
|
406
|
+
backgroundColor: 'rgba(255,255,255,0.3)'
|
|
407
|
+
}]
|
|
408
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
409
|
+
style: [styles.dividerText, {
|
|
410
|
+
color: 'rgba(255,255,255,0.7)'
|
|
411
|
+
}],
|
|
412
|
+
children: "or"
|
|
413
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
414
|
+
style: [styles.divider, {
|
|
415
|
+
backgroundColor: 'rgba(255,255,255,0.3)'
|
|
416
|
+
}]
|
|
417
|
+
})]
|
|
418
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
419
|
+
onPress: handleOpenAuthPopup,
|
|
420
|
+
icon: /*#__PURE__*/_jsx(OxyLogo, {
|
|
421
|
+
variant: "icon",
|
|
422
|
+
size: 20,
|
|
423
|
+
fillColor: theme.colors.card
|
|
424
|
+
}),
|
|
425
|
+
children: "Open Oxy Auth"
|
|
426
|
+
}), isWaiting && /*#__PURE__*/_jsxs(View, {
|
|
427
|
+
style: styles.statusContainer,
|
|
428
|
+
children: [/*#__PURE__*/_jsx(Loading, {
|
|
429
|
+
size: "small"
|
|
430
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
431
|
+
style: styles.statusText,
|
|
432
|
+
children: "Waiting for authorization..."
|
|
433
|
+
})]
|
|
434
|
+
})]
|
|
435
|
+
})]
|
|
551
436
|
})]
|
|
552
437
|
})
|
|
553
438
|
});
|
|
@@ -582,51 +467,19 @@ const styles = StyleSheet.create({
|
|
|
582
467
|
fontWeight: '300',
|
|
583
468
|
lineHeight: 32
|
|
584
469
|
},
|
|
585
|
-
backButton: {
|
|
586
|
-
position: 'absolute',
|
|
587
|
-
top: 16,
|
|
588
|
-
left: 16,
|
|
589
|
-
width: 40,
|
|
590
|
-
height: 40,
|
|
591
|
-
borderRadius: 20,
|
|
592
|
-
backgroundColor: 'rgba(255, 255, 255, 0.1)',
|
|
593
|
-
justifyContent: 'center',
|
|
594
|
-
alignItems: 'center',
|
|
595
|
-
zIndex: 10
|
|
596
|
-
},
|
|
597
|
-
backButtonText: {
|
|
598
|
-
color: 'white',
|
|
599
|
-
fontSize: 32,
|
|
600
|
-
fontWeight: '300',
|
|
601
|
-
lineHeight: 32,
|
|
602
|
-
marginRight: 2
|
|
603
|
-
},
|
|
604
|
-
actions: {
|
|
605
|
-
width: '100%',
|
|
606
|
-
gap: 12
|
|
607
|
-
},
|
|
608
|
-
sheetContent: {
|
|
609
|
-
paddingHorizontal: 24,
|
|
610
|
-
paddingTop: 48,
|
|
611
|
-
paddingBottom: 32,
|
|
612
|
-
alignItems: 'center',
|
|
613
|
-
gap: 24,
|
|
614
|
-
width: '100%'
|
|
615
|
-
},
|
|
616
470
|
header: {
|
|
617
471
|
alignItems: 'center',
|
|
618
|
-
|
|
472
|
+
marginBottom: 32
|
|
619
473
|
},
|
|
620
474
|
title: {
|
|
621
|
-
fontSize:
|
|
622
|
-
fontWeight: '
|
|
623
|
-
marginTop:
|
|
475
|
+
fontSize: 28,
|
|
476
|
+
fontWeight: 'bold',
|
|
477
|
+
marginTop: 16
|
|
624
478
|
},
|
|
625
479
|
subtitle: {
|
|
626
|
-
fontSize:
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
maxWidth: 320
|
|
480
|
+
fontSize: 15,
|
|
481
|
+
marginTop: 8,
|
|
482
|
+
textAlign: 'center'
|
|
630
483
|
},
|
|
631
484
|
qrContainer: {
|
|
632
485
|
padding: 20,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useState","useEffect","useCallback","useRef","View","Text","TouchableOpacity","StyleSheet","Modal","Dimensions","Platform","Linking","useWindowDimensions","Animated","useSharedValue","useAnimatedStyle","withTiming","useSafeAreaInsets","io","QRCode","useTheme","Button","Loading","BottomSheet","useOxy","OxyLogo","createDebugLogger","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","debug","width","SCREEN_WIDTH","height","SCREEN_HEIGHT","get","AUTH_SESSION_EXPIRY_MS","POLLING_INTERVAL_MS","modalVisible","setModalVisibleCallback","visibilityListeners","Set","showSignInModal","listener","hideSignInModal","isSignInModalVisible","subscribeToSignInModal","add","delete","SignInModal","visible","setVisible","view","setView","authSession","setAuthSession","isLoading","setIsLoading","error","setError","isWaiting","setIsWaiting","insets","theme","windowWidth","isWide","oxyServices","switchSession","socketRef","pollingIntervalRef","isProcessingRef","sheetRef","opacity","scale","value","duration","generateAuthSession","current","present","dismiss","backdropStyle","contentStyle","transform","handleAuthSuccess","sessionId","OS","WebBrowser","dismissBrowser","getTokenBySession","err","cleanup","disconnect","clearInterval","connectSocket","sessionToken","baseURL","getBaseURL","socket","transports","reconnection","reconnectionAttempts","reconnectionDelay","on","log","emit","payload","status","Error","message","startPolling","setInterval","response","makeRequest","undefined","cache","authorized","generateSessionToken","expiresAt","Date","now","appId","chars","result","i","charAt","Math","floor","random","length","getQRData","handleOpenAuthPopup","authWebUrl","config","url","URL","port","origin","hostname","startsWith","slice","webUrl","searchParams","set","screenWidth","window","screen","screenHeight","left","top","open","toString","openBrowserAsync","presentationStyle","WebBrowserPresentationStyle","PAGE_SHEET","dismissButtonStyle","openURL","handleRefresh","handleClose","innerContent","children","style","styles","backButton","onPress","accessibilityLabel","backButtonText","closeButton","closeButtonText","loadingContainer","variant","size","className","loadingText","errorContainer","errorText","header","title","color","colors","text","subtitle","textSecondary","qrContainer","backgroundColor","dividerContainer","divider","border","dividerText","textTertiary","icon","fillColor","card","statusContainer","statusText","actions","ref","onDismiss","enablePanDownToClose","sheetContent","paddingBottom","bottom","transparent","animationType","statusBarTranslucent","onRequestClose","backdrop","overlay","absoluteFill","activeOpacity","content","paddingTop","create","flex","justifyContent","alignItems","maxWidth","paddingHorizontal","position","right","borderRadius","zIndex","fontSize","fontWeight","lineHeight","marginRight","gap","marginTop","textAlign","padding","flexDirection","marginVertical","marginHorizontal","marginLeft","paddingVertical","marginBottom"],"sourceRoot":"../../../../src","sources":["ui/components/SignInModal.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,SAASA,QAAQ,EAAEC,SAAS,EAAEC,WAAW,EAAEC,MAAM,QAAQ,OAAO;AAChE,SACIC,IAAI,EACJC,IAAI,EACJC,gBAAgB,EAChBC,UAAU,EACVC,KAAK,EACLC,UAAU,EACVC,QAAQ,EACRC,OAAO,EACPC,mBAAmB,QAChB,cAAc;AACrB,OAAOC,QAAQ,IACXC,cAAc,EACdC,gBAAgB,EAChBC,UAAU,QAEP,yBAAyB;AAChC,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,OAAOC,EAAE,MAAuB,kBAAkB;AAClD,OAAOC,MAAM,MAAM,yBAAyB;AAC5C,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,OAAO,QAAQ,sBAAsB;AAC9C,SAASC,WAAW,QAA6B,2BAA2B;AAC5E,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,OAAOC,OAAO,MAAM,cAAW;AAC/B,SAASC,iBAAiB,QAAQ,aAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,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E;IACNyC,QAAQ,EAAE,EAAE;IACZM,SAAS,EAAE,QAAQ;IACnBJ,UAAU,EAAE,EAAE;IACdR,QAAQ,EAAE;EACd,CAAC;EACDjC,WAAW,EAAE;IACT8C,OAAO,EAAE,EAAE;IACXT,YAAY,EAAE;EAClB,CAAC;EACDnC,gBAAgB,EAAE;IACd6C,aAAa,EAAE,KAAK;IACpBf,UAAU,EAAE,QAAQ;IACpBgB,cAAc,EAAE,EAAE;IAClBxM,KAAK,EAAE;EACX,CAAC;EACD2J,OAAO,EAAE;IACL2B,IAAI,EAAE,CAAC;IACPpL,MAAM,EAAE;EACZ,CAAC;EACD2J,WAAW,EAAE;IACT4C,gBAAgB,EAAE,EAAE;IACpBV,QAAQ,EAAE;EACd,CAAC;EACD7B,eAAe,EAAE;IACbqC,aAAa,EAAE,KAAK;IACpBf,UAAU,EAAE,QAAQ;IACpBY,SAAS,EAAE;EACf,CAAC;EACDjC,UAAU,EAAE;IACRuC,UAAU,EAAE,CAAC;IACbX,QAAQ,EAAE,EAAE;IACZ5C,KAAK,EAAE;EACX,CAAC;EACDT,gBAAgB,EAAE;IACd8C,UAAU,EAAE,QAAQ;IACpBmB,eAAe,EAAE;EACrB,CAAC;EACD7D,WAAW,EAAE;IACTsD,SAAS,EAAE,EAAE;IACbL,QAAQ,EAAE;EACd,CAAC;EACDhD,cAAc,EAAE;IACZyC,UAAU,EAAE,QAAQ;IACpBmB,eAAe,EAAE,EAAE;IACnB3M,KAAK,EAAE;EACX,CAAC;EACDgJ,SAAS,EAAE;IACP+C,QAAQ,EAAE,EAAE;IACZM,SAAS,EAAE,QAAQ;IACnBO,YAAY,EAAE;EAClB;AACJ,CAAC,CAAC;AAEF,eAAe1L,WAAW","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["useState","useEffect","useCallback","useRef","View","Text","TouchableOpacity","StyleSheet","Modal","Dimensions","Platform","Linking","Animated","useSharedValue","useAnimatedStyle","withTiming","useSafeAreaInsets","io","QRCode","useTheme","Button","Loading","useOxy","OxyLogo","createDebugLogger","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","debug","width","SCREEN_WIDTH","height","SCREEN_HEIGHT","get","AUTH_SESSION_EXPIRY_MS","POLLING_INTERVAL_MS","modalVisible","setModalVisibleCallback","visibilityListeners","Set","showSignInModal","listener","hideSignInModal","isSignInModalVisible","subscribeToSignInModal","add","delete","SignInModal","visible","setVisible","authSession","setAuthSession","isLoading","setIsLoading","error","setError","isWaiting","setIsWaiting","insets","theme","oxyServices","switchSession","socketRef","pollingIntervalRef","isProcessingRef","opacity","scale","value","duration","generateAuthSession","backdropStyle","contentStyle","transform","handleAuthSuccess","sessionId","sessionToken","current","claimSessionByToken","err","cleanup","disconnect","clearInterval","connectSocket","baseURL","getBaseURL","socket","transports","reconnection","reconnectionAttempts","reconnectionDelay","on","log","emit","payload","status","Error","message","startPolling","setInterval","response","makeRequest","undefined","cache","authorized","generateSessionToken","expiresAt","Date","now","appId","OS","bytes","Uint8Array","crypto","getRandomValues","Array","from","b","toString","padStart","join","getQRData","handleOpenAuthPopup","authWebUrl","config","url","URL","port","origin","hostname","startsWith","slice","webUrl","searchParams","set","screenWidth","window","screen","screenHeight","left","top","open","openURL","handleRefresh","handleClose","transparent","animationType","statusBarTranslucent","onRequestClose","children","style","styles","backdrop","backgroundColor","colors","overlay","absoluteFill","onPress","activeOpacity","content","paddingTop","paddingBottom","bottom","closeButton","closeButtonText","header","variant","size","className","title","subtitle","loadingContainer","loadingText","errorContainer","errorText","qrContainer","color","dividerContainer","divider","dividerText","icon","fillColor","card","statusContainer","statusText","create","flex","justifyContent","alignItems","maxWidth","paddingHorizontal","position","right","borderRadius","zIndex","fontSize","fontWeight","lineHeight","marginBottom","marginTop","textAlign","padding","flexDirection","marginVertical","marginHorizontal","marginLeft","paddingVertical"],"sourceRoot":"../../../../src","sources":["ui/components/SignInModal.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,SAASA,QAA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,CAAC,CAAC;AAEF,eAAetJ,WAAW","ignoreList":[]}
|
|
@@ -5,7 +5,6 @@ import { View, Platform } from 'react-native';
|
|
|
5
5
|
import Animated, { useSharedValue, useAnimatedStyle, withTiming } from 'react-native-reanimated';
|
|
6
6
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
7
7
|
import { createAuthStyles } from "../styles/index.js";
|
|
8
|
-
import { fontFamilies } from "../styles/fonts.js";
|
|
9
8
|
import { screenContentStyle } from "../constants/spacing.js";
|
|
10
9
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
11
10
|
|
|
@@ -116,7 +115,6 @@ const StepBasedScreen = ({
|
|
|
116
115
|
marginBottom: 24
|
|
117
116
|
},
|
|
118
117
|
modernTitle: {
|
|
119
|
-
fontFamily: fontFamilies.interBold,
|
|
120
118
|
fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
|
|
121
119
|
fontSize: 42,
|
|
122
120
|
lineHeight: 50.4,
|