@blocklet/meta 1.16.39-beta-20250220-212222-627e9ea7 → 1.16.39-beta-20250222-094928-e54632fa

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/blocklet.d.ts CHANGED
@@ -7,6 +7,7 @@ type TComponentInternalInfo = {
7
7
  mountPoint: string;
8
8
  status?: number;
9
9
  port?: number;
10
+ containerPort?: string;
10
11
  resources?: string[];
11
12
  resourcesV2?: {
12
13
  path: string;
package/lib/blocklet.js CHANGED
@@ -43,6 +43,7 @@ const getComponentsInternalInfo = (app) => {
43
43
  mountPoint: x.mountPoint || '',
44
44
  status: x.status,
45
45
  port: 0,
46
+ containerPort: '',
46
47
  resources: getComponentResourcesPath(x),
47
48
  resourcesV2: getComponentResourcesPathV2(x),
48
49
  group: x.meta.group,
@@ -50,6 +51,7 @@ const getComponentsInternalInfo = (app) => {
50
51
  const webInterface = (0, util_1.findWebInterface)(x) || (0, util_1.findDockerInterface)(x);
51
52
  if (webInterface && (x.environments || []).find((y) => y.key === webInterface.port)) {
52
53
  component.port = x.environments.find((y) => y.key === webInterface.port).value;
54
+ component.containerPort = `${webInterface.containerPort || ''}`;
53
55
  }
54
56
  components.push(component);
55
57
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.39-beta-20250220-212222-627e9ea7",
6
+ "version": "1.16.39-beta-20250222-094928-e54632fa",
7
7
  "description": "Library to parse/validate/fix blocklet meta",
8
8
  "main": "./lib/index.js",
9
9
  "typings": "./lib/index.d.ts",
@@ -25,18 +25,18 @@
25
25
  "author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@abtnode/constant": "1.16.39-beta-20250220-212222-627e9ea7",
29
- "@abtnode/docker-utils": "1.16.39-beta-20250220-212222-627e9ea7",
30
- "@arcblock/did": "1.19.9",
31
- "@arcblock/did-ext": "1.19.9",
32
- "@arcblock/did-util": "1.19.9",
33
- "@arcblock/jwt": "1.19.9",
34
- "@blocklet/constant": "1.16.39-beta-20250220-212222-627e9ea7",
35
- "@ocap/asset": "1.19.9",
36
- "@ocap/mcrypto": "1.19.9",
37
- "@ocap/types": "1.19.9",
38
- "@ocap/util": "1.19.9",
39
- "@ocap/wallet": "1.19.9",
28
+ "@abtnode/constant": "1.16.39-beta-20250222-094928-e54632fa",
29
+ "@abtnode/docker-utils": "1.16.39-beta-20250222-094928-e54632fa",
30
+ "@arcblock/did": "1.19.10",
31
+ "@arcblock/did-ext": "1.19.10",
32
+ "@arcblock/did-util": "1.19.10",
33
+ "@arcblock/jwt": "1.19.10",
34
+ "@blocklet/constant": "1.16.39-beta-20250222-094928-e54632fa",
35
+ "@ocap/asset": "1.19.10",
36
+ "@ocap/mcrypto": "1.19.10",
37
+ "@ocap/types": "1.19.10",
38
+ "@ocap/util": "1.19.10",
39
+ "@ocap/wallet": "1.19.10",
40
40
  "ajv": "^8.11.0",
41
41
  "axios": "^1.7.9",
42
42
  "cjk-length": "^1.0.0",
@@ -80,5 +80,5 @@
80
80
  "ts-node": "^10.9.1",
81
81
  "typescript": "^5.6.3"
82
82
  },
83
- "gitHead": "63bae9e50d76bf481eb2bf930f98ea672f645c50"
83
+ "gitHead": "9eefa43edc541ba7b4db529898fb826a7b2a06b5"
84
84
  }