feat: use accounts SDK for demo connectors#216
Open
brendanjryan wants to merge 8 commits intomainfrom
Open
Conversation
Replace wagmi/tempo's webAuthn + KeyManager with accounts/wagmi's webAuthn connector for all interactive demos. This switches the docs site to use the official accounts SDK (tempoxyz/accounts) for wallet connection in demo components. - Add accounts@^0.4.7 dependency - Update wagmi.config.ts to import webAuthn from accounts/wagmi - Simplify connector config: authUrl replaces KeyManager.http, rpId is now server-side only - Add accounts to minimumReleaseAgeExclude in pnpm-workspace.yaml
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- type: 'sign-up' → method: 'register' - type: 'sign-in' → method: 'login' - label → name
Per SDK author guidance, use the simpler tempoWallet() connector with no config. Updates all connector ID references from 'webAuthn' to 'xyz.tempo' (the default rdns for tempoWallet).
tempoWallet() uses an iframe dialog which doesn't work with Playwright's CDP virtual authenticator. Switch back to webAuthn() from accounts/wagmi with authUrl, which handles WebAuthn directly in-browser and is compatible with E2E tests.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
…0.4.9 Amp-Thread-ID: https://ampcode.com/threads/T-019d46f2-d6ac-7116-b007-08719bee8aa9 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d46f2-d6ac-7116-b007-08719bee8aa9 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d46f2-d6ac-7116-b007-08719bee8aa9 Co-authored-by: Amp <amp@ampcode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switches the docs site's interactive demo components from
wagmi/tempoto the officialaccountsSDK for wallet connection.