@clerk/clerk-sdk-node
5.1.6 · 9 Jan 2025MIT107.3k / weekRepositoryHomepagenpmAtom feed
Deprecated by its maintainers: January 10 2025 marks the end of support for @clerk/clerk-sdk-node as previously announced in our October 2024 deprecation notice. Express users can migrate to the @clerk/express package. For more information, you can find our changelog here: https://clerk.com/changelog/2025-01-10-node-sdk-eolWhat to use instead
Your version
5.1.6 is the newest release of 5.x.
npm marks 5.0.5 as deprecated: January 10 2025 marks the end of support for @clerk/clerk-sdk-node as previously announced in our October 2024 deprecation notice. Express users can migrate to the @clerk/express package. For more information, you can find our changelog here: clerk.com/changelog/2025-01-10-node-sdk-eol
In short
1 fixed1 internal
Release note
Patch Changes
Inherit verifyToken options from clerkClient.
The below code now works as expected: (requires CLERK_SECRET_KEY env var to have been set)
import { clerkClient } from '@clerk/clerk-sdk-node'; // Use the default settings from the already instanciated clerkClient clerkClient.verifyToken(token); // or provide overrides the options clerkClient.verifyToken(token, { secretKey: 'xxxx', });
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.