@oxyhq/services 5.26.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +39 -171
- 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/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,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Signature Service - ECDSA Digital Signatures
|
|
3
|
-
*
|
|
4
|
-
* Handles signing and verification of messages using ECDSA secp256k1.
|
|
5
|
-
* Used for authenticating requests and proving identity ownership.
|
|
6
|
-
*/
|
|
7
|
-
export interface SignedMessage {
|
|
8
|
-
message: string;
|
|
9
|
-
signature: string;
|
|
10
|
-
publicKey: string;
|
|
11
|
-
timestamp: number;
|
|
12
|
-
}
|
|
13
|
-
export interface AuthChallenge {
|
|
14
|
-
challenge: string;
|
|
15
|
-
publicKey: string;
|
|
16
|
-
timestamp: number;
|
|
17
|
-
}
|
|
18
|
-
export declare class SignatureService {
|
|
19
|
-
/**
|
|
20
|
-
* Generate a random challenge string (for offline use)
|
|
21
|
-
* Uses expo-crypto in React Native, crypto.randomBytes in Node.js
|
|
22
|
-
*/
|
|
23
|
-
static generateChallenge(): Promise<string>;
|
|
24
|
-
/**
|
|
25
|
-
* Hash a message using SHA-256
|
|
26
|
-
*/
|
|
27
|
-
static hashMessage(message: string): Promise<string>;
|
|
28
|
-
/**
|
|
29
|
-
* Sign a message using the stored private key
|
|
30
|
-
* Returns the signature in DER format (hex encoded)
|
|
31
|
-
*/
|
|
32
|
-
static sign(message: string): Promise<string>;
|
|
33
|
-
/**
|
|
34
|
-
* Sign a message with an explicit private key (without storing)
|
|
35
|
-
* Useful for one-time operations or testing
|
|
36
|
-
*/
|
|
37
|
-
static signWithKey(message: string, privateKey: string): Promise<string>;
|
|
38
|
-
/**
|
|
39
|
-
* Verify a signature against a message and public key
|
|
40
|
-
*/
|
|
41
|
-
static verify(message: string, signature: string, publicKey: string): Promise<boolean>;
|
|
42
|
-
/**
|
|
43
|
-
* Synchronous verification (for Node.js backend)
|
|
44
|
-
* Uses crypto module directly for hashing
|
|
45
|
-
* Note: This method should only be used in Node.js environments
|
|
46
|
-
*/
|
|
47
|
-
static verifySync(message: string, signature: string, publicKey: string): boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Create a signed message object with metadata
|
|
50
|
-
*/
|
|
51
|
-
static createSignedMessage(message: string): Promise<SignedMessage>;
|
|
52
|
-
/**
|
|
53
|
-
* Verify a signed message object
|
|
54
|
-
* Checks both signature validity and timestamp freshness
|
|
55
|
-
*/
|
|
56
|
-
static verifySignedMessage(signedMessage: SignedMessage, maxAgeMs?: number): Promise<boolean>;
|
|
57
|
-
/**
|
|
58
|
-
* Create a signed authentication challenge response
|
|
59
|
-
* Used for challenge-response authentication
|
|
60
|
-
*/
|
|
61
|
-
static signChallenge(challenge: string): Promise<AuthChallenge>;
|
|
62
|
-
/**
|
|
63
|
-
* Verify a challenge response
|
|
64
|
-
*/
|
|
65
|
-
static verifyChallengeResponse(originalChallenge: string, response: AuthChallenge, maxAgeMs?: number): Promise<boolean>;
|
|
66
|
-
/**
|
|
67
|
-
* Create a registration signature
|
|
68
|
-
* Used when registering a new identity with the server
|
|
69
|
-
* Format matches server expectation: oxy:register:{publicKey}:{timestamp}
|
|
70
|
-
*/
|
|
71
|
-
static createRegistrationSignature(): Promise<{
|
|
72
|
-
signature: string;
|
|
73
|
-
publicKey: string;
|
|
74
|
-
timestamp: number;
|
|
75
|
-
}>;
|
|
76
|
-
/**
|
|
77
|
-
* Sign arbitrary data for API requests
|
|
78
|
-
* Creates a canonical string representation and signs it
|
|
79
|
-
*/
|
|
80
|
-
static signRequestData(data: Record<string, unknown>): Promise<{
|
|
81
|
-
signature: string;
|
|
82
|
-
publicKey: string;
|
|
83
|
-
timestamp: number;
|
|
84
|
-
}>;
|
|
85
|
-
}
|
|
86
|
-
export default SignatureService;
|
|
87
|
-
//# sourceMappingURL=signatureService.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signatureService.d.ts","sourceRoot":"","sources":["../../../../src/crypto/signatureService.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAiEH,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,gBAAgB;IAC3B;;;OAGG;WACU,iBAAiB,IAAI,OAAO,CAAC,MAAM,CAAC;IA0BjD;;OAEG;WACU,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAI1D;;;OAGG;WACU,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAWnD;;;OAGG;WACU,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAO9E;;OAEG;WACU,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAU5F;;;;OAIG;IACH,MAAM,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO;IAkBjF;;OAEG;WACU,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAkBzE;;;OAGG;WACU,mBAAmB,CAC9B,aAAa,EAAE,aAAa,EAC5B,QAAQ,GAAE,MAAsB,GAC/B,OAAO,CAAC,OAAO,CAAC;IAcnB;;;OAGG;WACU,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAiBrE;;OAEG;WACU,uBAAuB,CAClC,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,aAAa,EACvB,QAAQ,GAAE,MAAsB,GAC/B,OAAO,CAAC,OAAO,CAAC;IAanB;;;;OAIG;WACU,2BAA2B,IAAI,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;IAiBhH;;;OAGG;WACU,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC;QACnE,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CAsBH;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export type LocaleDict = Record<string, any>;
|
|
2
|
-
export declare function translate(locale: string | undefined, key: string, vars?: Record<string, string | number>): string;
|
|
3
|
-
export declare function hasKey(locale: string | undefined, key: string): boolean;
|
|
4
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/i18n/index.ts"],"names":[],"mappings":"AAwBA,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAiC7C,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,MAAM,CAYjH;AAED,wBAAgB,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAGvE"}
|
|
@@ -1,416 +0,0 @@
|
|
|
1
|
-
export interface OxyConfig {
|
|
2
|
-
baseURL: string;
|
|
3
|
-
cloudURL?: string;
|
|
4
|
-
authWebUrl?: string;
|
|
5
|
-
authRedirectUri?: string;
|
|
6
|
-
enableCache?: boolean;
|
|
7
|
-
cacheTTL?: number;
|
|
8
|
-
enableRequestDeduplication?: boolean;
|
|
9
|
-
enableRetry?: boolean;
|
|
10
|
-
maxRetries?: number;
|
|
11
|
-
retryDelay?: number;
|
|
12
|
-
requestTimeout?: number;
|
|
13
|
-
maxConcurrentRequests?: number;
|
|
14
|
-
requestQueueSize?: number;
|
|
15
|
-
enableLogging?: boolean;
|
|
16
|
-
logLevel?: 'none' | 'error' | 'warn' | 'info' | 'debug';
|
|
17
|
-
onRequestStart?: (url: string, method: string) => void;
|
|
18
|
-
onRequestEnd?: (url: string, method: string, duration: number, success: boolean) => void;
|
|
19
|
-
onRequestError?: (url: string, method: string, error: Error) => void;
|
|
20
|
-
}
|
|
21
|
-
export interface User {
|
|
22
|
-
id: string;
|
|
23
|
-
publicKey: string;
|
|
24
|
-
username: string;
|
|
25
|
-
email?: string;
|
|
26
|
-
avatar?: string;
|
|
27
|
-
privacySettings?: {
|
|
28
|
-
[key: string]: unknown;
|
|
29
|
-
};
|
|
30
|
-
name?: {
|
|
31
|
-
first?: string;
|
|
32
|
-
last?: string;
|
|
33
|
-
full?: string;
|
|
34
|
-
[key: string]: unknown;
|
|
35
|
-
};
|
|
36
|
-
bio?: string;
|
|
37
|
-
karma?: number;
|
|
38
|
-
location?: string;
|
|
39
|
-
website?: string;
|
|
40
|
-
createdAt?: string;
|
|
41
|
-
updatedAt?: string;
|
|
42
|
-
links?: Array<{
|
|
43
|
-
title?: string;
|
|
44
|
-
description?: string;
|
|
45
|
-
image?: string;
|
|
46
|
-
link: string;
|
|
47
|
-
}>;
|
|
48
|
-
_count?: {
|
|
49
|
-
followers?: number;
|
|
50
|
-
following?: number;
|
|
51
|
-
};
|
|
52
|
-
accountExpiresAfterInactivityDays?: number | null;
|
|
53
|
-
[key: string]: unknown;
|
|
54
|
-
}
|
|
55
|
-
export interface LoginResponse {
|
|
56
|
-
accessToken?: string;
|
|
57
|
-
refreshToken?: string;
|
|
58
|
-
token?: string;
|
|
59
|
-
user: User;
|
|
60
|
-
message?: string;
|
|
61
|
-
}
|
|
62
|
-
export interface Notification {
|
|
63
|
-
id: string;
|
|
64
|
-
message: string;
|
|
65
|
-
}
|
|
66
|
-
export interface Wallet {
|
|
67
|
-
id: string;
|
|
68
|
-
balance: number;
|
|
69
|
-
}
|
|
70
|
-
export interface Transaction {
|
|
71
|
-
id: string;
|
|
72
|
-
amount: number;
|
|
73
|
-
type: string;
|
|
74
|
-
timestamp: string;
|
|
75
|
-
}
|
|
76
|
-
export interface BlockedUser {
|
|
77
|
-
_id?: string;
|
|
78
|
-
blockedId: string | {
|
|
79
|
-
_id: string;
|
|
80
|
-
username: string;
|
|
81
|
-
avatar?: string;
|
|
82
|
-
};
|
|
83
|
-
userId: string;
|
|
84
|
-
createdAt?: string;
|
|
85
|
-
blockedAt?: string;
|
|
86
|
-
username?: string;
|
|
87
|
-
avatar?: string;
|
|
88
|
-
}
|
|
89
|
-
export interface RestrictedUser {
|
|
90
|
-
_id?: string;
|
|
91
|
-
restrictedId: string | {
|
|
92
|
-
_id: string;
|
|
93
|
-
username: string;
|
|
94
|
-
avatar?: string;
|
|
95
|
-
};
|
|
96
|
-
userId: string;
|
|
97
|
-
createdAt?: string;
|
|
98
|
-
restrictedAt?: string;
|
|
99
|
-
username?: string;
|
|
100
|
-
avatar?: string;
|
|
101
|
-
}
|
|
102
|
-
export interface TransferFundsRequest {
|
|
103
|
-
fromUserId: string;
|
|
104
|
-
toUserId: string;
|
|
105
|
-
amount: number;
|
|
106
|
-
}
|
|
107
|
-
export interface PurchaseRequest {
|
|
108
|
-
userId: string;
|
|
109
|
-
itemId: string;
|
|
110
|
-
amount: number;
|
|
111
|
-
}
|
|
112
|
-
export interface WithdrawalRequest {
|
|
113
|
-
userId: string;
|
|
114
|
-
amount: number;
|
|
115
|
-
address: string;
|
|
116
|
-
}
|
|
117
|
-
export interface TransactionResponse {
|
|
118
|
-
success: boolean;
|
|
119
|
-
transaction: Transaction;
|
|
120
|
-
}
|
|
121
|
-
export interface PaginationInfo {
|
|
122
|
-
total: number;
|
|
123
|
-
limit: number;
|
|
124
|
-
offset: number;
|
|
125
|
-
hasMore: boolean;
|
|
126
|
-
}
|
|
127
|
-
export interface SearchProfilesResponse {
|
|
128
|
-
data: User[];
|
|
129
|
-
pagination: PaginationInfo;
|
|
130
|
-
}
|
|
131
|
-
export interface KarmaRule {
|
|
132
|
-
id: string;
|
|
133
|
-
description: string;
|
|
134
|
-
}
|
|
135
|
-
export interface KarmaHistory {
|
|
136
|
-
id: string;
|
|
137
|
-
userId: string;
|
|
138
|
-
points: number;
|
|
139
|
-
}
|
|
140
|
-
export interface KarmaLeaderboardEntry {
|
|
141
|
-
userId: string;
|
|
142
|
-
total: number;
|
|
143
|
-
}
|
|
144
|
-
export interface KarmaAwardRequest {
|
|
145
|
-
userId: string;
|
|
146
|
-
points: number;
|
|
147
|
-
reason?: string;
|
|
148
|
-
}
|
|
149
|
-
export interface ApiError {
|
|
150
|
-
message: string;
|
|
151
|
-
code: string;
|
|
152
|
-
status: number;
|
|
153
|
-
details?: Record<string, unknown>;
|
|
154
|
-
}
|
|
155
|
-
export interface PaymentMethod {
|
|
156
|
-
id: string;
|
|
157
|
-
type: string;
|
|
158
|
-
}
|
|
159
|
-
export interface PaymentRequest {
|
|
160
|
-
userId: string;
|
|
161
|
-
planId: string;
|
|
162
|
-
paymentMethodId: string;
|
|
163
|
-
}
|
|
164
|
-
export interface PaymentResponse {
|
|
165
|
-
transactionId: string;
|
|
166
|
-
status: string;
|
|
167
|
-
}
|
|
168
|
-
export interface AnalyticsData {
|
|
169
|
-
userId: string;
|
|
170
|
-
}
|
|
171
|
-
export interface FollowerDetails {
|
|
172
|
-
userId: string;
|
|
173
|
-
followers: number;
|
|
174
|
-
}
|
|
175
|
-
export interface ContentViewer {
|
|
176
|
-
userId: string;
|
|
177
|
-
viewedAt: string;
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* File management interfaces
|
|
181
|
-
*/
|
|
182
|
-
export interface FileMetadata {
|
|
183
|
-
id: string;
|
|
184
|
-
filename: string;
|
|
185
|
-
contentType: string;
|
|
186
|
-
length: number;
|
|
187
|
-
chunkSize: number;
|
|
188
|
-
uploadDate: string;
|
|
189
|
-
metadata?: {
|
|
190
|
-
userId?: string;
|
|
191
|
-
description?: string;
|
|
192
|
-
title?: string;
|
|
193
|
-
tags?: string[];
|
|
194
|
-
[key: string]: unknown;
|
|
195
|
-
};
|
|
196
|
-
variants?: Array<{
|
|
197
|
-
type: string;
|
|
198
|
-
key: string;
|
|
199
|
-
width?: number;
|
|
200
|
-
height?: number;
|
|
201
|
-
readyAt?: string;
|
|
202
|
-
metadata?: Record<string, unknown>;
|
|
203
|
-
}>;
|
|
204
|
-
}
|
|
205
|
-
export interface FileUploadResponse {
|
|
206
|
-
files: FileMetadata[];
|
|
207
|
-
}
|
|
208
|
-
export interface FileListResponse {
|
|
209
|
-
files: FileMetadata[];
|
|
210
|
-
total: number;
|
|
211
|
-
hasMore: boolean;
|
|
212
|
-
}
|
|
213
|
-
export interface FileUpdateRequest {
|
|
214
|
-
filename?: string;
|
|
215
|
-
metadata?: {
|
|
216
|
-
description?: string;
|
|
217
|
-
title?: string;
|
|
218
|
-
tags?: string[];
|
|
219
|
-
[key: string]: unknown;
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
export interface FileDeleteResponse {
|
|
223
|
-
success: boolean;
|
|
224
|
-
message: string;
|
|
225
|
-
fileId: string;
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Central Asset Service interfaces
|
|
229
|
-
*/
|
|
230
|
-
/**
|
|
231
|
-
* File visibility levels
|
|
232
|
-
* - private: Only accessible by owner (default)
|
|
233
|
-
* - public: Accessible by anyone without authentication (e.g., avatars, public profile content)
|
|
234
|
-
* - unlisted: Accessible with direct link but not listed publicly
|
|
235
|
-
*/
|
|
236
|
-
export type FileVisibility = 'private' | 'public' | 'unlisted';
|
|
237
|
-
export interface AssetLink {
|
|
238
|
-
app: string;
|
|
239
|
-
entityType: string;
|
|
240
|
-
entityId: string;
|
|
241
|
-
createdBy: string;
|
|
242
|
-
createdAt: string;
|
|
243
|
-
}
|
|
244
|
-
export type AssetMetadata = Record<string, string | number | boolean | null | undefined>;
|
|
245
|
-
export interface AssetVariant {
|
|
246
|
-
type: string;
|
|
247
|
-
key: string;
|
|
248
|
-
width?: number;
|
|
249
|
-
height?: number;
|
|
250
|
-
readyAt?: string;
|
|
251
|
-
size?: number;
|
|
252
|
-
metadata?: AssetMetadata;
|
|
253
|
-
}
|
|
254
|
-
export interface Asset {
|
|
255
|
-
id: string;
|
|
256
|
-
sha256: string;
|
|
257
|
-
size: number;
|
|
258
|
-
mime: string;
|
|
259
|
-
ext: string;
|
|
260
|
-
originalName?: string;
|
|
261
|
-
ownerUserId: string;
|
|
262
|
-
status: 'active' | 'trash' | 'deleted';
|
|
263
|
-
visibility: FileVisibility;
|
|
264
|
-
usageCount: number;
|
|
265
|
-
createdAt: string;
|
|
266
|
-
updatedAt: string;
|
|
267
|
-
links: AssetLink[];
|
|
268
|
-
variants: AssetVariant[];
|
|
269
|
-
metadata?: AssetMetadata;
|
|
270
|
-
}
|
|
271
|
-
export interface AssetInitRequest {
|
|
272
|
-
sha256: string;
|
|
273
|
-
size: number;
|
|
274
|
-
mime: string;
|
|
275
|
-
}
|
|
276
|
-
export interface AssetInitResponse {
|
|
277
|
-
uploadUrl: string;
|
|
278
|
-
fileId: string;
|
|
279
|
-
sha256: string;
|
|
280
|
-
}
|
|
281
|
-
export interface AssetCompleteRequest {
|
|
282
|
-
fileId: string;
|
|
283
|
-
originalName: string;
|
|
284
|
-
size: number;
|
|
285
|
-
mime: string;
|
|
286
|
-
visibility?: FileVisibility;
|
|
287
|
-
metadata?: AssetMetadata;
|
|
288
|
-
}
|
|
289
|
-
export interface AssetLinkRequest {
|
|
290
|
-
app: string;
|
|
291
|
-
entityType: string;
|
|
292
|
-
entityId: string;
|
|
293
|
-
visibility?: FileVisibility;
|
|
294
|
-
}
|
|
295
|
-
export interface AssetUnlinkRequest {
|
|
296
|
-
app: string;
|
|
297
|
-
entityType: string;
|
|
298
|
-
entityId: string;
|
|
299
|
-
}
|
|
300
|
-
export interface AssetUrlResponse {
|
|
301
|
-
success: boolean;
|
|
302
|
-
url: string;
|
|
303
|
-
variant?: string;
|
|
304
|
-
expiresIn: number;
|
|
305
|
-
}
|
|
306
|
-
export interface AssetDeleteSummary {
|
|
307
|
-
fileId: string;
|
|
308
|
-
wouldDelete: boolean;
|
|
309
|
-
affectedApps: string[];
|
|
310
|
-
remainingLinks: number;
|
|
311
|
-
variants: string[];
|
|
312
|
-
}
|
|
313
|
-
export interface AssetUpdateVisibilityRequest {
|
|
314
|
-
visibility: FileVisibility;
|
|
315
|
-
}
|
|
316
|
-
export interface AssetUpdateVisibilityResponse {
|
|
317
|
-
success: boolean;
|
|
318
|
-
file: {
|
|
319
|
-
id: string;
|
|
320
|
-
visibility: FileVisibility;
|
|
321
|
-
updatedAt: string;
|
|
322
|
-
};
|
|
323
|
-
}
|
|
324
|
-
/**
|
|
325
|
-
* Account storage usage (server-side usage, not local AsyncStorage)
|
|
326
|
-
*/
|
|
327
|
-
export interface AccountStorageCategoryUsage {
|
|
328
|
-
bytes: number;
|
|
329
|
-
count: number;
|
|
330
|
-
}
|
|
331
|
-
export interface AccountStorageUsageResponse {
|
|
332
|
-
plan: 'basic' | 'pro' | 'business';
|
|
333
|
-
totalUsedBytes: number;
|
|
334
|
-
totalLimitBytes: number;
|
|
335
|
-
categories: {
|
|
336
|
-
documents: AccountStorageCategoryUsage;
|
|
337
|
-
mail: AccountStorageCategoryUsage;
|
|
338
|
-
photosVideos: AccountStorageCategoryUsage;
|
|
339
|
-
recordings: AccountStorageCategoryUsage;
|
|
340
|
-
family: AccountStorageCategoryUsage;
|
|
341
|
-
other: AccountStorageCategoryUsage;
|
|
342
|
-
};
|
|
343
|
-
updatedAt: string;
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* Security activity event types
|
|
347
|
-
*/
|
|
348
|
-
export type SecurityEventType = 'sign_in' | 'sign_out' | 'email_changed' | 'profile_updated' | 'device_added' | 'device_removed' | 'account_recovery' | 'security_settings_changed' | 'private_key_exported' | 'backup_created' | 'suspicious_activity';
|
|
349
|
-
/**
|
|
350
|
-
* Security event severity levels
|
|
351
|
-
*/
|
|
352
|
-
export type SecurityEventSeverity = 'low' | 'medium' | 'high' | 'critical';
|
|
353
|
-
/**
|
|
354
|
-
* Security event severity mapping (single source of truth)
|
|
355
|
-
* Maps each event type to its default severity level
|
|
356
|
-
*/
|
|
357
|
-
export declare const SECURITY_EVENT_SEVERITY_MAP: Record<SecurityEventType, SecurityEventSeverity>;
|
|
358
|
-
/**
|
|
359
|
-
* Security activity event
|
|
360
|
-
*/
|
|
361
|
-
export interface SecurityActivity {
|
|
362
|
-
id: string;
|
|
363
|
-
userId: string;
|
|
364
|
-
eventType: SecurityEventType;
|
|
365
|
-
eventDescription: string;
|
|
366
|
-
metadata?: Record<string, any>;
|
|
367
|
-
ipAddress?: string;
|
|
368
|
-
userAgent?: string;
|
|
369
|
-
deviceId?: string;
|
|
370
|
-
timestamp: string;
|
|
371
|
-
severity: SecurityEventSeverity;
|
|
372
|
-
createdAt: string;
|
|
373
|
-
}
|
|
374
|
-
/**
|
|
375
|
-
* Security activity response with pagination
|
|
376
|
-
*/
|
|
377
|
-
export interface SecurityActivityResponse {
|
|
378
|
-
data: SecurityActivity[];
|
|
379
|
-
total: number;
|
|
380
|
-
limit: number;
|
|
381
|
-
offset: number;
|
|
382
|
-
hasMore: boolean;
|
|
383
|
-
}
|
|
384
|
-
export interface AssetUploadProgress {
|
|
385
|
-
fileId: string;
|
|
386
|
-
uploaded: number;
|
|
387
|
-
total: number;
|
|
388
|
-
percentage: number;
|
|
389
|
-
status: 'uploading' | 'processing' | 'complete' | 'error';
|
|
390
|
-
error?: string;
|
|
391
|
-
}
|
|
392
|
-
export interface DeviceSession {
|
|
393
|
-
sessionId: string;
|
|
394
|
-
deviceId: string;
|
|
395
|
-
deviceName: string;
|
|
396
|
-
isActive: boolean;
|
|
397
|
-
lastActive: string;
|
|
398
|
-
expiresAt: string;
|
|
399
|
-
isCurrent: boolean;
|
|
400
|
-
user?: User;
|
|
401
|
-
createdAt?: string;
|
|
402
|
-
}
|
|
403
|
-
export interface DeviceSessionsResponse {
|
|
404
|
-
deviceId: string;
|
|
405
|
-
sessions: DeviceSession[];
|
|
406
|
-
}
|
|
407
|
-
export interface DeviceSessionLogoutResponse {
|
|
408
|
-
message: string;
|
|
409
|
-
deviceId: string;
|
|
410
|
-
sessionsTerminated: number;
|
|
411
|
-
}
|
|
412
|
-
export interface UpdateDeviceNameResponse {
|
|
413
|
-
message: string;
|
|
414
|
-
deviceName: string;
|
|
415
|
-
}
|
|
416
|
-
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../src/models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AC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,aAAa,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export interface ClientSession {
|
|
2
|
-
sessionId: string;
|
|
3
|
-
deviceId: string;
|
|
4
|
-
expiresAt: string;
|
|
5
|
-
lastActive: string;
|
|
6
|
-
userId?: string;
|
|
7
|
-
isCurrent?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface StorageKeys {
|
|
10
|
-
sessions: string;
|
|
11
|
-
activeSessionId: string;
|
|
12
|
-
}
|
|
13
|
-
export interface MinimalUserData {
|
|
14
|
-
id: string;
|
|
15
|
-
username: string;
|
|
16
|
-
avatar?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface SessionLoginResponse {
|
|
19
|
-
sessionId: string;
|
|
20
|
-
deviceId: string;
|
|
21
|
-
expiresAt: string;
|
|
22
|
-
user: MinimalUserData;
|
|
23
|
-
/** JWT access token for API authentication */
|
|
24
|
-
accessToken?: string;
|
|
25
|
-
/** Refresh token for obtaining new access tokens */
|
|
26
|
-
refreshToken?: string;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=session.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../../src/models/session.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,eAAe,CAAC;IACtB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OxyHQServices Node.js Entry Point
|
|
3
|
-
*/
|
|
4
|
-
import { OxyServices, OXY_CLOUD_URL, oxyClient } from '../core';
|
|
5
|
-
import * as Models from '../models/interfaces';
|
|
6
|
-
export { OxyServices, OXY_CLOUD_URL, oxyClient };
|
|
7
|
-
export { Models };
|
|
8
|
-
export * from '../models/interfaces';
|
|
9
|
-
export default OxyServices;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/node/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAG/C,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;AAGjD,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,cAAc,sBAAsB,CAAC;AAGrC,eAAe,WAAW,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OxyServices Shared Module
|
|
3
|
-
*
|
|
4
|
-
* Platform-agnostic utilities and helpers that work everywhere:
|
|
5
|
-
* - Browser (Web, Expo Web)
|
|
6
|
-
* - React Native (iOS, Android)
|
|
7
|
-
* - Node.js (Backend)
|
|
8
|
-
*
|
|
9
|
-
* This module contains NO React Native or browser-specific dependencies.
|
|
10
|
-
*
|
|
11
|
-
* @module shared
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts
|
|
15
|
-
* import { darkenColor, normalizeTheme, withRetry } from '@oxyhq/services/shared';
|
|
16
|
-
*
|
|
17
|
-
* const darkBlue = darkenColor('#0066FF', 0.3);
|
|
18
|
-
* const theme = normalizeTheme(userPreference);
|
|
19
|
-
* const data = await withRetry(() => fetchData(), { maxRetries: 3 });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export { darkenColor, lightenColor, hexToRgb, rgbToHex, withOpacity, isLightColor, getContrastTextColor, } from './utils/colorUtils';
|
|
23
|
-
export { normalizeTheme, normalizeColorScheme, getOppositeTheme, systemPrefersDarkMode, getSystemColorScheme, } from './utils/themeUtils';
|
|
24
|
-
export type { ThemeValue } from './utils/themeUtils';
|
|
25
|
-
export { HttpStatus, getErrorStatus, getErrorMessage, isAlreadyRegisteredError, isUnauthorizedError, isForbiddenError, isNotFoundError, isRateLimitError, isServerError, isNetworkError, isRetryableError, } from './utils/errorUtils';
|
|
26
|
-
export { DEFAULT_CIRCUIT_BREAKER_CONFIG, createCircuitBreakerState, calculateBackoffInterval, recordFailure, recordSuccess, shouldAllowRequest, delay, withRetry, } from './utils/networkUtils';
|
|
27
|
-
export type { CircuitBreakerState, CircuitBreakerConfig, } from './utils/networkUtils';
|
|
28
|
-
export { isDev, debugLog, debugWarn, debugError, createDebugLogger, } from './utils/debugUtils';
|
|
29
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,EACL,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGrD,OAAO,EACL,UAAU,EACV,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,8BAA8B,EAC9B,yBAAyB,EACzB,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,KAAK,EACL,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,KAAK,EACL,QAAQ,EACR,SAAS,EACT,UAAU,EACV,iBAAiB,GAClB,MAAM,oBAAoB,CAAC"}
|