Skip to content

chore: added back the timeframe policy#171

Open
VGabriel45 wants to merge 2 commits intodevelopfrom
chore/smart_sessions_timeframe_policy_tests
Open

chore: added back the timeframe policy#171
VGabriel45 wants to merge 2 commits intodevelopfrom
chore/smart_sessions_timeframe_policy_tests

Conversation

@VGabriel45
Copy link
Contributor

@VGabriel45 VGabriel45 commented Jan 21, 2025

PR-Codex overview

This PR focuses on updating the session validation logic within the smartSessionsValidator module, specifically adjusting session validity parameters and enhancing policy data handling.

Detailed summary

  • Updated sessionValidUntil to be 1 day from now in multiple test files.
  • Introduced sessionValidAfter with a default value of 0.
  • Modified actionPoliciesInfo to include new session validity parameters.
  • Added receipt logging to the session use operation.
  • Refined the creation of time frame policy data in the getPermissionAction function.

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

@github-actions
Copy link

size-limit report 📦

Path Size
core (esm) 36.43 KB (+0.23% 🔺)
core (cjs) 45.72 KB (0%)
bundler (tree-shaking) 523 B (0%)
paymaster (tree-shaking) 543 B (0%)

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