Skip to content

Commit 726ec0c

Browse files
re-export errors and types from authkit-js
* re-export errors and types from authkit-js --------- Co-authored-by: Zac Burrage <[email protected]>
1 parent 5b99477 commit 726ec0c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/index.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
export { useAuth } from "./hook";
22
export { AuthKitProvider } from "./provider";
3-
export { getClaims } from "@workos-inc/authkit-js";
3+
export {
4+
getClaims,
5+
AuthKitError,
6+
LoginRequiredError,
7+
} from "@workos-inc/authkit-js";
8+
export type {
9+
User,
10+
AuthenticationResponse,
11+
JWTPayload,
12+
OnRefreshResponse,
13+
} from "@workos-inc/authkit-js";
414
export type { Impersonator } from "./state";

0 commit comments

Comments
 (0)