@abtnode/auth 1.16.30-beta-b7f31b10 → 1.16.30-beta-2876881d
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/lost-passport.js +2 -2
- package/package.json +8 -8
package/lib/lost-passport.js
CHANGED
|
@@ -430,11 +430,11 @@ const createLostPassportIssueRoute = ({ node, type, authServicePrefix, createTok
|
|
|
430
430
|
);
|
|
431
431
|
await updateSession({ sessionToken, refreshToken }, true);
|
|
432
432
|
} else if (type === TEAM_TYPES.NODE) {
|
|
433
|
-
const sessionToken = createToken(userDid, {
|
|
433
|
+
const { sessionToken, refreshToken } = await createToken(userDid, {
|
|
434
434
|
passport,
|
|
435
435
|
role,
|
|
436
436
|
});
|
|
437
|
-
await updateSession({ sessionToken }, true);
|
|
437
|
+
await updateSession({ sessionToken, refreshToken }, true);
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.30-beta-
|
|
6
|
+
"version": "1.16.30-beta-2876881d",
|
|
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-
|
|
24
|
-
"@abtnode/logger": "1.16.30-beta-
|
|
25
|
-
"@abtnode/util": "1.16.30-beta-
|
|
23
|
+
"@abtnode/constant": "1.16.30-beta-2876881d",
|
|
24
|
+
"@abtnode/logger": "1.16.30-beta-2876881d",
|
|
25
|
+
"@abtnode/util": "1.16.30-beta-2876881d",
|
|
26
26
|
"@arcblock/did": "1.18.128",
|
|
27
27
|
"@arcblock/jwt": "^1.18.128",
|
|
28
28
|
"@arcblock/nft-display": "^2.10.14",
|
|
29
29
|
"@arcblock/validator": "^1.18.128",
|
|
30
30
|
"@arcblock/vc": "1.18.128",
|
|
31
|
-
"@blocklet/constant": "1.16.30-beta-
|
|
32
|
-
"@blocklet/meta": "1.16.30-beta-
|
|
33
|
-
"@blocklet/sdk": "1.16.30-beta-
|
|
31
|
+
"@blocklet/constant": "1.16.30-beta-2876881d",
|
|
32
|
+
"@blocklet/meta": "1.16.30-beta-2876881d",
|
|
33
|
+
"@blocklet/sdk": "1.16.30-beta-2876881d",
|
|
34
34
|
"@ocap/client": "^1.18.128",
|
|
35
35
|
"@ocap/mcrypto": "1.18.128",
|
|
36
36
|
"@ocap/util": "1.18.128",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"jest": "^29.7.0"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "331c97e9bab7380af18616a1053d78b1654b307a"
|
|
54
54
|
}
|