Skip to content

Commit c6837d1

Browse files
authored
fix(clerk-expo): Re-export the isClerkRuntimeError() utility (#4815)
1 parent 99f7536 commit c6837d1

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.changeset/light-impalas-visit.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/clerk-expo': patch
3+
---
4+
5+
Re-export the `isClerkRuntimeError()` utility function from `@clerk/clerk-react`.

packages/expo/src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
import { setErrorThrowerOptions } from '@clerk/clerk-react/internal';
22

3-
export { isClerkAPIResponseError, isEmailLinkError, isKnownError, isMetamaskError } from '@clerk/clerk-react/errors';
3+
export {
4+
isClerkAPIResponseError,
5+
isEmailLinkError,
6+
isKnownError,
7+
isMetamaskError,
8+
isClerkRuntimeError,
9+
} from '@clerk/clerk-react/errors';
410

511
/**
612
* @deprecated Use `getClerkInstance()` instead.

0 commit comments

Comments
 (0)