@camstack/addon-tailscale 1.2.119 → 1.2.121
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.
- package/dist/{auth-key-file-Czokmvfx.js → auth-key-file-Bh3STbNm.js} +3490 -125
- package/dist/{auth-key-file-CVMhmHD4.mjs → auth-key-file-DZtXVeVu.mjs} +3490 -125
- package/dist/client/tailscale.addon.js +2 -5
- package/dist/client/tailscale.addon.mjs +2 -5
- package/dist/ingress/tailscale-ingress.addon.js +1 -1
- package/dist/ingress/tailscale-ingress.addon.mjs +1 -1
- package/package.json +3 -2
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_auth_key_file = require("../auth-key-file-
|
|
5
|
+
const require_auth_key_file = require("../auth-key-file-Bh3STbNm.js");
|
|
6
6
|
let node_child_process = require("node:child_process");
|
|
7
7
|
let node_util = require("node:util");
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -976,10 +976,7 @@ var TailscaleClientAddon = class extends require_auth_key_file.BaseAddon {
|
|
|
976
976
|
phase: "logout"
|
|
977
977
|
} });
|
|
978
978
|
await this.requireCli().logout();
|
|
979
|
-
if (this.config.authKey) await this.
|
|
980
|
-
authKey: "",
|
|
981
|
-
hostname: this.config.hostname
|
|
982
|
-
});
|
|
979
|
+
if (this.config.authKey) await this.clearSecrets(["authKey"]);
|
|
983
980
|
return { loggedOut: true };
|
|
984
981
|
}
|
|
985
982
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as BOOT_RECOVERY_BACKOFF_MS, i as networkAccessCapability, n as withAuthKeyFile, o as BaseAddon, r as meshNetworkCapability, s as EventCategory, t as scrubSecret } from "../auth-key-file-
|
|
1
|
+
import { a as BOOT_RECOVERY_BACKOFF_MS, i as networkAccessCapability, n as withAuthKeyFile, o as BaseAddon, r as meshNetworkCapability, s as EventCategory, t as scrubSecret } from "../auth-key-file-DZtXVeVu.mjs";
|
|
2
2
|
import { execFile, spawn } from "node:child_process";
|
|
3
3
|
import { promisify } from "node:util";
|
|
4
4
|
import * as path from "node:path";
|
|
@@ -970,10 +970,7 @@ var TailscaleClientAddon = class extends BaseAddon {
|
|
|
970
970
|
phase: "logout"
|
|
971
971
|
} });
|
|
972
972
|
await this.requireCli().logout();
|
|
973
|
-
if (this.config.authKey) await this.
|
|
974
|
-
authKey: "",
|
|
975
|
-
hostname: this.config.hostname
|
|
976
|
-
});
|
|
973
|
+
if (this.config.authKey) await this.clearSecrets(["authKey"]);
|
|
977
974
|
return { loggedOut: true };
|
|
978
975
|
}
|
|
979
976
|
/**
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_auth_key_file = require("../auth-key-file-
|
|
5
|
+
const require_auth_key_file = require("../auth-key-file-Bh3STbNm.js");
|
|
6
6
|
let node_crypto = require("node:crypto");
|
|
7
7
|
let node_child_process = require("node:child_process");
|
|
8
8
|
//#region src/ingress/tailscale-cli.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as networkAccessCapability, n as withAuthKeyFile, o as BaseAddon, s as EventCategory, t as scrubSecret } from "../auth-key-file-
|
|
1
|
+
import { i as networkAccessCapability, n as withAuthKeyFile, o as BaseAddon, s as EventCategory, t as scrubSecret } from "../auth-key-file-DZtXVeVu.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { execFile } from "node:child_process";
|
|
4
4
|
import { promisify } from "node:util";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-tailscale",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.121",
|
|
4
4
|
"description": "Tailscale bundle for CamStack — joins the host to a tailnet (client) and exposes the hub via Serve/Funnel (ingress). Multi-entry npm package shipping 2 addons under a single bundle.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
],
|
|
86
86
|
"scripts": {
|
|
87
87
|
"build": "vite build",
|
|
88
|
-
"typecheck": "tsc --noEmit",
|
|
88
|
+
"typecheck": "tsc --noEmit -p tsconfig.spec.json",
|
|
89
|
+
"test": "vitest run",
|
|
89
90
|
"validate": "tsx ../../scripts/validate-addon.ts .",
|
|
90
91
|
"publish:npm": "npm publish --access public"
|
|
91
92
|
},
|