Skip to content

Commit

Permalink
fix(clerk-sdk-node): Fix verifyToken() signature to support a signl…
Browse files Browse the repository at this point in the history
…e token param

Resolves #2280
  • Loading branch information
dimkl committed Dec 7, 2023
1 parent feaa241 commit ab0a97b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk-node/src/clerkClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { loadApiEnv, loadClientEnv } from './utils';
type ExtendedClerk = ReturnType<typeof _Clerk> & {
expressWithAuth: ReturnType<typeof createClerkExpressWithAuth>;
expressRequireAuth: ReturnType<typeof createClerkExpressRequireAuth>;
verifyToken: typeof _verifyToken;
verifyToken: (token: string, verifyOpts?: Parameters<typeof _verifyToken>[1]) => ReturnType<typeof _verifyToken>;
};

/**
Expand Down

0 comments on commit ab0a97b

Please sign in to comment.