@camstack/addon-provider-amcrest 0.2.7 → 0.2.8
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/addon.js +12 -0
- package/dist/addon.mjs +12 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -14075,6 +14075,18 @@ var motionCapability = {
|
|
|
14075
14075
|
name: "motion",
|
|
14076
14076
|
scope: "device",
|
|
14077
14077
|
mode: "singleton",
|
|
14078
|
+
/**
|
|
14079
|
+
* Providers register per-device natives via `ctx.registerNativeCap`
|
|
14080
|
+
* (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
|
|
14081
|
+
* NO system singleton provider. Without this flag `resolveCapMount`
|
|
14082
|
+
* derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
|
|
14083
|
+
* resolved via `registry.getSingleton('motion')` (always null) and every
|
|
14084
|
+
* call 412'd "provider not available" while bindings listed a live
|
|
14085
|
+
* `motion` native (2026-08-02). The flag routes the router through
|
|
14086
|
+
* `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
|
|
14087
|
+
* `snapshot` and every other per-device native cap.
|
|
14088
|
+
*/
|
|
14089
|
+
deviceNative: true,
|
|
14078
14090
|
deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
|
|
14079
14091
|
methods: {
|
|
14080
14092
|
/**
|
package/dist/addon.mjs
CHANGED
|
@@ -14076,6 +14076,18 @@ var motionCapability = {
|
|
|
14076
14076
|
name: "motion",
|
|
14077
14077
|
scope: "device",
|
|
14078
14078
|
mode: "singleton",
|
|
14079
|
+
/**
|
|
14080
|
+
* Providers register per-device natives via `ctx.registerNativeCap`
|
|
14081
|
+
* (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
|
|
14082
|
+
* NO system singleton provider. Without this flag `resolveCapMount`
|
|
14083
|
+
* derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
|
|
14084
|
+
* resolved via `registry.getSingleton('motion')` (always null) and every
|
|
14085
|
+
* call 412'd "provider not available" while bindings listed a live
|
|
14086
|
+
* `motion` native (2026-08-02). The flag routes the router through
|
|
14087
|
+
* `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
|
|
14088
|
+
* `snapshot` and every other per-device native cap.
|
|
14089
|
+
*/
|
|
14090
|
+
deviceNative: true,
|
|
14079
14091
|
deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
|
|
14080
14092
|
methods: {
|
|
14081
14093
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-amcrest",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "Amcrest/Dahua camera device provider addon for CamStack — Dahua CGI over HTTP(S) with digest auth (snapshot, RTSP catalog, PTZ, image/day-night config)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|