@abtnode/auth 1.16.3 → 1.16.4-beta-f058f4e8
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/server.js +2 -1
- package/package.json +14 -14
package/lib/server.js
CHANGED
|
@@ -605,7 +605,7 @@ const ensureBlockletPermission = async ({
|
|
|
605
605
|
|
|
606
606
|
const createLaunchBlockletHandler =
|
|
607
607
|
(node, authMethod) =>
|
|
608
|
-
async ({ claims, challenge, userDid, updateSession, req, extraParams }) => {
|
|
608
|
+
async ({ claims, challenge, userDid, updateSession, req, didwallet, extraParams }) => {
|
|
609
609
|
const { locale, blockletMetaUrl, title, description, chainHost } = extraParams;
|
|
610
610
|
logger.info('createLaunchBlockletHandler', extraParams);
|
|
611
611
|
|
|
@@ -721,6 +721,7 @@ const createLaunchBlockletHandler =
|
|
|
721
721
|
title,
|
|
722
722
|
description,
|
|
723
723
|
appSk,
|
|
724
|
+
skSource: didwallet?.version ? `${didwallet.os}-wallet-v${didwallet.version}` : '',
|
|
724
725
|
delay: 1000 * 4, // delay 4 seconds to download, wait for ws connection from frontend
|
|
725
726
|
downloadTokenList: extraParams?.previousWorkflowData?.downloadTokenList,
|
|
726
727
|
controller: role === SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER ? controller : null,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.
|
|
6
|
+
"version": "1.16.4-beta-f058f4e8",
|
|
7
7
|
"description": "Simple lib to manage auth in ABT Node",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
"author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@abtnode/constant": "1.16.
|
|
24
|
-
"@abtnode/logger": "1.16.
|
|
25
|
-
"@abtnode/util": "1.16.
|
|
26
|
-
"@arcblock/did": "1.18.
|
|
27
|
-
"@arcblock/jwt": "^1.18.
|
|
28
|
-
"@arcblock/vc": "1.18.
|
|
29
|
-
"@blocklet/constant": "1.16.
|
|
30
|
-
"@blocklet/meta": "1.16.
|
|
31
|
-
"@ocap/client": "1.18.
|
|
32
|
-
"@ocap/mcrypto": "1.18.
|
|
33
|
-
"@ocap/util": "1.18.
|
|
34
|
-
"@ocap/wallet": "1.18.
|
|
23
|
+
"@abtnode/constant": "1.16.4-beta-f058f4e8",
|
|
24
|
+
"@abtnode/logger": "1.16.4-beta-f058f4e8",
|
|
25
|
+
"@abtnode/util": "1.16.4-beta-f058f4e8",
|
|
26
|
+
"@arcblock/did": "1.18.67",
|
|
27
|
+
"@arcblock/jwt": "^1.18.67",
|
|
28
|
+
"@arcblock/vc": "1.18.67",
|
|
29
|
+
"@blocklet/constant": "1.16.4-beta-f058f4e8",
|
|
30
|
+
"@blocklet/meta": "1.16.4-beta-f058f4e8",
|
|
31
|
+
"@ocap/client": "1.18.67",
|
|
32
|
+
"@ocap/mcrypto": "1.18.67",
|
|
33
|
+
"@ocap/util": "1.18.67",
|
|
34
|
+
"@ocap/wallet": "1.18.67",
|
|
35
35
|
"axios": "^0.27.2",
|
|
36
36
|
"joi": "17.7.0",
|
|
37
37
|
"jsonwebtoken": "^9.0.0",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"jest": "^27.5.1"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "e15364f5d5125950c2a6fb8d964b12f1b8799ac0"
|
|
48
48
|
}
|