@wix/ditto-codegen-public 1.0.92 → 1.0.93

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/out.js +4 -2
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -78381,13 +78381,15 @@ var TaskExecutor = class {
78381
78381
  });
78382
78382
  }
78383
78383
  /**
78384
- * Kills the child process if it's running and updates status to CANCELLED
78384
+ * Kills the child process if it's running and updates status to CANCELLED only if the job was cancelled
78385
78385
  */
78386
78386
  async kill() {
78387
78387
  if (this.child && !this.child.killed) {
78388
78388
  try {
78389
78389
  this.child.kill();
78390
- await codeGenerationService.markJobAsCancelled(this.jobId);
78390
+ if (this.wasCancelled) {
78391
+ await codeGenerationService.markJobAsCancelled(this.jobId);
78392
+ }
78391
78393
  } catch (error) {
78392
78394
  console.error("[TaskExecutor] Error killing process:", error);
78393
78395
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -24,5 +24,5 @@
24
24
  "@wix/ditto-codegen": "1.0.0",
25
25
  "esbuild": "^0.25.9"
26
26
  },
27
- "falconPackageHash": "72246d1af7b61368c2a2c9f8103397d125fe9c2223a15f7740a82a1f"
27
+ "falconPackageHash": "7ca771bd9b3080bcfe36d0fb4a4c946664e5c59fc94ddc9f4e5dfa97"
28
28
  }