@zixt/host 0.0.2 → 0.0.3
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/index.js +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19188,7 +19188,7 @@ import WebSocket from "ws";
|
|
|
19188
19188
|
// package.json
|
|
19189
19189
|
var package_default = {
|
|
19190
19190
|
name: "@zixt/host",
|
|
19191
|
-
version: "0.0.
|
|
19191
|
+
version: "0.0.3",
|
|
19192
19192
|
type: "module",
|
|
19193
19193
|
exports: {
|
|
19194
19194
|
".": "./src/client.ts",
|
|
@@ -30133,6 +30133,11 @@ function safeCliOption(value) {
|
|
|
30133
30133
|
function connectionLogContext(input) {
|
|
30134
30134
|
return {
|
|
30135
30135
|
machine: input.machine,
|
|
30136
|
+
// A Machine is whatever `npx @zixt/host` last installed, so "which
|
|
30137
|
+
// version is this one running" is the first question every stale-Host
|
|
30138
|
+
// report starts with. It rides the line the Host always prints, not a
|
|
30139
|
+
// verbose flag, because the answer is needed from logs already captured.
|
|
30140
|
+
version: input.version,
|
|
30136
30141
|
...input.verbose || input.showCloud ? { cloud: input.cloud } : {}
|
|
30137
30142
|
};
|
|
30138
30143
|
}
|
|
@@ -30365,7 +30370,8 @@ var connectionContext = connectionLogContext({
|
|
|
30365
30370
|
verbose: cliOptions.verbose,
|
|
30366
30371
|
showCloud: cliOptions.showCloud,
|
|
30367
30372
|
machine,
|
|
30368
|
-
cloud: cloudTarget
|
|
30373
|
+
cloud: cloudTarget,
|
|
30374
|
+
version: HOST_VERSION
|
|
30369
30375
|
});
|
|
30370
30376
|
var client = new HostClient({
|
|
30371
30377
|
url: url2,
|