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

:feat refactor adapter clients #3076

Merged
merged 43 commits into from
Nov 13, 2024
Merged

Conversation

svenvoskamp
Copy link
Contributor

@svenvoskamp svenvoskamp commented Oct 11, 2024

Description

Introducing new adapter foundation. All adapters will be handled through the adapter blueprint. All state will be handled on AppKit side.

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues

Closes https://linear.app/reown/issue/APKT-1441/[bug]-not-showing-warningerrors-when-changing-manually-in-mm-to-a

Showcase (Optional)

If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

Todo

  • Adding tests
  • Ironing out issues with multi-chain and UPA
  • Adding all methods to adapters

Copy link

changeset-bot bot commented Oct 11, 2024

🦋 Changeset detected

Latest commit: fbef7e5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 20 packages
Name Type
@reown/appkit-adapter-polkadot Minor
@reown/appkit-adapter-ethers5 Minor
@reown/appkit-adapter-ethers Minor
@reown/appkit-adapter-solana Minor
@reown/appkit-adapter-wagmi Minor
@reown/appkit-utils Minor
@reown/appkit-experimental Minor
@reown/appkit-scaffold-ui Minor
@reown/appkit-polyfills Minor
@apps/laboratory Minor
@reown/appkit Minor
@reown/appkit-common Minor
@reown/appkit-wallet Minor
@reown/appkit-core Minor
@reown/appkit-siwe Minor
@reown/appkit-siwx Minor
@apps/gallery Minor
@reown/appkit-cdn Minor
@reown/appkit-ui Minor
@apps/demo Minor

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

Copy link

vercel bot commented Oct 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
appkit-gallery ✅ Ready (Inspect) Visit Preview Nov 13, 2024 3:01pm
appkit-laboratory ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 3:01pm
appkit-vue-solana ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 3:01pm
appkit-wagmi-cdn-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 3:01pm
vue-wagmi-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 3:01pm
web3modal-gallery ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 3:01pm

@svenvoskamp svenvoskamp marked this pull request as ready for review November 5, 2024 15:54
Comment on lines +153 to +157
public async getEnsAddress(
params: AdapterBlueprint.GetEnsAddressParams
): Promise<AdapterBlueprint.GetEnsAddressResult> {
return { address: params.name }
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

we should probably abstract a bit further (different PR) so that these things are kind of an extension to the blueprint rather than on the blueprint itself

@tomiir
Copy link
Collaborator

tomiir commented Nov 13, 2024

This is missing a changeset!

Copy link
Contributor

@magiziz magiziz left a comment

Choose a reason for hiding this comment

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

🚀

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.

5 participants