Skip to content

feat: added 7702, enablePermissions and re-exported policies#181

Open
vr16x wants to merge 2 commits intodevelopfrom
feat/smart-sessions-revamp-core
Open

feat: added 7702, enablePermissions and re-exported policies#181
vr16x wants to merge 2 commits intodevelopfrom
feat/smart-sessions-revamp-core

Conversation

@vr16x
Copy link
Collaborator

@vr16x vr16x commented Feb 3, 2026

PR-Codex overview

This PR enhances the mee module with improved session management and permission handling, adding new types and checks for session details. It also refines the integration of permissions across multichain setups.

Detailed summary

  • Introduced isEnableAndUseSessionDetailExists check in useMeePermission.ts.
  • Added new types: AccountType, EIP7702AuthorizationParams, and Instruction in index.ts and getQuote.ts.
  • Refactored grantMeePermission to utilize addPaymentPolicyForActions.
  • Improved prepareForPermissions to handle session details and instructions.
  • Enhanced prepareForTestnetSmartSessions with new session management logic.
  • Updated test files to reflect changes in session and permission handling.

The following files were skipped due to too many changes: src/sdk/modules/validators/smartSessions/toMultichainSmartSessions.test.ts

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

@github-actions
Copy link

github-actions bot commented Feb 3, 2026

size-limit report 📦

Path Size
core (esm) 65.88 KB (+0.8% 🔺)
core (cjs) 80.28 KB (+0.82% 🔺)
bundler (tree-shaking) 6.65 KB (-0.03% 🔽)
paymaster (tree-shaking) 543 B (0%)

@vr16x
Copy link
Collaborator Author

vr16x commented Feb 3, 2026

1 test case failed because of the hook timeout glitch. So all good

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.

1 participant

Comments