Skip to content

[Smart Accounts Kit] Update delegation functions#2909

Merged
AyushBherwani1998 merged 1 commit into
mainfrom
feat/delegation
May 12, 2026
Merged

[Smart Accounts Kit] Update delegation functions#2909
AyushBherwani1998 merged 1 commit into
mainfrom
feat/delegation

Conversation

@AyushBherwani1998
Copy link
Copy Markdown
Member

@AyushBherwani1998 AyushBherwani1998 commented May 11, 2026

Description

  • Update delegation functions.

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.

External contributor checklist

  • I've read the contribution guidelines.
  • I've created a new issue (or assigned myself to an existing issue) describing what this PR addresses.

Note

Low Risk
Low risk documentation-only change that updates parameter semantics for delegation creation APIs; no runtime code changes.

Overview
Updates the delegation API reference to document a new parentPermissionContext option (mutually exclusive with parentDelegation) for createDelegation and createOpenDelegation.

Clarifies createOpenDelegation parameter requirements by making scope conditional (required only for root delegations and otherwise inherited from a provided parent chain).

Reviewed by Cursor Bugbot for commit c9888c4. Bugbot is set up for automated code reviews on this repo. Configure here.

@AyushBherwani1998 AyushBherwani1998 requested review from a team as code owners May 11, 2026 13:12
@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

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

Project Deployment Actions Updated (UTC)
metamask-docs Ready Ready Preview, Comment May 11, 2026 1:17pm

Request Review

@AyushBherwani1998 AyushBherwani1998 merged commit 3f028db into main May 12, 2026
18 of 19 checks passed
@AyushBherwani1998 AyushBherwani1998 deleted the feat/delegation branch May 12, 2026 02:50
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.

2 participants