Back to Clerk

`TokenVerificationErrorReason` import moved to `@clerk/backend/errors`

packages/upgrade/src/versions/core-2/backend/tokenverificationerrorreason-import-move.md

latest372 B
Original Source

The TokenVerificationErrorReason import path has changed from @clerk/backend to @clerk/backend/errors. You must update your import path in order for it to work correctly. Example below of the fix that needs to be made:

diff
- import { TokenVerificationErrorReason } from "@clerk/backend"
+ import { TokenVerificationErrorReason } from "@clerk/backend/errors"