@oxyhq/services 5.27.0 → 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 +40 -186
- 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,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/interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAA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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"}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Color Utility Functions
|
|
3
|
-
*
|
|
4
|
-
* Consolidated color manipulation utilities used across the OxyServices ecosystem.
|
|
5
|
-
* These functions work in any JavaScript environment (browser, Node.js, React Native).
|
|
6
|
-
*
|
|
7
|
-
* @module shared/utils/colorUtils
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Darkens a hex color by a specified factor.
|
|
11
|
-
*
|
|
12
|
-
* @param color - Hex color string (with or without #)
|
|
13
|
-
* @param factor - Amount to darken (0-1). Default: 0.6
|
|
14
|
-
* @returns Darkened hex color string with # prefix
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```ts
|
|
18
|
-
* darkenColor('#FF0000', 0.5); // Returns a darker red
|
|
19
|
-
* darkenColor('FF0000', 0.3); // Also works without #
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare const darkenColor: (color: string, factor?: number) => string;
|
|
23
|
-
/**
|
|
24
|
-
* Lightens a hex color by a specified factor.
|
|
25
|
-
*
|
|
26
|
-
* @param color - Hex color string (with or without #)
|
|
27
|
-
* @param factor - Amount to lighten (0-1). Default: 0.3
|
|
28
|
-
* @returns Lightened hex color string with # prefix
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```ts
|
|
32
|
-
* lightenColor('#0000FF', 0.5); // Returns a lighter blue
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export declare const lightenColor: (color: string, factor?: number) => string;
|
|
36
|
-
/**
|
|
37
|
-
* Converts a hex color to RGB values.
|
|
38
|
-
*
|
|
39
|
-
* @param hex - Hex color string (with or without #)
|
|
40
|
-
* @returns Object with r, g, b values (0-255)
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* ```ts
|
|
44
|
-
* hexToRgb('#FF5733'); // { r: 255, g: 87, b: 51 }
|
|
45
|
-
* ```
|
|
46
|
-
*/
|
|
47
|
-
export declare const hexToRgb: (hex: string) => {
|
|
48
|
-
r: number;
|
|
49
|
-
g: number;
|
|
50
|
-
b: number;
|
|
51
|
-
} | null;
|
|
52
|
-
/**
|
|
53
|
-
* Converts RGB values to a hex color string.
|
|
54
|
-
*
|
|
55
|
-
* @param r - Red value (0-255)
|
|
56
|
-
* @param g - Green value (0-255)
|
|
57
|
-
* @param b - Blue value (0-255)
|
|
58
|
-
* @returns Hex color string with # prefix
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* rgbToHex(255, 87, 51); // '#ff5733'
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
export declare const rgbToHex: (r: number, g: number, b: number) => string;
|
|
66
|
-
/**
|
|
67
|
-
* Adjusts the opacity of a hex color, returning an rgba string.
|
|
68
|
-
*
|
|
69
|
-
* @param hex - Hex color string
|
|
70
|
-
* @param opacity - Opacity value (0-1)
|
|
71
|
-
* @returns RGBA color string
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* ```ts
|
|
75
|
-
* withOpacity('#FF0000', 0.5); // 'rgba(255, 0, 0, 0.5)'
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
export declare const withOpacity: (hex: string, opacity: number) => string;
|
|
79
|
-
/**
|
|
80
|
-
* Checks if a color is considered "light" (for determining text contrast).
|
|
81
|
-
*
|
|
82
|
-
* @param hex - Hex color string
|
|
83
|
-
* @returns true if the color is light, false if dark
|
|
84
|
-
*
|
|
85
|
-
* @example
|
|
86
|
-
* ```ts
|
|
87
|
-
* isLightColor('#FFFFFF'); // true
|
|
88
|
-
* isLightColor('#000000'); // false
|
|
89
|
-
* ```
|
|
90
|
-
*/
|
|
91
|
-
export declare const isLightColor: (hex: string) => boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Gets a contrasting text color (black or white) for a given background color.
|
|
94
|
-
*
|
|
95
|
-
* @param backgroundColor - Hex color string of the background
|
|
96
|
-
* @returns '#000000' for light backgrounds, '#ffffff' for dark backgrounds
|
|
97
|
-
*
|
|
98
|
-
* @example
|
|
99
|
-
* ```ts
|
|
100
|
-
* getContrastTextColor('#FFFF00'); // '#000000' (black text on yellow)
|
|
101
|
-
* getContrastTextColor('#000080'); // '#ffffff' (white text on navy)
|
|
102
|
-
* ```
|
|
103
|
-
*/
|
|
104
|
-
export declare const getContrastTextColor: (backgroundColor: string) => string;
|
|
105
|
-
//# sourceMappingURL=colorUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"colorUtils.d.ts","sourceRoot":"","sources":["../../../../../src/shared/utils/colorUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,EAAE,SAAQ,MAAY,KAAG,MAYjE,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,EAAE,SAAQ,MAAY,KAAG,MAYlE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,KAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAS5E,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,KAAG,MAE1D,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,EAAE,SAAS,MAAM,KAAG,MAI1D,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,KAAG,OAO1C,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,GAAI,iBAAiB,MAAM,KAAG,MAE9D,CAAC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Debug Utilities
|
|
3
|
-
*
|
|
4
|
-
* Provides safe logging functions that only output in development mode.
|
|
5
|
-
* All logs are stripped in production builds.
|
|
6
|
-
*
|
|
7
|
-
* @module shared/utils/debugUtils
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Check if running in development mode
|
|
11
|
-
*/
|
|
12
|
-
export declare const isDev: () => boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Log a debug message (only in development)
|
|
15
|
-
* @param prefix - Log prefix (e.g., '[FedCM]')
|
|
16
|
-
* @param args - Arguments to log
|
|
17
|
-
*/
|
|
18
|
-
export declare const debugLog: (prefix: string, ...args: unknown[]) => void;
|
|
19
|
-
/**
|
|
20
|
-
* Log a debug warning (only in development)
|
|
21
|
-
* @param prefix - Log prefix
|
|
22
|
-
* @param args - Arguments to log
|
|
23
|
-
*/
|
|
24
|
-
export declare const debugWarn: (prefix: string, ...args: unknown[]) => void;
|
|
25
|
-
/**
|
|
26
|
-
* Log a debug error (only in development)
|
|
27
|
-
* @param prefix - Log prefix
|
|
28
|
-
* @param args - Arguments to log
|
|
29
|
-
*/
|
|
30
|
-
export declare const debugError: (prefix: string, ...args: unknown[]) => void;
|
|
31
|
-
/**
|
|
32
|
-
* Create a namespaced debug logger
|
|
33
|
-
* @param namespace - Logger namespace (e.g., 'FedCM', 'PopupAuth')
|
|
34
|
-
* @returns Object with log, warn, error methods
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* const debug = createDebugLogger('FedCM');
|
|
39
|
-
* debug.log('Starting authentication');
|
|
40
|
-
* debug.warn('Token expires soon');
|
|
41
|
-
* debug.error('Authentication failed', error);
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export declare const createDebugLogger: (namespace: string) => {
|
|
45
|
-
log: (...args: unknown[]) => void;
|
|
46
|
-
warn: (...args: unknown[]) => void;
|
|
47
|
-
error: (...args: unknown[]) => void;
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=debugUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debugUtils.d.ts","sourceRoot":"","sources":["../../../../../src/shared/utils/debugUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH;;GAEG;AACH,eAAO,MAAM,KAAK,QAAO,OAExB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,QAAQ,GAAI,QAAQ,MAAM,EAAE,GAAG,MAAM,OAAO,EAAE,KAAG,IAI7D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,QAAQ,MAAM,EAAE,GAAG,MAAM,OAAO,EAAE,KAAG,IAI9D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU,GAAI,QAAQ,MAAM,EAAE,GAAG,MAAM,OAAO,EAAE,KAAG,IAI/D,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,iBAAiB,GAAI,WAAW,MAAM;mBAGhC,OAAO,EAAE;oBACR,OAAO,EAAE;qBACR,OAAO,EAAE;CAE7B,CAAC"}
|