github clerk/javascript @clerk/types@4.55.0

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

Minor Changes

  • Introduce Clerk.status for tracking the state of the clerk singleton. (#5476) by @panteliselef

    Possible values for Clerk.status are:

    • "loading": Set during initialization
    • "error": Set when hotloading clerk-js failed or Clerk.load() failed
    • "ready": Set when Clerk is fully operational
    • "degraded": Set when Clerk is partially operational

    The computed value of Clerk.loaded is:

    • true when Clerk.status is either "ready" or "degraded".
    • false when Clerk.status is "loading" or "error".

Patch Changes

    • Adds support for collecting and verifying user email (when they don't already have one associated with their payer) during checkout (#5671) by @aeliox

    • Fixes incorrect org invoices endpoint.

    • Extracts plan CTA button styling, labeling, and selecting into context methods.

    • Adds UserProfile / OrgProfile specific scrollbox IDs for drawer portal-ing (fixes issue where both could be open)

    • Fixes incorrect button action in SubscriptionList for active but expiring subscriptions.

  • Add <SubscriptionsList /> to both UserProfile and OrgProfile components. (#5658) by @alexcarpenter

    Introduce experimental method for opening <SubscriptionDetails /> component.

    clerk.__experimental_openSubscriptionDetails(...)

Don't miss a new javascript release

NewReleases is sending notifications on new releases.