Skip to content

Export DelegatedCall type in experimental namespace#85

Merged
jeffsmale90 merged 1 commit into
mainfrom
feat/export-delegatedcall-type
Oct 3, 2025
Merged

Export DelegatedCall type in experimental namespace#85
jeffsmale90 merged 1 commit into
mainfrom
feat/export-delegatedcall-type

Conversation

@jeffsmale90

@jeffsmale90 jeffsmale90 commented Oct 1, 2025

Copy link
Copy Markdown
Collaborator

📝 Description

Export DelegatedCall type in experimental namespace, to allow consumers to type params when redeeming a delegation with the experimental sendUserOperationWithDelegation methods.

🔄 What Changed?

Export added to experimental namespace.

🧪 How to Test?

import type { DelegatedCall } from '@metamask/delegation-toolkit/experimental';

Then use this type when declaring the call parameter to sendUserOperationWithDelegation.

Note: this isn't impacting sendTransactionWithDelegation because the delegation details are added to the top level SendTransactionWtihDelegationParameters type which, although not exported directly, does not require an additional "calls" parameter.

⚠️ Breaking Changes

List any breaking changes:

  • No breaking changes
  • Breaking changes (describe below):

📋 Checklist

Check off completed items:

  • Code follows the project's coding standards
  • Self-review completed
  • Documentation updated (if needed)
  • Tests added/updated
  • Changelog updated (if needed)
  • All CI checks pass

🔗 Related Issues

Link to related issues:
Closes #
Related to #

📚 Additional Notes

Any additional information, concerns, or context:


Note

Expose DelegatedCall type from experimental/index.ts for typing calls in sendUserOperationWithDelegation.

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

…s to easily type params when redeeming a delegation
@jeffsmale90 jeffsmale90 requested a review from a team as a code owner October 1, 2025 19:37
@jeffsmale90 jeffsmale90 merged commit be16aab into main Oct 3, 2025
17 checks passed
@jeffsmale90 jeffsmale90 deleted the feat/export-delegatedcall-type branch October 3, 2025 00:46
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