@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
Upgrading @clerk/shared From 4.43.0 to 4.45.1
5 releases in betweenevery note read
Release by release
- Fixed
Modify the polling interval for SSO domain verification on development instances.
- Fixed
Fix an issue where the self-serve SSO setup wizard could return to the domain step after creating a connection.
- Fixed
- New
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. - New
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. - Fixed
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." - Fixed
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.
- New
- Fixed
Move the OAuth consent redirect domain helper into
@clerk/sharedso it can be shared across UI packages. No behavior change.
- Fixed
- New
Add the experimental
NativeAppSettingsJSON,IOSMinimumVersionJSONandAndroidMinimumVersionJSONtypes for the minimum app versions in the environment'snative_app_settings. These may change in minor releases. - Fixed
Fixes signing out of all accounts on satellite domains to preserve device recognition when Device Trust and client persistence are enabled. Preserves existing navigation callbacks when cross-domain repair is unavailable, and skips the repair redirect when Device Trust or client persistence is disabled. Malformed redirect URLs no longer prevent the sign-out request.
- New
- Fixed
Wait up to 10 seconds, instead of 5, for the Device Intelligence check to finish before sending a sign-in or sign-up without its result. This applies when an instance hasn't configured its own limit. Users on slow connections are less likely to have sign-ups blocked by protections that require a Device Intelligence result.
- Fixed
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.