@abtnode/auth 1.16.30-beta-e7a90fb2 → 1.16.31-beta-52250475

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/auth.js +1 -1
  2. package/package.json +9 -9
package/lib/auth.js CHANGED
@@ -232,7 +232,7 @@ const getApplicationInfo = async ({ node, nodeInfo = {}, teamDid, baseUrl = '' }
232
232
  passportColor = 'default';
233
233
  owner = nodeInfo.nodeOwner;
234
234
  dataDir = path.join(node.dataDirs.data, NODE_DATA_DIR_NAME);
235
- secret = Hasher.SHA3.hash256(Buffer.concat([_wallet.secretKey, _wallet.address].map(Buffer.from)));
235
+ secret = Hasher.SHA3.hash256(Buffer.concat([_wallet.secretKey, _wallet.address].map((v) => Buffer.from(v))));
236
236
  logo = getServerAvatarUrl(baseUrl, nodeInfo);
237
237
  } else {
238
238
  const blocklet = await node.getBlocklet({ did: teamDid });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.30-beta-e7a90fb2",
6
+ "version": "1.16.31-beta-52250475",
7
7
  "description": "Simple lib to manage auth in ABT Node",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -20,17 +20,17 @@
20
20
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@abtnode/constant": "1.16.30-beta-e7a90fb2",
24
- "@abtnode/logger": "1.16.30-beta-e7a90fb2",
25
- "@abtnode/util": "1.16.30-beta-e7a90fb2",
23
+ "@abtnode/constant": "1.16.31-beta-52250475",
24
+ "@abtnode/logger": "1.16.31-beta-52250475",
25
+ "@abtnode/util": "1.16.31-beta-52250475",
26
26
  "@arcblock/did": "1.18.132",
27
27
  "@arcblock/jwt": "^1.18.132",
28
- "@arcblock/nft-display": "^2.10.22",
28
+ "@arcblock/nft-display": "^2.10.23",
29
29
  "@arcblock/validator": "^1.18.132",
30
30
  "@arcblock/vc": "1.18.132",
31
- "@blocklet/constant": "1.16.30-beta-e7a90fb2",
32
- "@blocklet/meta": "1.16.30-beta-e7a90fb2",
33
- "@blocklet/sdk": "1.16.30-beta-e7a90fb2",
31
+ "@blocklet/constant": "1.16.31-beta-52250475",
32
+ "@blocklet/meta": "1.16.31-beta-52250475",
33
+ "@blocklet/sdk": "1.16.31-beta-52250475",
34
34
  "@ocap/client": "^1.18.132",
35
35
  "@ocap/mcrypto": "1.18.132",
36
36
  "@ocap/util": "1.18.132",
@@ -50,5 +50,5 @@
50
50
  "devDependencies": {
51
51
  "jest": "^29.7.0"
52
52
  },
53
- "gitHead": "c97ba97d694f553afc9f5336c9f3ddfae73cf955"
53
+ "gitHead": "26155b86f103f9e64fd8a23b7fffdb279c71209c"
54
54
  }