@abtnode/core 1.16.0-beta-99e016c7 → 1.16.0-beta-ad6df3ae

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/api/team.js CHANGED
@@ -659,6 +659,7 @@ class TeamAPI extends EventEmitter {
659
659
  teamDid,
660
660
  user: {
661
661
  did: ownerDid,
662
+ pk: currentUser.pk,
662
663
  passports,
663
664
  },
664
665
  });
@@ -80,8 +80,6 @@ class User extends BaseState {
80
80
  * @returns {BlockletUser}
81
81
  */
82
82
  async update(user) {
83
- // FIXME: @zhanghan 这里为什么要限制?
84
- // 限制后也无法更新 lastLoginAt ?
85
83
  if (!validateOwner(user)) {
86
84
  throw new Error('user is invalid');
87
85
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.0-beta-99e016c7",
6
+ "version": "1.16.0-beta-ad6df3ae",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,34 +19,34 @@
19
19
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "@abtnode/auth": "1.16.0-beta-99e016c7",
23
- "@abtnode/certificate-manager": "1.16.0-beta-99e016c7",
24
- "@abtnode/constant": "1.16.0-beta-99e016c7",
25
- "@abtnode/cron": "1.16.0-beta-99e016c7",
26
- "@abtnode/db": "1.16.0-beta-99e016c7",
27
- "@abtnode/logger": "1.16.0-beta-99e016c7",
28
- "@abtnode/queue": "1.16.0-beta-99e016c7",
29
- "@abtnode/rbac": "1.16.0-beta-99e016c7",
30
- "@abtnode/router-provider": "1.16.0-beta-99e016c7",
31
- "@abtnode/static-server": "1.16.0-beta-99e016c7",
32
- "@abtnode/timemachine": "1.16.0-beta-99e016c7",
33
- "@abtnode/util": "1.16.0-beta-99e016c7",
34
- "@arcblock/did": "1.18.63",
22
+ "@abtnode/auth": "1.16.0-beta-ad6df3ae",
23
+ "@abtnode/certificate-manager": "1.16.0-beta-ad6df3ae",
24
+ "@abtnode/constant": "1.16.0-beta-ad6df3ae",
25
+ "@abtnode/cron": "1.16.0-beta-ad6df3ae",
26
+ "@abtnode/db": "1.16.0-beta-ad6df3ae",
27
+ "@abtnode/logger": "1.16.0-beta-ad6df3ae",
28
+ "@abtnode/queue": "1.16.0-beta-ad6df3ae",
29
+ "@abtnode/rbac": "1.16.0-beta-ad6df3ae",
30
+ "@abtnode/router-provider": "1.16.0-beta-ad6df3ae",
31
+ "@abtnode/static-server": "1.16.0-beta-ad6df3ae",
32
+ "@abtnode/timemachine": "1.16.0-beta-ad6df3ae",
33
+ "@abtnode/util": "1.16.0-beta-ad6df3ae",
34
+ "@arcblock/did": "1.18.64",
35
35
  "@arcblock/did-motif": "^1.1.10",
36
- "@arcblock/did-util": "1.18.63",
37
- "@arcblock/event-hub": "1.18.63",
38
- "@arcblock/jwt": "^1.18.63",
36
+ "@arcblock/did-util": "1.18.64",
37
+ "@arcblock/event-hub": "1.18.64",
38
+ "@arcblock/jwt": "^1.18.64",
39
39
  "@arcblock/pm2-events": "^0.0.5",
40
- "@arcblock/vc": "1.18.63",
41
- "@blocklet/constant": "1.16.0-beta-99e016c7",
42
- "@blocklet/meta": "1.16.0-beta-99e016c7",
43
- "@blocklet/sdk": "1.16.0-beta-99e016c7",
44
- "@did-space/client": "^0.2.40",
40
+ "@arcblock/vc": "1.18.64",
41
+ "@blocklet/constant": "1.16.0-beta-ad6df3ae",
42
+ "@blocklet/meta": "1.16.0-beta-ad6df3ae",
43
+ "@blocklet/sdk": "1.16.0-beta-ad6df3ae",
44
+ "@did-space/client": "^0.2.45",
45
45
  "@fidm/x509": "^1.2.1",
46
- "@ocap/client": "1.18.63",
47
- "@ocap/mcrypto": "1.18.63",
48
- "@ocap/util": "1.18.63",
49
- "@ocap/wallet": "1.18.63",
46
+ "@ocap/client": "1.18.64",
47
+ "@ocap/mcrypto": "1.18.64",
48
+ "@ocap/util": "1.18.64",
49
+ "@ocap/wallet": "1.18.64",
50
50
  "@slack/webhook": "^5.0.4",
51
51
  "archiver": "^5.3.1",
52
52
  "axios": "^0.27.2",
@@ -91,5 +91,5 @@
91
91
  "express": "^4.18.2",
92
92
  "jest": "^27.5.1"
93
93
  },
94
- "gitHead": "6dcb70e4613c92752d7b5f2662ac4b0e3bc9050b"
94
+ "gitHead": "8fa60176a00400cd412b308df3c7d6dcd9af2db1"
95
95
  }