@blocklet/constant 1.16.27 → 1.16.28-beta-bfbab430

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 (3) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +3 -3
  3. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -777,7 +777,7 @@ export declare const toBlockletSource: (v: number | string) => string;
777
777
  export declare const BlockletGroup: Readonly<{
778
778
  static: "static";
779
779
  dapp: "dapp";
780
- starter: false;
780
+ engine: "engine";
781
781
  gateway: "gateway";
782
782
  pack: "pack";
783
783
  }>;
package/index.js CHANGED
@@ -901,8 +901,8 @@ var BlockletGroup = Object.freeze({
901
901
  static: "static",
902
902
  // The runtime instance is provided by its own backend server
903
903
  dapp: "dapp",
904
- starter: false,
905
- // deprecated
904
+ // Does not expose any endpoint, only provides services to other blocklets
905
+ engine: "engine",
906
906
  // This type is used to combine other component blocklets
907
907
  // No instance will be spawned at runtime
908
908
  gateway: "gateway",
@@ -911,7 +911,7 @@ var BlockletGroup = Object.freeze({
911
911
  // The difference is that a pack is a component in an app, whereas a gateway is an app itself.
912
912
  pack: "pack"
913
913
  });
914
- var BLOCKLET_GROUPS = ["dapp", "static", "gateway", "pack"];
914
+ var BLOCKLET_GROUPS = ["dapp", "static", "gateway", "pack", "engine"];
915
915
  var BlockletEvents = Object.freeze({
916
916
  // status updated
917
917
  added: "blocklet.added",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.27",
6
+ "version": "1.16.28-beta-bfbab430",
7
7
  "description": "Blocklet constants",
8
8
  "main": "index.js",
9
9
  "type": "commonjs",
@@ -36,5 +36,5 @@
36
36
  "ts-jest": "^29.1.1",
37
37
  "typescript": "^5.0.4"
38
38
  },
39
- "gitHead": "b7dcd46b040c5ad3a273b14b1a411fafc1390828"
39
+ "gitHead": "f1fbf0752de46be00d1faa0d54eb7d28016e0bb9"
40
40
  }