Skip to content

Commit

Permalink
fix(clerk-expo): Re-export the isClerkRuntimeError() utility (#4815)
Browse files Browse the repository at this point in the history
  • Loading branch information
anagstef authored Dec 19, 2024
1 parent 99f7536 commit c6837d1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/light-impalas-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/clerk-expo': patch
---

Re-export the `isClerkRuntimeError()` utility function from `@clerk/clerk-react`.
8 changes: 7 additions & 1 deletion packages/expo/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import { setErrorThrowerOptions } from '@clerk/clerk-react/internal';

export { isClerkAPIResponseError, isEmailLinkError, isKnownError, isMetamaskError } from '@clerk/clerk-react/errors';
export {
isClerkAPIResponseError,
isEmailLinkError,
isKnownError,
isMetamaskError,
isClerkRuntimeError,
} from '@clerk/clerk-react/errors';

/**
* @deprecated Use `getClerkInstance()` instead.
Expand Down

0 comments on commit c6837d1

Please sign in to comment.