@abtnode/auth 1.17.12-beta-20260422-075550-7bd6bb1a → 1.17.12

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/oauth.js CHANGED
@@ -36,7 +36,7 @@ function createPassportList(node, mode = 'server') {
36
36
  const user = await node.getUser({ teamDid, user: { did: userDid } });
37
37
  let ownerAvatarUrl = getUserAvatarUrl(appUrl, user.avatar);
38
38
  try {
39
- // FIXME: 暂时将 imageFilter 等 queryString 参数移除
39
+ // FIXME: @zhanghan 暂时将 imageFilter 等 queryString 参数移除
40
40
  const ownerAvatarUrlInstance = new URL(ownerAvatarUrl);
41
41
  ownerAvatarUrlInstance.search = '';
42
42
  ownerAvatarUrl = ownerAvatarUrlInstance.href;
@@ -45,7 +45,7 @@ function createPassportList(node, mode = 'server') {
45
45
  }
46
46
  let issuerAvatarUrl = getAppAvatarUrl(appUrl);
47
47
  try {
48
- // FIXME: 暂时将 imageFilter 等 queryString 参数移除
48
+ // FIXME: @zhanghan 暂时将 imageFilter 等 queryString 参数移除
49
49
  const issuerAvatarUrlInstance = new URL(issuerAvatarUrl);
50
50
  issuerAvatarUrlInstance.search = '';
51
51
  issuerAvatarUrl = issuerAvatarUrlInstance.href;
package/lib/passkey.js CHANGED
@@ -672,7 +672,7 @@ function createPasskeyHandlers(node, mode, createToken) {
672
672
  // Generate new session token that client can save to localStorage
673
673
  logger.info('passkey.auth.generateNewSessionToken', { teamDid, action: passkeySession.data.action });
674
674
  const { targetAppPid } = req.query;
675
- // FIXME: 这里目前只是一个 hack 的方式,passkey 和 federated 结合的流程需要重新梳理优化
675
+ // FIXME: @zhanghan 这里目前只是一个 hack 的方式,passkey 和 federated 结合的流程需要重新梳理优化
676
676
  const isFederatedHack = targetAppPid && targetAppPid !== teamDid;
677
677
  const findMemberSite = findFederatedSite(blocklet, targetAppPid);
678
678
  if (
package/lib/server.js CHANGED
@@ -1174,7 +1174,7 @@ const handleRestoreByLauncherSession = async ({ node, userDid, updateSession, ex
1174
1174
  chainHost,
1175
1175
  launcherUrl,
1176
1176
  launcherSessionId,
1177
- ownerDid: userDid, // FIXME: is this incorrect
1177
+ ownerDid: userDid, // FIXME: @wangshijun is this incorrect
1178
1178
  };
1179
1179
 
1180
1180
  const secret = await node.getSessionSecret();
@@ -30,7 +30,7 @@ module.exports = {
30
30
  request,
31
31
  userDid,
32
32
  locale,
33
- previousUserDid, // FIXME: 这个数据目前只能从前端传递,可能会存在篡改的风险
33
+ previousUserDid, // FIXME: @zhanghan 这个数据目前只能从前端传递,可能会存在篡改的风险
34
34
  isService = true,
35
35
  }) => {
36
36
  // 检查逻辑
@@ -285,7 +285,7 @@ module.exports = {
285
285
  };
286
286
  }
287
287
 
288
- // FIXME: 统一登录的 passport 相关问题后续统一处理
288
+ // FIXME:@zhanghan 统一登录的 passport 相关问题后续统一处理
289
289
  await transferPassport(oauthUser, bindUser, {
290
290
  req: request,
291
291
  node,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.17.12-beta-20260422-075550-7bd6bb1a",
6
+ "version": "1.17.12",
7
7
  "description": "Simple lib to manage auth in ABT Node",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -15,25 +15,12 @@
15
15
  "lint:fix": "eslint --fix tests lib"
16
16
  },
17
17
  "keywords": [],
18
- "author": {
19
- "name": "ArcBlock",
20
- "email": "blocklet@arcblock.io",
21
- "url": "https://github.com/ArcBlock"
22
- },
18
+ "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
23
19
  "license": "Apache-2.0",
24
- "repository": {
25
- "type": "git",
26
- "url": "https://github.com/ArcBlock/blocklet-server.git",
27
- "directory": "core/auth"
28
- },
29
- "bugs": {
30
- "url": "https://github.com/ArcBlock/blocklet-server/issues"
31
- },
32
- "homepage": "https://github.com/ArcBlock/blocklet-server/tree/main/core/auth#readme",
33
20
  "dependencies": {
34
- "@abtnode/constant": "1.17.12-beta-20260422-075550-7bd6bb1a",
35
- "@abtnode/logger": "1.17.12-beta-20260422-075550-7bd6bb1a",
36
- "@abtnode/util": "1.17.12-beta-20260422-075550-7bd6bb1a",
21
+ "@abtnode/constant": "1.17.12",
22
+ "@abtnode/logger": "1.17.12",
23
+ "@abtnode/util": "1.17.12",
37
24
  "@arcblock/did": "1.29.27",
38
25
  "@arcblock/did-connect-js": "1.29.27",
39
26
  "@arcblock/did-ext": "1.29.27",
@@ -42,10 +29,10 @@
42
29
  "@arcblock/nft-display": "^3.5.2",
43
30
  "@arcblock/validator": "1.29.27",
44
31
  "@arcblock/vc": "1.29.27",
45
- "@blocklet/constant": "1.17.12-beta-20260422-075550-7bd6bb1a",
32
+ "@blocklet/constant": "1.17.12",
46
33
  "@blocklet/error": "^0.3.5",
47
- "@blocklet/meta": "1.17.12-beta-20260422-075550-7bd6bb1a",
48
- "@blocklet/sdk": "1.17.12-beta-20260422-075550-7bd6bb1a",
34
+ "@blocklet/meta": "1.17.12",
35
+ "@blocklet/sdk": "1.17.12",
49
36
  "@ocap/client": "1.29.27",
50
37
  "@ocap/mcrypto": "1.29.27",
51
38
  "@ocap/util": "1.29.27",
@@ -68,5 +55,5 @@
68
55
  "devDependencies": {
69
56
  "axios-mock-adapter": "^2.1.0"
70
57
  },
71
- "gitHead": "794d3409cad9e34ab741174aee873b48ec9f5222"
58
+ "gitHead": "a851c46d35a66372b7aa8fb5d7eed7d26980da8a"
72
59
  }