@camstack/addon-tailscale 1.2.60 → 1.2.61
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/client/tailscale.addon.js +1 -1
- package/dist/client/tailscale.addon.mjs +1 -1
- package/dist/{dist-1YSHktSs.mjs → dist-BlLzjzzR.mjs} +20 -1
- package/dist/{dist-bgTZk5sR.js → dist-CM8irv4g.js} +20 -1
- package/dist/ingress/tailscale-ingress.addon.js +1 -1
- package/dist/ingress/tailscale-ingress.addon.mjs +1 -1
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
//#endregion
|
|
27
|
-
const require_dist = require("../dist-
|
|
27
|
+
const require_dist = require("../dist-CM8irv4g.js");
|
|
28
28
|
let node_child_process = require("node:child_process");
|
|
29
29
|
let node_util = require("node:util");
|
|
30
30
|
let node_fs = require("node:fs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-
|
|
1
|
+
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability, r as BOOT_RECOVERY_BACKOFF_MS, t as meshNetworkCapability } from "../dist-BlLzjzzR.mjs";
|
|
2
2
|
import { execFile, spawn } from "node:child_process";
|
|
3
3
|
import { promisify } from "node:util";
|
|
4
4
|
import * as fs from "node:fs";
|
|
@@ -12564,7 +12564,26 @@ var DiscoveryCandidateSchema = object({
|
|
|
12564
12564
|
* identity ahead of adoption. Rendering metadata (unit, precision)
|
|
12565
12565
|
* flows live through the cap STATUS SLICE after adoption.
|
|
12566
12566
|
*/
|
|
12567
|
-
sourceInfo: SourceInfoSchema.optional()
|
|
12567
|
+
sourceInfo: SourceInfoSchema.optional(),
|
|
12568
|
+
/**
|
|
12569
|
+
* Set when this candidate is a device the provider ALREADY owns.
|
|
12570
|
+
*
|
|
12571
|
+
* A scan cannot generally produce the identity a device was onboarded under
|
|
12572
|
+
* (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
|
|
12573
|
+
* comparison never matches and an owned device looks addable. Re-adopting one
|
|
12574
|
+
* overwrites its config with scan-derived values — that is how a Home Hub's
|
|
12575
|
+
* Baichuan port was overwritten with its ONVIF port, taking the hub and its
|
|
12576
|
+
* three child cameras offline for four hours.
|
|
12577
|
+
*
|
|
12578
|
+
* A provider that can recognise its own devices says so here. Absent means
|
|
12579
|
+
* "not recognised", which is not the same as "known to be new" — a provider
|
|
12580
|
+
* that cannot tell simply never sets it.
|
|
12581
|
+
*/
|
|
12582
|
+
alreadyOnboarded: boolean().optional(),
|
|
12583
|
+
/** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
|
|
12584
|
+
onboardedDeviceId: number().optional(),
|
|
12585
|
+
/** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
|
|
12586
|
+
onboardedName: string().optional()
|
|
12568
12587
|
});
|
|
12569
12588
|
/**
|
|
12570
12589
|
* Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
|
|
@@ -12564,7 +12564,26 @@ var DiscoveryCandidateSchema = object({
|
|
|
12564
12564
|
* identity ahead of adoption. Rendering metadata (unit, precision)
|
|
12565
12565
|
* flows live through the cap STATUS SLICE after adoption.
|
|
12566
12566
|
*/
|
|
12567
|
-
sourceInfo: SourceInfoSchema.optional()
|
|
12567
|
+
sourceInfo: SourceInfoSchema.optional(),
|
|
12568
|
+
/**
|
|
12569
|
+
* Set when this candidate is a device the provider ALREADY owns.
|
|
12570
|
+
*
|
|
12571
|
+
* A scan cannot generally produce the identity a device was onboarded under
|
|
12572
|
+
* (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
|
|
12573
|
+
* comparison never matches and an owned device looks addable. Re-adopting one
|
|
12574
|
+
* overwrites its config with scan-derived values — that is how a Home Hub's
|
|
12575
|
+
* Baichuan port was overwritten with its ONVIF port, taking the hub and its
|
|
12576
|
+
* three child cameras offline for four hours.
|
|
12577
|
+
*
|
|
12578
|
+
* A provider that can recognise its own devices says so here. Absent means
|
|
12579
|
+
* "not recognised", which is not the same as "known to be new" — a provider
|
|
12580
|
+
* that cannot tell simply never sets it.
|
|
12581
|
+
*/
|
|
12582
|
+
alreadyOnboarded: boolean().optional(),
|
|
12583
|
+
/** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
|
|
12584
|
+
onboardedDeviceId: number().optional(),
|
|
12585
|
+
/** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
|
|
12586
|
+
onboardedName: string().optional()
|
|
12568
12587
|
});
|
|
12569
12588
|
/**
|
|
12570
12589
|
* Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-CM8irv4g.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 { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-
|
|
1
|
+
import { a as EventCategory, i as BaseAddon, n as networkAccessCapability } from "../dist-BlLzjzzR.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.61",
|
|
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",
|