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

LoginWithEmailOtp Whitelabeling #414

Merged

Conversation

mushfichowdhury-magic
Copy link
Contributor

@mushfichowdhury-magic mushfichowdhury-magic commented Jan 4, 2023

πŸ“¦ Pull Request

For the Email OTP White Labeling project, SDK needed updates to support the showUI? param and also introduce new typing for events.

βœ… Fixed Issues

  • [List any fixed issues here like: Fixes #XXXX]

Ethella
Ethella previously approved these changes Feb 28, 2023
);
if (!showUI) {
const handle = this.request<string | null, LoginWithEmailOTPEvents>(requestPayload);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the chance 'handle' is undefined in this case?

Copy link
Contributor Author

@mushfichowdhury-magic mushfichowdhury-magic Feb 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it's a slim chance, previous implementation always had it assumed as defined.

@mushfichowdhury-magic mushfichowdhury-magic merged commit fea9d43 into master Feb 28, 2023
@mushfichowdhury-magic mushfichowdhury-magic deleted the mushfichowdhury-login-with-email-otp-whitelabel branch February 28, 2023 17:11
@magiclabsFE magiclabsFE added the released This issue/pull request has been released. label Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants