@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
4.48.3 is the newest release of 4.x.
In short
2 new2 fixed
Release note
Minor Changes
Add a
preferImmediatelyAvailableCredentialsoption tosignIn.authenticateWithPasskey()andsignIn.passkey(). With@clerk/expo-passkeyson iOS 16+ and Android, it limits sign-in to passkeys already on the device, and the request fails without showing the "use a passkey from another device" sheet when there are none. This lets an app prompt for a passkey automatically when its sign-in screen opens. Browsers ignore it.Expose
meta.providerErroronClerkAPIError. WhengetUserOauthAccessToken()fails withoauth_token_retrieval_error, it holds the OAuth provider's error, or the OAuth setting to fix when Clerk could not authenticate to the provider.
Patch Changes
Show "Too many requests. Please try again in a bit." for both
too_many_requestsandsignup_rate_limit_exceedederrors in the prebuilt components. Replace "The External Account was not found." with "Account not found. Please sign up or try signing in to a different account."Fix sign-ups failing with "There is no account to transfer" when
handleRedirectCallback()was called again while an earlier call was still running, for example because<SignIn />remounted during the OAuth callback. Calls made while one is running now share its result instead of starting a second transfer.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.