@ollaid/native-sso 2.5.0 → 2.7.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.
Files changed (40) hide show
  1. package/dist/components/AvatarCropModal.d.ts +1 -1
  2. package/dist/components/DebugPanel.d.ts +1 -1
  3. package/dist/components/LoginModal.d.ts +1 -1
  4. package/dist/components/NativeSSOPage.d.ts +4 -2
  5. package/dist/components/OnboardingModal.d.ts +1 -1
  6. package/dist/components/PasswordRecoveryModal.d.ts +1 -1
  7. package/dist/components/SignupModal.d.ts +1 -1
  8. package/dist/components/ui.d.ts +1 -1
  9. package/dist/hooks/useLogout.d.ts +1 -1
  10. package/dist/hooks/useMobilePassword.d.ts +1 -1
  11. package/dist/hooks/useMobileRegistration.d.ts +2 -2
  12. package/dist/hooks/useNativeAuth.d.ts +8 -5
  13. package/dist/hooks/useTokenHealthCheck.d.ts +1 -1
  14. package/dist/index-Bpixveaz.js +489 -0
  15. package/dist/index-Bpixveaz.js.map +1 -0
  16. package/dist/index-DDOXM37y.cjs +488 -0
  17. package/dist/index-DDOXM37y.cjs.map +1 -0
  18. package/dist/index.cjs +7118 -184
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.ts +4 -3
  21. package/dist/index.js +7118 -184
  22. package/dist/index.js.map +1 -1
  23. package/dist/provider.d.ts +4 -1
  24. package/dist/services/api.d.ts +52 -10
  25. package/dist/services/debugLogger.d.ts +1 -1
  26. package/dist/services/iamAccount.d.ts +1 -1
  27. package/dist/services/mobilePassword.d.ts +1 -1
  28. package/dist/services/mobileRegistration.d.ts +1 -1
  29. package/dist/services/nativeAuth.d.ts +1 -1
  30. package/dist/services/profile.d.ts +1 -1
  31. package/dist/services/profileChange.d.ts +1 -1
  32. package/dist/services/profileMedia.d.ts +1 -1
  33. package/dist/types/mobile.d.ts +1 -1
  34. package/dist/types/native.d.ts +1 -1
  35. package/dist/web-BQDVoI6q.cjs +146 -0
  36. package/dist/web-BQDVoI6q.cjs.map +1 -0
  37. package/dist/web-DPmAPlXS.js +146 -0
  38. package/dist/web-DPmAPlXS.js.map +1 -0
  39. package/package.json +10 -3
  40. package/README.md +0 -2503
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  * } />
10
10
  * ```
11
11
  *
12
- * @version 2.5.0
12
+ * @version 2.7.0
13
13
  */
14
14
  export { NativeSSOPage } from './components/NativeSSOPage';
15
15
  export type { NativeSSOPageProps } from './components/NativeSSOPage';
@@ -40,7 +40,8 @@ export { mobilePasswordService } from './services/mobilePassword';
40
40
  export { profileChangeService } from './services/profileChange';
41
41
  export { profileMediaService } from './services/profileMedia';
42
42
  export { iamAccountService } from './services/iamAccount';
43
- export { setNativeAuthConfig, getNativeAuthConfig, ApiError, getAuthToken, getAuthUser, getAccountType, clearAuthToken, logout, getDeviceId, getSessionUuid, STORAGE_KEYS, PROFILE_PROMPT_KEYS, getProfilePromptState, setProfilePromptState, markProfilePromptComplete, snoozeProfilePrompt, } from './services/api';
44
- export type { NativeAuthConfig, ApiErrorType, ProfilePromptState } from './services/api';
43
+ export { setNativeAuthConfig, getNativeAuthConfig, setNativeStorage, getNativeStorage, ApiError, getAuthToken, getAuthUser, getAccountType, clearAuthToken, logout, getSsoSessionSnapshot, hasSsoSession, getDeviceId, getSessionUuid, STORAGE_KEYS, PROFILE_PROMPT_KEYS, getProfilePromptState, setProfilePromptState, markProfilePromptComplete, snoozeProfilePrompt, } from './services/api';
44
+ export type { NativeAuthConfig, NativeStorageAdapter, ApiErrorType, ProfilePromptState } from './services/api';
45
+ export type { SsoSessionSnapshot } from './services/api';
45
46
  export type { NativeAuthType, NativeAuthStatus, AccountType, RegistrationType, NativeCredentials, NativeEncryptRequest, NativeEncryptResponse, NativeConfigResponse, NativeInitResponse, NativeValidateResponse, NativeGrantAccessResponse, NativeResendOtpResponse, NativeExchangeResponse, NativeRefreshResponse, NativeUser, NativeAuthState, UserInfos, LinkPhoneRequest, LinkPhoneResponse, LinkEmailRequest, LinkEmailResponse, RefreshUserInfoSingleRequest, RefreshUserInfoSingleResponse, RefreshUserInfoBulkRequest, RefreshUserInfoBulkResponse, UpdateAvatarRequest, UpdateAvatarResponse, ResetAvatarRequest, ResetAvatarResponse, CheckTokenResponse, } from './types/native';
46
47
  export type { MobilePasswordState, MobilePasswordStatus, } from './types/mobile';