Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gotrue): remove OtpType deprecation and add assertion to check type for resend method #567

Merged
merged 3 commits into from
Jul 25, 2023

Conversation

dshukertjr
Copy link
Member

What kind of change does this PR introduce?

Some OtpType enum values were deprecated in this PR, but it seems like Gotrue server requires the deprecated values in some APIs.

This PR removes the deprecated flag so that the users can use the resend method without deprecation warnings.

We can add back the deprecation warnings when the backend properly starts accepting the new email type.

Related supabase/auth-js#642

Issue report from user #517 (comment)

Co-authored-by: Vinzent <vinzent03@proton.me>
@dshukertjr dshukertjr merged commit d4509de into main Jul 25, 2023
10 checks passed
@dshukertjr dshukertjr deleted the fix/resend-assert branch July 25, 2023 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants