@camstack/server 1.2.765 → 1.2.767
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/CHANGELOG.md +12 -0
- package/dist/api/core/cap-providers.js +4 -1
- package/package.json +6 -22
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.mjs +281 -281
- package/system/dist/index.mjs +1 -1
- package/system/dist/{restore-archive-nWi73iy0.mjs → restore-archive-VoiEuTJN.mjs} +81 -81
- package/system/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.767] - 2026-11-04
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Rebuilt against updated dependencies.
|
|
15
|
+
|
|
16
|
+
## [1.2.766] - 2026-11-04
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Reading the settings of a legacy integration row no instance record answers for now returns the row instead of an empty object.
|
|
21
|
+
|
|
10
22
|
## [1.2.765] - 2026-11-04
|
|
11
23
|
|
|
12
24
|
### Changed
|
|
@@ -1371,7 +1371,10 @@ function buildIntegrationsProvider(ar, eb, loggingService, capabilityRegistry) {
|
|
|
1371
1371
|
const instances = getInstancesProvider(ar, integration.addonId);
|
|
1372
1372
|
if (instances !== null) {
|
|
1373
1373
|
const instance = await instances.getInstance({ id: input.id });
|
|
1374
|
-
|
|
1374
|
+
if (instance !== null && instance !== undefined)
|
|
1375
|
+
return instance.formValues;
|
|
1376
|
+
// No instance record carries this id: it is a legacy row the addon has not moved yet
|
|
1377
|
+
// (its migration reads it here), so answer the row, never an empty object (D1007).
|
|
1375
1378
|
}
|
|
1376
1379
|
// The integration's own addon (the caller the transport stamped) reads
|
|
1377
1380
|
// its secrets resolved; anyone else — the admin form — reads "set"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.767",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -66,24 +66,8 @@
|
|
|
66
66
|
],
|
|
67
67
|
"requires": {
|
|
68
68
|
"addons": {
|
|
69
|
-
"@camstack/addon-admin-ui": ">=1.2.
|
|
70
|
-
"@camstack/addon-
|
|
71
|
-
"@camstack/addon-provider-dreame": ">=0.2.164",
|
|
72
|
-
"@camstack/addon-provider-dreo": ">=0.2.154",
|
|
73
|
-
"@camstack/addon-provider-ecowitt": ">=0.2.155",
|
|
74
|
-
"@camstack/addon-provider-enpal": ">=0.1.8",
|
|
75
|
-
"@camstack/addon-provider-esphome": ">=0.1.10",
|
|
76
|
-
"@camstack/addon-provider-homematic": ">=1.2.182",
|
|
77
|
-
"@camstack/addon-provider-mqtt-ha": ">=0.1.36",
|
|
78
|
-
"@camstack/addon-provider-onvif": ">=1.2.154",
|
|
79
|
-
"@camstack/addon-provider-petkit": ">=0.2.159",
|
|
80
|
-
"@camstack/addon-provider-rademacher": ">=0.2.158",
|
|
81
|
-
"@camstack/addon-provider-reolink": ">=1.2.223",
|
|
82
|
-
"@camstack/addon-provider-tuya": ">=0.2.150",
|
|
83
|
-
"@camstack/addon-provider-unifi": ">=0.2.155",
|
|
84
|
-
"@camstack/addon-provider-unraid": ">=0.2.156",
|
|
85
|
-
"@camstack/addon-provider-velux": ">=0.2.158",
|
|
86
|
-
"@camstack/addon-provider-wyze": ">=0.2.162"
|
|
69
|
+
"@camstack/addon-admin-ui": ">=1.2.584",
|
|
70
|
+
"@camstack/addon-pipeline-orchestrator": ">=1.2.659"
|
|
87
71
|
},
|
|
88
72
|
"wrapper": {
|
|
89
73
|
"desktop": ">=0.0.1",
|
|
@@ -92,18 +76,18 @@
|
|
|
92
76
|
}
|
|
93
77
|
},
|
|
94
78
|
"dependencies": {
|
|
95
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
79
|
+
"@camstack/addon-admin-ui": "1.2.584",
|
|
96
80
|
"@camstack/addon-agent-ui": "1.2.324",
|
|
97
81
|
"@camstack/addon-auth": "1.2.175",
|
|
98
82
|
"@camstack/addon-benchmark": "1.2.311",
|
|
99
83
|
"@camstack/addon-decoder-nodeav": "1.2.145",
|
|
100
84
|
"@camstack/addon-notifiers": "1.2.628",
|
|
101
85
|
"@camstack/addon-pipeline": "1.2.640",
|
|
102
|
-
"@camstack/addon-pipeline-orchestrator": "1.2.
|
|
86
|
+
"@camstack/addon-pipeline-orchestrator": "1.2.659",
|
|
103
87
|
"@camstack/addon-post-analysis": "1.2.667",
|
|
104
88
|
"@camstack/develop": "0.1.44",
|
|
105
89
|
"@camstack/sdk": "1.2.155",
|
|
106
|
-
"@camstack/types": "1.2.
|
|
90
|
+
"@camstack/types": "1.2.499",
|
|
107
91
|
"@camstack/ui-library": "1.2.382",
|
|
108
92
|
"@fastify/compress": "^9.0.0",
|
|
109
93
|
"@fastify/cookie": "^11.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Sa as storageOccupancyCapability, Vs as nodePin, _n as backupCapability, dc as EventCategory, nc as toNodeId, si as mayWriteToLocation, wo as BaseAddon } from "../../dist-BhR34kF8.mjs";
|
|
2
2
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
3
|
-
import { _ as backupRecordStoresOf, a as BackupSnapshotRefusedError, d as ENCRYPTED_BACKUP_SUFFIX, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, i as BackupCancelledError, l as BackupKeyFormatError, m as parseBackupSecretKey, n as precheckRestoreKey, o as DEFAULT_BACKUP_DATABASES, p as parseBackupPublicKey, r as prepareRestoreArchive, s as SystemBackupService } from "../../restore-archive-
|
|
3
|
+
import { _ as backupRecordStoresOf, a as BackupSnapshotRefusedError, d as ENCRYPTED_BACKUP_SUFFIX, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, i as BackupCancelledError, l as BackupKeyFormatError, m as parseBackupSecretKey, n as precheckRestoreKey, o as DEFAULT_BACKUP_DATABASES, p as parseBackupPublicKey, r as prepareRestoreArchive, s as SystemBackupService } from "../../restore-archive-VoiEuTJN.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import * as fsp from "node:fs/promises";
|
|
6
6
|
import * as path$1 from "node:path";
|