@blocklet/sdk 1.16.14-beta-c2843ec5 → 1.16.14-beta-be739405
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/connect/shared.js +2 -1
- package/package.json +7 -7
package/lib/connect/shared.js
CHANGED
|
@@ -67,7 +67,8 @@ const getAuthenticatorProps = (options = {}) => ({
|
|
|
67
67
|
const provider = getProvider(request);
|
|
68
68
|
// federated 登录模式下,需要告知原有的 blocklet-did
|
|
69
69
|
if (provider === constant_1.LOGIN_PROVIDER.FEDERATED) {
|
|
70
|
-
agentDid
|
|
70
|
+
// 对于 ux 来说, 要展示的始终是 pid,所以这个给 agentDid 的赋值也需要是 pid
|
|
71
|
+
agentDid = process.env.BLOCKLET_APP_PID;
|
|
71
72
|
}
|
|
72
73
|
return {
|
|
73
74
|
name: process.env.BLOCKLET_APP_NAME,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.14-beta-
|
|
6
|
+
"version": "1.16.14-beta-be739405",
|
|
7
7
|
"description": "graphql client to read/write data on abt node",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"typings": "lib/index.d.ts",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@abtnode/client": "1.16.14-beta-
|
|
30
|
-
"@abtnode/constant": "1.16.14-beta-
|
|
29
|
+
"@abtnode/client": "1.16.14-beta-be739405",
|
|
30
|
+
"@abtnode/constant": "1.16.14-beta-be739405",
|
|
31
31
|
"@arcblock/did": "1.18.87",
|
|
32
32
|
"@arcblock/did-auth": "1.18.87",
|
|
33
33
|
"@arcblock/jwt": "1.18.87",
|
|
34
34
|
"@arcblock/ws": "1.18.87",
|
|
35
|
-
"@blocklet/constant": "1.16.14-beta-
|
|
36
|
-
"@blocklet/env": "1.16.14-beta-
|
|
37
|
-
"@blocklet/meta": "1.16.14-beta-
|
|
35
|
+
"@blocklet/constant": "1.16.14-beta-be739405",
|
|
36
|
+
"@blocklet/env": "1.16.14-beta-be739405",
|
|
37
|
+
"@blocklet/meta": "1.16.14-beta-be739405",
|
|
38
38
|
"@did-connect/authenticator": "^2.2.0",
|
|
39
39
|
"@did-connect/handler": "^2.2.0",
|
|
40
40
|
"@nedb/core": "^2.1.5",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"ts-node": "^10.9.1",
|
|
74
74
|
"typescript": "^5.0.4"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "4a7be8e8a321f8be5b172c10c09c32af216a1c73"
|
|
77
77
|
}
|