@clerk/localizations@4.13.0
📦 clerkView on GitHub →
✨ 3 features🔧 3 symbols
Summary
This release introduces support for Clerk Protect mid-flow SDK challenges during sign-up and sign-in flows, adding new status indicators and submission methods for handling antifraud challenges.
Migration Steps
- If using an exhaustive `switch` on `signIn.status`, handle the new `'needs_protect_check'` value by running the challenge described by the `protectCheck` field and submitting the proof via `submitProtectCheck()`.
✨ New Features
- Added support for Clerk Protect mid-flow SDK challenges (`protect_check`) on both sign-up and sign-in flows.
- Sign-in responses now include a `protectCheck` field containing challenge details (`{ status, token, sdkUrl, expiresAt?, uiHints? }`) when a Protect mid-flow challenge is issued.
- The `SignInStatus` union now includes a new value: `'needs_protect_check'`.