@camstack/server 1.2.902 → 1.2.903
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 +6 -0
- package/package.json +9 -13
- package/system/dist/addon-runner.js +2 -2
- package/system/dist/addon-runner.mjs +2 -2
- package/system/dist/index.js +2 -2
- package/system/dist/index.mjs +2 -2
- package/system/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.903] - 2026-11-18
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- A forked addon can ask for a device with its bindings freshly read, so a capability added after boot is no longer missed
|
|
15
|
+
|
|
10
16
|
## [1.2.902] - 2026-11-18
|
|
11
17
|
|
|
12
18
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.903",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -66,14 +66,10 @@
|
|
|
66
66
|
],
|
|
67
67
|
"requires": {
|
|
68
68
|
"addons": {
|
|
69
|
-
"@camstack/addon-admin-ui": ">=1.2.
|
|
70
|
-
"@camstack/addon-
|
|
71
|
-
"@camstack/addon-pipeline": ">=1.2.
|
|
72
|
-
"@camstack/addon-pipeline-orchestrator": ">=1.2.
|
|
73
|
-
"@camstack/addon-post-analysis": ">=1.2.717",
|
|
74
|
-
"@camstack/addon-provider-unifi": ">=0.2.171",
|
|
75
|
-
"@camstack/addon-provider-unraid": ">=0.2.173",
|
|
76
|
-
"@camstack/addon-provider-vesync": ">=0.2.168"
|
|
69
|
+
"@camstack/addon-admin-ui": ">=1.2.701",
|
|
70
|
+
"@camstack/addon-export-hap": ">=1.2.208",
|
|
71
|
+
"@camstack/addon-pipeline": ">=1.2.665",
|
|
72
|
+
"@camstack/addon-pipeline-orchestrator": ">=1.2.704"
|
|
77
73
|
},
|
|
78
74
|
"wrapper": {
|
|
79
75
|
"desktop": ">=0.0.1",
|
|
@@ -82,18 +78,18 @@
|
|
|
82
78
|
}
|
|
83
79
|
},
|
|
84
80
|
"dependencies": {
|
|
85
|
-
"@camstack/addon-admin-ui": "1.2.
|
|
81
|
+
"@camstack/addon-admin-ui": "1.2.701",
|
|
86
82
|
"@camstack/addon-agent-ui": "1.2.410",
|
|
87
83
|
"@camstack/addon-auth": "1.2.182",
|
|
88
84
|
"@camstack/addon-benchmark": "1.2.313",
|
|
89
85
|
"@camstack/addon-decoder-nodeav": "1.2.149",
|
|
90
86
|
"@camstack/addon-notifiers": "1.2.639",
|
|
91
|
-
"@camstack/addon-pipeline": "1.2.
|
|
92
|
-
"@camstack/addon-pipeline-orchestrator": "1.2.
|
|
87
|
+
"@camstack/addon-pipeline": "1.2.665",
|
|
88
|
+
"@camstack/addon-pipeline-orchestrator": "1.2.704",
|
|
93
89
|
"@camstack/addon-post-analysis": "1.2.717",
|
|
94
90
|
"@camstack/develop": "0.1.54",
|
|
95
91
|
"@camstack/sdk": "1.2.159",
|
|
96
|
-
"@camstack/types": "1.2.
|
|
92
|
+
"@camstack/types": "1.2.596",
|
|
97
93
|
"@camstack/ui-library": "1.2.471",
|
|
98
94
|
"@fastify/compress": "^9.0.0",
|
|
99
95
|
"@fastify/cookie": "^11.0.2",
|
|
@@ -11685,8 +11685,8 @@ async function buildAddonContext(runtime, declaration, dataDir, options) {
|
|
|
11685
11685
|
bypassWrapper: true
|
|
11686
11686
|
});
|
|
11687
11687
|
},
|
|
11688
|
-
fetchDevice: async (deviceId) => {
|
|
11689
|
-
const cached = bindingCache.get(deviceId);
|
|
11688
|
+
fetchDevice: async (deviceId, options) => {
|
|
11689
|
+
const cached = options?.fresh === true ? void 0 : bindingCache.get(deviceId);
|
|
11690
11690
|
if (cached) return (0, _camstack_types_addon.createDeviceProxy)(api, cached, { stateSource: deviceSliceSource });
|
|
11691
11691
|
const binding = await api.deviceManager.getBindings.query({ deviceId });
|
|
11692
11692
|
bindingCache.set(deviceId, binding);
|
|
@@ -11630,8 +11630,8 @@ async function buildAddonContext(runtime, declaration, dataDir, options) {
|
|
|
11630
11630
|
bypassWrapper: true
|
|
11631
11631
|
});
|
|
11632
11632
|
},
|
|
11633
|
-
fetchDevice: async (deviceId) => {
|
|
11634
|
-
const cached = bindingCache.get(deviceId);
|
|
11633
|
+
fetchDevice: async (deviceId, options) => {
|
|
11634
|
+
const cached = options?.fresh === true ? void 0 : bindingCache.get(deviceId);
|
|
11635
11635
|
if (cached) return createDeviceProxy(api, cached, { stateSource: deviceSliceSource });
|
|
11636
11636
|
const binding = await api.deviceManager.getBindings.query({ deviceId });
|
|
11637
11637
|
bindingCache.set(deviceId, binding);
|
package/system/dist/index.js
CHANGED
|
@@ -22309,8 +22309,8 @@ async function buildAddonContext(runtime, declaration, dataDir, options) {
|
|
|
22309
22309
|
bypassWrapper: true
|
|
22310
22310
|
});
|
|
22311
22311
|
},
|
|
22312
|
-
fetchDevice: async (deviceId) => {
|
|
22313
|
-
const cached = bindingCache.get(deviceId);
|
|
22312
|
+
fetchDevice: async (deviceId, options) => {
|
|
22313
|
+
const cached = options?.fresh === true ? void 0 : bindingCache.get(deviceId);
|
|
22314
22314
|
if (cached) return (0, _camstack_types_addon.createDeviceProxy)(api, cached, { stateSource: deviceSliceSource });
|
|
22315
22315
|
const binding = await api.deviceManager.getBindings.query({ deviceId });
|
|
22316
22316
|
bindingCache.set(deviceId, binding);
|
package/system/dist/index.mjs
CHANGED
|
@@ -22305,8 +22305,8 @@ async function buildAddonContext(runtime, declaration, dataDir, options) {
|
|
|
22305
22305
|
bypassWrapper: true
|
|
22306
22306
|
});
|
|
22307
22307
|
},
|
|
22308
|
-
fetchDevice: async (deviceId) => {
|
|
22309
|
-
const cached = bindingCache.get(deviceId);
|
|
22308
|
+
fetchDevice: async (deviceId, options) => {
|
|
22309
|
+
const cached = options?.fresh === true ? void 0 : bindingCache.get(deviceId);
|
|
22310
22310
|
if (cached) return createDeviceProxy(api, cached, { stateSource: deviceSliceSource });
|
|
22311
22311
|
const binding = await api.deviceManager.getBindings.query({ deviceId });
|
|
22312
22312
|
bindingCache.set(deviceId, binding);
|