@oxyhq/services 5.27.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +113 -484
- package/lib/commonjs/index.js +82 -607
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/client.js +0 -7
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +2 -2
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +13 -16
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +6 -7
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useDeviceManagement.js +2 -2
- package/lib/commonjs/ui/context/hooks/useDeviceManagement.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useLanguageManagement.js +7 -7
- package/lib/commonjs/ui/context/hooks/useLanguageManagement.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useSessionManagement.js +3 -3
- package/lib/commonjs/ui/context/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +2 -2
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js +2 -2
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +7 -7
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +3 -3
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionSocket.js +9 -10
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/commonjs/ui/index.js +1 -11
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +3 -3
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +13 -13
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +2 -2
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +2 -2
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +3 -3
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +2 -2
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +3 -3
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +2 -2
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +1 -11
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/stores/authStore.js +2 -2
- package/lib/commonjs/ui/stores/authStore.js.map +1 -1
- package/lib/commonjs/ui/utils/colorUtils.js +8 -8
- package/lib/commonjs/ui/utils/colorUtils.js.map +1 -1
- package/lib/commonjs/ui/utils/themeUtils.js +6 -6
- package/lib/commonjs/ui/utils/themeUtils.js.map +1 -1
- package/lib/module/index.js +30 -75
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/client.js +0 -2
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +1 -1
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +4 -4
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +2 -2
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/context/hooks/useDeviceManagement.js +1 -1
- package/lib/module/ui/context/hooks/useDeviceManagement.js.map +1 -1
- package/lib/module/ui/context/hooks/useLanguageManagement.js +1 -1
- package/lib/module/ui/context/hooks/useLanguageManagement.js.map +1 -1
- package/lib/module/ui/context/hooks/useSessionManagement.js +1 -1
- package/lib/module/ui/context/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceManagement.js +1 -1
- package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +1 -1
- package/lib/module/ui/hooks/useI18n.js.map +1 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +1 -1
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/module/ui/hooks/useSessionManagement.js +1 -1
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/hooks/useSessionSocket.js +2 -2
- package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/module/ui/index.js +0 -2
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +1 -1
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +1 -1
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/server.js +0 -2
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/stores/authStore.js +1 -1
- package/lib/module/ui/stores/authStore.js.map +1 -1
- package/lib/module/ui/utils/colorUtils.js +1 -1
- package/lib/module/ui/utils/colorUtils.js.map +1 -1
- package/lib/module/ui/utils/themeUtils.js +1 -1
- package/lib/module/ui/utils/themeUtils.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +18 -35
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +0 -2
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +3 -3
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +3 -3
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useDeviceManagement.d.ts +2 -2
- package/lib/typescript/commonjs/ui/context/hooks/useDeviceManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useLanguageManagement.d.ts +2 -2
- package/lib/typescript/commonjs/ui/context/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useSessionManagement.d.ts +3 -3
- package/lib/typescript/commonjs/ui/context/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +2 -2
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts +2 -2
- package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +2 -2
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +3 -3
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useWebSSO.d.ts +2 -2
- package/lib/typescript/commonjs/ui/hooks/useWebSSO.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts +0 -2
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/server.d.ts +0 -2
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/stores/accountStore.d.ts +1 -1
- package/lib/typescript/commonjs/ui/stores/accountStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +1 -1
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts +1 -1
- package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/stores/fileStore.d.ts +1 -1
- package/lib/typescript/commonjs/ui/stores/fileStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts +1 -1
- package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts +1 -1
- package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/authHelpers.d.ts +1 -1
- package/lib/typescript/commonjs/ui/utils/authHelpers.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +2 -2
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts +1 -1
- package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +1 -1
- package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +1 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +1 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/themeUtils.d.ts +2 -2
- package/lib/typescript/commonjs/ui/utils/themeUtils.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +18 -35
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +0 -2
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +1 -1
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +3 -3
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +3 -3
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useDeviceManagement.d.ts +2 -2
- package/lib/typescript/module/ui/context/hooks/useDeviceManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useLanguageManagement.d.ts +2 -2
- package/lib/typescript/module/ui/context/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useSessionManagement.d.ts +3 -3
- package/lib/typescript/module/ui/context/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +2 -2
- package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +2 -2
- package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +2 -2
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +3 -3
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useStorage.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useWebSSO.d.ts +2 -2
- package/lib/typescript/module/ui/hooks/useWebSSO.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts +0 -2
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/server.d.ts +0 -2
- package/lib/typescript/module/ui/server.d.ts.map +1 -1
- package/lib/typescript/module/ui/stores/accountStore.d.ts +1 -1
- package/lib/typescript/module/ui/stores/accountStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/stores/assetStore.d.ts +1 -1
- package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/stores/authStore.d.ts +1 -1
- package/lib/typescript/module/ui/stores/authStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/stores/fileStore.d.ts +1 -1
- package/lib/typescript/module/ui/stores/fileStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/stores/followStore.d.ts +1 -1
- package/lib/typescript/module/ui/stores/followStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/types/fileManagement.d.ts +1 -1
- package/lib/typescript/module/ui/types/fileManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/authHelpers.d.ts +1 -1
- package/lib/typescript/module/ui/utils/authHelpers.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts +2 -2
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/colorUtils.d.ts +1 -1
- package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts +1 -1
- package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +1 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +1 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/themeUtils.d.ts +2 -2
- package/lib/typescript/module/ui/utils/themeUtils.d.ts.map +1 -1
- package/package.json +38 -152
- package/src/index.ts +56 -254
- package/src/ui/client.ts +0 -4
- package/src/ui/components/SignInModal.tsx +1 -1
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +1 -1
- package/src/ui/components/fileManagement/FileViewer.tsx +1 -1
- package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +1 -1
- package/src/ui/context/OxyContext.tsx +6 -6
- package/src/ui/context/hooks/useAuthOperations.ts +5 -5
- package/src/ui/context/hooks/useDeviceManagement.ts +3 -3
- package/src/ui/context/hooks/useLanguageManagement.ts +2 -2
- package/src/ui/context/hooks/useSessionManagement.ts +4 -4
- package/src/ui/hooks/mutations/mutationFactory.ts +1 -1
- package/src/ui/hooks/mutations/useAccountMutations.ts +1 -1
- package/src/ui/hooks/mutations/useServicesMutations.ts +1 -1
- package/src/ui/hooks/queries/useAccountQueries.ts +1 -1
- package/src/ui/hooks/queries/useSecurityQueries.ts +1 -1
- package/src/ui/hooks/queries/useServicesQueries.ts +1 -1
- package/src/ui/hooks/useAssets.ts +7 -7
- package/src/ui/hooks/useAuth.ts +1 -1
- package/src/ui/hooks/useDeviceManagement.ts +3 -3
- package/src/ui/hooks/useFileDownloadUrl.ts +1 -1
- package/src/ui/hooks/useFileFiltering.ts +1 -1
- package/src/ui/hooks/useI18n.ts +1 -1
- package/src/ui/hooks/useLanguageManagement.ts +2 -2
- package/src/ui/hooks/useSessionManagement.ts +4 -4
- package/src/ui/hooks/useSessionSocket.ts +2 -2
- package/src/ui/hooks/useStorage.ts +1 -1
- package/src/ui/hooks/useWebSSO.ts +2 -2
- package/src/ui/index.ts +0 -3
- package/src/ui/screens/AccountCenterScreen.tsx +1 -1
- package/src/ui/screens/AccountSwitcherScreen.tsx +2 -2
- package/src/ui/screens/AppInfoScreen.tsx +1 -1
- package/src/ui/screens/EditProfileFieldScreen.tsx +1 -1
- package/src/ui/screens/FeedbackScreen.tsx +1 -1
- package/src/ui/screens/FileManagementScreen.tsx +1 -1
- package/src/ui/screens/LanguageSelectorScreen.tsx +1 -1
- package/src/ui/screens/OxyAuthScreen.tsx +1 -1
- package/src/ui/screens/PrivacySettingsScreen.tsx +1 -1
- package/src/ui/screens/ProfileScreen.tsx +2 -2
- package/src/ui/screens/SearchSettingsScreen.tsx +1 -1
- package/src/ui/screens/SessionManagementScreen.tsx +1 -1
- package/src/ui/screens/UserListScreen.tsx +2 -2
- package/src/ui/server.ts +0 -4
- package/src/ui/stores/accountStore.ts +1 -1
- package/src/ui/stores/assetStore.ts +1 -1
- package/src/ui/stores/authStore.ts +2 -2
- package/src/ui/stores/fileStore.ts +1 -1
- package/src/ui/stores/followStore.ts +1 -1
- package/src/ui/types/fileManagement.ts +1 -1
- package/src/ui/types/navigation.ts +2 -2
- package/src/ui/utils/authHelpers.ts +1 -1
- package/src/ui/utils/avatarUtils.ts +2 -2
- package/src/ui/utils/colorUtils.ts +1 -1
- package/src/ui/utils/errorHandlers.ts +1 -1
- package/src/ui/utils/fileManagement.ts +1 -1
- package/src/ui/utils/sessionHelpers.ts +1 -1
- package/src/ui/utils/themeUtils.ts +2 -2
- package/dist/web/oxy-services.esm.js +0 -2
- package/dist/web/oxy-services.esm.js.map +0 -1
- package/dist/web/types/assets/icons/OxyServices.d.ts +0 -28
- package/dist/web/types/assets/illustrations/HighFive.d.ts +0 -8
- package/dist/web/types/constants/version.d.ts +0 -13
- package/dist/web/types/core/AuthManager.d.ts +0 -143
- package/dist/web/types/core/CrossDomainAuth.d.ts +0 -160
- package/dist/web/types/core/HttpService.d.ts +0 -163
- package/dist/web/types/core/OxyServices.base.d.ts +0 -126
- package/dist/web/types/core/OxyServices.d.ts +0 -81
- package/dist/web/types/core/OxyServices.errors.d.ts +0 -11
- package/dist/web/types/core/index.d.ts +0 -20
- package/dist/web/types/core/mixins/OxyServices.analytics.d.ts +0 -66
- package/dist/web/types/core/mixins/OxyServices.assets.d.ts +0 -135
- package/dist/web/types/core/mixins/OxyServices.auth.d.ts +0 -186
- package/dist/web/types/core/mixins/OxyServices.developer.d.ts +0 -99
- package/dist/web/types/core/mixins/OxyServices.devices.d.ts +0 -96
- package/dist/web/types/core/mixins/OxyServices.features.d.ts +0 -228
- package/dist/web/types/core/mixins/OxyServices.fedcm.d.ts +0 -200
- package/dist/web/types/core/mixins/OxyServices.karma.d.ts +0 -85
- package/dist/web/types/core/mixins/OxyServices.language.d.ts +0 -81
- package/dist/web/types/core/mixins/OxyServices.location.d.ts +0 -64
- package/dist/web/types/core/mixins/OxyServices.payment.d.ts +0 -111
- package/dist/web/types/core/mixins/OxyServices.popup.d.ts +0 -205
- package/dist/web/types/core/mixins/OxyServices.privacy.d.ts +0 -122
- package/dist/web/types/core/mixins/OxyServices.redirect.d.ts +0 -245
- package/dist/web/types/core/mixins/OxyServices.security.d.ts +0 -78
- package/dist/web/types/core/mixins/OxyServices.user.d.ts +0 -184
- package/dist/web/types/core/mixins/OxyServices.utility.d.ts +0 -93
- package/dist/web/types/core/mixins/index.d.ts +0 -30
- package/dist/web/types/core/mixins/mixinHelpers.d.ts +0 -31
- package/dist/web/types/crypto/index.d.ts +0 -11
- package/dist/web/types/crypto/keyManager.d.ts +0 -189
- package/dist/web/types/crypto/polyfill.d.ts +0 -12
- package/dist/web/types/crypto/recoveryPhrase.d.ts +0 -58
- package/dist/web/types/crypto/signatureService.d.ts +0 -86
- package/dist/web/types/i18n/index.d.ts +0 -3
- package/dist/web/types/index.d.ts +0 -62
- package/dist/web/types/lib/sonner-safe.d.ts +0 -8
- package/dist/web/types/lib/sonner.d.ts +0 -11
- package/dist/web/types/lib/sonner.web.d.ts +0 -14
- package/dist/web/types/models/interfaces.d.ts +0 -415
- package/dist/web/types/models/session.d.ts +0 -27
- package/dist/web/types/node/index.d.ts +0 -9
- package/dist/web/types/shared/index.d.ts +0 -28
- package/dist/web/types/shared/utils/colorUtils.d.ts +0 -104
- package/dist/web/types/shared/utils/debugUtils.d.ts +0 -48
- package/dist/web/types/shared/utils/errorUtils.d.ts +0 -97
- package/dist/web/types/shared/utils/index.d.ts +0 -13
- package/dist/web/types/shared/utils/networkUtils.d.ts +0 -139
- package/dist/web/types/shared/utils/themeUtils.d.ts +0 -90
- package/dist/web/types/ui/client.d.ts +0 -33
- package/dist/web/types/ui/components/ActivityIndicator.d.ts +0 -44
- package/dist/web/types/ui/components/AnimationExample.d.ts +0 -3
- package/dist/web/types/ui/components/AutoHeightScrollView.d.ts +0 -22
- package/dist/web/types/ui/components/Avatar.d.ts +0 -60
- package/dist/web/types/ui/components/BottomSheet.d.ts +0 -28
- package/dist/web/types/ui/components/BottomSheetRouter.d.ts +0 -8
- package/dist/web/types/ui/components/CrossFadeIcon.d.ts +0 -26
- package/dist/web/types/ui/components/EmptyState.d.ts +0 -7
- package/dist/web/types/ui/components/ErrorBoundary.d.ts +0 -30
- package/dist/web/types/ui/components/FollowButton.d.ts +0 -17
- package/dist/web/types/ui/components/FontLoader.d.ts +0 -14
- package/dist/web/types/ui/components/GroupedItem.d.ts +0 -23
- package/dist/web/types/ui/components/GroupedSection.d.ts +0 -24
- package/dist/web/types/ui/components/Header.d.ts +0 -37
- package/dist/web/types/ui/components/HelperText.d.ts +0 -46
- package/dist/web/types/ui/components/Icon.d.ts +0 -59
- package/dist/web/types/ui/components/IconButton/IconButton.d.ts +0 -98
- package/dist/web/types/ui/components/IconButton/utils.d.ts +0 -18
- package/dist/web/types/ui/components/LoadingState.d.ts +0 -8
- package/dist/web/types/ui/components/OxyLogo.d.ts +0 -28
- package/dist/web/types/ui/components/OxyPayButton.d.ts +0 -28
- package/dist/web/types/ui/components/OxyProvider.d.ts +0 -33
- package/dist/web/types/ui/components/OxySignInButton.d.ts +0 -64
- package/dist/web/types/ui/components/ProfileCard.d.ts +0 -17
- package/dist/web/types/ui/components/QuickActions.d.ts +0 -14
- package/dist/web/types/ui/components/Section.d.ts +0 -11
- package/dist/web/types/ui/components/SectionTitle.d.ts +0 -9
- package/dist/web/types/ui/components/SettingRow.d.ts +0 -19
- package/dist/web/types/ui/components/SignInModal.d.ts +0 -17
- package/dist/web/types/ui/components/StepBasedScreen.d.ts +0 -25
- package/dist/web/types/ui/components/Surface.d.ts +0 -75
- package/dist/web/types/ui/components/TextField/Addons/Outline.d.ts +0 -15
- package/dist/web/types/ui/components/TextField/Addons/Underline.d.ts +0 -18
- package/dist/web/types/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -44
- package/dist/web/types/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -72
- package/dist/web/types/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -77
- package/dist/web/types/ui/components/TextField/Adornment/enums.d.ts +0 -12
- package/dist/web/types/ui/components/TextField/Adornment/types.d.ts +0 -11
- package/dist/web/types/ui/components/TextField/Adornment/utils.d.ts +0 -11
- package/dist/web/types/ui/components/TextField/Label/InputLabel.d.ts +0 -4
- package/dist/web/types/ui/components/TextField/Label/LabelBackground.d.ts +0 -3
- package/dist/web/types/ui/components/TextField/TextFieldFlat.d.ts +0 -3
- package/dist/web/types/ui/components/TextField/TextFieldOutlined.d.ts +0 -3
- package/dist/web/types/ui/components/TextField/constants.d.ts +0 -31
- package/dist/web/types/ui/components/TextField/helpers.d.ts +0 -96
- package/dist/web/types/ui/components/TextField/types.d.ts +0 -155
- package/dist/web/types/ui/components/TextField.d.ts +0 -191
- package/dist/web/types/ui/components/TouchableRipple/Pressable.d.ts +0 -12
- package/dist/web/types/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -61
- package/dist/web/types/ui/components/TouchableRipple/utils.d.ts +0 -10
- package/dist/web/types/ui/components/Typography/AnimatedText.d.ts +0 -34
- package/dist/web/types/ui/components/Typography/types.d.ts +0 -18
- package/dist/web/types/ui/components/WebOxyProvider.d.ts +0 -51
- package/dist/web/types/ui/components/feedback/FormInput.d.ts +0 -19
- package/dist/web/types/ui/components/feedback/ProgressIndicator.d.ts +0 -10
- package/dist/web/types/ui/components/feedback/constants.d.ts +0 -4
- package/dist/web/types/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/dist/web/types/ui/components/feedback/index.d.ts +0 -6
- package/dist/web/types/ui/components/feedback/types.d.ts +0 -45
- package/dist/web/types/ui/components/feedback/useFeedbackForm.d.ts +0 -8
- package/dist/web/types/ui/components/fileManagement/AnimatedButton.d.ts +0 -15
- package/dist/web/types/ui/components/fileManagement/FileDetailsModal.d.ts +0 -14
- package/dist/web/types/ui/components/fileManagement/FileViewer.d.ts +0 -17
- package/dist/web/types/ui/components/fileManagement/UploadPreview.d.ts +0 -20
- package/dist/web/types/ui/components/fileManagement/styles.d.ts +0 -859
- package/dist/web/types/ui/components/icon/FAIRWalletIcon.d.ts +0 -8
- package/dist/web/types/ui/components/icon/OxyIcon.d.ts +0 -9
- package/dist/web/types/ui/components/icon/index.d.ts +0 -3
- package/dist/web/types/ui/components/index.d.ts +0 -16
- package/dist/web/types/ui/components/internal/GroupedPillButtons.d.ts +0 -17
- package/dist/web/types/ui/components/internal/PinInput.d.ts +0 -22
- package/dist/web/types/ui/components/modals/DeleteAccountModal.d.ts +0 -18
- package/dist/web/types/ui/components/modals/index.d.ts +0 -1
- package/dist/web/types/ui/components/payment/PaymentDetailsStep.d.ts +0 -20
- package/dist/web/types/ui/components/payment/PaymentMethodStep.d.ts +0 -13
- package/dist/web/types/ui/components/payment/PaymentReviewStep.d.ts +0 -15
- package/dist/web/types/ui/components/payment/PaymentSuccessStep.d.ts +0 -9
- package/dist/web/types/ui/components/payment/PaymentSummaryStep.d.ts +0 -14
- package/dist/web/types/ui/components/payment/constants.d.ts +0 -6
- package/dist/web/types/ui/components/payment/index.d.ts +0 -8
- package/dist/web/types/ui/components/payment/paymentStyles.d.ts +0 -395
- package/dist/web/types/ui/components/payment/types.d.ts +0 -39
- package/dist/web/types/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -26
- package/dist/web/types/ui/components/styles/overlay.d.ts +0 -3
- package/dist/web/types/ui/components/styles/shadow.d.ts +0 -2
- package/dist/web/types/ui/components/theming.d.ts +0 -7
- package/dist/web/types/ui/components/types.d.ts +0 -79
- package/dist/web/types/ui/components/utils/forwardRef.d.ts +0 -11
- package/dist/web/types/ui/components/utils/hasTouchHandler.d.ts +0 -5
- package/dist/web/types/ui/components/utils/roundLayoutSize.d.ts +0 -1
- package/dist/web/types/ui/components/utils/splitStyles.d.ts +0 -19
- package/dist/web/types/ui/constants/iconColors.d.ts +0 -129
- package/dist/web/types/ui/constants/spacing.d.ts +0 -32
- package/dist/web/types/ui/constants/theme.d.ts +0 -96
- package/dist/web/types/ui/context/OxyContext.d.ts +0 -74
- package/dist/web/types/ui/context/ThemeContext.d.ts +0 -18
- package/dist/web/types/ui/context/hooks/useAuthOperations.d.ts +0 -39
- package/dist/web/types/ui/context/hooks/useDeviceManagement.d.ts +0 -26
- package/dist/web/types/ui/context/hooks/useLanguageManagement.d.ts +0 -24
- package/dist/web/types/ui/context/hooks/useSessionManagement.d.ts +0 -40
- package/dist/web/types/ui/hooks/index.d.ts +0 -6
- package/dist/web/types/ui/hooks/mutations/index.d.ts +0 -8
- package/dist/web/types/ui/hooks/mutations/mutationFactory.d.ts +0 -75
- package/dist/web/types/ui/hooks/mutations/useAccountMutations.d.ts +0 -68
- package/dist/web/types/ui/hooks/mutations/useServicesMutations.d.ts +0 -22
- package/dist/web/types/ui/hooks/queries/index.d.ts +0 -10
- package/dist/web/types/ui/hooks/queries/queryKeys.d.ts +0 -64
- package/dist/web/types/ui/hooks/queries/useAccountQueries.d.ts +0 -42
- package/dist/web/types/ui/hooks/queries/useSecurityQueries.d.ts +0 -14
- package/dist/web/types/ui/hooks/queries/useServicesQueries.d.ts +0 -31
- package/dist/web/types/ui/hooks/queryClient.d.ts +0 -18
- package/dist/web/types/ui/hooks/useAssets.d.ts +0 -34
- package/dist/web/types/ui/hooks/useAsyncAction.d.ts +0 -50
- package/dist/web/types/ui/hooks/useAuth.d.ts +0 -73
- package/dist/web/types/ui/hooks/useColorScheme.d.ts +0 -7
- package/dist/web/types/ui/hooks/useDeviceManagement.d.ts +0 -26
- package/dist/web/types/ui/hooks/useFileDownloadUrl.d.ts +0 -18
- package/dist/web/types/ui/hooks/useFileFiltering.d.ts +0 -28
- package/dist/web/types/ui/hooks/useFollow.d.ts +0 -61
- package/dist/web/types/ui/hooks/useFollow.types.d.ts +0 -32
- package/dist/web/types/ui/hooks/useI18n.d.ts +0 -4
- package/dist/web/types/ui/hooks/useLanguageManagement.d.ts +0 -24
- package/dist/web/types/ui/hooks/useProfileEditing.d.ts +0 -35
- package/dist/web/types/ui/hooks/useQueryClient.d.ts +0 -6
- package/dist/web/types/ui/hooks/useSessionManagement.d.ts +0 -40
- package/dist/web/types/ui/hooks/useSessionSocket.d.ts +0 -13
- package/dist/web/types/ui/hooks/useSettingToggle.d.ts +0 -56
- package/dist/web/types/ui/hooks/useStorage.d.ts +0 -15
- package/dist/web/types/ui/hooks/useThemeColors.d.ts +0 -93
- package/dist/web/types/ui/hooks/useThemeStyles.d.ts +0 -44
- package/dist/web/types/ui/hooks/useWebSSO.d.ts +0 -57
- package/dist/web/types/ui/index.d.ts +0 -7
- package/dist/web/types/ui/isFrontend.d.ts +0 -2
- package/dist/web/types/ui/navigation/bottomSheetManager.d.ts +0 -26
- package/dist/web/types/ui/navigation/routes.d.ts +0 -5
- package/dist/web/types/ui/screens/AccountCenterScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/AccountOverviewScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/AccountSettingsScreen.d.ts +0 -7
- package/dist/web/types/ui/screens/AccountSwitcherScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/AccountVerificationScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/AppInfoScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/EditProfileFieldScreen.d.ts +0 -12
- package/dist/web/types/ui/screens/FAQScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/FeedbackScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/FileManagementScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/FollowersListScreen.d.ts +0 -8
- package/dist/web/types/ui/screens/FollowingListScreen.d.ts +0 -8
- package/dist/web/types/ui/screens/HelpSupportScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/HistoryViewScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/LanguageSelectorScreen.d.ts +0 -6
- package/dist/web/types/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/LegalDocumentsScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/OxyAuthScreen.d.ts +0 -16
- package/dist/web/types/ui/screens/PaymentGatewayScreen.d.ts +0 -14
- package/dist/web/types/ui/screens/PremiumSubscriptionScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/PrivacySettingsScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/ProfileScreen.d.ts +0 -8
- package/dist/web/types/ui/screens/SavesCollectionsScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/SearchSettingsScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/SessionManagementScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/UserLinksScreen.d.ts +0 -14
- package/dist/web/types/ui/screens/UserListScreen.d.ts +0 -10
- package/dist/web/types/ui/screens/WelcomeNewUserScreen.d.ts +0 -12
- package/dist/web/types/ui/screens/karma/KarmaAboutScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/karma/KarmaCenterScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/karma/KarmaFAQScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -4
- package/dist/web/types/ui/screens/karma/KarmaRulesScreen.d.ts +0 -4
- package/dist/web/types/ui/server.d.ts +0 -42
- package/dist/web/types/ui/stores/accountStore.d.ts +0 -33
- package/dist/web/types/ui/stores/assetStore.d.ts +0 -53
- package/dist/web/types/ui/stores/authStore.d.ts +0 -16
- package/dist/web/types/ui/stores/fileStore.d.ts +0 -30
- package/dist/web/types/ui/stores/followStore.d.ts +0 -24
- package/dist/web/types/ui/styles/authStyles.d.ts +0 -331
- package/dist/web/types/ui/styles/fonts.d.ts +0 -20
- package/dist/web/types/ui/styles/index.d.ts +0 -4
- package/dist/web/types/ui/styles/spacing.d.ts +0 -48
- package/dist/web/types/ui/styles/theme.d.ts +0 -67
- package/dist/web/types/ui/types/fileManagement.d.ts +0 -40
- package/dist/web/types/ui/types/navigation.d.ts +0 -36
- package/dist/web/types/ui/utils/authHelpers.d.ts +0 -98
- package/dist/web/types/ui/utils/avatarUtils.d.ts +0 -33
- package/dist/web/types/ui/utils/colorUtils.d.ts +0 -9
- package/dist/web/types/ui/utils/confirmAction.d.ts +0 -6
- package/dist/web/types/ui/utils/errorHandlers.d.ts +0 -34
- package/dist/web/types/ui/utils/fileManagement.d.ts +0 -86
- package/dist/web/types/ui/utils/iconNames.d.ts +0 -111
- package/dist/web/types/ui/utils/sessionHelpers.d.ts +0 -63
- package/dist/web/types/ui/utils/storageHelpers.d.ts +0 -27
- package/dist/web/types/ui/utils/themeUtils.d.ts +0 -10
- package/dist/web/types/ui/utils/userUtils.d.ts +0 -28
- package/dist/web/types/utils/apiUtils.d.ts +0 -53
- package/dist/web/types/utils/asyncUtils.d.ts +0 -58
- package/dist/web/types/utils/cache.d.ts +0 -127
- package/dist/web/types/utils/deviceManager.d.ts +0 -65
- package/dist/web/types/utils/errorUtils.d.ts +0 -46
- package/dist/web/types/utils/hookUtils.d.ts +0 -101
- package/dist/web/types/utils/index.d.ts +0 -6
- package/dist/web/types/utils/languageUtils.d.ts +0 -37
- package/dist/web/types/utils/loggerUtils.d.ts +0 -48
- package/dist/web/types/utils/platform.d.ts +0 -40
- package/dist/web/types/utils/platformInit.d.ts +0 -8
- package/dist/web/types/utils/requestUtils.d.ts +0 -123
- package/dist/web/types/utils/sessionUtils.d.ts +0 -54
- package/dist/web/types/utils/validationUtils.d.ts +0 -85
- package/dist/web/types/web/WebOxyContext.d.ts +0 -151
- package/dist/web/types/web/index.d.ts +0 -52
- package/dist/web/types/web.d.ts +0 -53
- package/lib/commonjs/constants/version.js +0 -28
- package/lib/commonjs/constants/version.js.map +0 -1
- package/lib/commonjs/core/AuthManager.js +0 -405
- package/lib/commonjs/core/AuthManager.js.map +0 -1
- package/lib/commonjs/core/CrossDomainAuth.js +0 -277
- package/lib/commonjs/core/CrossDomainAuth.js.map +0 -1
- package/lib/commonjs/core/HttpService.js +0 -697
- 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 -149
- package/lib/commonjs/core/OxyServices.js.map +0 -1
- package/lib/commonjs/core/index.js +0 -158
- 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 -390
- package/lib/commonjs/core/mixins/OxyServices.assets.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.auth.js +0 -296
- 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.features.js +0 -372
- package/lib/commonjs/core/mixins/OxyServices.features.js.map +0 -1
- package/lib/commonjs/core/mixins/OxyServices.fedcm.js +0 -464
- package/lib/commonjs/core/mixins/OxyServices.fedcm.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.popup.js +0 -393
- package/lib/commonjs/core/mixins/OxyServices.popup.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.redirect.js +0 -378
- package/lib/commonjs/core/mixins/OxyServices.redirect.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 -75
- 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 -34
- package/lib/commonjs/crypto/index.js.map +0 -1
- package/lib/commonjs/crypto/keyManager.js +0 -942
- 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/recoveryPhrase.js +0 -152
- package/lib/commonjs/crypto/recoveryPhrase.js.map +0 -1
- package/lib/commonjs/crypto/signatureService.js +0 -289
- package/lib/commonjs/crypto/signatureService.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 -944
- 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/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/shared/index.js +0 -227
- package/lib/commonjs/shared/index.js.map +0 -1
- package/lib/commonjs/shared/utils/colorUtils.js +0 -161
- package/lib/commonjs/shared/utils/colorUtils.js.map +0 -1
- package/lib/commonjs/shared/utils/debugUtils.js +0 -84
- package/lib/commonjs/shared/utils/debugUtils.js.map +0 -1
- package/lib/commonjs/shared/utils/errorUtils.js +0 -190
- package/lib/commonjs/shared/utils/errorUtils.js.map +0 -1
- package/lib/commonjs/shared/utils/index.js +0 -196
- package/lib/commonjs/shared/utils/index.js.map +0 -1
- package/lib/commonjs/shared/utils/networkUtils.js +0 -213
- package/lib/commonjs/shared/utils/networkUtils.js.map +0 -1
- package/lib/commonjs/shared/utils/themeUtils.js +0 -118
- package/lib/commonjs/shared/utils/themeUtils.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 -168
- package/lib/commonjs/utils/errorUtils.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/platform.js +0 -129
- package/lib/commonjs/utils/platform.js.map +0 -1
- package/lib/commonjs/utils/platformInit.js +0 -13
- package/lib/commonjs/utils/platformInit.js.map +0 -1
- package/lib/commonjs/utils/platformInit.native.js +0 -16
- package/lib/commonjs/utils/platformInit.native.js.map +0 -1
- package/lib/commonjs/utils/requestUtils.js +0 -218
- 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/commonjs/utils/validationUtils.js.map +0 -1
- package/lib/commonjs/web/WebOxyContext.js +0 -384
- package/lib/commonjs/web/WebOxyContext.js.map +0 -1
- package/lib/commonjs/web/index.js +0 -319
- package/lib/commonjs/web/index.js.map +0 -1
- package/lib/commonjs/web.js +0 -659
- package/lib/commonjs/web.js.map +0 -1
- package/lib/module/constants/version.js +0 -21
- package/lib/module/constants/version.js.map +0 -1
- package/lib/module/core/AuthManager.js +0 -399
- package/lib/module/core/AuthManager.js.map +0 -1
- package/lib/module/core/CrossDomainAuth.js +0 -271
- package/lib/module/core/CrossDomainAuth.js.map +0 -1
- package/lib/module/core/HttpService.js +0 -692
- 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 -134
- package/lib/module/core/OxyServices.js.map +0 -1
- package/lib/module/core/index.js +0 -31
- 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 -386
- package/lib/module/core/mixins/OxyServices.assets.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.auth.js +0 -292
- 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.features.js +0 -369
- package/lib/module/core/mixins/OxyServices.features.js.map +0 -1
- package/lib/module/core/mixins/OxyServices.fedcm.js +0 -461
- package/lib/module/core/mixins/OxyServices.fedcm.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.popup.js +0 -390
- package/lib/module/core/mixins/OxyServices.popup.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.redirect.js +0 -375
- package/lib/module/core/mixins/OxyServices.redirect.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 -72
- 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 -18
- package/lib/module/crypto/index.js.map +0 -1
- package/lib/module/crypto/keyManager.js +0 -939
- 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/recoveryPhrase.js +0 -147
- package/lib/module/crypto/recoveryPhrase.js.map +0 -1
- package/lib/module/crypto/signatureService.js +0 -286
- package/lib/module/crypto/signatureService.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 -944
- 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/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/shared/index.js +0 -37
- package/lib/module/shared/index.js.map +0 -1
- package/lib/module/shared/utils/colorUtils.js +0 -150
- package/lib/module/shared/utils/colorUtils.js.map +0 -1
- package/lib/module/shared/utils/debugUtils.js +0 -75
- package/lib/module/shared/utils/debugUtils.js.map +0 -1
- package/lib/module/shared/utils/errorUtils.js +0 -176
- package/lib/module/shared/utils/errorUtils.js.map +0 -1
- package/lib/module/shared/utils/index.js +0 -21
- package/lib/module/shared/utils/index.js.map +0 -1
- package/lib/module/shared/utils/networkUtils.js +0 -202
- package/lib/module/shared/utils/networkUtils.js.map +0 -1
- package/lib/module/shared/utils/themeUtils.js +0 -109
- package/lib/module/shared/utils/themeUtils.js.map +0 -1
- 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 -160
- package/lib/module/utils/errorUtils.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/platform.js +0 -118
- package/lib/module/utils/platform.js.map +0 -1
- package/lib/module/utils/platformInit.js +0 -13
- package/lib/module/utils/platformInit.js.map +0 -1
- package/lib/module/utils/platformInit.native.js +0 -16
- package/lib/module/utils/platformInit.native.js.map +0 -1
- package/lib/module/utils/requestUtils.js +0 -212
- package/lib/module/utils/requestUtils.js.map +0 -1
- package/lib/module/utils/sessionUtils.js +0 -180
- package/lib/module/utils/sessionUtils.js.map +0 -1
- package/lib/module/utils/validationUtils.js +0 -170
- package/lib/module/utils/validationUtils.js.map +0 -1
- package/lib/module/web/WebOxyContext.js +0 -377
- package/lib/module/web/WebOxyContext.js.map +0 -1
- package/lib/module/web/index.js +0 -72
- package/lib/module/web/index.js.map +0 -1
- package/lib/module/web.js +0 -76
- package/lib/module/web.js.map +0 -1
- package/lib/typescript/commonjs/constants/version.d.ts +0 -14
- package/lib/typescript/commonjs/constants/version.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/AuthManager.d.ts +0 -144
- package/lib/typescript/commonjs/core/AuthManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/CrossDomainAuth.d.ts +0 -161
- package/lib/typescript/commonjs/core/CrossDomainAuth.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/HttpService.d.ts +0 -164
- package/lib/typescript/commonjs/core/HttpService.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/OxyServices.base.d.ts +0 -127
- package/lib/typescript/commonjs/core/OxyServices.base.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/OxyServices.d.ts +0 -82
- package/lib/typescript/commonjs/core/OxyServices.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/OxyServices.errors.d.ts +0 -12
- package/lib/typescript/commonjs/core/OxyServices.errors.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/index.d.ts +0 -21
- package/lib/typescript/commonjs/core/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.analytics.d.ts +0 -67
- package/lib/typescript/commonjs/core/mixins/OxyServices.analytics.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.assets.d.ts +0 -136
- package/lib/typescript/commonjs/core/mixins/OxyServices.assets.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.auth.d.ts +0 -187
- package/lib/typescript/commonjs/core/mixins/OxyServices.auth.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.developer.d.ts +0 -100
- package/lib/typescript/commonjs/core/mixins/OxyServices.developer.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.devices.d.ts +0 -97
- package/lib/typescript/commonjs/core/mixins/OxyServices.devices.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.features.d.ts +0 -229
- package/lib/typescript/commonjs/core/mixins/OxyServices.features.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.fedcm.d.ts +0 -201
- package/lib/typescript/commonjs/core/mixins/OxyServices.fedcm.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.karma.d.ts +0 -86
- package/lib/typescript/commonjs/core/mixins/OxyServices.karma.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.language.d.ts +0 -82
- package/lib/typescript/commonjs/core/mixins/OxyServices.language.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.location.d.ts +0 -65
- package/lib/typescript/commonjs/core/mixins/OxyServices.location.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.payment.d.ts +0 -112
- package/lib/typescript/commonjs/core/mixins/OxyServices.payment.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.popup.d.ts +0 -206
- package/lib/typescript/commonjs/core/mixins/OxyServices.popup.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.privacy.d.ts +0 -123
- package/lib/typescript/commonjs/core/mixins/OxyServices.privacy.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.redirect.d.ts +0 -246
- package/lib/typescript/commonjs/core/mixins/OxyServices.redirect.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.security.d.ts +0 -79
- package/lib/typescript/commonjs/core/mixins/OxyServices.security.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.user.d.ts +0 -185
- package/lib/typescript/commonjs/core/mixins/OxyServices.user.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/OxyServices.utility.d.ts +0 -94
- package/lib/typescript/commonjs/core/mixins/OxyServices.utility.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/index.d.ts +0 -31
- package/lib/typescript/commonjs/core/mixins/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/core/mixins/mixinHelpers.d.ts +0 -32
- package/lib/typescript/commonjs/core/mixins/mixinHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/crypto/index.d.ts +0 -12
- package/lib/typescript/commonjs/crypto/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/crypto/keyManager.d.ts +0 -190
- package/lib/typescript/commonjs/crypto/keyManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/crypto/polyfill.d.ts +0 -13
- package/lib/typescript/commonjs/crypto/polyfill.d.ts.map +0 -1
- package/lib/typescript/commonjs/crypto/recoveryPhrase.d.ts +0 -59
- package/lib/typescript/commonjs/crypto/recoveryPhrase.d.ts.map +0 -1
- package/lib/typescript/commonjs/crypto/signatureService.d.ts +0 -87
- package/lib/typescript/commonjs/crypto/signatureService.d.ts.map +0 -1
- package/lib/typescript/commonjs/i18n/index.d.ts +0 -4
- package/lib/typescript/commonjs/i18n/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/models/interfaces.d.ts +0 -416
- package/lib/typescript/commonjs/models/interfaces.d.ts.map +0 -1
- package/lib/typescript/commonjs/models/session.d.ts +0 -28
- package/lib/typescript/commonjs/models/session.d.ts.map +0 -1
- package/lib/typescript/commonjs/node/index.d.ts +0 -10
- package/lib/typescript/commonjs/node/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/shared/index.d.ts +0 -29
- package/lib/typescript/commonjs/shared/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/shared/utils/colorUtils.d.ts +0 -105
- package/lib/typescript/commonjs/shared/utils/colorUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/shared/utils/debugUtils.d.ts +0 -49
- package/lib/typescript/commonjs/shared/utils/debugUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/shared/utils/errorUtils.d.ts +0 -98
- package/lib/typescript/commonjs/shared/utils/errorUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/shared/utils/index.d.ts +0 -14
- package/lib/typescript/commonjs/shared/utils/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/shared/utils/networkUtils.d.ts +0 -140
- package/lib/typescript/commonjs/shared/utils/networkUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/shared/utils/themeUtils.d.ts +0 -91
- package/lib/typescript/commonjs/shared/utils/themeUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/apiUtils.d.ts +0 -54
- package/lib/typescript/commonjs/utils/apiUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/asyncUtils.d.ts +0 -59
- package/lib/typescript/commonjs/utils/asyncUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/cache.d.ts +0 -128
- package/lib/typescript/commonjs/utils/cache.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/deviceManager.d.ts +0 -66
- package/lib/typescript/commonjs/utils/deviceManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/errorUtils.d.ts +0 -47
- package/lib/typescript/commonjs/utils/errorUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/index.d.ts +0 -7
- package/lib/typescript/commonjs/utils/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/languageUtils.d.ts +0 -38
- package/lib/typescript/commonjs/utils/languageUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/loggerUtils.d.ts +0 -49
- package/lib/typescript/commonjs/utils/loggerUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/platform.d.ts +0 -41
- package/lib/typescript/commonjs/utils/platform.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/platformInit.d.ts +0 -10
- package/lib/typescript/commonjs/utils/platformInit.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/platformInit.native.d.ts +0 -2
- package/lib/typescript/commonjs/utils/platformInit.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/requestUtils.d.ts +0 -124
- package/lib/typescript/commonjs/utils/requestUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/sessionUtils.d.ts +0 -55
- package/lib/typescript/commonjs/utils/sessionUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/utils/validationUtils.d.ts +0 -86
- package/lib/typescript/commonjs/utils/validationUtils.d.ts.map +0 -1
- package/lib/typescript/commonjs/web/WebOxyContext.d.ts +0 -152
- package/lib/typescript/commonjs/web/WebOxyContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/web/index.d.ts +0 -53
- package/lib/typescript/commonjs/web/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/web.d.ts +0 -54
- package/lib/typescript/commonjs/web.d.ts.map +0 -1
- package/lib/typescript/module/constants/version.d.ts +0 -14
- package/lib/typescript/module/constants/version.d.ts.map +0 -1
- package/lib/typescript/module/core/AuthManager.d.ts +0 -144
- package/lib/typescript/module/core/AuthManager.d.ts.map +0 -1
- package/lib/typescript/module/core/CrossDomainAuth.d.ts +0 -161
- package/lib/typescript/module/core/CrossDomainAuth.d.ts.map +0 -1
- package/lib/typescript/module/core/HttpService.d.ts +0 -164
- package/lib/typescript/module/core/HttpService.d.ts.map +0 -1
- package/lib/typescript/module/core/OxyServices.base.d.ts +0 -127
- package/lib/typescript/module/core/OxyServices.base.d.ts.map +0 -1
- package/lib/typescript/module/core/OxyServices.d.ts +0 -82
- package/lib/typescript/module/core/OxyServices.d.ts.map +0 -1
- package/lib/typescript/module/core/OxyServices.errors.d.ts +0 -12
- package/lib/typescript/module/core/OxyServices.errors.d.ts.map +0 -1
- package/lib/typescript/module/core/index.d.ts +0 -21
- package/lib/typescript/module/core/index.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.analytics.d.ts +0 -67
- package/lib/typescript/module/core/mixins/OxyServices.analytics.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.assets.d.ts +0 -136
- package/lib/typescript/module/core/mixins/OxyServices.assets.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.auth.d.ts +0 -187
- package/lib/typescript/module/core/mixins/OxyServices.auth.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.developer.d.ts +0 -100
- package/lib/typescript/module/core/mixins/OxyServices.developer.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.devices.d.ts +0 -97
- package/lib/typescript/module/core/mixins/OxyServices.devices.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.features.d.ts +0 -229
- package/lib/typescript/module/core/mixins/OxyServices.features.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.fedcm.d.ts +0 -201
- package/lib/typescript/module/core/mixins/OxyServices.fedcm.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.karma.d.ts +0 -86
- package/lib/typescript/module/core/mixins/OxyServices.karma.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.language.d.ts +0 -82
- package/lib/typescript/module/core/mixins/OxyServices.language.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.location.d.ts +0 -65
- package/lib/typescript/module/core/mixins/OxyServices.location.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.payment.d.ts +0 -112
- package/lib/typescript/module/core/mixins/OxyServices.payment.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.popup.d.ts +0 -206
- package/lib/typescript/module/core/mixins/OxyServices.popup.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.privacy.d.ts +0 -123
- package/lib/typescript/module/core/mixins/OxyServices.privacy.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.redirect.d.ts +0 -246
- package/lib/typescript/module/core/mixins/OxyServices.redirect.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.security.d.ts +0 -79
- package/lib/typescript/module/core/mixins/OxyServices.security.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.user.d.ts +0 -185
- package/lib/typescript/module/core/mixins/OxyServices.user.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/OxyServices.utility.d.ts +0 -94
- package/lib/typescript/module/core/mixins/OxyServices.utility.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/index.d.ts +0 -31
- package/lib/typescript/module/core/mixins/index.d.ts.map +0 -1
- package/lib/typescript/module/core/mixins/mixinHelpers.d.ts +0 -32
- package/lib/typescript/module/core/mixins/mixinHelpers.d.ts.map +0 -1
- package/lib/typescript/module/crypto/index.d.ts +0 -12
- package/lib/typescript/module/crypto/index.d.ts.map +0 -1
- package/lib/typescript/module/crypto/keyManager.d.ts +0 -190
- package/lib/typescript/module/crypto/keyManager.d.ts.map +0 -1
- package/lib/typescript/module/crypto/polyfill.d.ts +0 -13
- package/lib/typescript/module/crypto/polyfill.d.ts.map +0 -1
- package/lib/typescript/module/crypto/recoveryPhrase.d.ts +0 -59
- package/lib/typescript/module/crypto/recoveryPhrase.d.ts.map +0 -1
- package/lib/typescript/module/crypto/signatureService.d.ts +0 -87
- package/lib/typescript/module/crypto/signatureService.d.ts.map +0 -1
- package/lib/typescript/module/i18n/index.d.ts +0 -4
- package/lib/typescript/module/i18n/index.d.ts.map +0 -1
- package/lib/typescript/module/models/interfaces.d.ts +0 -416
- package/lib/typescript/module/models/interfaces.d.ts.map +0 -1
- package/lib/typescript/module/models/session.d.ts +0 -28
- package/lib/typescript/module/models/session.d.ts.map +0 -1
- package/lib/typescript/module/node/index.d.ts +0 -10
- package/lib/typescript/module/node/index.d.ts.map +0 -1
- package/lib/typescript/module/shared/index.d.ts +0 -29
- package/lib/typescript/module/shared/index.d.ts.map +0 -1
- package/lib/typescript/module/shared/utils/colorUtils.d.ts +0 -105
- package/lib/typescript/module/shared/utils/colorUtils.d.ts.map +0 -1
- package/lib/typescript/module/shared/utils/debugUtils.d.ts +0 -49
- package/lib/typescript/module/shared/utils/debugUtils.d.ts.map +0 -1
- package/lib/typescript/module/shared/utils/errorUtils.d.ts +0 -98
- package/lib/typescript/module/shared/utils/errorUtils.d.ts.map +0 -1
- package/lib/typescript/module/shared/utils/index.d.ts +0 -14
- package/lib/typescript/module/shared/utils/index.d.ts.map +0 -1
- package/lib/typescript/module/shared/utils/networkUtils.d.ts +0 -140
- package/lib/typescript/module/shared/utils/networkUtils.d.ts.map +0 -1
- package/lib/typescript/module/shared/utils/themeUtils.d.ts +0 -91
- package/lib/typescript/module/shared/utils/themeUtils.d.ts.map +0 -1
- package/lib/typescript/module/utils/apiUtils.d.ts +0 -54
- package/lib/typescript/module/utils/apiUtils.d.ts.map +0 -1
- package/lib/typescript/module/utils/asyncUtils.d.ts +0 -59
- package/lib/typescript/module/utils/asyncUtils.d.ts.map +0 -1
- package/lib/typescript/module/utils/cache.d.ts +0 -128
- package/lib/typescript/module/utils/cache.d.ts.map +0 -1
- package/lib/typescript/module/utils/deviceManager.d.ts +0 -66
- package/lib/typescript/module/utils/deviceManager.d.ts.map +0 -1
- package/lib/typescript/module/utils/errorUtils.d.ts +0 -47
- package/lib/typescript/module/utils/errorUtils.d.ts.map +0 -1
- package/lib/typescript/module/utils/index.d.ts +0 -7
- package/lib/typescript/module/utils/index.d.ts.map +0 -1
- package/lib/typescript/module/utils/languageUtils.d.ts +0 -38
- package/lib/typescript/module/utils/languageUtils.d.ts.map +0 -1
- package/lib/typescript/module/utils/loggerUtils.d.ts +0 -49
- package/lib/typescript/module/utils/loggerUtils.d.ts.map +0 -1
- package/lib/typescript/module/utils/platform.d.ts +0 -41
- package/lib/typescript/module/utils/platform.d.ts.map +0 -1
- package/lib/typescript/module/utils/platformInit.d.ts +0 -10
- package/lib/typescript/module/utils/platformInit.d.ts.map +0 -1
- package/lib/typescript/module/utils/platformInit.native.d.ts +0 -2
- package/lib/typescript/module/utils/platformInit.native.d.ts.map +0 -1
- package/lib/typescript/module/utils/requestUtils.d.ts +0 -124
- package/lib/typescript/module/utils/requestUtils.d.ts.map +0 -1
- package/lib/typescript/module/utils/sessionUtils.d.ts +0 -55
- package/lib/typescript/module/utils/sessionUtils.d.ts.map +0 -1
- package/lib/typescript/module/utils/validationUtils.d.ts +0 -86
- package/lib/typescript/module/utils/validationUtils.d.ts.map +0 -1
- package/lib/typescript/module/web/WebOxyContext.d.ts +0 -152
- package/lib/typescript/module/web/WebOxyContext.d.ts.map +0 -1
- package/lib/typescript/module/web/index.d.ts +0 -53
- package/lib/typescript/module/web/index.d.ts.map +0 -1
- package/lib/typescript/module/web.d.ts +0 -54
- package/lib/typescript/module/web.d.ts.map +0 -1
- package/lib/typescript/types/bip39.d.ts +0 -32
- 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/src/constants/version.ts +0 -15
- package/src/core/AuthManager.ts +0 -436
- package/src/core/CrossDomainAuth.ts +0 -307
- package/src/core/HttpService.ts +0 -752
- package/src/core/OxyServices.base.ts +0 -334
- package/src/core/OxyServices.errors.ts +0 -26
- package/src/core/OxyServices.ts +0 -129
- package/src/core/index.ts +0 -42
- package/src/core/mixins/OxyServices.analytics.ts +0 -53
- package/src/core/mixins/OxyServices.assets.ts +0 -412
- package/src/core/mixins/OxyServices.auth.ts +0 -358
- package/src/core/mixins/OxyServices.developer.ts +0 -114
- package/src/core/mixins/OxyServices.devices.ts +0 -119
- package/src/core/mixins/OxyServices.features.ts +0 -428
- package/src/core/mixins/OxyServices.fedcm.ts +0 -494
- package/src/core/mixins/OxyServices.karma.ts +0 -111
- package/src/core/mixins/OxyServices.language.ts +0 -127
- package/src/core/mixins/OxyServices.location.ts +0 -46
- package/src/core/mixins/OxyServices.payment.ts +0 -163
- package/src/core/mixins/OxyServices.popup.ts +0 -443
- package/src/core/mixins/OxyServices.privacy.ts +0 -182
- package/src/core/mixins/OxyServices.redirect.ts +0 -397
- package/src/core/mixins/OxyServices.security.ts +0 -103
- package/src/core/mixins/OxyServices.user.ts +0 -392
- package/src/core/mixins/OxyServices.utility.ts +0 -191
- package/src/core/mixins/index.ts +0 -91
- package/src/core/mixins/mixinHelpers.ts +0 -69
- package/src/crypto/index.ts +0 -25
- package/src/crypto/keyManager.ts +0 -962
- package/src/crypto/polyfill.ts +0 -81
- package/src/crypto/recoveryPhrase.ts +0 -166
- package/src/crypto/signatureService.ts +0 -323
- package/src/i18n/index.ts +0 -75
- package/src/i18n/locales/ar-SA.json +0 -120
- package/src/i18n/locales/ca-ES.json +0 -120
- package/src/i18n/locales/de-DE.json +0 -120
- package/src/i18n/locales/en-US.json +0 -956
- package/src/i18n/locales/es-ES.json +0 -944
- package/src/i18n/locales/fr-FR.json +0 -120
- package/src/i18n/locales/it-IT.json +0 -120
- package/src/i18n/locales/ja-JP.json +0 -119
- package/src/i18n/locales/ko-KR.json +0 -120
- package/src/i18n/locales/pt-PT.json +0 -120
- package/src/i18n/locales/zh-CN.json +0 -120
- package/src/models/interfaces.ts +0 -511
- package/src/models/session.ts +0 -30
- package/src/node/index.ts +0 -17
- package/src/shared/index.ts +0 -82
- package/src/shared/utils/colorUtils.ts +0 -155
- package/src/shared/utils/debugUtils.ts +0 -73
- package/src/shared/utils/errorUtils.ts +0 -181
- package/src/shared/utils/index.ts +0 -59
- package/src/shared/utils/networkUtils.ts +0 -248
- package/src/shared/utils/themeUtils.ts +0 -115
- package/src/types/bip39.d.ts +0 -32
- package/src/types/buffer.d.ts +0 -97
- package/src/types/color.d.ts +0 -20
- package/src/types/elliptic.d.ts +0 -62
- package/src/utils/__tests__/validationUtils.test.ts +0 -236
- package/src/utils/apiUtils.ts +0 -88
- package/src/utils/asyncUtils.ts +0 -252
- package/src/utils/cache.ts +0 -264
- package/src/utils/deviceManager.ts +0 -198
- package/src/utils/errorUtils.ts +0 -216
- package/src/utils/index.ts +0 -21
- package/src/utils/languageUtils.ts +0 -174
- package/src/utils/loggerUtils.ts +0 -153
- package/src/utils/platform.ts +0 -117
- package/src/utils/platformInit.native.ts +0 -13
- package/src/utils/platformInit.ts +0 -11
- package/src/utils/requestUtils.ts +0 -237
- package/src/utils/sessionUtils.ts +0 -206
- package/src/utils/validationUtils.ts +0 -174
- package/src/web/WebOxyContext.tsx +0 -470
- package/src/web/index.ts +0 -157
- package/src/web.ts +0 -230
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* User Management Methods Mixin
|
|
3
|
-
*/
|
|
4
|
-
import type { User, Notification, SearchProfilesResponse } from '../../models/interfaces';
|
|
5
|
-
import type { OxyServicesBase } from '../OxyServices.base';
|
|
6
|
-
import { type PaginationParams } from '../../utils/apiUtils';
|
|
7
|
-
export declare function OxyServicesUserMixin<T extends typeof OxyServicesBase>(Base: T): {
|
|
8
|
-
new (...args: any[]): {
|
|
9
|
-
/**
|
|
10
|
-
* Get profile by username
|
|
11
|
-
*/
|
|
12
|
-
getProfileByUsername(username: string): Promise<User>;
|
|
13
|
-
/**
|
|
14
|
-
* Search user profiles
|
|
15
|
-
*/
|
|
16
|
-
searchProfiles(query: string, pagination?: PaginationParams): Promise<SearchProfilesResponse>;
|
|
17
|
-
/**
|
|
18
|
-
* Get profile recommendations
|
|
19
|
-
*/
|
|
20
|
-
getProfileRecommendations(): Promise<Array<{
|
|
21
|
-
id: string;
|
|
22
|
-
username: string;
|
|
23
|
-
name?: {
|
|
24
|
-
first?: string;
|
|
25
|
-
last?: string;
|
|
26
|
-
full?: string;
|
|
27
|
-
};
|
|
28
|
-
description?: string;
|
|
29
|
-
_count?: {
|
|
30
|
-
followers: number;
|
|
31
|
-
following: number;
|
|
32
|
-
};
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
}>>;
|
|
35
|
-
/**
|
|
36
|
-
* Get user by ID
|
|
37
|
-
*/
|
|
38
|
-
getUserById(userId: string): Promise<User>;
|
|
39
|
-
/**
|
|
40
|
-
* Get current user
|
|
41
|
-
*/
|
|
42
|
-
getCurrentUser(): Promise<User>;
|
|
43
|
-
/**
|
|
44
|
-
* Update user profile
|
|
45
|
-
* TanStack Query handles offline queuing automatically
|
|
46
|
-
*/
|
|
47
|
-
updateProfile(updates: Record<string, any>): Promise<User>;
|
|
48
|
-
/**
|
|
49
|
-
* Get privacy settings for a user
|
|
50
|
-
* @param userId - The user ID (defaults to current user)
|
|
51
|
-
*/
|
|
52
|
-
getPrivacySettings(userId?: string): Promise<any>;
|
|
53
|
-
/**
|
|
54
|
-
* Update privacy settings
|
|
55
|
-
* @param settings - Partial privacy settings object
|
|
56
|
-
* @param userId - The user ID (defaults to current user)
|
|
57
|
-
*/
|
|
58
|
-
updatePrivacySettings(settings: Record<string, any>, userId?: string): Promise<any>;
|
|
59
|
-
/**
|
|
60
|
-
* Request account verification
|
|
61
|
-
*/
|
|
62
|
-
requestAccountVerification(reason: string, evidence?: string): Promise<{
|
|
63
|
-
message: string;
|
|
64
|
-
requestId: string;
|
|
65
|
-
}>;
|
|
66
|
-
/**
|
|
67
|
-
* Download account data export
|
|
68
|
-
*/
|
|
69
|
-
downloadAccountData(format?: "json" | "csv"): Promise<Blob>;
|
|
70
|
-
/**
|
|
71
|
-
* Delete account permanently
|
|
72
|
-
* @param password - User password for confirmation
|
|
73
|
-
* @param confirmText - Confirmation text (usually username)
|
|
74
|
-
*/
|
|
75
|
-
deleteAccount(password: string, confirmText: string): Promise<{
|
|
76
|
-
message: string;
|
|
77
|
-
}>;
|
|
78
|
-
/**
|
|
79
|
-
* Follow a user
|
|
80
|
-
*/
|
|
81
|
-
followUser(userId: string): Promise<{
|
|
82
|
-
success: boolean;
|
|
83
|
-
message: string;
|
|
84
|
-
}>;
|
|
85
|
-
/**
|
|
86
|
-
* Unfollow a user
|
|
87
|
-
*/
|
|
88
|
-
unfollowUser(userId: string): Promise<{
|
|
89
|
-
success: boolean;
|
|
90
|
-
message: string;
|
|
91
|
-
}>;
|
|
92
|
-
/**
|
|
93
|
-
* Get follow status
|
|
94
|
-
*/
|
|
95
|
-
getFollowStatus(userId: string): Promise<{
|
|
96
|
-
isFollowing: boolean;
|
|
97
|
-
}>;
|
|
98
|
-
/**
|
|
99
|
-
* Get user followers
|
|
100
|
-
*/
|
|
101
|
-
getUserFollowers(userId: string, pagination?: PaginationParams): Promise<{
|
|
102
|
-
followers: User[];
|
|
103
|
-
total: number;
|
|
104
|
-
hasMore: boolean;
|
|
105
|
-
}>;
|
|
106
|
-
/**
|
|
107
|
-
* Get user following
|
|
108
|
-
*/
|
|
109
|
-
getUserFollowing(userId: string, pagination?: PaginationParams): Promise<{
|
|
110
|
-
following: User[];
|
|
111
|
-
total: number;
|
|
112
|
-
hasMore: boolean;
|
|
113
|
-
}>;
|
|
114
|
-
/**
|
|
115
|
-
* Get notifications
|
|
116
|
-
*/
|
|
117
|
-
getNotifications(): Promise<Notification[]>;
|
|
118
|
-
/**
|
|
119
|
-
* Get unread notification count
|
|
120
|
-
*/
|
|
121
|
-
getUnreadCount(): Promise<number>;
|
|
122
|
-
/**
|
|
123
|
-
* Create notification
|
|
124
|
-
*/
|
|
125
|
-
createNotification(data: Partial<Notification>): Promise<Notification>;
|
|
126
|
-
/**
|
|
127
|
-
* Mark notification as read
|
|
128
|
-
*/
|
|
129
|
-
markNotificationAsRead(notificationId: string): Promise<void>;
|
|
130
|
-
/**
|
|
131
|
-
* Mark all notifications as read
|
|
132
|
-
*/
|
|
133
|
-
markAllNotificationsAsRead(): Promise<void>;
|
|
134
|
-
/**
|
|
135
|
-
* Delete notification
|
|
136
|
-
*/
|
|
137
|
-
deleteNotification(notificationId: string): Promise<void>;
|
|
138
|
-
httpService: import("../HttpService").HttpService;
|
|
139
|
-
cloudURL: string;
|
|
140
|
-
config: import("../OxyServices.base").OxyConfig;
|
|
141
|
-
makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
|
|
142
|
-
getBaseURL(): string;
|
|
143
|
-
getClient(): import("../HttpService").HttpService;
|
|
144
|
-
getMetrics(): {
|
|
145
|
-
totalRequests: number;
|
|
146
|
-
successfulRequests: number;
|
|
147
|
-
failedRequests: number;
|
|
148
|
-
cacheHits: number;
|
|
149
|
-
cacheMisses: number;
|
|
150
|
-
averageResponseTime: number;
|
|
151
|
-
};
|
|
152
|
-
clearCache(): void;
|
|
153
|
-
clearCacheEntry(key: string): void;
|
|
154
|
-
getCacheStats(): {
|
|
155
|
-
size: number;
|
|
156
|
-
hits: number;
|
|
157
|
-
misses: number;
|
|
158
|
-
hitRate: number;
|
|
159
|
-
};
|
|
160
|
-
getCloudURL(): string;
|
|
161
|
-
setTokens(accessToken: string, refreshToken?: string): void;
|
|
162
|
-
clearTokens(): void;
|
|
163
|
-
getCurrentUserId(): string | null;
|
|
164
|
-
hasValidToken(): boolean;
|
|
165
|
-
getAccessToken(): string | null;
|
|
166
|
-
waitForAuth(timeoutMs?: number): Promise<boolean>;
|
|
167
|
-
withAuthRetry<T_1>(operation: () => Promise<T_1>, operationName: string, options?: {
|
|
168
|
-
maxRetries?: number;
|
|
169
|
-
retryDelay?: number;
|
|
170
|
-
authTimeoutMs?: number;
|
|
171
|
-
}): Promise<T_1>;
|
|
172
|
-
validate(): Promise<boolean>;
|
|
173
|
-
handleError(error: unknown): Error;
|
|
174
|
-
healthCheck(): Promise<{
|
|
175
|
-
status: string;
|
|
176
|
-
users?: number;
|
|
177
|
-
timestamp? /**
|
|
178
|
-
* Get user followers
|
|
179
|
-
*/: string;
|
|
180
|
-
[key: string]: any;
|
|
181
|
-
}>;
|
|
182
|
-
};
|
|
183
|
-
__resetTokensForTests(): void;
|
|
184
|
-
} & T;
|
|
185
|
-
//# sourceMappingURL=OxyServices.user.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OxyServices.user.d.ts","sourceRoot":"","sources":["../../../../../src/core/mixins/OxyServices.user.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import type { ApiError } from '../../models/interfaces';
|
|
2
|
-
import type { OxyServicesBase } from '../OxyServices.base';
|
|
3
|
-
export declare function OxyServicesUtilityMixin<T extends typeof OxyServicesBase>(Base: T): {
|
|
4
|
-
new (...args: any[]): {
|
|
5
|
-
/**
|
|
6
|
-
* Fetch link metadata
|
|
7
|
-
*/
|
|
8
|
-
fetchLinkMetadata(url: string): Promise<{
|
|
9
|
-
url: string;
|
|
10
|
-
title: string;
|
|
11
|
-
description: string;
|
|
12
|
-
image?: string;
|
|
13
|
-
}>;
|
|
14
|
-
/**
|
|
15
|
-
* Simple Express.js authentication middleware
|
|
16
|
-
*
|
|
17
|
-
* Built-in authentication middleware that validates JWT tokens and adds user data to requests.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```typescript
|
|
21
|
-
* // Basic usage - just add it to your routes
|
|
22
|
-
* app.use('/api/protected', oxyServices.auth());
|
|
23
|
-
*
|
|
24
|
-
* // With debug logging
|
|
25
|
-
* app.use('/api/protected', oxyServices.auth({ debug: true }));
|
|
26
|
-
*
|
|
27
|
-
* // With custom error handling
|
|
28
|
-
* app.use('/api/protected', oxyServices.auth({
|
|
29
|
-
* onError: (error) => console.error('Auth failed:', error)
|
|
30
|
-
* }));
|
|
31
|
-
*
|
|
32
|
-
* // Load full user data
|
|
33
|
-
* app.use('/api/protected', oxyServices.auth({ loadUser: true }));
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @param options Optional configuration
|
|
37
|
-
* @param options.debug Enable debug logging (default: false)
|
|
38
|
-
* @param options.onError Custom error handler
|
|
39
|
-
* @param options.loadUser Load full user data (default: false for performance)
|
|
40
|
-
* @param options.session Use session-based validation (default: false)
|
|
41
|
-
* @returns Express middleware function
|
|
42
|
-
*/
|
|
43
|
-
auth(options?: {
|
|
44
|
-
debug?: boolean;
|
|
45
|
-
onError?: (error: ApiError) => any;
|
|
46
|
-
loadUser?: boolean;
|
|
47
|
-
session?: boolean;
|
|
48
|
-
}): (req: any, res: any, next: any) => any;
|
|
49
|
-
httpService: import("../HttpService").HttpService;
|
|
50
|
-
cloudURL: string;
|
|
51
|
-
config: import("../OxyServices.base").OxyConfig;
|
|
52
|
-
makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
|
|
53
|
-
getBaseURL(): string;
|
|
54
|
-
getClient(): import("../HttpService").HttpService;
|
|
55
|
-
getMetrics(): {
|
|
56
|
-
totalRequests: number;
|
|
57
|
-
successfulRequests: number;
|
|
58
|
-
failedRequests: number;
|
|
59
|
-
cacheHits: number;
|
|
60
|
-
cacheMisses: number;
|
|
61
|
-
averageResponseTime: number;
|
|
62
|
-
};
|
|
63
|
-
clearCache(): void;
|
|
64
|
-
clearCacheEntry(key: string): void;
|
|
65
|
-
getCacheStats(): {
|
|
66
|
-
size: number;
|
|
67
|
-
hits: number;
|
|
68
|
-
misses: number;
|
|
69
|
-
hitRate: number;
|
|
70
|
-
};
|
|
71
|
-
getCloudURL(): string;
|
|
72
|
-
setTokens(accessToken: string, refreshToken?: string): void;
|
|
73
|
-
clearTokens(): void;
|
|
74
|
-
getCurrentUserId(): string | null;
|
|
75
|
-
hasValidToken(): boolean;
|
|
76
|
-
getAccessToken(): string | null;
|
|
77
|
-
waitForAuth(timeoutMs?: number): Promise<boolean>;
|
|
78
|
-
withAuthRetry<T_1>(operation: () => Promise<T_1>, operationName: string, options?: {
|
|
79
|
-
maxRetries?: number;
|
|
80
|
-
retryDelay?: number;
|
|
81
|
-
authTimeoutMs?: number;
|
|
82
|
-
}): Promise<T_1>;
|
|
83
|
-
validate(): Promise<boolean>;
|
|
84
|
-
handleError(error: unknown): Error;
|
|
85
|
-
healthCheck(): Promise<{
|
|
86
|
-
status: string;
|
|
87
|
-
users?: number;
|
|
88
|
-
timestamp?: string;
|
|
89
|
-
[key: string]: any;
|
|
90
|
-
}>;
|
|
91
|
-
};
|
|
92
|
-
__resetTokensForTests(): void;
|
|
93
|
-
} & T;
|
|
94
|
-
//# sourceMappingURL=OxyServices.utility.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OxyServices.utility.d.ts","sourceRoot":"","sources":["../../../../../src/core/mixins/OxyServices.utility.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAQ,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAW3D,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,OAAO,eAAe,EAAE,IAAI,EAAE,CAAC;kBAExD,GAAG,EAAE;QAG1B;;WAEG;+BAC0B,MAAM,GAAG,OAAO,CAAC;YAC5C,GAAG,EAAE,MAAM,CAAC;YACZ,KAAK,EAAE,MAAM,CAAC;YACd,WAAW,EAAE,MAAM,CAAC;YACpB,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB,CAAC;QAgBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA4BG;uBACW;YACZ,KAAK,CAAC,EAAE,OAAO,CAAC;YAChB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,GAAG,CAAC;YACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;YACnB,OAAO,CAAC,EAAE,OAAO,CAAC;SACnB,IAIS,KAAK,GAAG,EAAE,KAAK,GAAG,EAAE,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAkGjC,CAAV;sBAA0B,CAAC;yBAA6B,CAAC;;;;;;iBAOo6F,CAAC;qBAAwB,CAAC;;;;;MAFt/F"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Centralized mixin exports and composition helper
|
|
3
|
-
*
|
|
4
|
-
* This module provides a clean way to compose all mixins
|
|
5
|
-
* and ensures consistent ordering for better maintainability
|
|
6
|
-
*/
|
|
7
|
-
type MixinFunction = (Base: any) => any;
|
|
8
|
-
/**
|
|
9
|
-
* Mixin pipeline - applied in order from first to last.
|
|
10
|
-
*
|
|
11
|
-
* Order matters for dependencies:
|
|
12
|
-
* 1. Base auth mixin first (required by all others)
|
|
13
|
-
* 2. Cross-domain auth mixins (FedCM, Popup, Redirect)
|
|
14
|
-
* 3. User mixin (requires auth)
|
|
15
|
-
* 4. Feature mixins (can depend on user)
|
|
16
|
-
* 5. Utility mixin last (augments all)
|
|
17
|
-
*
|
|
18
|
-
* To add a new mixin: insert it at the appropriate position in this array.
|
|
19
|
-
*/
|
|
20
|
-
declare const MIXIN_PIPELINE: MixinFunction[];
|
|
21
|
-
/**
|
|
22
|
-
* Composes all OxyServices mixins using a pipeline pattern.
|
|
23
|
-
*
|
|
24
|
-
* This is equivalent to the nested calls but more readable and maintainable.
|
|
25
|
-
* Adding a new mixin: just add it to MIXIN_PIPELINE at the appropriate position.
|
|
26
|
-
*
|
|
27
|
-
* @returns The fully composed OxyServices class with all mixins applied
|
|
28
|
-
*/
|
|
29
|
-
export declare function composeOxyServices(): any;
|
|
30
|
-
export { MIXIN_PIPELINE };
|
|
31
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/mixins/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAsBH,KAAK,aAAa,GAAG,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;AAExC;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,cAAc,EAAE,aAAa,EA8BlC,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,QAKjC;AAGD,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Helper utilities for mixin classes
|
|
3
|
-
* Provides common patterns to reduce code duplication
|
|
4
|
-
*/
|
|
5
|
-
import type { OxyServicesBase } from '../OxyServices.base';
|
|
6
|
-
/**
|
|
7
|
-
* Wraps an async method with standard error handling
|
|
8
|
-
* Reduces boilerplate in mixin methods
|
|
9
|
-
*/
|
|
10
|
-
export declare function withErrorHandling<T>(operation: () => Promise<T>, handleError: (error: any) => Error): Promise<T>;
|
|
11
|
-
/**
|
|
12
|
-
* Creates a standard API request method with error handling
|
|
13
|
-
* Reduces duplication across mixin methods
|
|
14
|
-
*/
|
|
15
|
-
export declare function createApiMethod<T>(makeRequest: OxyServicesBase['makeRequest'], handleError: OxyServicesBase['handleError'], method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE', url: string | ((...args: any[]) => string), options?: {
|
|
16
|
-
cache?: boolean;
|
|
17
|
-
cacheTTL?: number;
|
|
18
|
-
retry?: boolean;
|
|
19
|
-
transformData?: (data: any) => any;
|
|
20
|
-
transformResponse?: (response: any) => T;
|
|
21
|
-
}): (...args: any[]) => Promise<T>;
|
|
22
|
-
/**
|
|
23
|
-
* Cache time constants (in milliseconds)
|
|
24
|
-
*/
|
|
25
|
-
export declare const CACHE_TIMES: {
|
|
26
|
-
readonly SHORT: number;
|
|
27
|
-
readonly MEDIUM: number;
|
|
28
|
-
readonly LONG: number;
|
|
29
|
-
readonly VERY_LONG: number;
|
|
30
|
-
readonly EXTRA_LONG: number;
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=mixinHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mixinHelpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/mixins/mixinHelpers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D;;;GAGG;AACH,wBAAsB,iBAAiB,CAAC,CAAC,EACvC,SAAS,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EAC3B,WAAW,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,KAAK,GACjC,OAAO,CAAC,CAAC,CAAC,CAMZ;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAC/B,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC,EAC3C,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC,EAC3C,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,EACnD,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,CAAC,EAC1C,OAAO,GAAE;IACP,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;IACnC,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,CAAC,CAAC;CACrC,IAEQ,GAAG,MAAM,GAAG,EAAE,KAAG,OAAO,CAAC,CAAC,CAAC,CAiB1C;AAED;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;CAMd,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Oxy Crypto Module
|
|
3
|
-
*
|
|
4
|
-
* Provides cryptographic identity management for the Oxy ecosystem.
|
|
5
|
-
* Handles key generation, secure storage, digital signatures, and recovery phrases.
|
|
6
|
-
*/
|
|
7
|
-
import './polyfill';
|
|
8
|
-
export { KeyManager, type KeyPair } from './keyManager';
|
|
9
|
-
export { SignatureService, type SignedMessage, type AuthChallenge } from './signatureService';
|
|
10
|
-
export { RecoveryPhraseService, type RecoveryPhraseResult } from './recoveryPhrase';
|
|
11
|
-
export { KeyManager as default } from './keyManager';
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/crypto/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,YAAY,CAAC;AAEpB,OAAO,EAAE,UAAU,EAAE,KAAK,OAAO,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EACL,gBAAgB,EAChB,KAAK,aAAa,EAClB,KAAK,aAAa,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EAC1B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Key Manager - ECDSA secp256k1 Key Generation and Storage
|
|
3
|
-
*
|
|
4
|
-
* Handles secure generation, storage, and retrieval of cryptographic keys.
|
|
5
|
-
* Private keys are stored securely using expo-secure-store and never leave the device.
|
|
6
|
-
*/
|
|
7
|
-
import type { ECKeyPair } from 'elliptic';
|
|
8
|
-
export interface KeyPair {
|
|
9
|
-
publicKey: string;
|
|
10
|
-
privateKey: string;
|
|
11
|
-
}
|
|
12
|
-
export declare class KeyManager {
|
|
13
|
-
private static cachedPublicKey;
|
|
14
|
-
private static cachedHasIdentity;
|
|
15
|
-
private static cachedSharedPublicKey;
|
|
16
|
-
private static cachedHasSharedIdentity;
|
|
17
|
-
/**
|
|
18
|
-
* Invalidate cached identity state
|
|
19
|
-
* Called internally when identity is created/deleted/imported
|
|
20
|
-
*/
|
|
21
|
-
private static invalidateCache;
|
|
22
|
-
/**
|
|
23
|
-
* Invalidate cached shared identity state
|
|
24
|
-
* Called internally when shared identity is created/deleted/imported
|
|
25
|
-
*/
|
|
26
|
-
private static invalidateSharedCache;
|
|
27
|
-
/**
|
|
28
|
-
* Generate a new ECDSA secp256k1 key pair
|
|
29
|
-
* Returns the keys in hexadecimal format
|
|
30
|
-
*/
|
|
31
|
-
static generateKeyPairSync(): KeyPair;
|
|
32
|
-
/**
|
|
33
|
-
* Generate a new key pair using secure random bytes
|
|
34
|
-
*/
|
|
35
|
-
static generateKeyPair(): Promise<KeyPair>;
|
|
36
|
-
/**
|
|
37
|
-
* Create a shared identity accessible across all Oxy apps
|
|
38
|
-
*
|
|
39
|
-
* iOS: Stores in shared keychain group (requires entitlement configuration)
|
|
40
|
-
* Android: Stores in Account Manager (requires sharedUserId in manifest)
|
|
41
|
-
*
|
|
42
|
-
* This enables true cross-app SSO - when user signs in to one Oxy app,
|
|
43
|
-
* they're automatically signed in to all other Oxy apps.
|
|
44
|
-
*
|
|
45
|
-
* @returns Public key of the shared identity
|
|
46
|
-
* @throws Error if not on native platform or if sharing is not configured
|
|
47
|
-
*/
|
|
48
|
-
static createSharedIdentity(): Promise<string>;
|
|
49
|
-
/**
|
|
50
|
-
* Get the shared public key (accessible across all Oxy apps)
|
|
51
|
-
*
|
|
52
|
-
* @returns Shared public key or null if no shared identity exists
|
|
53
|
-
*/
|
|
54
|
-
static getSharedPublicKey(): Promise<string | null>;
|
|
55
|
-
/**
|
|
56
|
-
* Get the shared private key (for signing operations)
|
|
57
|
-
*
|
|
58
|
-
* WARNING: Only use this for signing operations within the app.
|
|
59
|
-
* The private key should NEVER be transmitted or exposed.
|
|
60
|
-
*
|
|
61
|
-
* @returns Shared private key or null if no shared identity exists
|
|
62
|
-
*/
|
|
63
|
-
static getSharedPrivateKey(): Promise<string | null>;
|
|
64
|
-
/**
|
|
65
|
-
* Check if a shared identity exists (accessible across all Oxy apps)
|
|
66
|
-
*
|
|
67
|
-
* @returns True if shared identity exists, false otherwise
|
|
68
|
-
*/
|
|
69
|
-
static hasSharedIdentity(): Promise<boolean>;
|
|
70
|
-
/**
|
|
71
|
-
* Import an existing key pair as shared identity
|
|
72
|
-
*
|
|
73
|
-
* This is used when:
|
|
74
|
-
* 1. User signs in to a new Oxy app for the first time
|
|
75
|
-
* 2. User has existing identity on another Oxy app
|
|
76
|
-
* 3. We want to sync the identity across apps
|
|
77
|
-
*
|
|
78
|
-
* @param privateKey - Private key in hex format
|
|
79
|
-
* @returns Public key
|
|
80
|
-
*/
|
|
81
|
-
static importSharedIdentity(privateKey: string): Promise<string>;
|
|
82
|
-
/**
|
|
83
|
-
* Store session information in shared storage
|
|
84
|
-
*
|
|
85
|
-
* This allows all Oxy apps to access the same session without
|
|
86
|
-
* re-authenticating. When user signs in to one app, all apps
|
|
87
|
-
* get the session automatically.
|
|
88
|
-
*
|
|
89
|
-
* @param sessionId - Session ID from authentication
|
|
90
|
-
* @param accessToken - Access token for API calls
|
|
91
|
-
*/
|
|
92
|
-
static storeSharedSession(sessionId: string, accessToken: string): Promise<void>;
|
|
93
|
-
/**
|
|
94
|
-
* Get shared session information
|
|
95
|
-
*
|
|
96
|
-
* This allows any Oxy app to check if user is already signed in
|
|
97
|
-
* via another Oxy app. Enables instant cross-app SSO.
|
|
98
|
-
*
|
|
99
|
-
* @returns Session data or null if no shared session exists
|
|
100
|
-
*/
|
|
101
|
-
static getSharedSession(): Promise<{
|
|
102
|
-
sessionId: string;
|
|
103
|
-
accessToken: string;
|
|
104
|
-
} | null>;
|
|
105
|
-
/**
|
|
106
|
-
* Clear shared session (on logout)
|
|
107
|
-
*
|
|
108
|
-
* This signs out the user from ALL Oxy apps simultaneously.
|
|
109
|
-
* Call this when user explicitly logs out.
|
|
110
|
-
*/
|
|
111
|
-
static clearSharedSession(): Promise<void>;
|
|
112
|
-
/**
|
|
113
|
-
* Migrate local identity to shared identity
|
|
114
|
-
*
|
|
115
|
-
* Call this when upgrading existing apps to use shared identities.
|
|
116
|
-
* Copies the device-specific identity to shared storage so it can
|
|
117
|
-
* be accessed by other Oxy apps.
|
|
118
|
-
*
|
|
119
|
-
* @returns True if migration was successful, false if no local identity exists
|
|
120
|
-
*/
|
|
121
|
-
static migrateToSharedIdentity(): Promise<boolean>;
|
|
122
|
-
/**
|
|
123
|
-
* Generate and securely store a new key pair on the device
|
|
124
|
-
* Returns only the public key (private key is stored securely)
|
|
125
|
-
*/
|
|
126
|
-
static createIdentity(): Promise<string>;
|
|
127
|
-
/**
|
|
128
|
-
* Import an existing key pair (e.g., from recovery phrase)
|
|
129
|
-
*/
|
|
130
|
-
static importKeyPair(privateKey: string): Promise<string>;
|
|
131
|
-
/**
|
|
132
|
-
* Get the stored private key
|
|
133
|
-
* WARNING: Only use this for signing operations within the app
|
|
134
|
-
*/
|
|
135
|
-
static getPrivateKey(): Promise<string | null>;
|
|
136
|
-
/**
|
|
137
|
-
* Get the stored public key (cached for performance)
|
|
138
|
-
*/
|
|
139
|
-
static getPublicKey(): Promise<string | null>;
|
|
140
|
-
/**
|
|
141
|
-
* Check if an identity (key pair) exists on this device (cached for performance)
|
|
142
|
-
*/
|
|
143
|
-
static hasIdentity(): Promise<boolean>;
|
|
144
|
-
/**
|
|
145
|
-
* Delete the stored identity (both keys)
|
|
146
|
-
* Use with EXTREME caution - this is irreversible without a recovery phrase
|
|
147
|
-
* This should ONLY be called when explicitly requested by the user
|
|
148
|
-
* @param skipBackup - If true, skip backup before deletion (default: false)
|
|
149
|
-
* @param force - If true, skip confirmation checks (default: false)
|
|
150
|
-
* @param userConfirmed - If true, user has explicitly confirmed deletion (default: false)
|
|
151
|
-
*/
|
|
152
|
-
static deleteIdentity(skipBackup?: boolean, force?: boolean, userConfirmed?: boolean): Promise<void>;
|
|
153
|
-
/**
|
|
154
|
-
* Backup identity to SecureStore (separate backup storage)
|
|
155
|
-
* This provides a recovery mechanism if primary storage fails
|
|
156
|
-
*/
|
|
157
|
-
static backupIdentity(): Promise<boolean>;
|
|
158
|
-
/**
|
|
159
|
-
* Verify identity integrity - checks if keys are valid and accessible
|
|
160
|
-
*/
|
|
161
|
-
static verifyIdentityIntegrity(): Promise<boolean>;
|
|
162
|
-
/**
|
|
163
|
-
* Restore identity from backup if primary storage is corrupted
|
|
164
|
-
*/
|
|
165
|
-
static restoreIdentityFromBackup(): Promise<boolean>;
|
|
166
|
-
/**
|
|
167
|
-
* Get the elliptic curve key object from the stored private key
|
|
168
|
-
* Used internally for signing operations
|
|
169
|
-
*/
|
|
170
|
-
static getKeyPairObject(): Promise<ECKeyPair | null>;
|
|
171
|
-
/**
|
|
172
|
-
* Derive public key from a private key (without storing)
|
|
173
|
-
*/
|
|
174
|
-
static derivePublicKey(privateKey: string): string;
|
|
175
|
-
/**
|
|
176
|
-
* Validate that a string is a valid public key
|
|
177
|
-
*/
|
|
178
|
-
static isValidPublicKey(publicKey: string): boolean;
|
|
179
|
-
/**
|
|
180
|
-
* Validate that a string is a valid private key
|
|
181
|
-
*/
|
|
182
|
-
static isValidPrivateKey(privateKey: string): boolean;
|
|
183
|
-
/**
|
|
184
|
-
* Get a shortened version of the public key for display
|
|
185
|
-
* Format: first 8 chars...last 8 chars
|
|
186
|
-
*/
|
|
187
|
-
static shortenPublicKey(publicKey: string): string;
|
|
188
|
-
}
|
|
189
|
-
export default KeyManager;
|
|
190
|
-
//# sourceMappingURL=keyManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keyManager.d.ts","sourceRoot":"","sources":["../../../../src/crypto/keyManager.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAuH1C,MAAM,WAAW,OAAO;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,UAAU;IAErB,OAAO,CAAC,MAAM,CAAC,eAAe,CAAuB;IACrD,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAwB;IACxD,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAuB;IAC3D,OAAO,CAAC,MAAM,CAAC,uBAAuB,CAAwB;IAE9D;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,eAAe;IAK9B;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAKpC;;;OAGG;IACH,MAAM,CAAC,mBAAmB,IAAI,OAAO;IAQrC;;OAEG;WACU,eAAe,IAAI,OAAO,CAAC,OAAO,CAAC;IAiBhD;;;;;;;;;;;OAWG;WACU,oBAAoB,IAAI,OAAO,CAAC,MAAM,CAAC;IA8CpD;;;;OAIG;WACU,kBAAkB,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAmCzD;;;;;;;OAOG;WACU,mBAAmB,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IA0B1D;;;;OAIG;WACU,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;IA2BlD;;;;;;;;;;OAUG;WACU,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAqCtE;;;;;;;;;OASG;WACU,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAiCtF;;;;;;;OAOG;WACU,gBAAgB,IAAI,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAoC3F;;;;;OAKG;WACU,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;IA8BhD;;;;;;;;OAQG;WACU,uBAAuB,IAAI,OAAO,CAAC,OAAO,CAAC;IA0CxD;;;OAGG;WACU,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC;IAoB9C;;OAEG;WACU,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAqB/D;;;OAGG;WACU,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAiBpD;;OAEG;WACU,YAAY,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IA2BnD;;OAEG;WACU,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC;IA2B5C;;;;;;;OAOG;WACU,cAAc,CACzB,UAAU,GAAE,OAAe,EAC3B,KAAK,GAAE,OAAe,EACtB,aAAa,GAAE,OAAe,GAC7B,OAAO,CAAC,IAAI,CAAC;IAkDhB;;;OAGG;WACU,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IA6B/C;;OAEG;WACU,uBAAuB,IAAI,OAAO,CAAC,OAAO,CAAC;IA2CxD;;OAEG;WACU,yBAAyB,IAAI,OAAO,CAAC,OAAO,CAAC;IAsD1D;;;OAGG;WACU,gBAAgB,IAAI,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;IAS1D;;OAEG;IACH,MAAM,CAAC,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM;IAKlD;;OAEG;IACH,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO;IASnD;;OAEG;IACH,MAAM,CAAC,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAWrD;;;OAGG;IACH,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;CAInD;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Crypto Polyfills for React Native
|
|
3
|
-
*
|
|
4
|
-
* This file ensures that required polyfills are available
|
|
5
|
-
* before any crypto operations are performed.
|
|
6
|
-
*
|
|
7
|
-
* Polyfills included:
|
|
8
|
-
* - Buffer: Required by bip39 and other crypto libraries
|
|
9
|
-
* - crypto.getRandomValues: Required by bip39 for secure random number generation
|
|
10
|
-
*/
|
|
11
|
-
import { Buffer } from 'buffer';
|
|
12
|
-
export { Buffer };
|
|
13
|
-
//# sourceMappingURL=polyfill.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"polyfill.d.ts","sourceRoot":"","sources":["../../../../src/crypto/polyfill.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAkEhC,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Recovery Phrase Service - BIP39 Mnemonic Generation
|
|
3
|
-
*
|
|
4
|
-
* Handles generation and restoration of recovery phrases (mnemonic seeds)
|
|
5
|
-
* for backing up and restoring user identities.
|
|
6
|
-
*
|
|
7
|
-
* Note: This module requires the polyfill to be loaded first (done via crypto/index.ts)
|
|
8
|
-
*/
|
|
9
|
-
export interface RecoveryPhraseResult {
|
|
10
|
-
phrase: string;
|
|
11
|
-
words: string[];
|
|
12
|
-
publicKey: string;
|
|
13
|
-
}
|
|
14
|
-
export declare class RecoveryPhraseService {
|
|
15
|
-
/**
|
|
16
|
-
* Generate a new identity with a recovery phrase
|
|
17
|
-
* Returns the mnemonic phrase (should only be shown once to the user)
|
|
18
|
-
*/
|
|
19
|
-
static generateIdentityWithRecovery(): Promise<RecoveryPhraseResult>;
|
|
20
|
-
/**
|
|
21
|
-
* Generate a 24-word recovery phrase for higher security
|
|
22
|
-
*/
|
|
23
|
-
static generateIdentityWithRecovery24(): Promise<RecoveryPhraseResult>;
|
|
24
|
-
/**
|
|
25
|
-
* Restore an identity from a recovery phrase
|
|
26
|
-
*/
|
|
27
|
-
static restoreFromPhrase(phrase: string): Promise<string>;
|
|
28
|
-
/**
|
|
29
|
-
* Validate a recovery phrase without importing it
|
|
30
|
-
*/
|
|
31
|
-
static validatePhrase(phrase: string): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Get the word list for autocomplete/validation
|
|
34
|
-
*/
|
|
35
|
-
static getWordList(): string[];
|
|
36
|
-
/**
|
|
37
|
-
* Check if a word is valid in the BIP39 word list
|
|
38
|
-
*/
|
|
39
|
-
static isValidWord(word: string): boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Get suggestions for a partial word
|
|
42
|
-
*/
|
|
43
|
-
static getSuggestions(partial: string, limit?: number): string[];
|
|
44
|
-
/**
|
|
45
|
-
* Derive the public key from a phrase without storing
|
|
46
|
-
* Useful for verification before importing
|
|
47
|
-
*/
|
|
48
|
-
static derivePublicKeyFromPhrase(phrase: string): Promise<string>;
|
|
49
|
-
/**
|
|
50
|
-
* Convert a phrase to its word array
|
|
51
|
-
*/
|
|
52
|
-
static phraseToWords(phrase: string): string[];
|
|
53
|
-
/**
|
|
54
|
-
* Convert a word array to a phrase string
|
|
55
|
-
*/
|
|
56
|
-
static wordsToPhrase(words: string[]): string;
|
|
57
|
-
}
|
|
58
|
-
export default RecoveryPhraseService;
|
|
59
|
-
//# sourceMappingURL=recoveryPhrase.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recoveryPhrase.d.ts","sourceRoot":"","sources":["../../../../src/crypto/recoveryPhrase.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAiBH,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,qBAAqB;IAChC;;;OAGG;WACU,4BAA4B,IAAI,OAAO,CAAC,oBAAoB,CAAC;IAsB1E;;OAEG;WACU,8BAA8B,IAAI,OAAO,CAAC,oBAAoB,CAAC;IAgB5E;;OAEG;WACU,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAmB/D;;OAEG;IACH,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO;IAK9C;;OAEG;IACH,MAAM,CAAC,WAAW,IAAI,MAAM,EAAE;IAI9B;;OAEG;IACH,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIzC;;OAEG;IACH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,GAAE,MAAU,GAAG,MAAM,EAAE;IAOnE;;;OAGG;WACU,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAcvE;;OAEG;IACH,MAAM,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE;IAI9C;;OAEG;IACH,MAAM,CAAC,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM;CAG9C;AAED,eAAe,qBAAqB,CAAC"}
|