@psychout98/tadaima 1.1.7 → 1.1.9

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 +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/index.ts
4
- var pkg = { version: "1.1.7" };
4
+ var pkg = { version: "1.1.9" };
5
5
  var args = process.argv.slice(2);
6
6
  var command = args[0];
7
7
  async function main() {
@@ -86,11 +86,12 @@ async function main() {
86
86
  version: pkg.version,
87
87
  pid: process.pid,
88
88
  connected,
89
- relayUrl: agentConfig.get("relay"),
89
+ relay: agentConfig.get("relay"),
90
90
  deviceId: agentConfig.get("deviceId"),
91
91
  deviceName: agentConfig.get("deviceName"),
92
92
  activeDownloads: handler.activeCount,
93
- lastHeartbeat: (/* @__PURE__ */ new Date()).toISOString()
93
+ lastHeartbeat: (/* @__PURE__ */ new Date()).toISOString(),
94
+ updateAvailable: pendingUpdate?.version ?? null
94
95
  });
95
96
  const writeStatusSafe = (connected) => {
96
97
  writeStatusFile(snapshotStatus(connected)).catch((err) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@psychout98/tadaima",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "CLI download agent for Tadaima — a self-hosted media download orchestrator",
5
5
  "type": "module",
6
6
  "license": "MIT",