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: distributed session keys #555

Merged
merged 53 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
8e71eba
feat: dan session
joepegler Jul 4, 2024
7fa446c
feat: dan
joepegler Jul 4, 2024
ea2ce34
Merge remote-tracking branch 'origin/develop' into feat/dan
joepegler Jul 4, 2024
4fab3fe
Merge pull request #533 from bcnmy/develop
joepegler Jul 4, 2024
7f77c06
chore: add wallet-sdk using npm token
joepegler Jul 4, 2024
75c5cbf
chore: dan
joepegler Jul 4, 2024
7ee75a0
fix: import
joepegler Jul 4, 2024
d2aadd8
chore: fix tests
joepegler Jul 5, 2024
417b904
chore: add tests
joepegler Jul 5, 2024
e2ab9be
chore: add Websocket
joepegler Jul 5, 2024
2b5471e
chore: dan
joepegler Jul 8, 2024
332b01c
Merge branch 'feat/dan' of https://github.com/bcnmy/biconomy-client-s…
livingrockrises Jul 8, 2024
3eeba19
chore: lockfile
joepegler Jul 8, 2024
0763e54
chore: add comments
joepegler Jul 8, 2024
877cefb
chore: lockfile
joepegler Jul 8, 2024
8f51ba0
feat: allow eoaAddress and private key to be set
joepegler Jul 8, 2024
df3db72
chore: sdk dump
joepegler Jul 8, 2024
49f76a6
chore: export types
joepegler Jul 8, 2024
c3c4658
chore: deconstructed dan demo
joepegler Jul 9, 2024
a8f1057
chore: bump version
joepegler Jul 9, 2024
c8dc02b
chore: add further type saftey
joepegler Jul 9, 2024
cfe33be
chore: add dto
joepegler Jul 9, 2024
3615c76
chore: add dtos
joepegler Jul 9, 2024
1e6f4ed
chore: tweak comment
joepegler Jul 9, 2024
29d3f55
chore: rename
joepegler Jul 9, 2024
9f3db8f
Merge branch 'feat/dan' of https://github.com/bcnmy/biconomy-client-s…
livingrockrises Jul 10, 2024
6db1333
Revert "chore: rename"
joepegler Jul 10, 2024
8c5e8a9
Merge branch 'feat/dan' of github.com:bcnmy/biconomy-client-sdk into …
joepegler Jul 10, 2024
db5db66
chore: rename dan -> distributed
joepegler Jul 10, 2024
5310a84
chore: store abstraction
joepegler Jul 10, 2024
4f745f7
chore: storage client
joepegler Jul 10, 2024
e1dc45e
chore: storeSessionKeyInDAN flag
joepegler Jul 11, 2024
2e2ca6c
chore: rename createSessionWithDistributedKey
joepegler Jul 11, 2024
7ccc10a
chore: move dan signing to standalone helper
joepegler Jul 11, 2024
b1fe5e0
chore: add example
joepegler Jul 11, 2024
b9df48f
chore: rename
joepegler Jul 11, 2024
79541db
chore: rename session type
joepegler Jul 11, 2024
6c5c6fa
Merge remote-tracking branch 'origin/develop' into feat/dan
joepegler Jul 16, 2024
8986ff9
chore: use sl package
joepegler Jul 16, 2024
c4fb3e4
Merge branch 'develop' into feat/dan
joepegler Jul 16, 2024
37ed59e
chore: devx
joepegler Jul 17, 2024
b859d7b
chore: move to peer dep
joepegler Jul 17, 2024
cc7609b
chore: merkletree test
joepegler Jul 17, 2024
5214320
chore: silencelaboratories/walletprovider-sdk
joepegler Jul 17, 2024
b22878f
Merge branch 'main' into feat/dan
joepegler Jul 17, 2024
574623d
chore: deps
joepegler Jul 17, 2024
3a607c5
chore: export
joepegler Jul 17, 2024
dbc4f32
chore: update thresholds
joepegler Jul 19, 2024
2cd5d15
chore: publish distributed session keys
joepegler Jul 23, 2024
e87f32f
chore: fix tests
joepegler Jul 23, 2024
b169756
chore: bump version
joepegler Jul 23, 2024
a6610e7
chore: distributed session keys
joepegler Aug 12, 2024
7eee7e6
chore: prepare playground for devRel
joepegler Aug 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading