bcnmy / biconomy-client-sdk

Biconomy SDK is a plug & play toolkit for dApps to build transaction legos that enable a highly customised one-click experience for their users
MIT License
76 stars 78 forks source link

feat: simulate user op tests + ts doc #503

Closed VGabriel45 closed 5 months ago

VGabriel45 commented 5 months ago

One can simulate a user operation execution by using the already existing method "buildUserOp()". This PR simply adds 2 new test cases for that, showing how to use it for this case + some ts doc improvement.


PR-Codex overview

This PR enhances the BiconomySmartAccountV2.ts file to simulate user operation execution success/failure. Additionally, it updates dependencies in the yarn.lock file.

Detailed summary

The following files were skipped due to too many changes: yarn.lock

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

joepegler commented 5 months ago

Lots of checks failing

github-actions[bot] commented 5 months ago

size-limit report 📦

Path Size
core (esm) 53.95 KB (0%)
core (cjs) 59.11 KB (0%)
account (tree-shaking) 51.97 KB (0%)
bundler (tree-shaking) 2.39 KB (0%)
paymaster (tree-shaking) 2.33 KB (0%)
modules (tree-shaking) 40.6 KB (0%)