github clerk/javascript @clerk/backend@1.33.0

latest releases: @clerk/types@4.92.0, @clerk/clerk-js@5.99.0, @clerk/fastify@2.4.37...
5 months ago

Minor Changes

  • Introduce treatPendingAsSignedOut option to getAuth (#5842) by @LauraBeatris

    // `pending` sessions will be treated as signed-out by default
    const { userId } = getAuth(req);
    // Both `active` and `pending` sessions will be treated as authenticated when `treatPendingAsSignedOut` is false
    const { userId } = getAuth(req, { treatPendingAsSignedOut: false });

Patch Changes

  • Fixes an issue with infinite redirect detection in the handshake flow. (#5981) by @brkalow

  • Updated dependencies [f237d76]:

    • @clerk/shared@3.9.3

Don't miss a new javascript release

NewReleases is sending notifications on new releases.