-
Notifications
You must be signed in to change notification settings - Fork 364
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
ecosystem refactor part 4: react native edition #4783
ecosystem refactor part 4: react native edition #4783
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 944d56f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @joaquim-verges and the rest of your teammates on Graphite |
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4783 +/- ##
=======================================
Coverage 49.12% 49.12%
=======================================
Files 1051 1051
Lines 56670 56679 +9
Branches 3887 3888 +1
=======================================
+ Hits 27840 27846 +6
- Misses 28197 28200 +3
Partials 633 633
*This pull request uses carry forward flags. Click here to find out more.
|
24540fc
to
b1ca8b6
Compare
b1ca8b6
to
9c420a0
Compare
f4e3ae8
to
702cf8f
Compare
a692ebd
to
214f948
Compare
storage, | ||
}: { | ||
storedToken: AuthStoredTokenWithCookieReturnType["storedToken"]; | ||
client: ThirdwebClient; | ||
recoveryCode?: string; | ||
encryptionKey?: string; |
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.
Do we still want/need this? Prevents custom auth from being used with ecosystem wallets
214f948
to
ccf3c0a
Compare
ccf3c0a
to
b8f6d15
Compare
Merge activity
|
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing wallet functionalities and authentication processes in the `thirdweb` library, particularly for ecosystem wallets in React Native. It introduces new wallet interfaces, updates existing methods, and improves error handling for user authentication. ### Detailed summary - Removed obsolete `web-wallet.ts.changeset/chilled-dancers-cheer.md` file. - Added support for ecosystem wallets in `useAutoConnect` hook. - Updated `createInAppWallet` to include new `createOptions` structure. - Defined `IWebWallet` interface with methods for wallet setup and user status. - Expanded `EcosystemWalletCreationOptions` to include authentication options. - Modified `getUserStatus` to handle user status retrieval with better error logging. - Updated `InAppWebConnector` to utilize the new wallet interfaces and methods. - Implemented `ShardedWallet` class with user wallet status and account retrieval. - Enhanced error handling in the authentication processes across various modules. - Removed deprecated methods from `native-auth.ts`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
702cf8f
to
1f1f99d
Compare
b8f6d15
to
944d56f
Compare
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on enhancing wallet functionalities in the
thirdweb
SDK, particularly for ecosystem wallets, with improvements in authentication processes and the introduction of new wallet interfaces for better integration in both web and native environments.Detailed summary
web-wallet.ts.changeset/chilled-dancers-cheer.md
.useAutoConnect.ts
to includecreateWallet
.ecosystem.ts
to addauth
options increateOptions
.IWebWallet
interface inweb-wallet.ts
for wallet methods.EcosystemWalletCreationOptions
with optionalauth
properties.useAutoConnectCore
to accept acreateWalletFn
parameter.getUserStatus
to log responses and handle errors better.customJwt
andauthEndpoint
functions for improved authentication.InAppNativeConnector
and replaced them with new implementations.