github clerk/javascript @clerk/nextjs@6.23.0

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

Minor Changes

  • Fix auth.protect() unauthorized error propagation within middleware (#6169) by @wobsoriano

    • Optimize auth() calls to avoid unnecessary verification calls when the provided token type is not in the acceptsToken array. (#6123) by @wobsoriano

    • Add handling for invalid token types when acceptsToken is an array in authenticateRequest(): now returns a clear unauthenticated state (tokenType: null) if the token is not in the accepted list.

Patch Changes

Don't miss a new javascript release

NewReleases is sending notifications on new releases.