-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(clerk-js): Introduce Clerk.client.clearCache() #1545
Conversation
🦋 Changeset detectedLatest commit: dedb3a5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Great news! Jit hasn't found any security issues in your PR. Good Job! 🏆
The clearCache method clears the internal token cache for each session of the current client. Fixes #1525
b09585c
to
7716ed5
Compare
!snapshot |
Hey @SokratisVidros - the snapshot version command generated the following package versions:
Tip: use the snippet copy button below to quickly install the required packages. # @clerk/backend
npm i @clerk/backend@0.27.0-snapshot.7716ed5 # @clerk/chrome-extension
npm i @clerk/chrome-extension@0.3.26-snapshot.7716ed5 # @clerk/clerk-js
npm i @clerk/clerk-js@4.55.0-snapshot.7716ed5 # eslint-config-custom
npm i eslint-config-custom@0.3.0 # @clerk/clerk-expo
npm i @clerk/clerk-expo@0.18.17-snapshot.7716ed5 # @clerk/fastify
npm i @clerk/fastify@0.6.3-snapshot.7716ed5 # gatsby-plugin-clerk
npm i gatsby-plugin-clerk@4.4.4-snapshot.7716ed5 # @clerk/localizations
npm i @clerk/localizations@1.24.1-snapshot.7716ed5 # @clerk/nextjs
npm i @clerk/nextjs@4.23.2-snapshot.7716ed5 # @clerk/clerk-react
npm i @clerk/clerk-react@4.23.2-snapshot.7716ed5 # @clerk/remix
npm i @clerk/remix@2.9.1-snapshot.7716ed5 # @clerk/clerk-sdk-node
npm i @clerk/clerk-sdk-node@4.12.2-snapshot.7716ed5 # @clerk/shared
npm i @clerk/shared@0.21.0-snapshot.7716ed5 # @clerk/themes
npm i @clerk/themes@1.7.5 # @clerk/types
npm i @clerk/types@3.49.0-snapshot.7716ed5 |
!snapshot |
Hey @SokratisVidros - the snapshot version command generated the following package versions:
Tip: use the snippet copy button below to quickly install the required packages. # @clerk/backend
npm i @clerk/backend@0.27.0-snapshot.a30a053 # @clerk/chrome-extension
npm i @clerk/chrome-extension@0.3.26-snapshot.a30a053 # @clerk/clerk-js
npm i @clerk/clerk-js@4.55.0-snapshot.a30a053 # eslint-config-custom
npm i eslint-config-custom@0.3.0 # @clerk/clerk-expo
npm i @clerk/clerk-expo@0.18.17-snapshot.a30a053 # @clerk/fastify
npm i @clerk/fastify@0.6.3-snapshot.a30a053 # gatsby-plugin-clerk
npm i gatsby-plugin-clerk@4.4.4-snapshot.a30a053 # @clerk/localizations
npm i @clerk/localizations@1.24.1-snapshot.a30a053 # @clerk/nextjs
npm i @clerk/nextjs@4.23.2-snapshot.a30a053 # @clerk/clerk-react
npm i @clerk/clerk-react@4.23.2-snapshot.a30a053 # @clerk/remix
npm i @clerk/remix@2.9.1-snapshot.a30a053 # @clerk/clerk-sdk-node
npm i @clerk/clerk-sdk-node@4.12.2-snapshot.a30a053 # @clerk/shared
npm i @clerk/shared@0.21.0-snapshot.a30a053 # @clerk/themes
npm i @clerk/themes@1.7.5 # @clerk/types
npm i @clerk/types@3.49.0-snapshot.a30a053 |
Teach ClerkJS Headless not to block the exit of the event loop when used in Node environments.
a30a053
to
dedb3a5
Compare
This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Type of change
Packages affected
@clerk/clerk-js
@clerk/clerk-react
@clerk/nextjs
@clerk/remix
@clerk/types
@clerk/themes
@clerk/localizations
@clerk/clerk-expo
@clerk/backend
@clerk/clerk-sdk-node
@clerk/shared
@clerk/fastify
@clerk/chrome-extension
gatsby-plugin-clerk
build/tooling/chore
Description
npm test
runs as expected.npm run build
runs as expected.The
Clerk.client.clearCache
method clears the internal token cache for each session of the current client.Fixes #1525