@abtnode/auth 1.16.25-next-d6a21727 → 1.16.25-next-0ba03ffc

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.
Files changed (2) hide show
  1. package/lib/server.js +1 -4
  2. package/package.json +9 -9
package/lib/server.js CHANGED
@@ -223,7 +223,6 @@ const authenticateByNFT = async ({ node, claims, userDid, challenge, locale, isA
223
223
  nftId: state.address,
224
224
  nftOwner: state.owner,
225
225
  chainHost,
226
- appMaxCount: state.data.value.appMaxCount || 1,
227
226
  },
228
227
  },
229
228
  user: {
@@ -270,7 +269,6 @@ const authenticateByLauncher = async ({ node, claims, launcherSessionId, launche
270
269
  nftId: launcherSession.nftDid,
271
270
  nftOwner: launcherSession.userDid,
272
271
  chainHost,
273
- appMaxCount: 1,
274
272
  launcherUrl,
275
273
  launcherSessionId,
276
274
  ownerDid: claim.userDid,
@@ -534,7 +532,7 @@ const getOwnershipNFTClaim = async (node, locale) => {
534
532
  return {
535
533
  description: messages.requestBlockletSpaceNFT[locale],
536
534
  trustedIssuers: [info.ownerNft.issuer],
537
- tag, // tag is an unique identifier for the server in launcher
535
+ address: info.ownerNft.did,
538
536
  };
539
537
  };
540
538
 
@@ -879,7 +877,6 @@ const handleRestoreByLauncherSession = async ({ node, userDid, updateSession, ex
879
877
  nftId: launcherSession.nftDid,
880
878
  nftOwner: launcherSession.userDid,
881
879
  chainHost,
882
- appMaxCount: 1,
883
880
  launcherUrl,
884
881
  launcherSessionId,
885
882
  ownerDid: userDid, // FIXME: @wangshijun is this incorrect
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.25-next-d6a21727",
6
+ "version": "1.16.25-next-0ba03ffc",
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.25-next-d6a21727",
24
- "@abtnode/logger": "1.16.25-next-d6a21727",
25
- "@abtnode/util": "1.16.25-next-d6a21727",
23
+ "@abtnode/constant": "1.16.25-next-0ba03ffc",
24
+ "@abtnode/logger": "1.16.25-next-0ba03ffc",
25
+ "@abtnode/util": "1.16.25-next-0ba03ffc",
26
26
  "@arcblock/did": "1.18.113",
27
27
  "@arcblock/jwt": "^1.18.113",
28
- "@arcblock/nft-display": "^2.9.51",
28
+ "@arcblock/nft-display": "^2.9.54",
29
29
  "@arcblock/validator": "^1.18.113",
30
30
  "@arcblock/vc": "1.18.113",
31
- "@blocklet/constant": "1.16.25-next-d6a21727",
32
- "@blocklet/meta": "1.16.25-next-d6a21727",
33
- "@blocklet/sdk": "1.16.25-next-d6a21727",
31
+ "@blocklet/constant": "1.16.25-next-0ba03ffc",
32
+ "@blocklet/meta": "1.16.25-next-0ba03ffc",
33
+ "@blocklet/sdk": "1.16.25-next-0ba03ffc",
34
34
  "@ocap/client": "^1.18.113",
35
35
  "@ocap/mcrypto": "1.18.113",
36
36
  "@ocap/util": "1.18.113",
@@ -51,5 +51,5 @@
51
51
  "devDependencies": {
52
52
  "jest": "^29.7.0"
53
53
  },
54
- "gitHead": "29a0a8fd08712583900a536ac02b3798cd417576"
54
+ "gitHead": "4003cb3e4d32c47cdf097b00b551959db4d5d31a"
55
55
  }