@ollaid/native-sso 2.1.3 → 2.5.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 +202 -55
- package/dist/components/AvatarCropModal.d.ts +16 -0
- package/dist/components/DebugPanel.d.ts +7 -2
- package/dist/components/LoginModal.d.ts +2 -2
- package/dist/components/NativeSSOPage.d.ts +8 -2
- package/dist/components/OnboardingModal.d.ts +14 -7
- package/dist/components/PasswordRecoveryModal.d.ts +1 -1
- package/dist/components/PhoneInput.d.ts +2 -1
- package/dist/components/SignupModal.d.ts +1 -1
- package/dist/components/ui.d.ts +4 -2
- package/dist/hooks/useLogout.d.ts +1 -1
- package/dist/hooks/useMobilePassword.d.ts +1 -1
- package/dist/hooks/useMobileRegistration.d.ts +1 -1
- package/dist/hooks/useNativeAuth.d.ts +1 -1
- package/dist/hooks/useTokenHealthCheck.d.ts +11 -1
- package/dist/index.cjs +2075 -202
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -5
- package/dist/index.js +2076 -203
- package/dist/index.js.map +1 -1
- package/dist/provider.d.ts +1 -1
- package/dist/services/api.d.ts +28 -1
- package/dist/services/debugLogger.d.ts +1 -1
- package/dist/services/iamAccount.d.ts +1 -1
- package/dist/services/mobilePassword.d.ts +1 -1
- package/dist/services/mobileRegistration.d.ts +1 -1
- package/dist/services/nativeAuth.d.ts +3 -2
- package/dist/services/profile.d.ts +31 -0
- package/dist/services/profileChange.d.ts +30 -0
- package/dist/services/profileMedia.d.ts +16 -0
- package/dist/types/mobile.d.ts +1 -1
- package/dist/types/native.d.ts +23 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* Usage rapide :
|
|
5
5
|
* ```tsx
|
|
6
6
|
* import { NativeSSOPage } from '@ollaid/native-sso';
|
|
7
|
-
* <Route path="/auth/sso" element={
|
|
7
|
+
* <Route path="/auth/native-sso" element={
|
|
8
8
|
* <NativeSSOPage saasApiUrl="..." iamApiUrl="..." onLoginSuccess={(t, u) => {}} />
|
|
9
9
|
* } />
|
|
10
10
|
* ```
|
|
11
11
|
*
|
|
12
|
-
* @version
|
|
12
|
+
* @version 2.5.0
|
|
13
13
|
*/
|
|
14
14
|
export { NativeSSOPage } from './components/NativeSSOPage';
|
|
15
15
|
export type { NativeSSOPageProps } from './components/NativeSSOPage';
|
|
@@ -37,8 +37,10 @@ export { useMobilePassword } from './hooks/useMobilePassword';
|
|
|
37
37
|
export { useMobileRegistration } from './hooks/useMobileRegistration';
|
|
38
38
|
export { nativeAuthService } from './services/nativeAuth';
|
|
39
39
|
export { mobilePasswordService } from './services/mobilePassword';
|
|
40
|
+
export { profileChangeService } from './services/profileChange';
|
|
41
|
+
export { profileMediaService } from './services/profileMedia';
|
|
40
42
|
export { iamAccountService } from './services/iamAccount';
|
|
41
|
-
export { setNativeAuthConfig, getNativeAuthConfig, ApiError, getAuthToken, getAuthUser, getAccountType, clearAuthToken, logout } from './services/api';
|
|
42
|
-
export type { NativeAuthConfig, ApiErrorType } from './services/api';
|
|
43
|
-
export type { NativeAuthType, NativeAuthStatus, AccountType, RegistrationType, NativeCredentials, NativeEncryptRequest, NativeEncryptResponse, NativeConfigResponse, NativeInitResponse, NativeValidateResponse, NativeGrantAccessResponse, NativeResendOtpResponse, NativeExchangeResponse, NativeUser, NativeAuthState, UserInfos, LinkPhoneRequest, LinkPhoneResponse, LinkEmailRequest, LinkEmailResponse, RefreshUserInfoSingleRequest, RefreshUserInfoSingleResponse, RefreshUserInfoBulkRequest, RefreshUserInfoBulkResponse, UpdateAvatarRequest, UpdateAvatarResponse, ResetAvatarRequest, ResetAvatarResponse, CheckTokenResponse, } from './types/native';
|
|
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';
|
|
45
|
+
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';
|
|
44
46
|
export type { MobilePasswordState, MobilePasswordStatus, } from './types/mobile';
|