@clerk/clerk-js v6.25.9
Fixed APIKeys component rendering issue when organization is active with selective API key settings, improved session token refresh to prioritize focused browser tabs with increased polling frequency in multi-tab scenarios, and added tab_state parameter to session token requests to distinguish foreground from background refreshes.
Patch Changes
-
Fix the standalone
<APIKeys />component failing to render when an organization is active and user API keys are disabled but organization API keys are enabled. The component now correctly checks the user API keys setting only when no organization is active. (#9247) by @wobsoriano -
Bias proactive session token refresh ownership toward the focused browser tab and poll more often while focused in multi-tab apps. (#9215) by @nikosdouvlis
-
When running in a browser context, session token requests now include a
tab_stateparameter (focused,visible, orhidden) so the backend can distinguish foreground from background token refreshes. The parameter is omitted in environments without a document, such as extension service workers. (#9215) by @nikosdouvlis
Source: original entry ↗