@abtnode/auth 1.16.45-beta-20250625-064956-91b0fb8f → 1.16.45-beta-20250625-103530-e1f5b0b8
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/passkey.js +2 -1
- package/package.json +8 -8
package/lib/passkey.js
CHANGED
|
@@ -834,9 +834,10 @@ function createPasskeyHandlers(node, mode, createToken) {
|
|
|
834
834
|
logger.info('passkey.auth.connectOwner', { teamDid, userDid: user.did });
|
|
835
835
|
}
|
|
836
836
|
|
|
837
|
+
logger.info('passkey.auth.result', { action: passkeySession.data.action, teamDid, userDid: user.did });
|
|
837
838
|
return res.send(result);
|
|
838
839
|
} catch (error) {
|
|
839
|
-
|
|
840
|
+
logger.error('passkey.auth.handleAuthResponse.error', { error });
|
|
840
841
|
return res.status(400).send({ error: 'An error occurred during authentication. Please try again.' });
|
|
841
842
|
} finally {
|
|
842
843
|
await node.endSession({ id: req.passkeySession.id });
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.45-beta-20250625-
|
|
6
|
+
"version": "1.16.45-beta-20250625-103530-e1f5b0b8",
|
|
7
7
|
"description": "Simple lib to manage auth in ABT Node",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -20,9 +20,9 @@
|
|
|
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.45-beta-20250625-
|
|
24
|
-
"@abtnode/logger": "1.16.45-beta-20250625-
|
|
25
|
-
"@abtnode/util": "1.16.45-beta-20250625-
|
|
23
|
+
"@abtnode/constant": "1.16.45-beta-20250625-103530-e1f5b0b8",
|
|
24
|
+
"@abtnode/logger": "1.16.45-beta-20250625-103530-e1f5b0b8",
|
|
25
|
+
"@abtnode/util": "1.16.45-beta-20250625-103530-e1f5b0b8",
|
|
26
26
|
"@arcblock/did": "1.20.14",
|
|
27
27
|
"@arcblock/did-auth": "1.20.14",
|
|
28
28
|
"@arcblock/did-ext": "1.20.14",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"@arcblock/nft-display": "^2.13.70",
|
|
32
32
|
"@arcblock/validator": "1.20.14",
|
|
33
33
|
"@arcblock/vc": "1.20.14",
|
|
34
|
-
"@blocklet/constant": "1.16.45-beta-20250625-
|
|
34
|
+
"@blocklet/constant": "1.16.45-beta-20250625-103530-e1f5b0b8",
|
|
35
35
|
"@blocklet/error": "^0.2.5",
|
|
36
|
-
"@blocklet/meta": "1.16.45-beta-20250625-
|
|
37
|
-
"@blocklet/sdk": "1.16.45-beta-20250625-
|
|
36
|
+
"@blocklet/meta": "1.16.45-beta-20250625-103530-e1f5b0b8",
|
|
37
|
+
"@blocklet/sdk": "1.16.45-beta-20250625-103530-e1f5b0b8",
|
|
38
38
|
"@ocap/client": "1.20.14",
|
|
39
39
|
"@ocap/mcrypto": "1.20.14",
|
|
40
40
|
"@ocap/util": "1.20.14",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"jest": "^29.7.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "68ba563213161265ceb38eaec06d43454a341f48"
|
|
60
60
|
}
|