@abtnode/auth 1.17.7-beta-20251227-001958-ea2ba3f5 → 1.17.7-beta-20251229-223813-e1e6c5e3

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.
@@ -54,8 +54,6 @@ module.exports = {
54
54
  },
55
55
  };
56
56
  const t = createTranslator({ translations });
57
- const blockletInfo = await request.getBlockletInfo();
58
- const nodeInfo = await node.getNodeInfo();
59
57
  const { did: teamDid } = isService ? await request.getBlockletInfo() : await node.getNodeInfo();
60
58
 
61
59
  const oauthUser = await node.getUser({
@@ -74,8 +72,8 @@ module.exports = {
74
72
  isService,
75
73
  locale,
76
74
  teamDid,
77
- blocklet: blockletInfo.did,
78
- node: nodeInfo.did,
75
+ blockletDid: teamDid,
76
+ node: teamDid,
79
77
  });
80
78
  throw new Error(t('notFound', locale));
81
79
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.17.7-beta-20251227-001958-ea2ba3f5",
6
+ "version": "1.17.7-beta-20251229-223813-e1e6c5e3",
7
7
  "description": "Simple lib to manage auth in ABT Node",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -18,21 +18,21 @@
18
18
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@abtnode/constant": "1.17.7-beta-20251227-001958-ea2ba3f5",
22
- "@abtnode/logger": "1.17.7-beta-20251227-001958-ea2ba3f5",
23
- "@abtnode/util": "1.17.7-beta-20251227-001958-ea2ba3f5",
21
+ "@abtnode/constant": "1.17.7-beta-20251229-223813-e1e6c5e3",
22
+ "@abtnode/logger": "1.17.7-beta-20251229-223813-e1e6c5e3",
23
+ "@abtnode/util": "1.17.7-beta-20251229-223813-e1e6c5e3",
24
24
  "@arcblock/did": "^1.27.16",
25
25
  "@arcblock/did-connect-js": "^1.27.16",
26
26
  "@arcblock/did-ext": "^1.27.16",
27
27
  "@arcblock/did-util": "^1.27.16",
28
28
  "@arcblock/jwt": "^1.27.16",
29
- "@arcblock/nft-display": "^3.3.0",
29
+ "@arcblock/nft-display": "^3.3.3",
30
30
  "@arcblock/validator": "^1.27.16",
31
31
  "@arcblock/vc": "^1.27.16",
32
- "@blocklet/constant": "1.17.7-beta-20251227-001958-ea2ba3f5",
32
+ "@blocklet/constant": "1.17.7-beta-20251229-223813-e1e6c5e3",
33
33
  "@blocklet/error": "^0.3.5",
34
- "@blocklet/meta": "1.17.7-beta-20251227-001958-ea2ba3f5",
35
- "@blocklet/sdk": "1.17.7-beta-20251227-001958-ea2ba3f5",
34
+ "@blocklet/meta": "1.17.7-beta-20251229-223813-e1e6c5e3",
35
+ "@blocklet/sdk": "1.17.7-beta-20251229-223813-e1e6c5e3",
36
36
  "@ocap/client": "^1.27.16",
37
37
  "@ocap/mcrypto": "^1.27.16",
38
38
  "@ocap/util": "^1.27.16",
@@ -55,5 +55,5 @@
55
55
  "devDependencies": {
56
56
  "axios-mock-adapter": "^2.1.0"
57
57
  },
58
- "gitHead": "ec0a542fc2c66f2530d25884b43bddfa28d921a0"
58
+ "gitHead": "5cc55a399f97ddc0822c9896615375c1d3042a72"
59
59
  }