Skip to content

Commit

Permalink
chore(clerk-react,chrome-extension): Drop *MagicLink* related exports
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkl committed Nov 8, 2023
1 parent fee2ae0 commit 4d8d06d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ exports[`public exports should not include a breaking change 1`] = `
"CreateOrganization",
"EmailLinkErrorCode",
"Experimental__Gate",
"MagicLinkErrorCode",
"MultisessionAppSupport",
"OrganizationList",
"OrganizationProfile",
Expand All @@ -36,12 +35,10 @@ exports[`public exports should not include a breaking change 1`] = `
"isClerkAPIResponseError",
"isEmailLinkError",
"isKnownError",
"isMagicLinkError",
"isMetamaskError",
"useAuth",
"useClerk",
"useEmailLink",
"useMagicLink",
"useOrganization",
"useOrganizationList",
"useOrganizations",
Expand Down
2 changes: 0 additions & 2 deletions packages/react/src/errors.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
export {
EmailLinkErrorCode,
MagicLinkErrorCode,
isClerkAPIResponseError,
isEmailLinkError,
isKnownError,
isMagicLinkError,
isMetamaskError,
} from '@clerk/shared/error';

Expand Down
10 changes: 1 addition & 9 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,7 @@ import './polyfills';

export * from './components';
export * from './contexts';
export {
EmailLinkErrorCode,
MagicLinkErrorCode,
isClerkAPIResponseError,
isEmailLinkError,
isKnownError,
isMagicLinkError,
isMetamaskError,
} from './errors';
export { EmailLinkErrorCode, isClerkAPIResponseError, isEmailLinkError, isKnownError, isMetamaskError } from './errors';
export * from './hooks';
export { useEmailLink } from './hooks/useEmailLink';
export type {
Expand Down

0 comments on commit 4d8d06d

Please sign in to comment.