Skip to content

Commit

Permalink
chore: distributed session keys (#555)
Browse files Browse the repository at this point in the history
* feat: distributed session keys

---------

Co-authored-by: livingrockrises <90545960+livingrockrises@users.noreply.github.com>
  • Loading branch information
joepegler and livingrockrises authored Aug 12, 2024
1 parent 3d5fa49 commit 7b0f899
Show file tree
Hide file tree
Showing 28 changed files with 1,584 additions and 679 deletions.
3 changes: 1 addition & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ E2E_BICO_PAYMASTER_KEY_AMOY=
E2E_BICO_PAYMASTER_KEY_BASE=
CHAIN_ID=80002
CODECOV_TOKEN=
TESTING=false
SILENCE_LABS_NPM_TOKEN=npm_XXX
TESTING=false
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ jobs:

- name: Build
uses: ./.github/actions/build
env:
SILENCE_LABS_NPM_TOKEN: ${{ secrets.SILENCE_LABS_NPM_TOKEN }}
2 changes: 0 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:

- name: Install dependencies
uses: ./.github/actions/install-dependencies
env:
SILENCE_LABS_NPM_TOKEN: ${{ secrets.SILENCE_LABS_NPM_TOKEN }}

- name: Run the account tests
run: bun run test:ci -t=Account:Write
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:

- name: Install dependencies
uses: ./.github/actions/install-dependencies
env:
SILENCE_LABS_NPM_TOKEN: ${{ secrets.SILENCE_LABS_NPM_TOKEN }}

- name: Set remote url
run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/bcnmy/biconomy-client-sdk.git
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:

- name: Install dependencies
uses: ./.github/actions/install-dependencies
env:
SILENCE_LABS_NPM_TOKEN: ${{ secrets.SILENCE_LABS_NPM_TOKEN }}

- name: Use commitlint to check PR title
run: echo "${{ github.event.pull_request.title }}" | bun commitlint
2 changes: 0 additions & 2 deletions .github/workflows/size-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:

- name: Build
uses: ./.github/actions/build
env:
SILENCE_LABS_NPM_TOKEN: ${{ secrets.SILENCE_LABS_NPM_TOKEN }}

- name: Report bundle size
uses: andresz1/size-limit-action@master
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test-read.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:

- name: Install dependencies
uses: ./.github/actions/install-dependencies
env:
SILENCE_LABS_NPM_TOKEN: ${{ secrets.SILENCE_LABS_NPM_TOKEN }}

- name: Run the tests
run: bun run test:ci -t=Read
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test-write.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:

- name: Install dependencies
uses: ./.github/actions/install-dependencies
env:
SILENCE_LABS_NPM_TOKEN: ${{ secrets.SILENCE_LABS_NPM_TOKEN }}

- name: Run the account tests
run: bun run test:ci -t=Account:Write
Expand Down
8 changes: 4 additions & 4 deletions .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
{
"name": "core (esm)",
"path": "./dist/_esm/index.js",
"limit": "80 kB",
"limit": "140 kB",
"import": "*",
"ignore": ["node:fs", "fs"]
},
{
"name": "core (cjs)",
"path": "./dist/_cjs/index.js",
"limit": "80 kB",
"limit": "140 kB",
"ignore": ["node:fs", "fs"]
},
{
"name": "account (tree-shaking)",
"path": "./dist/_esm/index.js",
"limit": "80 kB",
"limit": "140 kB",
"import": "{ createSmartAccountClient }",
"ignore": ["node:fs", "fs"]
},
Expand All @@ -36,7 +36,7 @@
{
"name": "modules (tree-shaking)",
"path": "./dist/_esm/modules/index.js",
"limit": "80 kB",
"limit": "140 kB",
"import": "{ createSessionKeyManagerModule }",
"ignore": ["node:fs", "fs"]
}
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
- Distributed Session Keys

## 4.5.3
## 4.6.0

### Minor Changes

- Sessions Dx
- Distributed Sessions

## 4.5.2

Expand Down
3 changes: 1 addition & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"_types",
"bun.lockb",
"docs",
"dist",
"walletprovider-sdk"
"dist"
]
},
"organizeImports": {
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 0 additions & 2 deletions bunfig.toml

This file was deleted.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"sideEffects": false,
"name": "@biconomy/account",
"author": "Biconomy",
"version": "4.5.5",
"version": "4.6.0",
"description": "SDK for Biconomy integration with support for account abstraction, smart accounts, ERC-4337.",
"keywords": [
"erc-7579",
Expand Down Expand Up @@ -97,6 +97,7 @@
"dotenv": "^16.4.5",
"ethers": "^6.12.0",
"gh-pages": "^6.1.1",
"node-gyp-build": "^4.8.1",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"size-limit": "^11",
Expand All @@ -106,7 +107,7 @@
"vitest": "^1.3.1"
},
"peerDependencies": {
"typescript": "^5",
"typescript": "^5.5.3",
"viem": "^2"
},
"commitlint": {
Expand All @@ -119,7 +120,7 @@
"commit-msg": "npx --no -- commitlint --edit ${1}"
},
"dependencies": {
"merkletreejs": "^0.4.0",
"@silencelaboratories/walletprovider-sdk": "^0.1.0"
"@silencelaboratories/walletprovider-sdk": "^0.1.0",
"merkletreejs": "^0.4.0"
}
}
Loading

0 comments on commit 7b0f899

Please sign in to comment.