Skip to content

Commit

Permalink
feat: smart account v2 client (#23)
Browse files Browse the repository at this point in the history
* feat: smart account v2 client

---------

Co-authored-by: GabiDev <[email protected]>
Co-authored-by: Joe Pegler <[email protected]>
  • Loading branch information
3 people authored Mar 13, 2024
1 parent 8413e50 commit 5c73393
Show file tree
Hide file tree
Showing 30 changed files with 946 additions and 1,052 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: pr lint
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
types: [opened, reopened, synchronize, ready_for_review, edited]
jobs:
enforce_title:
name: pr lint
Expand Down
4 changes: 2 additions & 2 deletions .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
{
"name": "core (cjs)",
"path": "./dist/_cjs/index.js",
"limit": "20 kB"
"limit": "25 kB"
},
{
"name": "smartAccount (tree-shaking)",
"path": "./dist/_esm/index.js",
"limit": "5 kB",
"import": "{ createSmartAccount }"
"import": "{ signerToSmartAccount }"
},
{
"name": "bundler (tree-shaking)",
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion coverage/coverage-final.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion coverage/coverage-summary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{"total": {"lines":{"total":1587,"covered":1366,"skipped":0,"pct":86.07},"statements":{"total":1587,"covered":1366,"skipped":0,"pct":86.07},"functions":{"total":49,"covered":35,"skipped":0,"pct":71.42},"branches":{"total":66,"covered":45,"skipped":0,"pct":68.18},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/Users/joepegler/Workspace/sdk/src/account/createSmartAccount.ts": {"lines":{"total":333,"covered":226,"skipped":0,"pct":67.86},"functions":{"total":15,"covered":5,"skipped":0,"pct":33.33},"statements":{"total":333,"covered":226,"skipped":0,"pct":67.86},"branches":{"total":13,"covered":11,"skipped":0,"pct":84.61}}
,"/Users/joepegler/Workspace/sdk/src/account/signerToSmartAccount.ts": {"lines":{"total":333,"covered":226,"skipped":0,"pct":67.86},"functions":{"total":15,"covered":5,"skipped":0,"pct":33.33},"statements":{"total":333,"covered":226,"skipped":0,"pct":67.86},"branches":{"total":13,"covered":11,"skipped":0,"pct":84.61}}
,"/Users/joepegler/Workspace/sdk/src/account/index.ts": {"lines":{"total":5,"covered":5,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":5,"covered":5,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/Users/joepegler/Workspace/sdk/src/account/actions/getAccountAddress.ts": {"lines":{"total":66,"covered":64,"skipped":0,"pct":96.96},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":66,"covered":64,"skipped":0,"pct":96.96},"branches":{"total":2,"covered":1,"skipped":0,"pct":50}}
,"/Users/joepegler/Workspace/sdk/src/account/utils/abis.ts": {"lines":{"total":247,"covered":247,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":247,"covered":247,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
Expand Down
66 changes: 0 additions & 66 deletions src/account/actions/getAccountAddress.ts

This file was deleted.

Empty file.
Loading

0 comments on commit 5c73393

Please sign in to comment.