-
Notifications
You must be signed in to change notification settings - Fork 409
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
[SDK]: move autoConnect function into it's own standalone function #5889
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 48a74ba The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
fix: import errors
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5889 +/- ##
==========================================
+ Coverage 54.85% 54.95% +0.09%
==========================================
Files 1142 1144 +2
Lines 60928 60971 +43
Branches 5140 5151 +11
==========================================
+ Hits 33424 33504 +80
+ Misses 26777 26740 -37
Partials 727 727
*This pull request uses carry forward flags. Click here to find out more.
|
feat: expose autoConnect function
This PR has been inactive for 7 days. It is now marked as stale and will be closed in 2 days if no further activity occurs. |
…n/tool-2697-add-js-autoconnect
refactor: move connection manager into an internal construct
Merge activity
|
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
https://linear.app/thirdweb/issue/TOOL-2697/add-js-autoconnect
Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
How to test
Unit tests, playground, etc.
PR-Codex overview
This PR focuses on refactoring the auto-connect functionality for wallets in the
thirdweb
library, enhancing the separation of concerns and improving the structure of the code. It introduces a standaloneautoConnect
function and updates various components to utilize it.Detailed summary
autoConnect
function inpackages/thirdweb/src/wallets/connection/autoConnect.ts
.useAutoConnectCore
to utilizeautoConnectCore
.AutoConnectProps
to point to the new structure.autoConnect
implementation.