@abtnode/auth 1.16.32 → 1.16.33-beta-20241001-015316-119b726d

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/auth.js +3 -0
  2. package/package.json +9 -9
package/lib/auth.js CHANGED
@@ -1185,6 +1185,7 @@ const handleIssueKycResponse = async ({
1185
1185
  endpoint,
1186
1186
  updateKyc,
1187
1187
  inviter,
1188
+ sourceAppPid,
1188
1189
  }) => {
1189
1190
  const blocklet = await node.getBlocklet({ did: teamDid });
1190
1191
  const profile = claims.find((x) => x.type === 'profile');
@@ -1281,6 +1282,8 @@ const handleIssueKycResponse = async ({
1281
1282
  user: {
1282
1283
  did: userDid,
1283
1284
  pk: userPk,
1285
+ // NOTICE: 创建用户时一定要加上 sourceAppPid 字段
1286
+ sourceAppPid,
1284
1287
  email: newEmail,
1285
1288
  phone: newPhone,
1286
1289
  emailVerified,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.32",
6
+ "version": "1.16.33-beta-20241001-015316-119b726d",
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.32",
24
- "@abtnode/logger": "1.16.32",
25
- "@abtnode/util": "1.16.32",
23
+ "@abtnode/constant": "1.16.33-beta-20241001-015316-119b726d",
24
+ "@abtnode/logger": "1.16.33-beta-20241001-015316-119b726d",
25
+ "@abtnode/util": "1.16.33-beta-20241001-015316-119b726d",
26
26
  "@arcblock/did": "1.18.135",
27
27
  "@arcblock/jwt": "^1.18.135",
28
- "@arcblock/nft-display": "^2.10.38",
28
+ "@arcblock/nft-display": "^2.10.39",
29
29
  "@arcblock/validator": "^1.18.135",
30
30
  "@arcblock/vc": "1.18.135",
31
- "@blocklet/constant": "1.16.32",
32
- "@blocklet/meta": "1.16.32",
33
- "@blocklet/sdk": "1.16.32",
31
+ "@blocklet/constant": "1.16.33-beta-20241001-015316-119b726d",
32
+ "@blocklet/meta": "1.16.33-beta-20241001-015316-119b726d",
33
+ "@blocklet/sdk": "1.16.33-beta-20241001-015316-119b726d",
34
34
  "@ocap/client": "^1.18.135",
35
35
  "@ocap/mcrypto": "1.18.135",
36
36
  "@ocap/util": "1.18.135",
@@ -50,5 +50,5 @@
50
50
  "devDependencies": {
51
51
  "jest": "^29.7.0"
52
52
  },
53
- "gitHead": "6b6c0abc72e892179a61d6daf7b17e884526db0b"
53
+ "gitHead": "5cac4c3579c14ebae18810b1f27ecbc63603088d"
54
54
  }