-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(clerk-js,shared): Refactor useReverification to support custom UIs #5396
feat(clerk-js,shared): Refactor useReverification to support custom UIs #5396
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 1478856 The changes in this PR will be included in the next version bump. This PR includes changesets to release 18 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
!snapshot |
Hey @octoper - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/agent-toolkit@0.0.11-snapshot.v20250319140008 --save-exact
npm i @clerk/astro@2.4.0-snapshot.v20250319140008 --save-exact
npm i @clerk/backend@1.25.3-snapshot.v20250319140008 --save-exact
npm i @clerk/chrome-extension@2.2.17-snapshot.v20250319140008 --save-exact
npm i @clerk/clerk-js@5.57.0-snapshot.v20250319140008 --save-exact
npm i @clerk/elements@0.23.3-snapshot.v20250319140008 --save-exact
npm i @clerk/clerk-expo@2.9.0-snapshot.v20250319140008 --save-exact
npm i @clerk/expo-passkeys@0.1.24-snapshot.v20250319140008 --save-exact
npm i @clerk/express@1.3.54-snapshot.v20250319140008 --save-exact
npm i @clerk/fastify@2.1.27-snapshot.v20250319140008 --save-exact
npm i @clerk/localizations@3.13.0-snapshot.v20250319140008 --save-exact
npm i @clerk/nextjs@6.12.6-snapshot.v20250319140008 --save-exact
npm i @clerk/nuxt@1.4.1-snapshot.v20250319140008 --save-exact
npm i @clerk/clerk-react@5.25.0-snapshot.v20250319140008 --save-exact
npm i @clerk/react-router@1.1.6-snapshot.v20250319140008 --save-exact
npm i @clerk/remix@4.5.6-snapshot.v20250319140008 --save-exact
npm i @clerk/shared@3.1.0-snapshot.v20250319140008 --save-exact
npm i @clerk/tanstack-start@0.11.5-snapshot.v20250319140008 --save-exact
npm i @clerk/testing@1.4.28-snapshot.v20250319140008 --save-exact
npm i @clerk/themes@2.2.22-snapshot.v20250319140008 --save-exact
npm i @clerk/types@4.49.0-snapshot.v20250319140008 --save-exact
npm i @clerk/vue@1.4.0-snapshot.v20250319140008 --save-exact |
82d1e34
to
80a7566
Compare
4df9ce1
to
86f7ea8
Compare
!snapshot |
Hey @octoper - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/agent-toolkit@0.0.12-snapshot.v20250320122807 --save-exact
npm i @clerk/astro@2.4.1-snapshot.v20250320122807 --save-exact
npm i @clerk/backend@1.25.4-snapshot.v20250320122807 --save-exact
npm i @clerk/chrome-extension@2.2.18-snapshot.v20250320122807 --save-exact
npm i @clerk/clerk-js@5.57.1-snapshot.v20250320122807 --save-exact
npm i @clerk/elements@0.23.4-snapshot.v20250320122807 --save-exact
npm i @clerk/clerk-expo@2.9.1-snapshot.v20250320122807 --save-exact
npm i @clerk/expo-passkeys@0.1.25-snapshot.v20250320122807 --save-exact
npm i @clerk/express@1.3.55-snapshot.v20250320122807 --save-exact
npm i @clerk/fastify@2.1.28-snapshot.v20250320122807 --save-exact
npm i @clerk/nextjs@6.12.7-snapshot.v20250320122807 --save-exact
npm i @clerk/nuxt@1.4.2-snapshot.v20250320122807 --save-exact
npm i @clerk/clerk-react@5.25.1-snapshot.v20250320122807 --save-exact
npm i @clerk/react-router@1.1.7-snapshot.v20250320122807 --save-exact
npm i @clerk/remix@4.5.7-snapshot.v20250320122807 --save-exact
npm i @clerk/shared@3.1.0-snapshot.v20250320122807 --save-exact
npm i @clerk/testing@1.4.29-snapshot.v20250320122807 --save-exact
npm i @clerk/vue@1.4.1-snapshot.v20250320122807 --save-exact |
packages/clerk-js/src/ui/components/UserProfile/MfaBackupCodeCreateForm.tsx
Outdated
Show resolved
Hide resolved
ce44147
to
451aa80
Compare
@panteliselef all comments are fixed! |
4267c48
to
1478856
Compare
Description
This PR refactors
useReverification
to allow it to be used both for AIO and custom UI's.This refactor will introduce breaking changes to
useReverification
as now it will not return an array but instead will return the fetcher, an also thethrowOnCancel
andonCancel
options are dropped and all errors even canceling will be thrown.Checklist
pnpm test
runs as expected.pnpm build
runs as expected.Type of change