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

chore: ss enable mode #152

Merged
merged 31 commits into from
Jan 2, 2025
Merged

chore: ss enable mode #152

merged 31 commits into from
Jan 2, 2025

Conversation

joepegler
Copy link
Collaborator

@joepegler joepegler commented Dec 19, 2024

PR-Codex overview

This PR focuses on transitioning from using the NexusClient to the new SmartAccountClient, implementing smart sessions, and updating related utility functions and constants.

Detailed summary

  • Updated version to 0.0.22 in package.json.
  • Removed Constants.ts and createNexusSessionClient.ts.
  • Introduced createSmartAccountClient.
  • Updated CHANGELOG.md with smart sessions feature.
  • Changed NEXUS_DOMAIN_VERSION to 1.0.1.
  • Replaced createNexusClient references with createSmartAccountClient.
  • Modified tests to align with the new smart account structure.
  • Added environment variables for Tenderly API.
  • Adjusted utility functions for better handling of smart sessions and permissions.

The following files were skipped due to too many changes: src/sdk/modules/smartSessionsValidator/toSmartSessionsValidator.uni.policy.test.ts, src/sdk/modules/smartSessionsValidator/Helpers.ts, src/sdk/clients/createNexusClient.ts, src/sdk/modules/smartSessionsValidator/toSmartSessionsValidator.test.ts, src/sdk/clients/createBicoPaymasterClient.test.ts, src/sdk/modules/smartSessionsValidator/decorators/grantDeferredPermission.ts, src/test/README.md, src/sdk/modules/smartSessionsValidator/toSmartSessionsValidator.dx.test.ts, src/sdk/clients/decorators/smartAccount/debugUserOperation.ts, src/sdk/modules/smartSessionsValidator/toSmartSessionsValidator.advanced.test.ts, src/sdk/modules/smartSessionsValidator/decorators/grantPermission.ts, src/sdk/modules/smartSessionsValidator/toSmartSessionValidator.enable.mode.test.ts, src/sdk/modules/smartSessionsValidator/decorators/preparePermission.ts

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

Copy link

github-actions bot commented Dec 19, 2024

size-limit report 📦

Path Size
core (esm) 16.28 KB (+9.4% 🔺)
core (cjs) 22.82 KB (+8.82% 🔺)
bundler (tree-shaking) 547 B (+0.56% 🔺)
paymaster (tree-shaking) 543 B (0%)

@joepegler joepegler marked this pull request as ready for review December 30, 2024 15:58
@joepegler joepegler requested a review from VGabriel45 December 30, 2024 15:58
@joepegler joepegler force-pushed the feat/ss_enable_mode branch 3 times, most recently from 82e726a to bb8d60d Compare December 31, 2024 17:16
@joepegler joepegler force-pushed the feat/ss_enable_mode branch 2 times, most recently from 5271278 to 6d5a087 Compare January 2, 2025 10:15
@joepegler joepegler force-pushed the feat/ss_enable_mode branch from 6d5a087 to a0304d2 Compare January 2, 2025 10:17
@joepegler joepegler merged commit 7072d25 into develop Jan 2, 2025
5 checks passed
@joepegler joepegler deleted the feat/ss_enable_mode branch January 2, 2025 10:41
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