Skip to content

feat: adds webauthn session key support#1563

Merged
linnall merged 117 commits intomainfrom
linna/webauth-tests
Jun 24, 2025
Merged

feat: adds webauthn session key support#1563
linnall merged 117 commits intomainfrom
linna/webauth-tests

Conversation

@linnall
Copy link
Contributor

@linnall linnall commented Apr 24, 2025

Pull Request Checklist


PR-Codex overview

This PR introduces the NotAModularAccountV2Error class and updates various components to support modular account functionalities. It enhances error handling and modifies type definitions for better clarity and usability within the account validation process.

Detailed summary

  • Added NotAModularAccountV2Error class in aa-sdk/core/src/errors/account.ts.
  • Updated exports in aa-sdk/core/src/index.ts to include NotAModularAccountV2Error.
  • Created documentation for NotAModularAccountV2Error in docs/pages/reference/aa-sdk/core/classes/NotAModularAccountV2Error/constructor.mdx.
  • Modified type definitions in examples/ui-demo/src/hooks/useModularAccountV2Client.ts to use ModularAccountV2.
  • Enhanced validation actions in account-kit/smart-contracts/src/ma-v2/actions/install-validation/installValidation.ts to throw NotAModularAccountV2Error when applicable.
  • Added a new function isModularAccountV2 to check account type in account-kit/smart-contracts/src/ma-v2/account/common/modularAccountV2Base.ts.
  • Updated tests in account-kit/smart-contracts/src/ma-v2/client/client.test.ts to cover new validation scenarios involving WebAuthn.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Apr 24, 2025

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

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2025 6:55pm
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2025 6:55pm

@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 24, 2025

How to use the Graphite Merge Queue

Add the label graphite-merge-queue to this PR to add it to 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.

@github-actions
Copy link

github-actions bot commented Apr 24, 2025

🌿 Documentation Preview

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Jun 24, 2025, 6:50 PM

@github-actions github-actions bot temporarily deployed to docs-preview April 24, 2025 22:19 Inactive
@github-actions github-actions bot temporarily deployed to docs-preview April 29, 2025 19:10 Inactive
@github-actions github-actions bot temporarily deployed to docs-preview April 29, 2025 21:24 Inactive
@github-actions github-actions bot had a problem deploying to docs-preview May 9, 2025 21:43 Failure
@github-actions github-actions bot temporarily deployed to docs-preview May 11, 2025 02:41 Inactive
@github-actions github-actions bot temporarily deployed to docs-preview May 12, 2025 20:11 Inactive
@linnall linnall force-pushed the linna/webauth-tests branch from 36cd477 to 7549458 Compare May 12, 2025 20:21
@github-actions github-actions bot temporarily deployed to docs-preview May 12, 2025 20:21 Inactive
@github-actions github-actions bot temporarily deployed to docs-preview May 12, 2025 20:28 Inactive
@github-actions github-actions bot temporarily deployed to docs-preview May 13, 2025 00:03 Inactive
howydev
howydev previously approved these changes Jun 19, 2025
Copy link
Contributor

@howydev howydev left a comment

Choose a reason for hiding this comment

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

some nits otherwise LGTM!

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.

4 participants