@abtnode/auth 1.5.13 → 1.15.17
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/passport.js +2 -2
- package/package.json +11 -11
package/lib/passport.js
CHANGED
|
@@ -137,8 +137,8 @@ const getRoleFromExternalPassport = async ({ passport, node, teamDid, mappings:
|
|
|
137
137
|
}
|
|
138
138
|
throw new Error(
|
|
139
139
|
{
|
|
140
|
-
en:
|
|
141
|
-
zh:
|
|
140
|
+
en: 'Cannot connect to the app with this passport',
|
|
141
|
+
zh: '无法使用此通行证连接应用',
|
|
142
142
|
}[locale]
|
|
143
143
|
);
|
|
144
144
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.15.17",
|
|
7
7
|
"description": "Simple lib to manage auth in ABT Node",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
"author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@abtnode/constant": "1.
|
|
24
|
-
"@abtnode/logger": "1.
|
|
25
|
-
"@abtnode/util": "1.
|
|
26
|
-
"@arcblock/did": "^1.13.
|
|
27
|
-
"@arcblock/vc": "^1.13.
|
|
28
|
-
"@blocklet/meta": "1.
|
|
29
|
-
"@ocap/mcrypto": "^1.13.
|
|
30
|
-
"@ocap/util": "^1.13.
|
|
31
|
-
"@ocap/wallet": "^1.13.
|
|
23
|
+
"@abtnode/constant": "1.15.17",
|
|
24
|
+
"@abtnode/logger": "1.15.17",
|
|
25
|
+
"@abtnode/util": "1.15.17",
|
|
26
|
+
"@arcblock/did": "^1.13.61",
|
|
27
|
+
"@arcblock/vc": "^1.13.61",
|
|
28
|
+
"@blocklet/meta": "1.15.17",
|
|
29
|
+
"@ocap/mcrypto": "^1.13.61",
|
|
30
|
+
"@ocap/util": "^1.13.61",
|
|
31
|
+
"@ocap/wallet": "^1.13.61",
|
|
32
32
|
"axios": "^0.21.4",
|
|
33
33
|
"joi": "^17.4.0",
|
|
34
34
|
"jsonwebtoken": "^8.5.1",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"jest": "^27.3.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "22715c3ea74d0230f3413162a17f491614b6735a"
|
|
43
43
|
}
|