@abtnode/auth 1.16.54-beta-20251029-055649-a9143beb → 1.16.54-beta-20251030-060219-f2f1ed96
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.
- package/lib/auth.js +3 -3
- package/package.json +20 -20
package/lib/auth.js
CHANGED
|
@@ -255,7 +255,7 @@ const getApplicationInfo = async ({ node, nodeInfo = {}, teamDid, baseUrl = '' }
|
|
|
255
255
|
let secret;
|
|
256
256
|
let logo;
|
|
257
257
|
let appUrl;
|
|
258
|
-
let
|
|
258
|
+
let accessWallet;
|
|
259
259
|
|
|
260
260
|
if (teamDid === nodeInfo.did) {
|
|
261
261
|
name = nodeInfo.name;
|
|
@@ -284,7 +284,7 @@ const getApplicationInfo = async ({ node, nodeInfo = {}, teamDid, baseUrl = '' }
|
|
|
284
284
|
secret = blockletInfo.secret;
|
|
285
285
|
logo = getAppAvatarUrl(baseUrl || blockletInfo.appUrl);
|
|
286
286
|
appUrl = blockletInfo.appUrl;
|
|
287
|
-
|
|
287
|
+
accessWallet = getApplicationWallet(blocklet.appDid || blocklet.meta.did, nodeInfo.sk, undefined, 2);
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
return {
|
|
@@ -299,7 +299,7 @@ const getApplicationInfo = async ({ node, nodeInfo = {}, teamDid, baseUrl = '' }
|
|
|
299
299
|
secret,
|
|
300
300
|
logo,
|
|
301
301
|
appUrl,
|
|
302
|
-
|
|
302
|
+
accessWallet,
|
|
303
303
|
};
|
|
304
304
|
};
|
|
305
305
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.54-beta-
|
|
6
|
+
"version": "1.16.54-beta-20251030-060219-f2f1ed96",
|
|
7
7
|
"description": "Simple lib to manage auth in ABT Node",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -20,25 +20,25 @@
|
|
|
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.54-beta-
|
|
24
|
-
"@abtnode/logger": "1.16.54-beta-
|
|
25
|
-
"@abtnode/util": "1.16.54-beta-
|
|
26
|
-
"@arcblock/did": "^1.
|
|
27
|
-
"@arcblock/did-connect-js": "^1.
|
|
28
|
-
"@arcblock/did-ext": "^1.
|
|
29
|
-
"@arcblock/did-util": "^1.
|
|
30
|
-
"@arcblock/jwt": "^1.
|
|
31
|
-
"@arcblock/nft-display": "^3.1.
|
|
32
|
-
"@arcblock/validator": "^1.
|
|
33
|
-
"@arcblock/vc": "^1.
|
|
34
|
-
"@blocklet/constant": "1.16.54-beta-
|
|
23
|
+
"@abtnode/constant": "1.16.54-beta-20251030-060219-f2f1ed96",
|
|
24
|
+
"@abtnode/logger": "1.16.54-beta-20251030-060219-f2f1ed96",
|
|
25
|
+
"@abtnode/util": "1.16.54-beta-20251030-060219-f2f1ed96",
|
|
26
|
+
"@arcblock/did": "^1.27.0",
|
|
27
|
+
"@arcblock/did-connect-js": "^1.27.0",
|
|
28
|
+
"@arcblock/did-ext": "^1.27.0",
|
|
29
|
+
"@arcblock/did-util": "^1.27.0",
|
|
30
|
+
"@arcblock/jwt": "^1.27.0",
|
|
31
|
+
"@arcblock/nft-display": "^3.1.54",
|
|
32
|
+
"@arcblock/validator": "^1.27.0",
|
|
33
|
+
"@arcblock/vc": "^1.27.0",
|
|
34
|
+
"@blocklet/constant": "1.16.54-beta-20251030-060219-f2f1ed96",
|
|
35
35
|
"@blocklet/error": "^0.2.5",
|
|
36
|
-
"@blocklet/meta": "1.16.54-beta-
|
|
37
|
-
"@blocklet/sdk": "1.16.54-beta-
|
|
38
|
-
"@ocap/client": "^1.
|
|
39
|
-
"@ocap/mcrypto": "^1.
|
|
40
|
-
"@ocap/util": "^1.
|
|
41
|
-
"@ocap/wallet": "^1.
|
|
36
|
+
"@blocklet/meta": "1.16.54-beta-20251030-060219-f2f1ed96",
|
|
37
|
+
"@blocklet/sdk": "1.16.54-beta-20251030-060219-f2f1ed96",
|
|
38
|
+
"@ocap/client": "^1.27.0",
|
|
39
|
+
"@ocap/mcrypto": "^1.27.0",
|
|
40
|
+
"@ocap/util": "^1.27.0",
|
|
41
|
+
"@ocap/wallet": "^1.27.0",
|
|
42
42
|
"@simplewebauthn/server": "^13.1.1",
|
|
43
43
|
"axios": "^1.7.9",
|
|
44
44
|
"flat": "^5.0.2",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"axios-mock-adapter": "^2.1.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "a4182e02a693b097c76b6a9907a8a1d4816ee914"
|
|
61
61
|
}
|