Skip to content

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 09 Jul 15:58
2554461

Minor Changes

  • 3da6f14: Re-export webhook verification helper

    Usage:

    Required: Set your CLERK_WEBHOOK_SIGNING_SECRET environment variable to protect webhooks. It is automatically read by verifyWebhook().

    import { clerkPlugin } from "elysia-clerk";
    import { verifyWebhook } from "elysia-clerk/webhooks";
    
    new Elysia()
      .use(clerkPlugin())
      .get("/webhook", ({ request }) => {
        const result = await verifyWebhook(request);
        // do something with the result
      })
      .listen(3000);

Patch Changes

  • be91dec: Bump @clerk/backend to 2.4.1 and @clerk/shared to 3.11.0