Packages

@clerk/types

4.101.20 · 27 Feb 2026MIT3.2M / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: This package is no longer supported. Please import types from @clerk/shared/types instead. See the upgrade guide for more info: https://clerk.com/docs/guides/development/upgrading/upgrade-guides/core-3What to use instead
Your version

4.18.0

3 Sep 2024Where it was published

4.101.29 is the newest release of 4.x.

npm marks 4.18.0 as deprecated: This package is no longer supported. Please import types from @clerk/shared/types instead. See the upgrade guide for more info: clerk.com/docs/guides/development/upgrading/upg…

In short

7 new5 changed

Release note

Minor Changes

  • Move SessionVerification methods from UserResource to SessionResource:

    • user.__experimental_verifySession -> session.__experimental_startVerification

    • user.__experimental_verifySessionPrepareFirstFactor -> session.__experimental_prepareFirstFactorVerification

    • user.__experimental_verifySessionAttemptFirstFactor -> session.__experimental_attemptFirstFactorVerification

    • user.__experimental_verifySessionPrepareSecondFactor -> session.__experimental_prepareSecondFactorVerification

    • user.__experimental_verifySessionAttemptSecondFactor -> session.__experimental_attemptSecondFactorVerification

  • Add types for newly introduced <__experimental_UserVerification /> component (experimental feature). New types:

    • Appearance has a new userVerification property

    • __experimental_UserVerificationProps and __experimental_UserVerificationModalProps

    • __experimental_openUserVerification method under the Clerk interface

    • __experimental_closeUserVerification method under the Clerk interface

    • __experimental_mountUserVerification method under the Clerk interface

    • __experimental_unmountUserVerification method under the Clerk interface

    • __experimental_userVerification property under LocalizationResource

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.