@blocklet/resolver 1.16.16 → 1.16.17-beta-8cacb9b3

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/index.js +0 -3
  2. package/package.json +6 -6
package/index.js CHANGED
@@ -119,9 +119,6 @@ const parseComponents = async (component, context = {}, logger = console) => {
119
119
  throw new Error(`Cannot add gateway component ${rawMeta.title || rawMeta.did}`);
120
120
  }
121
121
  (0, exports.validateBlockletMeta)(rawMeta, { ensureDist: true });
122
- if (!(0, util_1.isComponentBlocklet)(rawMeta)) {
123
- throw new Error(`The blocklet cannot be a component: ${rawMeta.title}. The reason may be that the developer set capabilities.component to false in blocklet.yml`);
124
- }
125
122
  if ((0, util_1.hasStartEngine)(rawMeta) && !(0, util_1.findWebInterface)(rawMeta)) {
126
123
  throw new Error(`Web interface does not found in component ${rawMeta.title || rawMeta.name}`);
127
124
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.16",
6
+ "version": "1.16.17-beta-8cacb9b3",
7
7
  "description": "Blocklet meta resolver",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -20,13 +20,13 @@
20
20
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@arcblock/did": "^1.18.90",
24
- "@blocklet/constant": "1.16.16",
25
- "@blocklet/meta": "1.16.16",
23
+ "@arcblock/did": "^1.18.91",
24
+ "@blocklet/constant": "1.16.17-beta-8cacb9b3",
25
+ "@blocklet/meta": "1.16.17-beta-8cacb9b3",
26
26
  "semver": "^7.3.8"
27
27
  },
28
28
  "devDependencies": {
29
- "@abtnode/types": "1.16.16",
29
+ "@abtnode/types": "1.16.17-beta-8cacb9b3",
30
30
  "@arcblock/eslint-config-ts": "^0.2.4",
31
31
  "@types/jest": "^29.2.0",
32
32
  "@types/node": "^18.11.0",
@@ -38,5 +38,5 @@
38
38
  "ts-jest": "^27.1.5",
39
39
  "typescript": "^5.0.4"
40
40
  },
41
- "gitHead": "2de4f6dbad086bd861273a4fc9ca8a87ddda4778"
41
+ "gitHead": "0e3266f543b6d419a004ca94ee9efb572e3d9809"
42
42
  }