feat: promote readable permissions actions#91
Merged
Conversation
… exported via @metamask/smart-accounts-kit/actions.
- import order
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.
📝 Description
This PR promotes the EIP-7715 and EIP-7710 actions from experimental.
🧪 How to Test?
All existing functionality remains unchanged, except the imports are now @metamask/smart-accounts-kit/actions rather than @metamask/smart-accounts-kit/experimental
List any breaking changes:
Experimental EIP-7710 and EIP-7715 actions must now be imported from @metamask/smart-accounts-kit/actions
📋 Checklist
Check off completed items:
🔗 Related Issues
Link to related issues:
Closes #
Related to #
📚 Additional Notes
Any additional information, concerns, or context:
Note
Promotes EIP-7710 and EIP-7715 actions to stable exports under
@metamask/smart-accounts-kit/actions, updating imports, tests, and docs.Actions (stable):
erc7710WalletActions,erc7710BundlerActions, anderc7715ProviderActionsinpackages/smart-accounts-kit/src/actions/index.ts.sendTransactionWithDelegationActionandsendUserOperationWithDelegationAction(actions/erc7710RedeemDelegationAction.ts).erc7715RequestExecutionPermissionsActionand types (actions/erc7715RequestExecutionPermissionsAction.ts).requestExecutionPermissions, related types, andDelegatedCallfromactions.Refactors:
encodeCallsto sourceDelegatedCallfromactions.experimental/index.ts(now only delegation storage remains).Tests:
@metamask/smart-accounts-kit/actionsinstead ofexperimental.createPublicClientin bundler e2e setup.Docs:
Breaking change: Consumers must import 7710/7715 actions from
@metamask/smart-accounts-kit/actions.Written by Cursor Bugbot for commit 0abe435. This will update automatically on new commits. Configure here.