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(deps): update deps #250

Merged
merged 3 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.36.83 (August 26, 2024)

- fix: fix Buffer.from second params
- chore(deps): update deps

## 0.36.82 (July 04, 2024)

- chore: update deps to support new profile claim
Expand Down
2 changes: 1 addition & 1 deletion api/libs/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const factory = new NFTFactory({
});

const createLoginToken = ({ did, role = 'guest', expiresIn = '7d' }) => {
const secret = Hasher.SHA3.hash256(Buffer.concat([wallet.secretKey, wallet.address].map(Buffer.from)));
const secret = Hasher.SHA3.hash256(Buffer.concat([wallet.secretKey, wallet.address].map(v => Buffer.from(v))));
const payload = {
type: 'user',
did,
Expand Down
2 changes: 1 addition & 1 deletion blocklet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ files:
- blocklet.md
- README.md
- build
version: 0.36.82
version: 0.36.83
author:
name: ArcBlock
email: blocklet@arcblock.io
Expand Down
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"blocklet.yml",
"README.md"
],
"version": "0.36.82",
"version": "0.36.83",
"author": "wangshijun <shijun@arcblock.io> https://github.com/wangshijun",
"keywords": [
"dapp",
Expand All @@ -28,35 +28,35 @@
"email": "shijun@arcblock.io"
},
"dependencies": {
"@abtnode/auth": "^1.16.28",
"@arcblock/did": "^1.18.126",
"@arcblock/did-auth": "^1.18.126",
"@abtnode/auth": "^1.16.30",
"@arcblock/did": "^1.18.132",
"@arcblock/did-auth": "^1.18.132",
"@arcblock/did-auth-storage-nedb": "^1.7.1",
"@arcblock/did-connect": "^2.10.3",
"@arcblock/did-playground": "^2.10.3",
"@arcblock/did-util": "^1.18.126",
"@arcblock/jwt": "^1.18.126",
"@arcblock/nft": "^1.18.126",
"@arcblock/nft-template": "^1.18.126",
"@arcblock/react-hooks": "^2.10.3",
"@arcblock/ux": "^2.10.3",
"@arcblock/vc": "^1.18.126",
"@blocklet/constant": "^1.16.28",
"@blocklet/js-sdk": "^1.16.28",
"@blocklet/sdk": "1.16.29-beta-ec04c755",
"@blocklet/ui-react": "^2.10.3",
"@arcblock/did-connect": "^2.10.23",
"@arcblock/did-playground": "^2.10.23",
"@arcblock/did-util": "^1.18.132",
"@arcblock/jwt": "^1.18.132",
"@arcblock/nft": "^1.18.132",
"@arcblock/nft-template": "^1.18.132",
"@arcblock/react-hooks": "^2.10.23",
"@arcblock/ux": "^2.10.23",
"@arcblock/vc": "^1.18.132",
"@blocklet/constant": "^1.16.30",
"@blocklet/js-sdk": "^1.16.30",
"@blocklet/sdk": "1.16.30",
"@blocklet/ui-react": "^2.10.23",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/icons-material": "^5.15.14",
"@mui/material": "^5.15.14",
"@ocap/asset": "^1.18.126",
"@ocap/client": "^1.18.126",
"@ocap/mcrypto": "^1.18.126",
"@ocap/message": "^1.18.126",
"@ocap/proto": "^1.18.126",
"@ocap/tx-util": "^1.18.126",
"@ocap/util": "^1.18.126",
"@ocap/wallet": "^1.18.126",
"@ocap/asset": "^1.18.132",
"@ocap/client": "^1.18.132",
"@ocap/mcrypto": "^1.18.132",
"@ocap/message": "^1.18.132",
"@ocap/proto": "^1.18.132",
"@ocap/tx-util": "^1.18.132",
"@ocap/util": "^1.18.132",
"@ocap/wallet": "^1.18.132",
"ahooks": "^3.7.8",
"axios": "^0.21.4",
"batch-promises": "^0.0.3",
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.36.82
0.36.83
Loading
Loading