@abtnode/core 1.8.21 → 1.8.22

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.
@@ -348,12 +348,19 @@ const getRuntimeEnvironments = (blocklet, nodeEnvironments, ancestors) => {
348
348
 
349
349
  const mountPoints = [];
350
350
  for (const x of root.children || []) {
351
- mountPoints.push({
351
+ const mountPoint = {
352
352
  title: x.meta.title,
353
353
  did: x.meta.bundleDid,
354
354
  name: x.meta.bundleName,
355
355
  mountPoint: x.mountPoint || '',
356
- });
356
+ };
357
+
358
+ const webInterface = findWebInterface(x);
359
+ if (webInterface && x.environmentObj[webInterface.port]) {
360
+ mountPoint.port = x.environmentObj[webInterface.port];
361
+ }
362
+
363
+ mountPoints.push(mountPoint);
357
364
  }
358
365
 
359
366
  return {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.21",
6
+ "version": "1.8.22",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,18 +19,18 @@
19
19
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "@abtnode/auth": "1.8.21",
23
- "@abtnode/certificate-manager": "1.8.21",
24
- "@abtnode/constant": "1.8.21",
25
- "@abtnode/cron": "1.8.21",
26
- "@abtnode/db": "1.8.21",
27
- "@abtnode/logger": "1.8.21",
28
- "@abtnode/queue": "1.8.21",
29
- "@abtnode/rbac": "1.8.21",
30
- "@abtnode/router-provider": "1.8.21",
31
- "@abtnode/static-server": "1.8.21",
32
- "@abtnode/timemachine": "1.8.21",
33
- "@abtnode/util": "1.8.21",
22
+ "@abtnode/auth": "1.8.22",
23
+ "@abtnode/certificate-manager": "1.8.22",
24
+ "@abtnode/constant": "1.8.22",
25
+ "@abtnode/cron": "1.8.22",
26
+ "@abtnode/db": "1.8.22",
27
+ "@abtnode/logger": "1.8.22",
28
+ "@abtnode/queue": "1.8.22",
29
+ "@abtnode/rbac": "1.8.22",
30
+ "@abtnode/router-provider": "1.8.22",
31
+ "@abtnode/static-server": "1.8.22",
32
+ "@abtnode/timemachine": "1.8.22",
33
+ "@abtnode/util": "1.8.22",
34
34
  "@arcblock/did": "1.17.19",
35
35
  "@arcblock/did-motif": "^1.1.10",
36
36
  "@arcblock/did-util": "1.17.19",
@@ -38,8 +38,8 @@
38
38
  "@arcblock/jwt": "^1.17.19",
39
39
  "@arcblock/pm2-events": "^0.0.5",
40
40
  "@arcblock/vc": "1.17.19",
41
- "@blocklet/meta": "1.8.21",
42
- "@blocklet/sdk": "1.8.21",
41
+ "@blocklet/meta": "1.8.22",
42
+ "@blocklet/sdk": "1.8.22",
43
43
  "@fidm/x509": "^1.2.1",
44
44
  "@ocap/mcrypto": "1.17.19",
45
45
  "@ocap/util": "1.17.19",
@@ -80,5 +80,5 @@
80
80
  "express": "^4.18.1",
81
81
  "jest": "^27.5.1"
82
82
  },
83
- "gitHead": "f990cddd5ef18ece7ada5d7573b8e0652d74abdc"
83
+ "gitHead": "b0b31c2a0d29de79b29591f020f577d6c3806248"
84
84
  }