@clerk/clerk-js@5.124.0
📦 clerkView on GitHub →
✨ 2 features🐛 2 fixes🔧 1 symbols
Summary
This release introduces support for MFA setup sessions and account credits. It also includes fixes related to cookie domain scoping and BaseRouter state synchronization after OAuth popups.
✨ New Features
- Introduces MFA setup session task for handling require MFA after sign-in and sign-up.
- Add support for account credits in checkout.
🐛 Bug Fixes
- Fix `__client_uat` cookie being set on two different domain scopes when app is loaded in both iframe and non-iframe contexts by ensuring `getCookieDomain()` falls back to `hostname` when eTLD+1 probe fails, and using consistent cookie attributes for the probe.
- Fix BaseRouter state not syncing after popup OAuth by observing `pushState`/`replaceState` changes in addition to `popstate`.