Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: revoke sessions #528

Merged
merged 5 commits into from
Jul 2, 2024
Merged

feat: revoke sessions #528

merged 5 commits into from
Jul 2, 2024

Conversation

VGabriel45
Copy link
Collaborator

@VGabriel45 VGabriel45 commented Jul 1, 2024

This PR implements functionality to revoke sessions of a smart account.


PR-Codex overview

This PR introduces session revocation functionality and updates session status handling.

Detailed summary

  • Added revokeSessions method to revoke sessions and update status
  • Updated ISessionStorage interface with REVOKED status
  • Modified session storage implementations for revocation handling
  • Implemented session revocation logic in SessionKeyManagerModule
  • Updated tests to include session revocation scenarios

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

Copy link

github-actions bot commented Jul 1, 2024

size-limit report 📦

Path Size
core (esm) 54.17 KB (+0.01% 🔺)
core (cjs) 59.32 KB (+0.03% 🔺)
account (tree-shaking) 52 KB (+0.23% 🔺)
bundler (tree-shaking) 2.63 KB (0%)
paymaster (tree-shaking) 2.33 KB (0%)
modules (tree-shaking) 40.3 KB (+0.32% 🔺)

@VGabriel45 VGabriel45 merged commit 5a418ec into develop Jul 2, 2024
5 checks passed
VGabriel45 added a commit that referenced this pull request Jul 2, 2024
* ci: fix (#517)

chore: cont

* chore: add hooks to readme

chore: readme

* feat: signTypedData draft (#519)

Co-authored-by: GabiDev <gv@popoo.io>

* fix: rpc (#522)

* fix: rpcUrl

* feat: skip chain checks flag (#526)

Co-authored-by: GabiDev <gv@popoo.io>

* fix: replace broken doc links (#525)

fix: replace broken doc links (#525)

* feat: revoke sessions (#528)

* feat: revoke sessions

* feat: added ts doc

* fix: lint

* fix: test cases

* fix: remove duplicate test

---------

Co-authored-by: GabiDev <gv@popoo.io>

* chore: v.4.5.0 (#529)

* chore: v.4.5.0

* fix: fix changeset

---------

Co-authored-by: GabiDev <gv@popoo.io>

---------

Co-authored-by: joepegler <joepegler123@gmail.com>
Co-authored-by: GabiDev <gv@popoo.io>
Co-authored-by: Veljko Vranić <byblos94@gmail.com>
@joepegler joepegler deleted the feat/revoke_sessions branch July 2, 2024 13:24
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.

4 participants