Packages

@clerk/clerk-js

6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed

Your version

5.16.0

27 Aug 2024Where it was published

5.128.3 is the newest release of 5.x.

In short

1 new3 fixed3 internal

Security

1 advisory affects 5.16.0; 5.89.0 fixes them

Release note

Minor Changes

  • Expose SessionVerification as an experimental resource.

    Update UserResource with 5 new experimental methods:

    • experimental_verifySession for creating a new SessionVerification record and initiating a new flow.

    • experimental_verifySessionPrepareFirstFactor for preparing a supported first factor like phone_code

    • experimental_verifySessionAttemptFirstFactor for attempting a supported first factor like password

    • experimental_verifySessionPrepareSecondFactor for preparing a supported second factor like phone_code

    • experimental_verifySessionAttemptSecondFactor for attempting a supported second factor like totp

  • Fixes a bug where multiple tabs with different active organizations would not always respect the selected organization. Going forward, when a tab is focused the active organization will immediately be updated to the tab's last active organization.

    Additionally, Clerk.session.getToken() now accepts an organizationId option. The provided organization ID will be used to set organization-related claims in the generated session token.

Patch Changes

  • Fixes an issue in Connected Accounts menu that was related to Custom OAuth Providers:

    • Resolves undefined properties error that occurred when a Custom OAuth Provider was enabled but authenticatable was set to false.

  • Fix issue where MFA two-factor UI was incorrectly rendering set default action in SMS code when TOTP strategy was defined.

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.