@oxyhq/services 5.16.22 → 5.16.23
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/ui/components/internal/PinInput.js.map +0 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditUsernameModal.js.map +0 -1
- package/lib/commonjs/ui/components/styles/shadow.js.map +0 -1
- package/lib/commonjs/ui/components/types.js.map +0 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +0 -1
- package/lib/commonjs/ui/constants/theme.js.map +0 -1
- package/lib/commonjs/ui/context/ThemeContext.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useStorage.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeStyles.js.map +0 -1
- package/lib/commonjs/ui/isFrontend.js.map +0 -1
- package/lib/commonjs/ui/navigation/routes.js.map +0 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +0 -1
- package/lib/commonjs/ui/stores/followStore.js.map +0 -1
- package/lib/commonjs/ui/styles/theme.js.map +0 -1
- package/lib/commonjs/ui/types/navigation.js.map +0 -1
- package/lib/commonjs/ui/utils/avatarUtils.js.map +0 -1
- package/lib/commonjs/utils/validationUtils.js.map +0 -1
- package/lib/module/ui/components/TextField/Label/LabelBackground.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/utils.js.map +0 -1
- package/lib/module/ui/components/Typography/types.js.map +0 -1
- package/lib/module/ui/components/fileManagement/styles.js.map +0 -1
- package/lib/module/ui/components/icon/index.js.map +0 -1
- package/lib/module/ui/components/internal/PinInput.js.map +0 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
- package/lib/module/ui/components/profile/EditLocationModal.js.map +0 -1
- package/lib/module/ui/components/styles/shadow.js.map +0 -1
- package/lib/module/ui/components/types.js.map +0 -1
- package/lib/module/ui/components/utils/splitStyles.js.map +0 -1
- package/lib/module/ui/constants/theme.js.map +0 -1
- package/lib/module/ui/context/ThemeContext.js.map +0 -1
- package/lib/module/ui/context/hooks/useStorage.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +0 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +0 -1
- package/lib/module/ui/hooks/useThemeStyles.js.map +0 -1
- package/lib/module/ui/isFrontend.js.map +0 -1
- package/lib/module/ui/navigation/routes.js.map +0 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +0 -1
- package/lib/module/ui/stores/followStore.js.map +0 -1
- package/lib/module/ui/styles/theme.js.map +0 -1
- package/lib/module/ui/types/navigation.js.map +0 -1
- package/lib/module/ui/utils/user-utils.js.map +0 -1
- package/lib/module/utils/sessionUtils.js.map +0 -1
- package/package.json +1 -1
- package/src/core/HttpService.ts +15 -95
- package/src/core/OxyServices.base.ts +3 -20
- package/src/core/services/SessionService.ts +173 -0
- package/src/core/services/TokenService.ts +226 -0
- package/src/models/interfaces.ts +16 -2
- package/src/models/session.ts +8 -1
- package/src/ui/context/OxyContext.tsx +104 -23
- package/src/ui/context/hooks/useAuthOperations.ts +11 -3
- package/src/ui/hooks/useSessionSocket.ts +224 -55
- package/lib/commonjs/assets/OxyLogo.svg +0 -1
- package/lib/commonjs/assets/assets/OxyLogo.svg +0 -1
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- package/lib/commonjs/assets/assets/icons/OxyServices.tsx +0 -67
- package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +0 -41
- package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- 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 -59
- package/lib/commonjs/assets/illustrations/HighFive.js.map +0 -1
- package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/commonjs/constants/version.js +0 -28
- package/lib/commonjs/constants/version.js.map +0 -1
- package/lib/commonjs/core/HttpService.js +0 -571
- package/lib/commonjs/core/HttpService.js.map +0 -1
- package/lib/commonjs/core/OxyServices.base.js +0 -291
- package/lib/commonjs/core/OxyServices.base.js.map +0 -1
- package/lib/commonjs/core/OxyServices.errors.js +0 -26
- package/lib/commonjs/core/OxyServices.errors.js.map +0 -1
- package/lib/commonjs/core/OxyServices.js +0 -146
- package/lib/commonjs/core/OxyServices.js.map +0 -1
- package/lib/commonjs/core/index.js +0 -126
- package/lib/commonjs/core/index.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.analytics.js +0 -60
- package/lib/commonjs/core/mixins/OxyServices.analytics.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.assets.js +0 -375
- package/lib/commonjs/core/mixins/OxyServices.assets.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.auth.js +0 -271
- package/lib/commonjs/core/mixins/OxyServices.auth.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.developer.js +0 -115
- package/lib/commonjs/core/mixins/OxyServices.developer.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.devices.js +0 -133
- package/lib/commonjs/core/mixins/OxyServices.devices.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.karma.js +0 -117
- package/lib/commonjs/core/mixins/OxyServices.karma.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.language.js +0 -124
- package/lib/commonjs/core/mixins/OxyServices.language.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.location.js +0 -55
- package/lib/commonjs/core/mixins/OxyServices.location.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.payment.js +0 -168
- package/lib/commonjs/core/mixins/OxyServices.payment.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.privacy.js +0 -174
- package/lib/commonjs/core/mixins/OxyServices.privacy.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.security.js +0 -96
- package/lib/commonjs/core/mixins/OxyServices.security.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.user.js +0 -393
- package/lib/commonjs/core/mixins/OxyServices.user.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.utility.js +0 -165
- package/lib/commonjs/core/mixins/OxyServices.utility.js.map +0 -1
- package/lib/commonjs/core/mixins/index.js +0 -39
- package/lib/commonjs/core/mixins/index.js.map +0 -1
- package/lib/commonjs/core/mixins/mixinHelpers.js +0 -62
- package/lib/commonjs/core/mixins/mixinHelpers.js.map +0 -1
- package/lib/commonjs/crypto/index.js +0 -27
- package/lib/commonjs/crypto/index.js.map +0 -1
- package/lib/commonjs/crypto/keyManager.js +0 -511
- package/lib/commonjs/crypto/keyManager.js.map +0 -1
- package/lib/commonjs/crypto/polyfill.js +0 -86
- package/lib/commonjs/crypto/polyfill.js.map +0 -1
- package/lib/commonjs/crypto/signatureService.js +0 -289
- package/lib/commonjs/crypto/signatureService.js.map +0 -1
- package/lib/commonjs/crypto/types.js +0 -2
- package/lib/commonjs/crypto/types.js.map +0 -1
- package/lib/commonjs/i18n/index.js +0 -76
- package/lib/commonjs/i18n/index.js.map +0 -1
- package/lib/commonjs/i18n/locales/ar-SA.json +0 -120
- package/lib/commonjs/i18n/locales/ca-ES.json +0 -120
- package/lib/commonjs/i18n/locales/de-DE.json +0 -120
- package/lib/commonjs/i18n/locales/en-US.json +0 -956
- package/lib/commonjs/i18n/locales/es-ES.json +0 -723
- package/lib/commonjs/i18n/locales/fr-FR.json +0 -120
- package/lib/commonjs/i18n/locales/it-IT.json +0 -120
- package/lib/commonjs/i18n/locales/ja-JP.json +0 -119
- package/lib/commonjs/i18n/locales/ko-KR.json +0 -120
- package/lib/commonjs/i18n/locales/pt-PT.json +0 -120
- package/lib/commonjs/i18n/locales/zh-CN.json +0 -120
- package/lib/commonjs/index.js +0 -601
- package/lib/commonjs/index.js.map +0 -1
- 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 -23
- package/lib/commonjs/lib/sonner.js.map +0 -1
- package/lib/commonjs/models/interfaces.js +0 -61
- package/lib/commonjs/models/interfaces.js.map +0 -1
- package/lib/commonjs/models/session.js +0 -2
- package/lib/commonjs/models/session.js.map +0 -1
- package/lib/commonjs/node/index.js +0 -59
- package/lib/commonjs/node/index.js.map +0 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js +0 -203
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +0 -1
- package/lib/commonjs/ui/components/AnimationExample.js +0 -213
- package/lib/commonjs/ui/components/AnimationExample.js.map +0 -1
- package/lib/commonjs/ui/components/AutoHeightScrollView.js +0 -46
- package/lib/commonjs/ui/components/AutoHeightScrollView.js.map +0 -1
- package/lib/commonjs/ui/components/Avatar.js +0 -172
- package/lib/commonjs/ui/components/Avatar.js.map +0 -1
- package/lib/commonjs/ui/components/BottomSheet.js +0 -407
- package/lib/commonjs/ui/components/BottomSheet.js.map +0 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +0 -366
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +0 -1
- package/lib/commonjs/ui/components/CrossFadeIcon.js +0 -106
- package/lib/commonjs/ui/components/CrossFadeIcon.js.map +0 -1
- package/lib/commonjs/ui/components/EmptyState.js +0 -41
- package/lib/commonjs/ui/components/EmptyState.js.map +0 -1
- package/lib/commonjs/ui/components/ErrorBoundary.js +0 -145
- package/lib/commonjs/ui/components/ErrorBoundary.js.map +0 -1
- package/lib/commonjs/ui/components/FollowButton.js +0 -230
- package/lib/commonjs/ui/components/FollowButton.js.map +0 -1
- package/lib/commonjs/ui/components/FontLoader.js +0 -162
- package/lib/commonjs/ui/components/FontLoader.js.map +0 -1
- package/lib/commonjs/ui/components/GroupedItem.js +0 -140
- package/lib/commonjs/ui/components/GroupedItem.js.map +0 -1
- package/lib/commonjs/ui/components/GroupedSection.js +0 -42
- package/lib/commonjs/ui/components/GroupedSection.js.map +0 -1
- package/lib/commonjs/ui/components/Header.js +0 -434
- package/lib/commonjs/ui/components/Header.js.map +0 -1
- package/lib/commonjs/ui/components/HelperText.js +0 -103
- package/lib/commonjs/ui/components/HelperText.js.map +0 -1
- package/lib/commonjs/ui/components/Icon.js +0 -109
- package/lib/commonjs/ui/components/Icon.js.map +0 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js +0 -159
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/commonjs/ui/components/IconButton/utils.js +0 -155
- package/lib/commonjs/ui/components/IconButton/utils.js.map +0 -1
- package/lib/commonjs/ui/components/LoadingState.js +0 -47
- package/lib/commonjs/ui/components/LoadingState.js.map +0 -1
- package/lib/commonjs/ui/components/OxyLogo.js +0 -54
- package/lib/commonjs/ui/components/OxyLogo.js.map +0 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +0 -117
- package/lib/commonjs/ui/components/OxyPayButton.js.map +0 -1
- package/lib/commonjs/ui/components/OxyProvider.js +0 -144
- package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +0 -180
- package/lib/commonjs/ui/components/OxySignInButton.js.map +0 -1
- package/lib/commonjs/ui/components/ProfileCard.js +0 -138
- package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
- package/lib/commonjs/ui/components/QuickActions.js +0 -88
- package/lib/commonjs/ui/components/QuickActions.js.map +0 -1
- package/lib/commonjs/ui/components/Section.js +0 -39
- package/lib/commonjs/ui/components/Section.js.map +0 -1
- package/lib/commonjs/ui/components/SectionTitle.js +0 -35
- package/lib/commonjs/ui/components/SectionTitle.js.map +0 -1
- package/lib/commonjs/ui/components/SettingRow.js +0 -77
- package/lib/commonjs/ui/components/SettingRow.js.map +0 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +0 -397
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +0 -1
- package/lib/commonjs/ui/components/Surface.js +0 -258
- package/lib/commonjs/ui/components/Surface.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Addons/Outline.js +0 -46
- package/lib/commonjs/ui/components/TextField/Addons/Outline.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js +0 -53
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -155
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +0 -144
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +0 -137
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js +0 -22
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/types.js +0 -6
- package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js +0 -62
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +0 -176
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +0 -84
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +0 -379
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +0 -363
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/constants.js +0 -50
- package/lib/commonjs/ui/components/TextField/constants.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/helpers.js +0 -490
- package/lib/commonjs/ui/components/TextField/helpers.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/types.js +0 -6
- package/lib/commonjs/ui/components/TextField/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField.js +0 -339
- package/lib/commonjs/ui/components/TextField.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js +0 -12
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +0 -258
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +0 -107
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/utils.js +0 -56
- package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +0 -1
- package/lib/commonjs/ui/components/Typography/AnimatedText.js +0 -62
- package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/commonjs/ui/components/Typography/types.js +0 -26
- package/lib/commonjs/ui/components/Typography/types.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +0 -171
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +0 -409
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +0 -181
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/styles.js +0 -868
- package/lib/commonjs/ui/components/fileManagement/styles.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/icon/OxyIcon.js +0 -25
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/commonjs/ui/components/icon/index.js +0 -21
- package/lib/commonjs/ui/components/icon/index.js.map +0 -1
- package/lib/commonjs/ui/components/index.js +0 -132
- package/lib/commonjs/ui/components/index.js.map +0 -1
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +0 -209
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +0 -1
- package/lib/commonjs/ui/components/internal/PinInput.js +0 -115
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +0 -161
- package/lib/commonjs/ui/components/profile/EditBioModal.js +0 -181
- package/lib/commonjs/ui/components/profile/EditBioModal.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js +0 -204
- package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditEmailModal.js +0 -184
- package/lib/commonjs/ui/components/profile/EditEmailModal.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditLinksModal.js +0 -315
- package/lib/commonjs/ui/components/profile/EditLinksModal.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditLocationModal.js +0 -273
- package/lib/commonjs/ui/components/profile/EditLocationModal.js.map +0 -1
- package/lib/commonjs/ui/components/profile/EditUsernameModal.js +0 -180
- package/lib/commonjs/ui/components/styles/overlay.js +0 -85
- package/lib/commonjs/ui/components/styles/overlay.js.map +0 -1
- package/lib/commonjs/ui/components/styles/shadow.js +0 -132
- package/lib/commonjs/ui/components/theming.js +0 -116
- package/lib/commonjs/ui/components/theming.js.map +0 -1
- package/lib/commonjs/ui/components/types.js +0 -2
- package/lib/commonjs/ui/components/utils/forwardRef.js +0 -18
- package/lib/commonjs/ui/components/utils/forwardRef.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/constants/iconColors.js +0 -84
- package/lib/commonjs/ui/constants/iconColors.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/constants/theme.js +0 -123
- package/lib/commonjs/ui/context/OxyContext.js +0 -772
- package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
- package/lib/commonjs/ui/context/ThemeContext.js +0 -36
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +0 -613
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useDeviceManagement.js +0 -73
- package/lib/commonjs/ui/context/hooks/useDeviceManagement.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useLanguageManagement.js +0 -112
- package/lib/commonjs/ui/context/hooks/useLanguageManagement.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useSessionManagement.js +0 -281
- package/lib/commonjs/ui/context/hooks/useSessionManagement.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useStorage.js +0 -79
- package/lib/commonjs/ui/hooks/index.js +0 -46
- package/lib/commonjs/ui/hooks/index.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/index.js +0 -68
- package/lib/commonjs/ui/hooks/mutations/index.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +0 -551
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +0 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +0 -193
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/index.js +0 -118
- package/lib/commonjs/ui/hooks/queries/index.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -96
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +0 -219
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +0 -58
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +0 -186
- package/lib/commonjs/ui/hooks/queryClient.js +0 -117
- package/lib/commonjs/ui/hooks/queryClient.js.map +0 -1
- package/lib/commonjs/ui/hooks/use-color-scheme.js +0 -29
- package/lib/commonjs/ui/hooks/use-color-scheme.js.map +0 -1
- package/lib/commonjs/ui/hooks/use-haptic-press.js +0 -21
- package/lib/commonjs/ui/hooks/use-haptic-press.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAssets.js +0 -245
- package/lib/commonjs/ui/hooks/useAssets.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 -103
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFollow.js +0 -167
- package/lib/commonjs/ui/hooks/useFollow.js.map +0 -1
- package/lib/commonjs/ui/hooks/useFollow.types.js +0 -2
- package/lib/commonjs/ui/hooks/useFollow.types.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 -112
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +0 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +0 -107
- 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/useSessionManagement.js +0 -281
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +0 -1
- package/lib/commonjs/ui/hooks/useSessionSocket.js +0 -303
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +0 -1
- package/lib/commonjs/ui/hooks/useStorage.js +0 -79
- package/lib/commonjs/ui/hooks/useStorage.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js +0 -31
- package/lib/commonjs/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeStyles.js +0 -69
- package/lib/commonjs/ui/index.js +0 -101
- package/lib/commonjs/ui/index.js.map +0 -1
- package/lib/commonjs/ui/isFrontend.js +0 -10
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +0 -180
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +0 -1
- package/lib/commonjs/ui/navigation/routes.js +0 -88
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +0 -329
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +0 -752
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +0 -2163
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +0 -703
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +0 -210
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +0 -414
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +0 -1191
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +0 -2333
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +0 -134
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +0 -218
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +0 -218
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +0 -184
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +0 -537
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +0 -1587
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +0 -1647
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +0 -472
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +0 -647
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +0 -167
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +0 -166
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +0 -445
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -86
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +0 -434
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +0 -98
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +0 -343
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +0 -194
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +0 -151
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +0 -609
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +0 -109
- package/lib/commonjs/ui/stores/accountStore.js +0 -252
- 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 -85
- package/lib/commonjs/ui/stores/authStore.js.map +0 -1
- package/lib/commonjs/ui/stores/fileStore.js +0 -153
- package/lib/commonjs/ui/stores/fileStore.js.map +0 -1
- package/lib/commonjs/ui/stores/followStore.js +0 -229
- package/lib/commonjs/ui/styles/authStyles.js +0 -338
- package/lib/commonjs/ui/styles/authStyles.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/commonjs/ui/styles/index.js +0 -50
- package/lib/commonjs/ui/styles/index.js.map +0 -1
- package/lib/commonjs/ui/styles/spacing.js +0 -109
- package/lib/commonjs/ui/styles/spacing.js.map +0 -1
- package/lib/commonjs/ui/styles/theme.js +0 -121
- 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/utils/avatarUtils.js +0 -131
- package/lib/commonjs/ui/utils/colorUtils.js +0 -52
- package/lib/commonjs/ui/utils/colorUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/confirmAction.js +0 -28
- package/lib/commonjs/ui/utils/confirmAction.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 -260
- package/lib/commonjs/ui/utils/fileManagement.js.map +0 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js +0 -101
- 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/themeUtils.js +0 -47
- package/lib/commonjs/ui/utils/themeUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/user-utils.js +0 -53
- package/lib/commonjs/ui/utils/user-utils.js.map +0 -1
- package/lib/commonjs/utils/apiUtils.js +0 -79
- package/lib/commonjs/utils/apiUtils.js.map +0 -1
- package/lib/commonjs/utils/asyncUtils.js +0 -207
- package/lib/commonjs/utils/asyncUtils.js.map +0 -1
- package/lib/commonjs/utils/cache.js +0 -259
- package/lib/commonjs/utils/cache.js.map +0 -1
- package/lib/commonjs/utils/deviceManager.js +0 -177
- package/lib/commonjs/utils/deviceManager.js.map +0 -1
- package/lib/commonjs/utils/errorUtils.js +0 -181
- package/lib/commonjs/utils/errorUtils.js.map +0 -1
- package/lib/commonjs/utils/hookUtils.js +0 -399
- package/lib/commonjs/utils/hookUtils.js.map +0 -1
- package/lib/commonjs/utils/index.js +0 -106
- package/lib/commonjs/utils/index.js.map +0 -1
- package/lib/commonjs/utils/languageUtils.js +0 -159
- package/lib/commonjs/utils/languageUtils.js.map +0 -1
- package/lib/commonjs/utils/loggerUtils.js +0 -160
- package/lib/commonjs/utils/loggerUtils.js.map +0 -1
- package/lib/commonjs/utils/requestUtils.js +0 -217
- package/lib/commonjs/utils/requestUtils.js.map +0 -1
- package/lib/commonjs/utils/sessionUtils.js +0 -191
- package/lib/commonjs/utils/sessionUtils.js.map +0 -1
- package/lib/commonjs/utils/validationUtils.js +0 -191
- package/lib/module/assets/OxyLogo.svg +0 -1
- package/lib/module/assets/assets/OxyLogo.svg +0 -1
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- package/lib/module/assets/assets/icons/OxyServices.tsx +0 -67
- package/lib/module/assets/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/module/assets/assets/illustrations/HighFive.tsx +0 -41
- package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/module/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- 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 -54
- package/lib/module/assets/illustrations/HighFive.js.map +0 -1
- package/lib/module/assets/lottie/welcomeheader_background_op1.json +0 -1
- package/lib/module/constants/version.js +0 -21
- package/lib/module/constants/version.js.map +0 -1
- package/lib/module/core/HttpService.js +0 -566
- package/lib/module/core/HttpService.js.map +0 -1
- package/lib/module/core/OxyServices.base.js +0 -285
- package/lib/module/core/OxyServices.base.js.map +0 -1
- package/lib/module/core/OxyServices.errors.js +0 -20
- package/lib/module/core/OxyServices.errors.js.map +0 -1
- package/lib/module/core/OxyServices.js +0 -131
- package/lib/module/core/OxyServices.js.map +0 -1
- package/lib/module/core/index.js +0 -27
- package/lib/module/core/index.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.analytics.js +0 -56
- package/lib/module/core/mixins/OxyServices.analytics.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.assets.js +0 -371
- package/lib/module/core/mixins/OxyServices.assets.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.auth.js +0 -267
- package/lib/module/core/mixins/OxyServices.auth.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.developer.js +0 -111
- package/lib/module/core/mixins/OxyServices.developer.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.devices.js +0 -129
- package/lib/module/core/mixins/OxyServices.devices.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.karma.js +0 -113
- package/lib/module/core/mixins/OxyServices.karma.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.language.js +0 -120
- package/lib/module/core/mixins/OxyServices.language.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.location.js +0 -51
- package/lib/module/core/mixins/OxyServices.location.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.payment.js +0 -164
- package/lib/module/core/mixins/OxyServices.payment.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.privacy.js +0 -170
- package/lib/module/core/mixins/OxyServices.privacy.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.security.js +0 -92
- package/lib/module/core/mixins/OxyServices.security.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.user.js +0 -389
- package/lib/module/core/mixins/OxyServices.user.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.utility.js +0 -160
- package/lib/module/core/mixins/OxyServices.utility.js.map +0 -1
- package/lib/module/core/mixins/index.js +0 -36
- package/lib/module/core/mixins/index.js.map +0 -1
- package/lib/module/core/mixins/mixinHelpers.js +0 -56
- package/lib/module/core/mixins/mixinHelpers.js.map +0 -1
- package/lib/module/crypto/index.js +0 -16
- package/lib/module/crypto/index.js.map +0 -1
- package/lib/module/crypto/keyManager.js +0 -508
- package/lib/module/crypto/keyManager.js.map +0 -1
- package/lib/module/crypto/polyfill.js +0 -78
- package/lib/module/crypto/polyfill.js.map +0 -1
- package/lib/module/crypto/signatureService.js +0 -286
- package/lib/module/crypto/signatureService.js.map +0 -1
- package/lib/module/crypto/types.js +0 -2
- package/lib/module/crypto/types.js.map +0 -1
- package/lib/module/i18n/index.js +0 -71
- package/lib/module/i18n/index.js.map +0 -1
- package/lib/module/i18n/locales/ar-SA.json +0 -120
- package/lib/module/i18n/locales/ca-ES.json +0 -120
- package/lib/module/i18n/locales/de-DE.json +0 -120
- package/lib/module/i18n/locales/en-US.json +0 -956
- package/lib/module/i18n/locales/es-ES.json +0 -723
- package/lib/module/i18n/locales/fr-FR.json +0 -120
- package/lib/module/i18n/locales/it-IT.json +0 -120
- package/lib/module/i18n/locales/ja-JP.json +0 -119
- package/lib/module/i18n/locales/ko-KR.json +0 -120
- package/lib/module/i18n/locales/pt-PT.json +0 -120
- package/lib/module/i18n/locales/zh-CN.json +0 -120
- package/lib/module/index.js +0 -74
- package/lib/module/index.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 -19
- package/lib/module/lib/sonner.js.map +0 -1
- package/lib/module/models/interfaces.js +0 -57
- package/lib/module/models/interfaces.js.map +0 -1
- package/lib/module/models/session.js +0 -2
- package/lib/module/models/session.js.map +0 -1
- package/lib/module/node/index.js +0 -20
- package/lib/module/node/index.js.map +0 -1
- package/lib/module/ui/components/ActivityIndicator.js +0 -198
- package/lib/module/ui/components/ActivityIndicator.js.map +0 -1
- package/lib/module/ui/components/AnimationExample.js +0 -209
- package/lib/module/ui/components/AnimationExample.js.map +0 -1
- package/lib/module/ui/components/AutoHeightScrollView.js +0 -41
- package/lib/module/ui/components/AutoHeightScrollView.js.map +0 -1
- package/lib/module/ui/components/Avatar.js +0 -168
- package/lib/module/ui/components/Avatar.js.map +0 -1
- package/lib/module/ui/components/BottomSheet.js +0 -402
- package/lib/module/ui/components/BottomSheet.js.map +0 -1
- package/lib/module/ui/components/BottomSheetRouter.js +0 -356
- package/lib/module/ui/components/BottomSheetRouter.js.map +0 -1
- package/lib/module/ui/components/CrossFadeIcon.js +0 -101
- package/lib/module/ui/components/CrossFadeIcon.js.map +0 -1
- package/lib/module/ui/components/EmptyState.js +0 -36
- package/lib/module/ui/components/EmptyState.js.map +0 -1
- package/lib/module/ui/components/ErrorBoundary.js +0 -139
- package/lib/module/ui/components/ErrorBoundary.js.map +0 -1
- package/lib/module/ui/components/FollowButton.js +0 -226
- package/lib/module/ui/components/FollowButton.js.map +0 -1
- package/lib/module/ui/components/FontLoader.js +0 -157
- package/lib/module/ui/components/FontLoader.js.map +0 -1
- package/lib/module/ui/components/GroupedItem.js +0 -135
- package/lib/module/ui/components/GroupedItem.js.map +0 -1
- package/lib/module/ui/components/GroupedSection.js +0 -37
- package/lib/module/ui/components/GroupedSection.js.map +0 -1
- package/lib/module/ui/components/Header.js +0 -428
- package/lib/module/ui/components/Header.js.map +0 -1
- package/lib/module/ui/components/HelperText.js +0 -99
- package/lib/module/ui/components/HelperText.js.map +0 -1
- package/lib/module/ui/components/Icon.js +0 -102
- package/lib/module/ui/components/Icon.js.map +0 -1
- package/lib/module/ui/components/IconButton/IconButton.js +0 -153
- package/lib/module/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/module/ui/components/IconButton/utils.js +0 -149
- package/lib/module/ui/components/IconButton/utils.js.map +0 -1
- package/lib/module/ui/components/LoadingState.js +0 -42
- package/lib/module/ui/components/LoadingState.js.map +0 -1
- package/lib/module/ui/components/OxyLogo.js +0 -48
- package/lib/module/ui/components/OxyLogo.js.map +0 -1
- package/lib/module/ui/components/OxyPayButton.js +0 -112
- package/lib/module/ui/components/OxyPayButton.js.map +0 -1
- package/lib/module/ui/components/OxyProvider.js +0 -140
- package/lib/module/ui/components/OxyProvider.js.map +0 -1
- package/lib/module/ui/components/OxySignInButton.js +0 -174
- package/lib/module/ui/components/OxySignInButton.js.map +0 -1
- package/lib/module/ui/components/ProfileCard.js +0 -133
- package/lib/module/ui/components/ProfileCard.js.map +0 -1
- package/lib/module/ui/components/QuickActions.js +0 -84
- package/lib/module/ui/components/QuickActions.js.map +0 -1
- package/lib/module/ui/components/Section.js +0 -34
- package/lib/module/ui/components/Section.js.map +0 -1
- package/lib/module/ui/components/SectionTitle.js +0 -31
- package/lib/module/ui/components/SectionTitle.js.map +0 -1
- package/lib/module/ui/components/SettingRow.js +0 -72
- package/lib/module/ui/components/SettingRow.js.map +0 -1
- package/lib/module/ui/components/StepBasedScreen.js +0 -392
- package/lib/module/ui/components/StepBasedScreen.js.map +0 -1
- package/lib/module/ui/components/Surface.js +0 -252
- package/lib/module/ui/components/Surface.js.map +0 -1
- package/lib/module/ui/components/TextField/Addons/Outline.js +0 -40
- package/lib/module/ui/components/TextField/Addons/Outline.js.map +0 -1
- package/lib/module/ui/components/TextField/Addons/Underline.js +0 -47
- package/lib/module/ui/components/TextField/Addons/Underline.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -148
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +0 -141
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +0 -135
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/enums.js +0 -18
- package/lib/module/ui/components/TextField/Adornment/enums.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/types.js +0 -4
- package/lib/module/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/utils.js +0 -57
- package/lib/module/ui/components/TextField/Adornment/utils.js.map +0 -1
- package/lib/module/ui/components/TextField/Label/InputLabel.js +0 -171
- package/lib/module/ui/components/TextField/Label/InputLabel.js.map +0 -1
- package/lib/module/ui/components/TextField/Label/LabelBackground.js +0 -78
- package/lib/module/ui/components/TextField/TextFieldFlat.js +0 -374
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +0 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +0 -357
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +0 -1
- package/lib/module/ui/components/TextField/constants.js +0 -46
- package/lib/module/ui/components/TextField/constants.js.map +0 -1
- package/lib/module/ui/components/TextField/helpers.js +0 -472
- package/lib/module/ui/components/TextField/helpers.js.map +0 -1
- package/lib/module/ui/components/TextField/types.js +0 -4
- package/lib/module/ui/components/TextField/types.js.map +0 -1
- package/lib/module/ui/components/TextField.js +0 -333
- package/lib/module/ui/components/TextField.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/Pressable.js +0 -9
- package/lib/module/ui/components/TouchableRipple/Pressable.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +0 -253
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +0 -101
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/utils.js +0 -50
- package/lib/module/ui/components/Typography/AnimatedText.js +0 -56
- package/lib/module/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/module/ui/components/Typography/types.js +0 -22
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +0 -165
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +0 -402
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +0 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -175
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +0 -1
- package/lib/module/ui/components/fileManagement/styles.js +0 -864
- 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/icon/OxyIcon.js +0 -21
- package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/module/ui/components/icon/index.js +0 -5
- package/lib/module/ui/components/index.js +0 -22
- package/lib/module/ui/components/index.js.map +0 -1
- package/lib/module/ui/components/internal/GroupedPillButtons.js +0 -205
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +0 -1
- package/lib/module/ui/components/internal/PinInput.js +0 -110
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +0 -156
- package/lib/module/ui/components/profile/EditBioModal.js +0 -175
- package/lib/module/ui/components/profile/EditBioModal.js.map +0 -1
- package/lib/module/ui/components/profile/EditDisplayNameModal.js +0 -198
- package/lib/module/ui/components/profile/EditDisplayNameModal.js.map +0 -1
- package/lib/module/ui/components/profile/EditEmailModal.js +0 -178
- package/lib/module/ui/components/profile/EditEmailModal.js.map +0 -1
- package/lib/module/ui/components/profile/EditLinksModal.js +0 -309
- package/lib/module/ui/components/profile/EditLinksModal.js.map +0 -1
- package/lib/module/ui/components/profile/EditLocationModal.js +0 -267
- package/lib/module/ui/components/profile/EditUsernameModal.js +0 -174
- package/lib/module/ui/components/profile/EditUsernameModal.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 -128
- package/lib/module/ui/components/theming.js +0 -111
- package/lib/module/ui/components/theming.js.map +0 -1
- package/lib/module/ui/components/types.js +0 -2
- package/lib/module/ui/components/utils/forwardRef.js +0 -13
- package/lib/module/ui/components/utils/forwardRef.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/constants/iconColors.js +0 -78
- package/lib/module/ui/constants/iconColors.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/constants/theme.js +0 -119
- package/lib/module/ui/context/OxyContext.js +0 -766
- package/lib/module/ui/context/OxyContext.js.map +0 -1
- package/lib/module/ui/context/ThemeContext.js +0 -29
- package/lib/module/ui/context/hooks/useAuthOperations.js +0 -607
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +0 -1
- package/lib/module/ui/context/hooks/useDeviceManagement.js +0 -68
- package/lib/module/ui/context/hooks/useDeviceManagement.js.map +0 -1
- package/lib/module/ui/context/hooks/useLanguageManagement.js +0 -107
- package/lib/module/ui/context/hooks/useLanguageManagement.js.map +0 -1
- package/lib/module/ui/context/hooks/useSessionManagement.js +0 -276
- package/lib/module/ui/context/hooks/useSessionManagement.js.map +0 -1
- package/lib/module/ui/context/hooks/useStorage.js +0 -74
- package/lib/module/ui/hooks/index.js +0 -7
- package/lib/module/ui/hooks/index.js.map +0 -1
- package/lib/module/ui/hooks/mutations/index.js +0 -15
- package/lib/module/ui/hooks/mutations/index.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +0 -543
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +0 -185
- package/lib/module/ui/hooks/queries/index.js +0 -21
- package/lib/module/ui/hooks/queries/index.js.map +0 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +0 -89
- package/lib/module/ui/hooks/queries/queryKeys.js.map +0 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +0 -209
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +0 -52
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +0 -178
- package/lib/module/ui/hooks/queryClient.js +0 -110
- package/lib/module/ui/hooks/queryClient.js.map +0 -1
- package/lib/module/ui/hooks/use-color-scheme.js +0 -26
- package/lib/module/ui/hooks/use-color-scheme.js.map +0 -1
- package/lib/module/ui/hooks/use-haptic-press.js +0 -17
- package/lib/module/ui/hooks/use-haptic-press.js.map +0 -1
- package/lib/module/ui/hooks/useAssets.js +0 -239
- package/lib/module/ui/hooks/useAssets.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 -97
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +0 -1
- package/lib/module/ui/hooks/useFollow.js +0 -161
- package/lib/module/ui/hooks/useFollow.js.map +0 -1
- package/lib/module/ui/hooks/useFollow.types.js +0 -2
- package/lib/module/ui/hooks/useFollow.types.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 -107
- package/lib/module/ui/hooks/useLanguageManagement.js.map +0 -1
- package/lib/module/ui/hooks/useProfileEditing.js +0 -102
- 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/useSessionManagement.js +0 -276
- package/lib/module/ui/hooks/useSessionManagement.js.map +0 -1
- package/lib/module/ui/hooks/useSessionSocket.js +0 -298
- package/lib/module/ui/hooks/useSessionSocket.js.map +0 -1
- package/lib/module/ui/hooks/useStorage.js +0 -74
- package/lib/module/ui/hooks/useStorage.js.map +0 -1
- package/lib/module/ui/hooks/useThemeColors.js +0 -27
- package/lib/module/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/module/ui/hooks/useThemeStyles.js +0 -64
- package/lib/module/ui/index.js +0 -63
- package/lib/module/ui/index.js.map +0 -1
- package/lib/module/ui/isFrontend.js +0 -6
- package/lib/module/ui/navigation/bottomSheetManager.js +0 -168
- package/lib/module/ui/navigation/bottomSheetManager.js.map +0 -1
- package/lib/module/ui/navigation/routes.js +0 -82
- package/lib/module/ui/screens/AccountCenterScreen.js +0 -324
- package/lib/module/ui/screens/AccountCenterScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +0 -747
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +0 -2158
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +0 -698
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +0 -205
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +0 -1
- package/lib/module/ui/screens/AppInfoScreen.js +0 -409
- package/lib/module/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/module/ui/screens/FeedbackScreen.js +0 -1186
- package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/module/ui/screens/FileManagementScreen.js +0 -2327
- package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +0 -129
- package/lib/module/ui/screens/HelpSupportScreen.js.map +0 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +0 -213
- package/lib/module/ui/screens/HistoryViewScreen.js.map +0 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -213
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +0 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +0 -179
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +0 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +0 -533
- package/lib/module/ui/screens/OxyAuthScreen.js.map +0 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +0 -1583
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +0 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +0 -1643
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +0 -467
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/ProfileScreen.js +0 -642
- package/lib/module/ui/screens/ProfileScreen.js.map +0 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +0 -162
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +0 -161
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +0 -442
- package/lib/module/ui/screens/SessionManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/UserLinksScreen.js +0 -82
- package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +0 -428
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +0 -94
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +0 -339
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +0 -189
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +0 -146
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +0 -605
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js +0 -105
- package/lib/module/ui/stores/accountStore.js +0 -244
- 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 -81
- package/lib/module/ui/stores/authStore.js.map +0 -1
- package/lib/module/ui/stores/fileStore.js +0 -145
- package/lib/module/ui/stores/fileStore.js.map +0 -1
- package/lib/module/ui/stores/followStore.js +0 -225
- package/lib/module/ui/styles/authStyles.js +0 -333
- package/lib/module/ui/styles/authStyles.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/module/ui/styles/index.js +0 -7
- package/lib/module/ui/styles/index.js.map +0 -1
- package/lib/module/ui/styles/spacing.js +0 -58
- package/lib/module/ui/styles/spacing.js.map +0 -1
- package/lib/module/ui/styles/theme.js +0 -114
- 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/utils/avatarUtils.js +0 -126
- package/lib/module/ui/utils/avatarUtils.js.map +0 -1
- package/lib/module/ui/utils/colorUtils.js +0 -46
- package/lib/module/ui/utils/colorUtils.js.map +0 -1
- package/lib/module/ui/utils/confirmAction.js +0 -25
- package/lib/module/ui/utils/confirmAction.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 -251
- package/lib/module/ui/utils/fileManagement.js.map +0 -1
- package/lib/module/ui/utils/sessionHelpers.js +0 -94
- 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/themeUtils.js +0 -41
- package/lib/module/ui/utils/themeUtils.js.map +0 -1
- package/lib/module/ui/utils/user-utils.js +0 -46
- package/lib/module/utils/apiUtils.js +0 -72
- package/lib/module/utils/apiUtils.js.map +0 -1
- package/lib/module/utils/asyncUtils.js +0 -192
- package/lib/module/utils/asyncUtils.js.map +0 -1
- package/lib/module/utils/cache.js +0 -250
- package/lib/module/utils/cache.js.map +0 -1
- package/lib/module/utils/deviceManager.js +0 -171
- package/lib/module/utils/deviceManager.js.map +0 -1
- package/lib/module/utils/errorUtils.js +0 -167
- package/lib/module/utils/errorUtils.js.map +0 -1
- package/lib/module/utils/hookUtils.js +0 -381
- package/lib/module/utils/hookUtils.js.map +0 -1
- package/lib/module/utils/index.js +0 -11
- package/lib/module/utils/index.js.map +0 -1
- package/lib/module/utils/languageUtils.js +0 -151
- package/lib/module/utils/languageUtils.js.map +0 -1
- package/lib/module/utils/loggerUtils.js +0 -149
- package/lib/module/utils/loggerUtils.js.map +0 -1
- package/lib/module/utils/requestUtils.js +0 -210
- package/lib/module/utils/requestUtils.js.map +0 -1
- package/lib/module/utils/sessionUtils.js +0 -180
- package/lib/module/utils/validationUtils.js +0 -170
- package/lib/module/utils/validationUtils.js.map +0 -1
- package/lib/typescript/assets/icons/OxyServices.d.ts +0 -29
- package/lib/typescript/assets/icons/OxyServices.d.ts.map +0 -1
- package/lib/typescript/assets/illustrations/HighFive.d.ts +0 -9
- package/lib/typescript/assets/illustrations/HighFive.d.ts.map +0 -1
- package/lib/typescript/constants/version.d.ts +0 -14
- package/lib/typescript/constants/version.d.ts.map +0 -1
- package/lib/typescript/core/HttpService.d.ts +0 -159
- package/lib/typescript/core/HttpService.d.ts.map +0 -1
- package/lib/typescript/core/OxyServices.base.d.ts +0 -127
- package/lib/typescript/core/OxyServices.base.d.ts.map +0 -1
- package/lib/typescript/core/OxyServices.d.ts +0 -113
- package/lib/typescript/core/OxyServices.d.ts.map +0 -1
- package/lib/typescript/core/OxyServices.errors.d.ts +0 -12
- package/lib/typescript/core/OxyServices.errors.d.ts.map +0 -1
- package/lib/typescript/core/index.d.ts +0 -17
- package/lib/typescript/core/index.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.analytics.d.ts +0 -67
- package/lib/typescript/core/mixins/OxyServices.analytics.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.assets.d.ts +0 -136
- package/lib/typescript/core/mixins/OxyServices.assets.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.auth.d.ts +0 -192
- package/lib/typescript/core/mixins/OxyServices.auth.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.developer.d.ts +0 -100
- package/lib/typescript/core/mixins/OxyServices.developer.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.devices.d.ts +0 -97
- package/lib/typescript/core/mixins/OxyServices.devices.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.karma.d.ts +0 -86
- package/lib/typescript/core/mixins/OxyServices.karma.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.language.d.ts +0 -82
- package/lib/typescript/core/mixins/OxyServices.language.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.location.d.ts +0 -65
- package/lib/typescript/core/mixins/OxyServices.location.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.payment.d.ts +0 -112
- package/lib/typescript/core/mixins/OxyServices.payment.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.privacy.d.ts +0 -123
- package/lib/typescript/core/mixins/OxyServices.privacy.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.security.d.ts +0 -79
- package/lib/typescript/core/mixins/OxyServices.security.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.user.d.ts +0 -185
- package/lib/typescript/core/mixins/OxyServices.user.d.ts.map +0 -1
- package/lib/typescript/core/mixins/OxyServices.utility.d.ts +0 -94
- package/lib/typescript/core/mixins/OxyServices.utility.d.ts.map +0 -1
- package/lib/typescript/core/mixins/index.d.ts +0 -853
- package/lib/typescript/core/mixins/index.d.ts.map +0 -1
- package/lib/typescript/core/mixins/mixinHelpers.d.ts +0 -32
- package/lib/typescript/core/mixins/mixinHelpers.d.ts.map +0 -1
- package/lib/typescript/crypto/index.d.ts +0 -12
- package/lib/typescript/crypto/index.d.ts.map +0 -1
- package/lib/typescript/crypto/keyManager.d.ts +0 -97
- package/lib/typescript/crypto/keyManager.d.ts.map +0 -1
- package/lib/typescript/crypto/polyfill.d.ts +0 -13
- package/lib/typescript/crypto/polyfill.d.ts.map +0 -1
- package/lib/typescript/crypto/signatureService.d.ts +0 -87
- package/lib/typescript/crypto/signatureService.d.ts.map +0 -1
- package/lib/typescript/crypto/types.d.ts +0 -18
- package/lib/typescript/crypto/types.d.ts.map +0 -1
- package/lib/typescript/i18n/index.d.ts +0 -4
- package/lib/typescript/i18n/index.d.ts.map +0 -1
- package/lib/typescript/index.d.ts +0 -38
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/lib/sonner-safe.d.ts +0 -9
- package/lib/typescript/lib/sonner-safe.d.ts.map +0 -1
- package/lib/typescript/lib/sonner.d.ts +0 -15
- package/lib/typescript/lib/sonner.d.ts.map +0 -1
- package/lib/typescript/models/interfaces.d.ts +0 -414
- package/lib/typescript/models/interfaces.d.ts.map +0 -1
- package/lib/typescript/models/session.d.ts +0 -24
- package/lib/typescript/models/session.d.ts.map +0 -1
- package/lib/typescript/node/index.d.ts +0 -10
- package/lib/typescript/node/index.d.ts.map +0 -1
- package/lib/typescript/types/buffer.d.ts +0 -97
- package/lib/typescript/types/color.d.ts +0 -20
- package/lib/typescript/types/elliptic.d.ts +0 -62
- package/lib/typescript/types/expo-crypto.d.ts +0 -30
- package/lib/typescript/types/expo-document-picker.d.ts +0 -36
- package/lib/typescript/types/expo-secure-store.d.ts +0 -22
- package/lib/typescript/types/expo-vector-icons.d.ts +0 -19
- package/lib/typescript/types/express.d.ts +0 -24
- package/lib/typescript/ui/components/ActivityIndicator.d.ts +0 -45
- package/lib/typescript/ui/components/ActivityIndicator.d.ts.map +0 -1
- package/lib/typescript/ui/components/AnimationExample.d.ts +0 -4
- package/lib/typescript/ui/components/AnimationExample.d.ts.map +0 -1
- package/lib/typescript/ui/components/AutoHeightScrollView.d.ts +0 -23
- package/lib/typescript/ui/components/AutoHeightScrollView.d.ts.map +0 -1
- package/lib/typescript/ui/components/Avatar.d.ts +0 -61
- package/lib/typescript/ui/components/Avatar.d.ts.map +0 -1
- package/lib/typescript/ui/components/BottomSheet.d.ts +0 -29
- package/lib/typescript/ui/components/BottomSheet.d.ts.map +0 -1
- package/lib/typescript/ui/components/BottomSheetRouter.d.ts +0 -14
- package/lib/typescript/ui/components/BottomSheetRouter.d.ts.map +0 -1
- package/lib/typescript/ui/components/CrossFadeIcon.d.ts +0 -27
- package/lib/typescript/ui/components/CrossFadeIcon.d.ts.map +0 -1
- package/lib/typescript/ui/components/EmptyState.d.ts +0 -8
- package/lib/typescript/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/ui/components/ErrorBoundary.d.ts +0 -31
- package/lib/typescript/ui/components/ErrorBoundary.d.ts.map +0 -1
- package/lib/typescript/ui/components/FollowButton.d.ts +0 -18
- package/lib/typescript/ui/components/FollowButton.d.ts.map +0 -1
- package/lib/typescript/ui/components/FontLoader.d.ts +0 -15
- package/lib/typescript/ui/components/FontLoader.d.ts.map +0 -1
- package/lib/typescript/ui/components/GroupedItem.d.ts +0 -20
- package/lib/typescript/ui/components/GroupedItem.d.ts.map +0 -1
- package/lib/typescript/ui/components/GroupedSection.d.ts +0 -25
- package/lib/typescript/ui/components/GroupedSection.d.ts.map +0 -1
- package/lib/typescript/ui/components/Header.d.ts +0 -38
- package/lib/typescript/ui/components/Header.d.ts.map +0 -1
- package/lib/typescript/ui/components/HelperText.d.ts +0 -47
- package/lib/typescript/ui/components/HelperText.d.ts.map +0 -1
- package/lib/typescript/ui/components/Icon.d.ts +0 -60
- package/lib/typescript/ui/components/Icon.d.ts.map +0 -1
- package/lib/typescript/ui/components/IconButton/IconButton.d.ts +0 -99
- package/lib/typescript/ui/components/IconButton/IconButton.d.ts.map +0 -1
- package/lib/typescript/ui/components/IconButton/utils.d.ts +0 -19
- package/lib/typescript/ui/components/IconButton/utils.d.ts.map +0 -1
- package/lib/typescript/ui/components/LoadingState.d.ts +0 -9
- package/lib/typescript/ui/components/LoadingState.d.ts.map +0 -1
- package/lib/typescript/ui/components/OxyLogo.d.ts +0 -29
- package/lib/typescript/ui/components/OxyLogo.d.ts.map +0 -1
- package/lib/typescript/ui/components/OxyPayButton.d.ts +0 -29
- package/lib/typescript/ui/components/OxyPayButton.d.ts.map +0 -1
- package/lib/typescript/ui/components/OxyProvider.d.ts +0 -11
- package/lib/typescript/ui/components/OxyProvider.d.ts.map +0 -1
- package/lib/typescript/ui/components/OxySignInButton.d.ts +0 -65
- package/lib/typescript/ui/components/OxySignInButton.d.ts.map +0 -1
- package/lib/typescript/ui/components/ProfileCard.d.ts +0 -18
- package/lib/typescript/ui/components/ProfileCard.d.ts.map +0 -1
- package/lib/typescript/ui/components/QuickActions.d.ts +0 -15
- package/lib/typescript/ui/components/QuickActions.d.ts.map +0 -1
- package/lib/typescript/ui/components/Section.d.ts +0 -12
- package/lib/typescript/ui/components/Section.d.ts.map +0 -1
- package/lib/typescript/ui/components/SectionTitle.d.ts +0 -10
- package/lib/typescript/ui/components/SectionTitle.d.ts.map +0 -1
- package/lib/typescript/ui/components/SettingRow.d.ts +0 -14
- package/lib/typescript/ui/components/SettingRow.d.ts.map +0 -1
- package/lib/typescript/ui/components/StepBasedScreen.d.ts +0 -26
- package/lib/typescript/ui/components/StepBasedScreen.d.ts.map +0 -1
- package/lib/typescript/ui/components/Surface.d.ts +0 -76
- package/lib/typescript/ui/components/Surface.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts +0 -16
- package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts +0 -19
- package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -45
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -73
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -78
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts +0 -13
- package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/types.d.ts +0 -12
- package/lib/typescript/ui/components/TextField/Adornment/types.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts +0 -12
- package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts +0 -5
- package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts +0 -4
- package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts +0 -4
- package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts +0 -4
- package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/constants.d.ts +0 -32
- package/lib/typescript/ui/components/TextField/constants.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/helpers.d.ts +0 -97
- package/lib/typescript/ui/components/TextField/helpers.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField/types.d.ts +0 -156
- package/lib/typescript/ui/components/TextField/types.d.ts.map +0 -1
- package/lib/typescript/ui/components/TextField.d.ts +0 -192
- package/lib/typescript/ui/components/TextField.d.ts.map +0 -1
- package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts +0 -13
- package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts.map +0 -1
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -62
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts.map +0 -1
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -25
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +0 -1
- package/lib/typescript/ui/components/TouchableRipple/utils.d.ts +0 -11
- package/lib/typescript/ui/components/TouchableRipple/utils.d.ts.map +0 -1
- package/lib/typescript/ui/components/Typography/AnimatedText.d.ts +0 -35
- package/lib/typescript/ui/components/Typography/AnimatedText.d.ts.map +0 -1
- package/lib/typescript/ui/components/Typography/types.d.ts +0 -19
- package/lib/typescript/ui/components/Typography/types.d.ts.map +0 -1
- package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts +0 -15
- package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts +0 -18
- package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts.map +0 -1
- package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts +0 -21
- package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts.map +0 -1
- package/lib/typescript/ui/components/fileManagement/styles.d.ts +0 -860
- package/lib/typescript/ui/components/fileManagement/styles.d.ts.map +0 -1
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +0 -9
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts.map +0 -1
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts +0 -10
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +0 -1
- package/lib/typescript/ui/components/icon/index.d.ts +0 -4
- package/lib/typescript/ui/components/icon/index.d.ts.map +0 -1
- package/lib/typescript/ui/components/index.d.ts +0 -17
- package/lib/typescript/ui/components/index.d.ts.map +0 -1
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +0 -18
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts.map +0 -1
- package/lib/typescript/ui/components/internal/PinInput.d.ts +0 -23
- package/lib/typescript/ui/components/internal/PinInput.d.ts.map +0 -1
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -27
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditBioModal.d.ts +0 -11
- package/lib/typescript/ui/components/profile/EditBioModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditDisplayNameModal.d.ts +0 -12
- package/lib/typescript/ui/components/profile/EditDisplayNameModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditEmailModal.d.ts +0 -11
- package/lib/typescript/ui/components/profile/EditEmailModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditLinksModal.d.ts +0 -18
- package/lib/typescript/ui/components/profile/EditLinksModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditLocationModal.d.ts +0 -20
- package/lib/typescript/ui/components/profile/EditLocationModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/profile/EditUsernameModal.d.ts +0 -11
- package/lib/typescript/ui/components/profile/EditUsernameModal.d.ts.map +0 -1
- package/lib/typescript/ui/components/styles/overlay.d.ts +0 -4
- package/lib/typescript/ui/components/styles/overlay.d.ts.map +0 -1
- package/lib/typescript/ui/components/styles/shadow.d.ts +0 -3
- package/lib/typescript/ui/components/styles/shadow.d.ts.map +0 -1
- package/lib/typescript/ui/components/theming.d.ts +0 -8
- package/lib/typescript/ui/components/theming.d.ts.map +0 -1
- package/lib/typescript/ui/components/types.d.ts +0 -80
- package/lib/typescript/ui/components/types.d.ts.map +0 -1
- package/lib/typescript/ui/components/utils/forwardRef.d.ts +0 -12
- package/lib/typescript/ui/components/utils/forwardRef.d.ts.map +0 -1
- package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts +0 -6
- package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts.map +0 -1
- package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts +0 -2
- package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts.map +0 -1
- package/lib/typescript/ui/components/utils/splitStyles.d.ts +0 -20
- package/lib/typescript/ui/components/utils/splitStyles.d.ts.map +0 -1
- package/lib/typescript/ui/constants/iconColors.d.ts +0 -130
- package/lib/typescript/ui/constants/iconColors.d.ts.map +0 -1
- package/lib/typescript/ui/constants/spacing.d.ts +0 -33
- package/lib/typescript/ui/constants/spacing.d.ts.map +0 -1
- package/lib/typescript/ui/constants/theme.d.ts +0 -97
- package/lib/typescript/ui/constants/theme.d.ts.map +0 -1
- package/lib/typescript/ui/context/OxyContext.d.ts +0 -86
- package/lib/typescript/ui/context/OxyContext.d.ts.map +0 -1
- package/lib/typescript/ui/context/ThemeContext.d.ts +0 -19
- package/lib/typescript/ui/context/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts +0 -59
- package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts.map +0 -1
- package/lib/typescript/ui/context/hooks/useDeviceManagement.d.ts +0 -27
- package/lib/typescript/ui/context/hooks/useDeviceManagement.d.ts.map +0 -1
- package/lib/typescript/ui/context/hooks/useLanguageManagement.d.ts +0 -25
- package/lib/typescript/ui/context/hooks/useLanguageManagement.d.ts.map +0 -1
- package/lib/typescript/ui/context/hooks/useSessionManagement.d.ts +0 -41
- package/lib/typescript/ui/context/hooks/useSessionManagement.d.ts.map +0 -1
- package/lib/typescript/ui/context/hooks/useStorage.d.ts +0 -22
- package/lib/typescript/ui/context/hooks/useStorage.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/index.d.ts +0 -5
- package/lib/typescript/ui/hooks/index.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/mutations/index.d.ts +0 -9
- package/lib/typescript/ui/hooks/mutations/index.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts +0 -44
- package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts +0 -23
- package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queries/index.d.ts +0 -11
- package/lib/typescript/ui/hooks/queries/index.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queries/queryKeys.d.ts +0 -65
- package/lib/typescript/ui/hooks/queries/queryKeys.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts +0 -47
- package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts +0 -15
- package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts +0 -34
- package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/queryClient.d.ts +0 -19
- package/lib/typescript/ui/hooks/queryClient.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/use-color-scheme.d.ts +0 -8
- package/lib/typescript/ui/hooks/use-color-scheme.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/use-haptic-press.d.ts +0 -8
- package/lib/typescript/ui/hooks/use-haptic-press.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useAssets.d.ts +0 -35
- package/lib/typescript/ui/hooks/useAssets.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useDeviceManagement.d.ts +0 -27
- package/lib/typescript/ui/hooks/useDeviceManagement.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +0 -19
- package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useFollow.d.ts +0 -62
- package/lib/typescript/ui/hooks/useFollow.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useFollow.types.d.ts +0 -33
- package/lib/typescript/ui/hooks/useFollow.types.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useI18n.d.ts +0 -5
- package/lib/typescript/ui/hooks/useI18n.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useLanguageManagement.d.ts +0 -25
- package/lib/typescript/ui/hooks/useLanguageManagement.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useProfileEditing.d.ts +0 -36
- package/lib/typescript/ui/hooks/useProfileEditing.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useQueryClient.d.ts +0 -7
- package/lib/typescript/ui/hooks/useQueryClient.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useSessionManagement.d.ts +0 -41
- package/lib/typescript/ui/hooks/useSessionManagement.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useSessionSocket.d.ts +0 -21
- package/lib/typescript/ui/hooks/useSessionSocket.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useStorage.d.ts +0 -22
- package/lib/typescript/ui/hooks/useStorage.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useThemeColors.d.ts +0 -94
- package/lib/typescript/ui/hooks/useThemeColors.d.ts.map +0 -1
- package/lib/typescript/ui/hooks/useThemeStyles.d.ts +0 -45
- package/lib/typescript/ui/hooks/useThemeStyles.d.ts.map +0 -1
- package/lib/typescript/ui/index.d.ts +0 -5
- package/lib/typescript/ui/index.d.ts.map +0 -1
- package/lib/typescript/ui/isFrontend.d.ts +0 -3
- package/lib/typescript/ui/isFrontend.d.ts.map +0 -1
- package/lib/typescript/ui/navigation/bottomSheetManager.d.ts +0 -74
- package/lib/typescript/ui/navigation/bottomSheetManager.d.ts.map +0 -1
- package/lib/typescript/ui/navigation/routes.d.ts +0 -6
- package/lib/typescript/ui/navigation/routes.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/HistoryViewScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/HistoryViewScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +0 -7
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/OxyAuthScreen.d.ts +0 -17
- package/lib/typescript/ui/screens/OxyAuthScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +0 -27
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/ProfileScreen.d.ts +0 -9
- package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +0 -13
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts.map +0 -1
- package/lib/typescript/ui/stores/accountStore.d.ts +0 -34
- package/lib/typescript/ui/stores/accountStore.d.ts.map +0 -1
- package/lib/typescript/ui/stores/assetStore.d.ts +0 -54
- package/lib/typescript/ui/stores/assetStore.d.ts.map +0 -1
- package/lib/typescript/ui/stores/authStore.d.ts +0 -21
- package/lib/typescript/ui/stores/authStore.d.ts.map +0 -1
- package/lib/typescript/ui/stores/fileStore.d.ts +0 -31
- package/lib/typescript/ui/stores/fileStore.d.ts.map +0 -1
- package/lib/typescript/ui/stores/followStore.d.ts +0 -25
- package/lib/typescript/ui/stores/followStore.d.ts.map +0 -1
- package/lib/typescript/ui/styles/authStyles.d.ts +0 -332
- package/lib/typescript/ui/styles/authStyles.d.ts.map +0 -1
- package/lib/typescript/ui/styles/fonts.d.ts +0 -21
- package/lib/typescript/ui/styles/fonts.d.ts.map +0 -1
- package/lib/typescript/ui/styles/index.d.ts +0 -5
- package/lib/typescript/ui/styles/index.d.ts.map +0 -1
- package/lib/typescript/ui/styles/spacing.d.ts +0 -49
- package/lib/typescript/ui/styles/spacing.d.ts.map +0 -1
- package/lib/typescript/ui/styles/theme.d.ts +0 -68
- package/lib/typescript/ui/styles/theme.d.ts.map +0 -1
- package/lib/typescript/ui/types/fileManagement.d.ts +0 -41
- package/lib/typescript/ui/types/fileManagement.d.ts.map +0 -1
- package/lib/typescript/ui/types/navigation.d.ts +0 -36
- package/lib/typescript/ui/types/navigation.d.ts.map +0 -1
- package/lib/typescript/ui/utils/avatarUtils.d.ts +0 -34
- package/lib/typescript/ui/utils/avatarUtils.d.ts.map +0 -1
- package/lib/typescript/ui/utils/colorUtils.d.ts +0 -14
- package/lib/typescript/ui/utils/colorUtils.d.ts.map +0 -1
- package/lib/typescript/ui/utils/confirmAction.d.ts +0 -7
- package/lib/typescript/ui/utils/confirmAction.d.ts.map +0 -1
- package/lib/typescript/ui/utils/errorHandlers.d.ts +0 -35
- package/lib/typescript/ui/utils/errorHandlers.d.ts.map +0 -1
- package/lib/typescript/ui/utils/fileManagement.d.ts +0 -87
- package/lib/typescript/ui/utils/fileManagement.d.ts.map +0 -1
- package/lib/typescript/ui/utils/sessionHelpers.d.ts +0 -59
- package/lib/typescript/ui/utils/sessionHelpers.d.ts.map +0 -1
- package/lib/typescript/ui/utils/storageHelpers.d.ts +0 -31
- package/lib/typescript/ui/utils/storageHelpers.d.ts.map +0 -1
- package/lib/typescript/ui/utils/themeUtils.d.ts +0 -24
- package/lib/typescript/ui/utils/themeUtils.d.ts.map +0 -1
- package/lib/typescript/ui/utils/user-utils.d.ts +0 -29
- package/lib/typescript/ui/utils/user-utils.d.ts.map +0 -1
- package/lib/typescript/utils/apiUtils.d.ts +0 -54
- package/lib/typescript/utils/apiUtils.d.ts.map +0 -1
- package/lib/typescript/utils/asyncUtils.d.ts +0 -59
- package/lib/typescript/utils/asyncUtils.d.ts.map +0 -1
- package/lib/typescript/utils/cache.d.ts +0 -128
- package/lib/typescript/utils/cache.d.ts.map +0 -1
- package/lib/typescript/utils/deviceManager.d.ts +0 -66
- package/lib/typescript/utils/deviceManager.d.ts.map +0 -1
- package/lib/typescript/utils/errorUtils.d.ts +0 -53
- package/lib/typescript/utils/errorUtils.d.ts.map +0 -1
- package/lib/typescript/utils/hookUtils.d.ts +0 -102
- package/lib/typescript/utils/hookUtils.d.ts.map +0 -1
- package/lib/typescript/utils/index.d.ts +0 -7
- package/lib/typescript/utils/index.d.ts.map +0 -1
- package/lib/typescript/utils/languageUtils.d.ts +0 -38
- package/lib/typescript/utils/languageUtils.d.ts.map +0 -1
- package/lib/typescript/utils/loggerUtils.d.ts +0 -49
- package/lib/typescript/utils/loggerUtils.d.ts.map +0 -1
- package/lib/typescript/utils/requestUtils.d.ts +0 -122
- package/lib/typescript/utils/requestUtils.d.ts.map +0 -1
- package/lib/typescript/utils/sessionUtils.d.ts +0 -55
- package/lib/typescript/utils/sessionUtils.d.ts.map +0 -1
- package/lib/typescript/utils/validationUtils.d.ts +0 -86
- package/lib/typescript/utils/validationUtils.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createContext","useCallback","useContext","useEffect","useMemo","useRef","useState","Platform","OxyServices","toast","useAuthStore","useShallow","useSessionSocket","useStorage","useLanguageManagement","useSessionManagement","useAuthOperations","useDeviceManagement","getStorageKeys","isInvalidSessionError","isTimeoutOrNetworkError","showBottomSheet","globalShowBottomSheet","useQueryClient","clearQueryCache","KeyManager","translate","updateAvatarVisibility","updateProfileWithAvatar","useAccountStore","logger","loggerUtil","jsx","_jsx","OxyContext","cachedUseFollowHook","loadUseFollowHook","useFollow","require","error","__DEV__","warn","component","method","fallback","Error","OxyProvider","children","oxyServices","providedOxyServices","baseURL","storageKeyPrefix","onAuthStateChange","onError","oxyServicesRef","current","user","isAuthenticated","isLoading","loginSuccess","loginFailure","logoutStore","isIdentitySyncedStore","isSyncing","setIdentitySynced","setSyncing","state","logout","isIdentitySynced","tokenReady","setTokenReady","initializedRef","setAuthState","setState","message","err","console","storageKeys","storage","isReady","isStorageReady","OS","checkAndRestoreIdentity","hasIdentity","isValid","verifyIdentityIntegrity","restored","restoreIdentityFromBackup","backupIdentity","currentLanguage","metadata","currentLanguageMetadata","languageName","currentLanguageName","nativeLanguageName","currentNativeLanguageName","setLanguage","applyLanguagePreference","languageKey","language","queryClient","sessions","activeSessionId","setActiveSessionId","updateSessions","switchSession","refreshSessions","clearSessionState","saveActiveSessionId","trackRemovedSession","setAuthError","createIdentity","importIdentity","importIdentityBase","signIn","logoutAll","getPublicKey","syncIdentity","syncIdentityBase","backupData","password","clearAllAccountData","clear","removeItem","getState","reset","clearCache","deleteIdentityAndClearAccount","skipBackup","force","userConfirmed","deleteIdentity","wasOffline","checkTimeout","stateRef","consecutiveFailures","currentInterval","baseInterval","maxInterval","maxFailures","scheduleNextCheck","clearTimeout","setTimeout","checkNetworkAndSync","healthCheck","catch","hasIdentityValue","syncStatus","getItem","syncError","code","debug","backoffMultiplier","Math","min","pow","getDeviceSessions","logoutAllDeviceSessions","updateDeviceName","useFollowHook","restoreSessionsFromStorage","storedSessionIdsJson","sessionIds","storedSessionIds","JSON","parse","storedActiveSessionId","validSessions","length","sessionId","validation","validateSession","useHeaderValidation","valid","now","Date","push","deviceId","expiresAt","getTime","toISOString","lastActive","userId","id","toString","isCurrent","validationError","merge","switchError","filter","session","String","activeSession","find","undefined","currentDeviceId","transferCodesRef","Map","cleanup","setInterval","fifteenMinutes","forEach","value","key","timestamp","delete","transferId","clearInterval","storeTransferCode","sourceDeviceId","publicKey","set","substring","getTransferCode","get","clearTransferCode","refreshSessionsWithUser","handleSessionRemoved","handleRemoteSignOut","info","remoteError","handleIdentityTransferComplete","data","storedTransfer","deviceIdMatches","receivedDeviceId","publicKeyMatches","receivedPublicKey","storedPublicKey","transferCode","codeMatches","toUpperCase","receivedCode","transferAge","tenMinutes","age","success","getBaseURL","onRemoteSignOut","onSessionRemoved","onIdentityTransferComplete","switchSessionForContext","showBottomSheetForContext","screenOrConfig","openAvatarPicker","screen","props","selectMode","multiSelect","disabledMimeTypes","afterSelect","onSelect","file","contentType","startsWith","avatar","e","contextValue","isTokenReady","identitySyncState","isSynced","removeSession","Provider","OxyContextProvider","useOxy","context"],"sourceRoot":"../../../../src","sources":["ui/context/OxyContext.tsx"],"mappings":";;AACA,SACEA,aAAa,EACbC,WAAW,EACXC,UAAU,EACVC,SAAS,EACTC,OAAO,EACPC,MAAM,EACNC,QAAQ,QAEH,OAAO;AACd,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,WAAW,QAAQ,YAAY;AAGxC,SAASC,KAAK,QAAQ,kBAAkB;AACxC,SAASC,YAAY,QAAwB,qBAAqB;AAClE,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,gBAAgB,QAAQ,2BAA2B;AAE5D,SAASC,UAAU,QAAQ,qBAAqB;AAChD,SAASC,qBAAqB,QAAQ,gCAAgC;AACtE,SAASC,oBAAoB,QAAQ,+BAA+B;AACpE,SAASC,iBAAiB,QAAQ,2BAA2B;AAC7D,SAASC,mBAAmB,QAAQ,8BAA8B;AAClE,SAASC,cAAc,QAAQ,yBAAyB;AACxD,SAASC,qBAAqB,EAAEC,uBAAuB,QAAQ,wBAAwB;AAEvF,SAAS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ZU,6BAA6B,EAC7BiF,iBAAiB,EACjBK,eAAe,EACfE,iBAAiB,EACjBzJ,qBAAqB,EACrBC,SAAS,EACT0B,eAAe,EACfE,uBAAuB,EACvBE,mBAAmB,EACnBE,yBAAyB,EACzBxD,KAAK,EACLqH,iBAAiB,EACjBnG,eAAe,EACfC,SAAS,EACTS,MAAM,EACNgD,SAAS,EACT0C,uBAAuB,EACvB7G,WAAW,EACXwK,uBAAuB,EACvBnH,QAAQ,EACRL,WAAW,EACXiJ,uBAAuB,EACvB5K,UAAU,EACVW,cAAc,EACd8E,gBAAgB,EAChBrC,mBAAmB,EACnBsC,aAAa,EACbvG,IAAI,EACJ0L,yBAAyB,EACzBE,gBAAgB,CACjB,CAAC;EAEF,oBACEnN,IAAA,CAACC,UAAU,CAACoO,QAAQ;IAAC5D,KAAK,EAAEuD,YAAa;IAAAlN,QAAA,EACtCA;EAAQ,CACU,CAAC;AAE1B,CAAC;AAED,OAAO,MAAMwN,kBAAkB,GAAGzN,WAAW;AAE7C,OAAO,MAAM0N,MAAM,GAAGA,CAAA,KAAuB;EAC3C,MAAMC,OAAO,GAAGvQ,UAAU,CAACgC,UAAU,CAAC;EACtC,IAAI,CAACuO,OAAO,EAAE;IACZ,MAAM,IAAI5N,KAAK,CAAC,kDAAkD,CAAC;EACrE;EACA,OAAO4N,OAAO;AAChB,CAAC;AAED,eAAevO,UAAU","ignoreList":[]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import React, { createContext, useContext } from 'react';
|
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
-
export const ThemeContext = /*#__PURE__*/createContext(undefined);
|
|
6
|
-
/**
|
|
7
|
-
* ThemeProvider component that accepts a theme prop and provides it via context.
|
|
8
|
-
* This allows Accounts-style components to access theme through hooks.
|
|
9
|
-
*/
|
|
10
|
-
export function ThemeProvider({
|
|
11
|
-
theme,
|
|
12
|
-
children
|
|
13
|
-
}) {
|
|
14
|
-
return /*#__PURE__*/_jsx(ThemeContext.Provider, {
|
|
15
|
-
value: {
|
|
16
|
-
resolvedTheme: theme,
|
|
17
|
-
isLoaded: true
|
|
18
|
-
},
|
|
19
|
-
children: children
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
export function useThemeContext() {
|
|
23
|
-
const context = useContext(ThemeContext);
|
|
24
|
-
if (context === undefined) {
|
|
25
|
-
throw new Error('useThemeContext must be used within a ThemeProvider');
|
|
26
|
-
}
|
|
27
|
-
return context;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=ThemeContext.js.map
|
|
@@ -1,607 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useCallback } from 'react';
|
|
4
|
-
import { DeviceManager } from '../../../utils/deviceManager';
|
|
5
|
-
import { fetchSessionsWithFallback } from '../../utils/sessionHelpers';
|
|
6
|
-
import { handleAuthError, isInvalidSessionError } from '../../utils/errorHandlers';
|
|
7
|
-
import { KeyManager, SignatureService } from '../../../crypto';
|
|
8
|
-
const LOGIN_ERROR_CODE = 'LOGIN_ERROR';
|
|
9
|
-
const REGISTER_ERROR_CODE = 'REGISTER_ERROR';
|
|
10
|
-
const LOGOUT_ERROR_CODE = 'LOGOUT_ERROR';
|
|
11
|
-
const LOGOUT_ALL_ERROR_CODE = 'LOGOUT_ALL_ERROR';
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Authentication operations using public key cryptography.
|
|
15
|
-
* No passwords required - identity is based on ECDSA key pairs.
|
|
16
|
-
*/
|
|
17
|
-
export const useAuthOperations = ({
|
|
18
|
-
oxyServices,
|
|
19
|
-
storage,
|
|
20
|
-
sessions,
|
|
21
|
-
activeSessionId,
|
|
22
|
-
setActiveSessionId,
|
|
23
|
-
updateSessions,
|
|
24
|
-
saveActiveSessionId,
|
|
25
|
-
clearSessionState,
|
|
26
|
-
switchSession,
|
|
27
|
-
applyLanguagePreference,
|
|
28
|
-
onAuthStateChange,
|
|
29
|
-
onError,
|
|
30
|
-
loginSuccess,
|
|
31
|
-
loginFailure,
|
|
32
|
-
logoutStore,
|
|
33
|
-
setAuthState,
|
|
34
|
-
setIdentitySynced,
|
|
35
|
-
setSyncing,
|
|
36
|
-
logger
|
|
37
|
-
}) => {
|
|
38
|
-
/**
|
|
39
|
-
* Internal function to perform challenge-response sign in (works offline)
|
|
40
|
-
*/
|
|
41
|
-
const performSignIn = useCallback(async publicKey => {
|
|
42
|
-
const deviceFingerprintObj = DeviceManager.getDeviceFingerprint();
|
|
43
|
-
const deviceFingerprint = JSON.stringify(deviceFingerprintObj);
|
|
44
|
-
const deviceInfo = await DeviceManager.getDeviceInfo();
|
|
45
|
-
const deviceName = deviceInfo.deviceName || DeviceManager.getDefaultDeviceName();
|
|
46
|
-
let challenge;
|
|
47
|
-
let isOffline = false;
|
|
48
|
-
|
|
49
|
-
// Try to request challenge from server (online)
|
|
50
|
-
try {
|
|
51
|
-
const challengeResponse = await oxyServices.requestChallenge(publicKey);
|
|
52
|
-
challenge = challengeResponse.challenge;
|
|
53
|
-
} catch (error) {
|
|
54
|
-
// Network error - generate challenge locally for offline sign-in
|
|
55
|
-
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
56
|
-
const isNetworkError = errorMessage.includes('Network') || errorMessage.includes('network') || errorMessage.includes('Failed to fetch') || errorMessage.includes('fetch failed') || error?.code === 'NETWORK_ERROR' || error?.status === 0;
|
|
57
|
-
if (isNetworkError) {
|
|
58
|
-
if (__DEV__ && logger) {
|
|
59
|
-
logger('Network unavailable, performing offline sign-in');
|
|
60
|
-
}
|
|
61
|
-
// Generate challenge locally
|
|
62
|
-
challenge = await SignatureService.generateChallenge();
|
|
63
|
-
isOffline = true;
|
|
64
|
-
} else {
|
|
65
|
-
// Re-throw non-network errors
|
|
66
|
-
throw error;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
// Note: Biometric authentication check should be handled by the app layer
|
|
71
|
-
// (e.g., accounts app) before calling signIn. The biometric preference is stored
|
|
72
|
-
// in local storage as 'oxy_biometric_enabled' and can be checked there.
|
|
73
|
-
|
|
74
|
-
// Sign the challenge
|
|
75
|
-
const {
|
|
76
|
-
challenge: signature,
|
|
77
|
-
timestamp
|
|
78
|
-
} = await SignatureService.signChallenge(challenge);
|
|
79
|
-
let fullUser;
|
|
80
|
-
let sessionResponse;
|
|
81
|
-
if (isOffline) {
|
|
82
|
-
// Offline sign-in: create local session and minimal user object
|
|
83
|
-
if (__DEV__ && logger) {
|
|
84
|
-
logger('Creating offline session');
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// Generate a local session ID
|
|
88
|
-
const localSessionId = `offline_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
|
|
89
|
-
const localDeviceId = `device_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
|
|
90
|
-
const expiresAt = new Date(Date.now() + 7 * 24 * 60 * 60 * 1000).toISOString(); // 7 days
|
|
91
|
-
|
|
92
|
-
// Create minimal user object with publicKey as id
|
|
93
|
-
fullUser = {
|
|
94
|
-
id: publicKey,
|
|
95
|
-
// Use publicKey as id (per migration document)
|
|
96
|
-
publicKey,
|
|
97
|
-
username: '',
|
|
98
|
-
privacySettings: {}
|
|
99
|
-
};
|
|
100
|
-
sessionResponse = {
|
|
101
|
-
sessionId: localSessionId,
|
|
102
|
-
deviceId: localDeviceId,
|
|
103
|
-
expiresAt,
|
|
104
|
-
user: {
|
|
105
|
-
id: publicKey,
|
|
106
|
-
username: ''
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
// Store offline session locally
|
|
111
|
-
const offlineSession = {
|
|
112
|
-
sessionId: localSessionId,
|
|
113
|
-
deviceId: localDeviceId,
|
|
114
|
-
expiresAt,
|
|
115
|
-
lastActive: new Date().toISOString(),
|
|
116
|
-
userId: publicKey,
|
|
117
|
-
isCurrent: true
|
|
118
|
-
};
|
|
119
|
-
setActiveSessionId(localSessionId);
|
|
120
|
-
await saveActiveSessionId(localSessionId);
|
|
121
|
-
updateSessions([offlineSession], {
|
|
122
|
-
merge: true
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
// Mark session as offline for later sync
|
|
126
|
-
if (storage) {
|
|
127
|
-
await storage.setItem(`oxy_session_${localSessionId}_offline`, 'true');
|
|
128
|
-
}
|
|
129
|
-
if (__DEV__ && logger) {
|
|
130
|
-
logger('Offline sign-in successful');
|
|
131
|
-
}
|
|
132
|
-
} else {
|
|
133
|
-
// Online sign-in: use normal flow
|
|
134
|
-
// Verify and create session
|
|
135
|
-
sessionResponse = await oxyServices.verifyChallenge(publicKey, challenge, signature, timestamp, deviceName, deviceFingerprint);
|
|
136
|
-
|
|
137
|
-
// Get token for the session
|
|
138
|
-
await oxyServices.getTokenBySession(sessionResponse.sessionId);
|
|
139
|
-
|
|
140
|
-
// Get full user data
|
|
141
|
-
fullUser = await oxyServices.getUserBySession(sessionResponse.sessionId);
|
|
142
|
-
|
|
143
|
-
// Ensure id is set to publicKey (per migration document)
|
|
144
|
-
if (fullUser.id !== fullUser.publicKey) {
|
|
145
|
-
fullUser.id = fullUser.publicKey;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// Fetch device sessions
|
|
149
|
-
let allDeviceSessions = [];
|
|
150
|
-
try {
|
|
151
|
-
allDeviceSessions = await fetchSessionsWithFallback(oxyServices, sessionResponse.sessionId, {
|
|
152
|
-
fallbackDeviceId: sessionResponse.deviceId,
|
|
153
|
-
fallbackUserId: fullUser.id,
|
|
154
|
-
logger
|
|
155
|
-
});
|
|
156
|
-
} catch (error) {
|
|
157
|
-
if (__DEV__) {
|
|
158
|
-
console.warn('Failed to fetch device sessions after login:', error);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
// Check for existing session for same user
|
|
163
|
-
const existingSession = allDeviceSessions.find(session => session.userId?.toString() === fullUser.id?.toString() && session.sessionId !== sessionResponse.sessionId);
|
|
164
|
-
if (existingSession) {
|
|
165
|
-
// Logout duplicate session
|
|
166
|
-
try {
|
|
167
|
-
await oxyServices.logoutSession(sessionResponse.sessionId, sessionResponse.sessionId);
|
|
168
|
-
} catch (logoutError) {
|
|
169
|
-
if (__DEV__) {
|
|
170
|
-
console.warn('Failed to logout duplicate session:', logoutError);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
await switchSession(existingSession.sessionId);
|
|
174
|
-
updateSessions(allDeviceSessions.filter(session => session.sessionId !== sessionResponse.sessionId), {
|
|
175
|
-
merge: false
|
|
176
|
-
});
|
|
177
|
-
onAuthStateChange?.(fullUser);
|
|
178
|
-
return fullUser;
|
|
179
|
-
}
|
|
180
|
-
setActiveSessionId(sessionResponse.sessionId);
|
|
181
|
-
await saveActiveSessionId(sessionResponse.sessionId);
|
|
182
|
-
updateSessions(allDeviceSessions, {
|
|
183
|
-
merge: true
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
await applyLanguagePreference(fullUser);
|
|
187
|
-
loginSuccess(fullUser);
|
|
188
|
-
onAuthStateChange?.(fullUser);
|
|
189
|
-
return fullUser;
|
|
190
|
-
}, [applyLanguagePreference, logger, loginSuccess, onAuthStateChange, oxyServices, saveActiveSessionId, setActiveSessionId, switchSession, updateSessions, storage]);
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Create a new identity (offline-first)
|
|
194
|
-
* Identity is purely cryptographic - no username or email required
|
|
195
|
-
*/
|
|
196
|
-
const createIdentity = useCallback(async () => {
|
|
197
|
-
if (!storage) throw new Error('Storage not initialized');
|
|
198
|
-
setAuthState({
|
|
199
|
-
isLoading: true,
|
|
200
|
-
error: null
|
|
201
|
-
});
|
|
202
|
-
try {
|
|
203
|
-
// Generate new key pair directly (works offline)
|
|
204
|
-
const {
|
|
205
|
-
publicKey,
|
|
206
|
-
privateKey
|
|
207
|
-
} = await KeyManager.generateKeyPair();
|
|
208
|
-
await KeyManager.importKeyPair(privateKey);
|
|
209
|
-
|
|
210
|
-
// Mark as not synced
|
|
211
|
-
await storage.setItem('oxy_identity_synced', 'false');
|
|
212
|
-
setIdentitySynced(false);
|
|
213
|
-
|
|
214
|
-
// Try to sync with server (will succeed if online)
|
|
215
|
-
try {
|
|
216
|
-
const {
|
|
217
|
-
signature,
|
|
218
|
-
timestamp
|
|
219
|
-
} = await SignatureService.createRegistrationSignature();
|
|
220
|
-
await oxyServices.register(publicKey, signature, timestamp);
|
|
221
|
-
|
|
222
|
-
// Mark as synced (Zustand store + storage)
|
|
223
|
-
await storage.setItem('oxy_identity_synced', 'true');
|
|
224
|
-
setIdentitySynced(true);
|
|
225
|
-
return {
|
|
226
|
-
synced: true
|
|
227
|
-
};
|
|
228
|
-
} catch (syncError) {
|
|
229
|
-
// Offline or server error - identity is created locally but not synced
|
|
230
|
-
if (__DEV__) {
|
|
231
|
-
console.log('[Auth] Identity created locally, will sync when online:', syncError);
|
|
232
|
-
}
|
|
233
|
-
return {
|
|
234
|
-
synced: false
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
} catch (error) {
|
|
238
|
-
// CRITICAL: Never delete identity on error - it may have been successfully created
|
|
239
|
-
// Only log the error and let the user recover using their backup file
|
|
240
|
-
// Identity deletion should ONLY happen when explicitly requested by the user
|
|
241
|
-
if (__DEV__ && logger) {
|
|
242
|
-
logger('Error during identity creation (identity may still exist):', error);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
// Check if identity was actually created (keys exist)
|
|
246
|
-
const hasIdentity = await KeyManager.hasIdentity().catch(() => false);
|
|
247
|
-
if (hasIdentity) {
|
|
248
|
-
// Identity exists - don't delete it! Just mark as not synced
|
|
249
|
-
await storage.setItem('oxy_identity_synced', 'false').catch(() => {});
|
|
250
|
-
setIdentitySynced(false);
|
|
251
|
-
if (__DEV__ && logger) {
|
|
252
|
-
logger('Identity was created but sync failed - user can sync later using backup file');
|
|
253
|
-
}
|
|
254
|
-
} else {
|
|
255
|
-
// No identity exists - this was a generation failure, safe to clean up sync flag
|
|
256
|
-
await storage.removeItem('oxy_identity_synced').catch(() => {});
|
|
257
|
-
setIdentitySynced(false);
|
|
258
|
-
}
|
|
259
|
-
const message = handleAuthError(error, {
|
|
260
|
-
defaultMessage: 'Failed to create identity',
|
|
261
|
-
code: REGISTER_ERROR_CODE,
|
|
262
|
-
onError,
|
|
263
|
-
setAuthError: msg => setAuthState({
|
|
264
|
-
error: msg
|
|
265
|
-
}),
|
|
266
|
-
logger
|
|
267
|
-
});
|
|
268
|
-
loginFailure(message);
|
|
269
|
-
throw error;
|
|
270
|
-
} finally {
|
|
271
|
-
setAuthState({
|
|
272
|
-
isLoading: false
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
}, [oxyServices, storage, setAuthState, loginFailure, onError, logger, setIdentitySynced]);
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* Check if identity is synced with server (reads from storage for persistence)
|
|
279
|
-
*/
|
|
280
|
-
const isIdentitySyncedFn = useCallback(async () => {
|
|
281
|
-
if (!storage) return true;
|
|
282
|
-
const synced = await storage.getItem('oxy_identity_synced');
|
|
283
|
-
const isSynced = synced !== 'false';
|
|
284
|
-
setIdentitySynced(isSynced);
|
|
285
|
-
return isSynced;
|
|
286
|
-
}, [storage, setIdentitySynced]);
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Sync local identity with server (call when online)
|
|
290
|
-
* TanStack Query handles offline mutations automatically
|
|
291
|
-
*/
|
|
292
|
-
const syncIdentity = useCallback(async () => {
|
|
293
|
-
if (!storage) throw new Error('Storage not initialized');
|
|
294
|
-
setAuthState({
|
|
295
|
-
isLoading: true,
|
|
296
|
-
error: null
|
|
297
|
-
});
|
|
298
|
-
setSyncing(true);
|
|
299
|
-
try {
|
|
300
|
-
const publicKey = await KeyManager.getPublicKey();
|
|
301
|
-
if (!publicKey) {
|
|
302
|
-
throw new Error('No identity found on this device');
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
// Check if already synced
|
|
306
|
-
const alreadySynced = await storage.getItem('oxy_identity_synced');
|
|
307
|
-
if (alreadySynced === 'true') {
|
|
308
|
-
setIdentitySynced(true);
|
|
309
|
-
return await performSignIn(publicKey);
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
// Check if already registered on server
|
|
313
|
-
const {
|
|
314
|
-
registered
|
|
315
|
-
} = await oxyServices.checkPublicKeyRegistered(publicKey);
|
|
316
|
-
if (!registered) {
|
|
317
|
-
// Register with server (identity is just the publicKey)
|
|
318
|
-
const {
|
|
319
|
-
signature,
|
|
320
|
-
timestamp
|
|
321
|
-
} = await SignatureService.createRegistrationSignature();
|
|
322
|
-
await oxyServices.register(publicKey, signature, timestamp);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
// Mark as synced (Zustand store + storage)
|
|
326
|
-
await storage.setItem('oxy_identity_synced', 'true');
|
|
327
|
-
setIdentitySynced(true);
|
|
328
|
-
|
|
329
|
-
// Sign in
|
|
330
|
-
const user = await performSignIn(publicKey);
|
|
331
|
-
|
|
332
|
-
// Check if user has username - required for syncing
|
|
333
|
-
if (!user.username) {
|
|
334
|
-
const usernameError = new Error('USERNAME_REQUIRED');
|
|
335
|
-
usernameError.code = 'USERNAME_REQUIRED';
|
|
336
|
-
throw usernameError;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
// TanStack Query will automatically retry any pending mutations
|
|
340
|
-
|
|
341
|
-
return user;
|
|
342
|
-
} catch (error) {
|
|
343
|
-
const message = handleAuthError(error, {
|
|
344
|
-
defaultMessage: 'Failed to sync identity',
|
|
345
|
-
code: REGISTER_ERROR_CODE,
|
|
346
|
-
onError,
|
|
347
|
-
setAuthError: msg => setAuthState({
|
|
348
|
-
error: msg
|
|
349
|
-
}),
|
|
350
|
-
logger
|
|
351
|
-
});
|
|
352
|
-
loginFailure(message);
|
|
353
|
-
throw error;
|
|
354
|
-
} finally {
|
|
355
|
-
setAuthState({
|
|
356
|
-
isLoading: false
|
|
357
|
-
});
|
|
358
|
-
setSyncing(false);
|
|
359
|
-
}
|
|
360
|
-
}, [oxyServices, storage, setAuthState, performSignIn, loginFailure, onError, logger, setSyncing, setIdentitySynced]);
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* Import identity from backup file data (offline-first)
|
|
364
|
-
*/
|
|
365
|
-
const importIdentity = useCallback(async (backupData, password) => {
|
|
366
|
-
if (!storage) throw new Error('Storage not initialized');
|
|
367
|
-
|
|
368
|
-
// Validate arguments - ensure backupData is an object, not a string (old signature)
|
|
369
|
-
if (!backupData || typeof backupData !== 'object' || Array.isArray(backupData)) {
|
|
370
|
-
throw new Error('Invalid backup data. Please use the backup file import feature.');
|
|
371
|
-
}
|
|
372
|
-
if (!backupData.encrypted || !backupData.salt || !backupData.iv || !backupData.publicKey) {
|
|
373
|
-
throw new Error('Invalid backup data structure. Missing required fields.');
|
|
374
|
-
}
|
|
375
|
-
if (!password || typeof password !== 'string') {
|
|
376
|
-
throw new Error('Password is required for backup file import.');
|
|
377
|
-
}
|
|
378
|
-
setAuthState({
|
|
379
|
-
isLoading: true,
|
|
380
|
-
error: null
|
|
381
|
-
});
|
|
382
|
-
try {
|
|
383
|
-
// Decrypt private key from backup data
|
|
384
|
-
const Crypto = await import('expo-crypto');
|
|
385
|
-
|
|
386
|
-
// Convert hex strings to Uint8Array
|
|
387
|
-
const saltBytes = new Uint8Array(backupData.salt.match(/.{1,2}/g)?.map(byte => parseInt(byte, 16)) || []);
|
|
388
|
-
const ivBytes = new Uint8Array(backupData.iv.match(/.{1,2}/g)?.map(byte => parseInt(byte, 16)) || []);
|
|
389
|
-
|
|
390
|
-
// Derive key from password (same algorithm as EncryptedBackupGenerator)
|
|
391
|
-
const saltHex = Array.from(saltBytes).map(b => b.toString(16).padStart(2, '0')).join('');
|
|
392
|
-
let key = password + saltHex;
|
|
393
|
-
for (let i = 0; i < 10000; i++) {
|
|
394
|
-
key = await Crypto.digestStringAsync(Crypto.CryptoDigestAlgorithm.SHA256, key);
|
|
395
|
-
}
|
|
396
|
-
const keyBytes = new Uint8Array(32);
|
|
397
|
-
for (let i = 0; i < 64 && i < key.length; i += 2) {
|
|
398
|
-
keyBytes[i / 2] = parseInt(key.substring(i, i + 2), 16);
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
// Decrypt private key (XOR decryption - same as encryption)
|
|
402
|
-
const encryptedBytes = Buffer.from(backupData.encrypted, 'base64');
|
|
403
|
-
const decryptedBytes = new Uint8Array(encryptedBytes.length);
|
|
404
|
-
for (let i = 0; i < encryptedBytes.length; i++) {
|
|
405
|
-
decryptedBytes[i] = encryptedBytes[i] ^ keyBytes[i % keyBytes.length] ^ ivBytes[i % ivBytes.length];
|
|
406
|
-
}
|
|
407
|
-
const privateKey = new TextDecoder().decode(decryptedBytes);
|
|
408
|
-
|
|
409
|
-
// Import the key pair
|
|
410
|
-
const publicKey = await KeyManager.importKeyPair(privateKey);
|
|
411
|
-
|
|
412
|
-
// Verify public key matches
|
|
413
|
-
if (publicKey !== backupData.publicKey) {
|
|
414
|
-
throw new Error('Backup file is corrupted or password is incorrect');
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
// Mark as not synced
|
|
418
|
-
await storage.setItem('oxy_identity_synced', 'false');
|
|
419
|
-
setIdentitySynced(false);
|
|
420
|
-
|
|
421
|
-
// Try to sync with server
|
|
422
|
-
try {
|
|
423
|
-
// Check if this identity is already registered
|
|
424
|
-
const {
|
|
425
|
-
registered
|
|
426
|
-
} = await oxyServices.checkPublicKeyRegistered(publicKey);
|
|
427
|
-
if (registered) {
|
|
428
|
-
// Identity exists, mark as synced
|
|
429
|
-
await storage.setItem('oxy_identity_synced', 'true');
|
|
430
|
-
setIdentitySynced(true);
|
|
431
|
-
return {
|
|
432
|
-
synced: true
|
|
433
|
-
};
|
|
434
|
-
} else {
|
|
435
|
-
// Need to register this identity (identity is just the publicKey)
|
|
436
|
-
const {
|
|
437
|
-
signature,
|
|
438
|
-
timestamp
|
|
439
|
-
} = await SignatureService.createRegistrationSignature();
|
|
440
|
-
await oxyServices.register(publicKey, signature, timestamp);
|
|
441
|
-
await storage.setItem('oxy_identity_synced', 'true');
|
|
442
|
-
setIdentitySynced(true);
|
|
443
|
-
return {
|
|
444
|
-
synced: true
|
|
445
|
-
};
|
|
446
|
-
}
|
|
447
|
-
} catch (syncError) {
|
|
448
|
-
// Offline - identity restored locally but not synced
|
|
449
|
-
if (__DEV__) {
|
|
450
|
-
console.log('[Auth] Identity imported locally, will sync when online:', syncError);
|
|
451
|
-
}
|
|
452
|
-
return {
|
|
453
|
-
synced: false
|
|
454
|
-
};
|
|
455
|
-
}
|
|
456
|
-
} catch (error) {
|
|
457
|
-
const message = handleAuthError(error, {
|
|
458
|
-
defaultMessage: 'Failed to import identity. Please check your password and backup file.',
|
|
459
|
-
code: REGISTER_ERROR_CODE,
|
|
460
|
-
onError,
|
|
461
|
-
setAuthError: msg => setAuthState({
|
|
462
|
-
error: msg
|
|
463
|
-
}),
|
|
464
|
-
logger
|
|
465
|
-
});
|
|
466
|
-
loginFailure(message);
|
|
467
|
-
throw error;
|
|
468
|
-
} finally {
|
|
469
|
-
setAuthState({
|
|
470
|
-
isLoading: false
|
|
471
|
-
});
|
|
472
|
-
}
|
|
473
|
-
}, [oxyServices, storage, setAuthState, loginFailure, onError, logger, setIdentitySynced]);
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* Sign in with existing identity on device
|
|
477
|
-
*/
|
|
478
|
-
const signIn = useCallback(async deviceName => {
|
|
479
|
-
if (!storage) throw new Error('Storage not initialized');
|
|
480
|
-
setAuthState({
|
|
481
|
-
isLoading: true,
|
|
482
|
-
error: null
|
|
483
|
-
});
|
|
484
|
-
try {
|
|
485
|
-
// Get stored public key
|
|
486
|
-
const publicKey = await KeyManager.getPublicKey();
|
|
487
|
-
if (!publicKey) {
|
|
488
|
-
throw new Error('No identity found on this device. Please create or import an identity.');
|
|
489
|
-
}
|
|
490
|
-
return await performSignIn(publicKey);
|
|
491
|
-
} catch (error) {
|
|
492
|
-
const message = handleAuthError(error, {
|
|
493
|
-
defaultMessage: 'Sign in failed',
|
|
494
|
-
code: LOGIN_ERROR_CODE,
|
|
495
|
-
onError,
|
|
496
|
-
setAuthError: msg => setAuthState({
|
|
497
|
-
error: msg
|
|
498
|
-
}),
|
|
499
|
-
logger
|
|
500
|
-
});
|
|
501
|
-
loginFailure(message);
|
|
502
|
-
throw error;
|
|
503
|
-
} finally {
|
|
504
|
-
setAuthState({
|
|
505
|
-
isLoading: false
|
|
506
|
-
});
|
|
507
|
-
}
|
|
508
|
-
}, [storage, setAuthState, performSignIn, loginFailure, onError, logger]);
|
|
509
|
-
|
|
510
|
-
/**
|
|
511
|
-
* Logout from session
|
|
512
|
-
*/
|
|
513
|
-
const logout = useCallback(async targetSessionId => {
|
|
514
|
-
if (!activeSessionId) return;
|
|
515
|
-
try {
|
|
516
|
-
const sessionToLogout = targetSessionId || activeSessionId;
|
|
517
|
-
await oxyServices.logoutSession(activeSessionId, sessionToLogout);
|
|
518
|
-
const filteredSessions = sessions.filter(session => session.sessionId !== sessionToLogout);
|
|
519
|
-
updateSessions(filteredSessions, {
|
|
520
|
-
merge: false
|
|
521
|
-
});
|
|
522
|
-
if (sessionToLogout === activeSessionId) {
|
|
523
|
-
if (filteredSessions.length > 0) {
|
|
524
|
-
await switchSession(filteredSessions[0].sessionId);
|
|
525
|
-
} else {
|
|
526
|
-
await clearSessionState();
|
|
527
|
-
return;
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
} catch (error) {
|
|
531
|
-
const isInvalid = isInvalidSessionError(error);
|
|
532
|
-
if (isInvalid && targetSessionId === activeSessionId) {
|
|
533
|
-
await clearSessionState();
|
|
534
|
-
return;
|
|
535
|
-
}
|
|
536
|
-
handleAuthError(error, {
|
|
537
|
-
defaultMessage: 'Logout failed',
|
|
538
|
-
code: LOGOUT_ERROR_CODE,
|
|
539
|
-
onError,
|
|
540
|
-
setAuthError: msg => setAuthState({
|
|
541
|
-
error: msg
|
|
542
|
-
}),
|
|
543
|
-
logger,
|
|
544
|
-
status: isInvalid ? 401 : undefined
|
|
545
|
-
});
|
|
546
|
-
}
|
|
547
|
-
}, [activeSessionId, clearSessionState, logger, onError, oxyServices, sessions, setAuthState, switchSession, updateSessions]);
|
|
548
|
-
|
|
549
|
-
/**
|
|
550
|
-
* Logout from all sessions
|
|
551
|
-
*/
|
|
552
|
-
const logoutAll = useCallback(async () => {
|
|
553
|
-
if (!activeSessionId) {
|
|
554
|
-
const error = new Error('No active session found');
|
|
555
|
-
setAuthState({
|
|
556
|
-
error: error.message
|
|
557
|
-
});
|
|
558
|
-
onError?.({
|
|
559
|
-
message: error.message,
|
|
560
|
-
code: LOGOUT_ALL_ERROR_CODE,
|
|
561
|
-
status: 404
|
|
562
|
-
});
|
|
563
|
-
throw error;
|
|
564
|
-
}
|
|
565
|
-
try {
|
|
566
|
-
await oxyServices.logoutAllSessions(activeSessionId);
|
|
567
|
-
await clearSessionState();
|
|
568
|
-
} catch (error) {
|
|
569
|
-
handleAuthError(error, {
|
|
570
|
-
defaultMessage: 'Logout all failed',
|
|
571
|
-
code: LOGOUT_ALL_ERROR_CODE,
|
|
572
|
-
onError,
|
|
573
|
-
setAuthError: msg => setAuthState({
|
|
574
|
-
error: msg
|
|
575
|
-
}),
|
|
576
|
-
logger
|
|
577
|
-
});
|
|
578
|
-
throw error instanceof Error ? error : new Error('Logout all failed');
|
|
579
|
-
}
|
|
580
|
-
}, [activeSessionId, clearSessionState, logger, onError, oxyServices, setAuthState]);
|
|
581
|
-
|
|
582
|
-
/**
|
|
583
|
-
* Check if device has an identity stored
|
|
584
|
-
*/
|
|
585
|
-
const hasIdentity = useCallback(async () => {
|
|
586
|
-
return KeyManager.hasIdentity();
|
|
587
|
-
}, []);
|
|
588
|
-
|
|
589
|
-
/**
|
|
590
|
-
* Get the public key of the stored identity
|
|
591
|
-
*/
|
|
592
|
-
const getPublicKey = useCallback(async () => {
|
|
593
|
-
return KeyManager.getPublicKey();
|
|
594
|
-
}, []);
|
|
595
|
-
return {
|
|
596
|
-
createIdentity,
|
|
597
|
-
importIdentity,
|
|
598
|
-
signIn,
|
|
599
|
-
logout,
|
|
600
|
-
logoutAll,
|
|
601
|
-
hasIdentity,
|
|
602
|
-
getPublicKey,
|
|
603
|
-
isIdentitySynced: isIdentitySyncedFn,
|
|
604
|
-
syncIdentity
|
|
605
|
-
};
|
|
606
|
-
};
|
|
607
|
-
//# sourceMappingURL=useAuthOperations.js.map
|