github clerk/javascript @clerk/nuxt@1.8.11

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

Patch Changes

  • Allows passing of treatPendingAsSignedOut to auth functions: (#6612) by @wobsoriano

    TanStack Start

    const authStateFn = createServerFn({ method: 'GET' }).handler(async () => {
      const request = getWebRequest();
      const { userId } = await getAuth(request, { treatPendingAsSignedOut: false }); // defaults to true
    
      return { userId };
    });

    Nuxt

    export default eventHandler(event => {
      const { userId } = event.context.auth({ treatPendingAsSignedOut: false }); // defaults to true
    
      return { userId };
    });
  • Updated dependencies [f49ec31, d52714e, 822e4a1, ce49740, ba7f3fd, 9036427, 2ed539c, deaafe4, a26ecae, c16a7a5, 05b6d65, 453cf86]:

    • @clerk/backend@2.10.0
    • @clerk/types@4.82.0
    • @clerk/shared@3.22.1
    • @clerk/vue@1.11.5

Don't miss a new javascript release

NewReleases is sending notifications on new releases.