Skip to content
Compare
Choose a tag to compare
@clerk-cookie clerk-cookie released this 26 Feb 21:31
· 11 commits to main since this release
bb4b762

Minor Changes

  • Introduce the appearance.captcha property for the CAPTCHA widget (#5184) by @anagstef

  • Track usage of modal UI Components as part of telemetry. (#5185) by @panteliselef

    • Initialize new pending session status as an signed-in state (#5136) by @LauraBeatris

    • Deprecate Clerk.client.activeSessions in favor of Clerk.client.signedInSessions

    • Introduce Clerk.isSignedIn property as an explicit signed-in state check, instead of !!Clerk.session or !!Clerk.user:

    - if (Clerk.user) {
    + if (Clerk.isSignedIn) {
      // Mount user button component
      document.getElementById('signed-in').innerHTML = `
        <div id="user-button"></div>
      `
    
      const userbuttonDiv = document.getElementById('user-button')
    
      clerk.mountUserButton(userbuttonDiv)
    }

Patch Changes