diff --git a/packages/react/src/isomorphicClerk.ts b/packages/react/src/isomorphicClerk.ts index a75795a3ec9..7aa0f137b39 100644 --- a/packages/react/src/isomorphicClerk.ts +++ b/packages/react/src/isomorphicClerk.ts @@ -1,5 +1,4 @@ import { inBrowser } from '@clerk/shared/browser'; -import { deprecated } from '@clerk/shared/deprecated'; import { handleValueOrFn } from '@clerk/shared/handleValueOrFn'; import type { ActiveSessionResource, @@ -10,7 +9,6 @@ import type { CreateOrganizationProps, DomainOrProxyUrl, HandleEmailLinkVerificationParams, - HandleMagicLinkVerificationParams, HandleOAuthCallbackParams, ListenerCallback, OrganizationListProps, @@ -664,18 +662,6 @@ export default class IsomorphicClerk { this.premountMethodCalls.set('handleRedirectCallback', callback); } }; - /** - * @deprecated Use `handleEmailLinkVerification` instead. - */ - handleMagicLinkVerification = async (params: HandleMagicLinkVerificationParams): Promise => { - deprecated('handleMagicLinkVerification', 'Use `handleEmailLinkVerification` instead.'); - const callback = () => this.clerkjs?.handleMagicLinkVerification(params); - if (this.clerkjs && this.#loaded) { - return callback() as Promise; - } else { - this.premountMethodCalls.set('handleMagicLinkVerification', callback); - } - }; handleEmailLinkVerification = async (params: HandleEmailLinkVerificationParams): Promise => { const callback = () => this.clerkjs?.handleEmailLinkVerification(params);