Packages

@clerk/clerk-js

6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed

Your version

6.21.1

25 Jun 2026Where it was published

6.46.3 is the newest release of 6.x.

In short

1 fixed

Release note

The section about @clerk/clerk-js of a note shared by several packages.

Patch Changes

  • Refresh the session cookie when a tab becomes visible again, not only on window focus. Apps embedded in a cross-origin iframe (for example a preview pane) never receive a focus event when their parent tab is re-activated, which could leave the session token stale and cause requests to fail with a 401 until the page was manually refreshed. clerk-js now also refreshes on visibilitychange (which does reach iframes) and allows a visible embedded frame to write the refreshed cookie.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.