@arcote.tech/arc-cli 0.5.0 → 0.5.2

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/dist/index.js +2 -1
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -28110,7 +28110,8 @@ function querySubscriptionHandler() {
28110
28110
  };
28111
28111
  sendData();
28112
28112
  const element = ctx.contextHandler.getModel().context.get(descriptor.element);
28113
- const eventTypes = element?.getElements?.()?.map((e) => e.name) ?? [];
28113
+ const handlers = element?.getHandlers?.();
28114
+ const eventTypes = handlers ? Object.keys(handlers) : [];
28114
28115
  let debounceTimer;
28115
28116
  const debouncedSend = () => {
28116
28117
  if (debounceTimer)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcote.tech/arc-cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "CLI tool for Arc framework",
5
5
  "module": "index.ts",
6
6
  "main": "dist/index.js",
@@ -12,12 +12,12 @@
12
12
  "build": "bun build --target=bun ./src/index.ts --outdir=dist --external @arcote.tech/arc --external @arcote.tech/arc-ds --external @arcote.tech/arc-react --external @arcote.tech/platform && chmod +x dist/index.js"
13
13
  },
14
14
  "dependencies": {
15
- "@arcote.tech/arc": "^0.5.0",
16
- "@arcote.tech/arc-ds": "^0.5.0",
17
- "@arcote.tech/arc-react": "^0.5.0",
18
- "@arcote.tech/arc-host": "^0.5.0",
19
- "@arcote.tech/arc-adapter-db-sqlite": "^0.5.0",
20
- "@arcote.tech/platform": "^0.5.0",
15
+ "@arcote.tech/arc": "^0.5.2",
16
+ "@arcote.tech/arc-ds": "^0.5.2",
17
+ "@arcote.tech/arc-react": "^0.5.2",
18
+ "@arcote.tech/arc-host": "^0.5.2",
19
+ "@arcote.tech/arc-adapter-db-sqlite": "^0.5.2",
20
+ "@arcote.tech/platform": "^0.5.2",
21
21
  "commander": "^11.1.0",
22
22
  "chokidar": "^3.5.3",
23
23
  "glob": "^10.3.10",