@ollaid/native-sso 2.6.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.
@@ -2,7 +2,7 @@
2
2
  * NativeSSOProvider — React Context pour @ollaid/native-sso
3
3
  * Centralise la configuration pour les hooks et composants individuels
4
4
  *
5
- * @version 2.6.0
5
+ * @version 2.7.0
6
6
  */
7
7
  import { type ReactNode } from 'react';
8
8
  import { type NativeStorageAdapter } from './services/api';
@@ -2,7 +2,7 @@
2
2
  * Client API pour @ollaid/native-sso
3
3
  * Gestion des requêtes HTTP avec timeout, device ID, token storage
4
4
  *
5
- * @version 2.6.0
5
+ * @version 2.7.0
6
6
  */
7
7
  export type ApiErrorType = 'network' | 'timeout' | 'server' | 'validation' | 'auth' | 'unknown';
8
8
  export declare class ApiError extends Error {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Debug Logger pour @ollaid/native-sso
3
3
  * Stocke l'historique des appels API en mémoire pour le DebugPanel
4
- * @version 2.6.0
4
+ * @version 2.7.0
5
5
  */
6
6
  export interface ApiCallLog {
7
7
  id: string;
@@ -8,7 +8,7 @@
8
8
  * Ne JAMAIS appeler ces méthodes depuis du code frontend/navigateur car la
9
9
  * secret_key serait exposée dans les DevTools réseau.
10
10
  *
11
- * @version 2.6.0
11
+ * @version 2.7.0
12
12
  */
13
13
  import type { LinkPhoneRequest, LinkPhoneResponse, LinkEmailRequest, LinkEmailResponse, RefreshUserInfoSingleRequest, RefreshUserInfoSingleResponse, RefreshUserInfoBulkRequest, RefreshUserInfoBulkResponse, UpdateAvatarRequest, UpdateAvatarResponse, ResetAvatarRequest, ResetAvatarResponse } from '../types/native';
14
14
  export declare const iamAccountService: {
@@ -2,7 +2,7 @@
2
2
  * Service de récupération de mot de passe v1.0
3
3
  * Architecture Frontend-First : Appels directs à l'IAM
4
4
  *
5
- * @version 2.6.0
5
+ * @version 2.7.0
6
6
  */
7
7
  import { ApiError } from './api';
8
8
  import type { MobilePasswordInitResponse, MobilePasswordSelectMethodResponse, MobilePasswordResetResponse, MobilePasswordResendResponse } from '../types/mobile';
@@ -2,7 +2,7 @@
2
2
  * Service d'inscription Mobile SSO v1.0
3
3
  * Architecture Frontend-First : Appels directs à l'IAM via nativeAuth
4
4
  *
5
- * @version 2.6.0
5
+ * @version 2.7.0
6
6
  */
7
7
  import type { MobileRegistrationFormData, MobileVerifyOtpResponse, MobileRegistrationCompleteResponse, MobileResendOtpResponse } from '../types/mobile';
8
8
  import type { NativeInitResponse } from '../types/native';
@@ -2,7 +2,7 @@
2
2
  * Service d'authentification Native Mobile SSO v1.0
3
3
  * Architecture Frontend-First : Direct IAM après encryption
4
4
  *
5
- * @version 2.6.0
5
+ * @version 2.7.0
6
6
  */
7
7
  import type { NativeAuthType, NativeEncryptRequest, NativeEncryptResponse, NativeInitResponse, NativeValidateResponse, NativeGrantAccessResponse, NativeResendOtpResponse, NativeExchangeResponse, NativeCredentials, NativeRefreshResponse } from '../types/native';
8
8
  export declare const nativeAuthService: {
@@ -2,7 +2,7 @@
2
2
  * Profile service for @ollaid/native-sso
3
3
  * Updates the authenticated profile fields via IAM.
4
4
  *
5
- * @version 2.6.0
5
+ * @version 2.7.0
6
6
  */
7
7
  import type { UserInfos } from '../types/native';
8
8
  export interface ProfileUpdateRequest {
@@ -2,7 +2,7 @@
2
2
  * Profile change service for @ollaid/native-sso
3
3
  * Uses authenticated IAM endpoints for email / phone change with OTP confirmation.
4
4
  *
5
- * @version 2.6.0
5
+ * @version 2.7.0
6
6
  */
7
7
  export type ProfileChangeKind = 'email' | 'phone';
8
8
  export type ProfileChangeMethod = 'email' | 'phone';
@@ -2,7 +2,7 @@
2
2
  * Profile media service for @ollaid/native-sso
3
3
  * Uploads the cropped avatar to the IAM authenticated profile endpoint.
4
4
  *
5
- * @version 2.6.0
5
+ * @version 2.7.0
6
6
  */
7
7
  import type { UserInfos } from '../types/native';
8
8
  export interface ProfileImageUploadResponse {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Types pour le password recovery et registration Mobile SSO v1.0
3
3
  *
4
- * @version 2.6.0
4
+ * @version 2.7.0
5
5
  */
6
6
  export type MobilePasswordStatus = 'idle' | 'choice_required' | 'pending_otp' | 'pending_password' | 'completed';
7
7
  export interface MobilePasswordState {
@@ -2,7 +2,7 @@
2
2
  * Types pour l'authentification Native SSO v1.0
3
3
  * Architecture Frontend-First avec encryption directe
4
4
  *
5
- * @version 2.6.0
5
+ * @version 2.7.0
6
6
  */
7
7
  export type NativeAuthType = 'login_email' | 'login_phone' | 'login_access_otp' | 'register' | 'recovery_password';
8
8
  export type AccountType = 'email' | 'phone-only';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ollaid/native-sso",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Package NPM fullstack pour l'authentification Native SSO Ollaid - Frontend-First (Link APIs & Refresh support)",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",