-
Notifications
You must be signed in to change notification settings - Fork 471
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
feat: add phone login for embedded wallet #2366
Conversation
🦋 Changeset detectedLatest commit: acded84 The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…github.com/thirdweb-dev/js into winston/add-phone-auth-for-embedded-wallet
/release-pr |
/release-pr |
…n/add-phone-auth-for-embedded-wallet
/release-pr |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2366 +/- ##
=======================================
Coverage 38.29% 38.29%
=======================================
Files 775 775
Lines 55983 55983
Branches 2528 2528
=======================================
Hits 21438 21438
Misses 33887 33887
Partials 658 658
*This pull request uses carry forward flags. Click here to find out more. |
/release-pr |
/release-pr |
…github.com/thirdweb-dev/js into winston/add-phone-auth-for-embedded-wallet
/release-pr |
/release-pr |
/release-pr |
/release-pr |
fix: phone otp validation chore: update placeholder text feat: allow phone / email to be shown first chore: allow space dashes and parenthesis
/release-pr |
legacy_packages/react/src/wallet/wallets/embeddedWallet/CountrySelector.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple of call outs and changes, let me know when I can re-review
legacy_packages/react/src/evm/hooks/wallets/useEmbeddedWallet.ts
Outdated
Show resolved
Hide resolved
legacy_packages/react/src/wallet/wallets/embeddedWallet/CountrySelector.tsx
Outdated
Show resolved
Hide resolved
legacy_packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx
Show resolved
Hide resolved
…github.com/thirdweb-dev/js into winston/add-phone-auth-for-embedded-wallet
Problem solved
Short description of the bug fixed or feature added
Changes made
Public API changes:
embeddedWalletSdk.sendVerificationSms({ phoneNumber: "+11234567890" })
embeddedWalletSdk.authenticate({ strategy: "phone_number_verification", verificationCode: "123456" })
Internal API changes: explain the internal logic changes
How to test
PR-Codex overview
This PR adds the option to log in with SMS in the EmbeddedWallet feature. It includes changes related to email and phone login options, SMS verification, and validation functions.
Detailed summary