The data of one or more leaves to be used to create session data
The session data
Readonly
mockOptional
params: ModuleInfoDummy signature
Revokes specified sessions by generating a new Merkle root and updating the session statuses to "REVOKED".
This method performs the following steps:
revokeSessions
on the session storage client to get new leaf nodes for the sessions to be revoked.keccak256
and adds them to the Merkle tree.An array of session IDs to be revoked.
A promise that resolves to the new Merkle root as a hexadecimal string.
This method is used to sign the user operation using the session signer
Optional
params: ModuleInfoThe signature of the user operation
Update the session data pending state to active
The search param to find the session data
The status to be updated
Static
createAsynchronously creates and initializes an instance of SessionKeyManagerModule
The configuration for the module
A Promise that resolves to an instance of SessionKeyManagerModule
Method to create session data for any module. The session data is used to create a leaf in the merkle tree