@abtnode/core 1.5.0 → 1.5.1

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/api/team.js +1 -1
  2. package/package.json +18 -18
package/lib/api/team.js CHANGED
@@ -606,7 +606,7 @@ class TeamAPI extends EventEmitter {
606
606
  (interfaces || []).map(async ({ name, type }) => {
607
607
  const permissionName = genPermissionName(name);
608
608
  if (type === 'web') {
609
- if (!oldPermissions.some((x) => x.name === name)) {
609
+ if (!oldPermissions.some((x) => x.name === permissionName)) {
610
610
  await rbac.createPermission({
611
611
  name: permissionName,
612
612
  description: `Access resources under the ${name} interface`,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.5.0",
6
+ "version": "1.5.1",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,26 +19,26 @@
19
19
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "@abtnode/constant": "1.5.0",
23
- "@abtnode/cron": "1.5.0",
24
- "@abtnode/event-hub": "1.5.0",
25
- "@abtnode/logger": "1.5.0",
26
- "@abtnode/queue": "1.5.0",
27
- "@abtnode/rbac": "1.5.0",
28
- "@abtnode/router-provider": "1.5.0",
29
- "@abtnode/static-server": "1.5.0",
30
- "@abtnode/timemachine": "1.5.0",
31
- "@abtnode/util": "1.5.0",
32
- "@arcblock/did": "^1.13.16",
22
+ "@abtnode/constant": "1.5.1",
23
+ "@abtnode/cron": "1.5.1",
24
+ "@abtnode/event-hub": "1.5.1",
25
+ "@abtnode/logger": "1.5.1",
26
+ "@abtnode/queue": "1.5.1",
27
+ "@abtnode/rbac": "1.5.1",
28
+ "@abtnode/router-provider": "1.5.1",
29
+ "@abtnode/static-server": "1.5.1",
30
+ "@abtnode/timemachine": "1.5.1",
31
+ "@abtnode/util": "1.5.1",
32
+ "@arcblock/did": "^1.13.20",
33
33
  "@arcblock/pm2-events": "^0.0.5",
34
- "@arcblock/vc": "^1.13.16",
35
- "@blocklet/meta": "1.5.0",
34
+ "@arcblock/vc": "^1.13.20",
35
+ "@blocklet/meta": "1.5.1",
36
36
  "@fidm/x509": "^1.2.1",
37
37
  "@nedb/core": "^1.1.0",
38
38
  "@nedb/multi": "^1.1.0",
39
- "@ocap/mcrypto": "^1.13.16",
40
- "@ocap/util": "^1.13.16",
41
- "@ocap/wallet": "^1.13.16",
39
+ "@ocap/mcrypto": "^1.13.20",
40
+ "@ocap/util": "^1.13.20",
41
+ "@ocap/wallet": "^1.13.20",
42
42
  "@slack/webhook": "^5.0.3",
43
43
  "axios": "^0.21.4",
44
44
  "axon": "^2.0.3",
@@ -72,5 +72,5 @@
72
72
  "express": "^4.17.1",
73
73
  "jest": "^26.4.2"
74
74
  },
75
- "gitHead": "bc78f2a10de0ccc7ae23b6b6f259c05606bad8f5"
75
+ "gitHead": "8219f2128aaa199a52c100e6c90ea4a90d15ad15"
76
76
  }