Skip to content

Commit 3ff86c4

Browse files
authored
feat(clerk-js): Proactive session token refresh (#7317)
1 parent e9a1d4d commit 3ff86c4

13 files changed

Lines changed: 787 additions & 146 deletions

File tree

.changeset/fresh-tigers-hunt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/clerk-js': major
3+
---
4+
5+
Add proactive session token refresh. Tokens are now automatically refreshed in the background before they expire, reducing latency for API calls near token expiration.

packages/clerk-js/bundlewatch.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{ "path": "./dist/clerk.js", "maxSize": "538KB" },
44
{ "path": "./dist/clerk.browser.js", "maxSize": "66KB" },
55
{ "path": "./dist/clerk.chips.browser.js", "maxSize": "66KB" },
6-
{ "path": "./dist/clerk.legacy.browser.js", "maxSize": "105KB" },
6+
{ "path": "./dist/clerk.legacy.browser.js", "maxSize": "106KB" },
77
{ "path": "./dist/clerk.no-rhc.js", "maxSize": "305KB" },
88
{ "path": "./dist/clerk.native.js", "maxSize": "65KB" },
99
{ "path": "./dist/vendors*.js", "maxSize": "7KB" },

0 commit comments

Comments
 (0)