@clerk/clerk-js
6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/clerk-js From 6.21.0 to 6.21.1
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Release by release
- Fixed
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 afocusevent 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 onvisibilitychange(which does reach iframes) and allows a visible embedded frame to write the refreshed cookie.
- Fixed
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.