github clerk/javascript @clerk/astro@2.2.0

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

Minor Changes

  • Add support for type-safe environment variables using the astro:env API. (#5104) by @wobsoriano

    The integration now provides a type-safe schema for all Clerk environment variables by default. You can use the environment variables like so:

    import { PUBLIC_CLERK_PUBLISHABLE_KEY } from 'astro:env/client';
    import { CLERK_SECRET_KEY } from 'astro:env/server';

    To override this behavior, you can disable the feature by setting enableEnvSchema to false:

    export default defineConfig({
      integrations: [clerk({ enableEnvSchema: false })],
    });

Patch Changes

Don't miss a new javascript release

NewReleases is sending notifications on new releases.