@avallon-labs/sdk 32.3.0 → 32.4.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/dist/index.d.ts CHANGED
@@ -6489,9 +6489,9 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
6489
6489
  /**
6490
6490
  * Authenticate using one of the supported methods:
6491
6491
 
6492
- - **Password:** Email and password credentials
6492
+ - **Password:** Email and password credentials. If the password is correct but the email is not verified yet, responds 403 with `data.pending_authentication_token` and a fresh verification code is emailed; complete verification via **Email OTP**. Each password attempt invalidates earlier codes and tokens, so always use the most recent pair — repeating the password sign-in is also how a new code is requested.
6493
6493
  - **OAuth:** Authorization code from OAuth flow (social or enterprise SSO). Pass the `provider` the flow was started with so the code is exchanged against the system that issued it.
6494
- - **Email OTP:** One-time password sent to email. Include the `pending_authentication_token` from sign-up when completing email verification.
6494
+ - **Email OTP:** One-time password sent to email. Include the `pending_authentication_token` from sign-up, or from the 403 returned by an unverified user's password sign-in, when completing email verification.
6495
6495
  * @summary Sign in
6496
6496
  */
6497
6497
  declare const getSignInUrl: () => string;