@zixt/host 0.0.158 → 0.0.159

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 +10 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ import { homedir as homedir6 } from "node:os";
28
28
  // package.json
29
29
  var package_default = {
30
30
  name: "@zixt/host",
31
- version: "0.0.158",
31
+ version: "0.0.159",
32
32
  type: "module",
33
33
  exports: {
34
34
  ".": "./src/client.ts",
@@ -31500,6 +31500,15 @@ async function launchHostSupervisor(options = {}) {
31500
31500
  child = null;
31501
31501
  if (stopEscalation) clearTimeout(stopEscalation);
31502
31502
  stopEscalation = void 0;
31503
+ if (!stopping && ownershipDirectory !== null && !await access2(ownershipDirectory).then(
31504
+ () => true,
31505
+ () => false
31506
+ )) {
31507
+ log2(
31508
+ "Zixt Host launcher: another Zixt Host launcher took over this Machine; leaving it in charge"
31509
+ );
31510
+ return 0;
31511
+ }
31503
31512
  if (!await cleanupSupervisorBoundary(
31504
31513
  exited,
31505
31514
  childExited,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zixt/host",
3
- "version": "0.0.158",
3
+ "version": "0.0.159",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/client.ts",