Skip to content

Conversation

@AyushBherwani1998
Copy link
Member

@AyushBherwani1998 AyushBherwani1998 commented Oct 20, 2025

Description

Update the tutorial code snippet

Issue(s) fixed

Fixes #

Preview

Checklist

  • If this PR updates or adds documentation content that changes or adds technical meaning, it has received an approval from an engineer or DevRel from the relevant team.
  • If this PR updates or adds documentation content, it has received an approval from a technical writer.

Note

Updates tutorial snippet to hex-encode credential.id for P256Owner.keyId using Viem’s toHex.

  • Tutorial update (src/pages/tutorials/use-passkey-as-backup-signer.md):
    • In "Add the passkey as a backup signer" snippet:
      • Import toHex from viem.
      • Set p256Owner.keyId to toHex(credential.id) instead of credential.id.

Written by Cursor Bugbot for commit 19655ab. This will update automatically on new commits. Configure here.

@AyushBherwani1998 AyushBherwani1998 requested review from a team as code owners October 20, 2025 18:33
@vercel
Copy link

vercel bot commented Oct 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
metamask-docs Ready Ready Preview Comment Oct 20, 2025 6:37pm

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

Copy link
Contributor

@bgravenorst bgravenorst left a comment

Choose a reason for hiding this comment

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

lgtm

@bgravenorst bgravenorst merged commit 6c218e7 into main Oct 20, 2025
19 checks passed
@bgravenorst bgravenorst deleted the tutorial-hot-fix branch October 20, 2025 20:24
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.

3 participants