@camstack/addon-provider-hikvision 1.2.9 → 1.2.10

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 CHANGED
@@ -14267,6 +14267,18 @@ var motionCapability = {
14267
14267
  name: "motion",
14268
14268
  scope: "device",
14269
14269
  mode: "singleton",
14270
+ /**
14271
+ * Providers register per-device natives via `ctx.registerNativeCap`
14272
+ * (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
14273
+ * NO system singleton provider. Without this flag `resolveCapMount`
14274
+ * derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
14275
+ * resolved via `registry.getSingleton('motion')` (always null) and every
14276
+ * call 412'd "provider not available" while bindings listed a live
14277
+ * `motion` native (2026-08-02). The flag routes the router through
14278
+ * `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
14279
+ * `snapshot` and every other per-device native cap.
14280
+ */
14281
+ deviceNative: true,
14270
14282
  deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
14271
14283
  methods: {
14272
14284
  /**
package/dist/addon.mjs CHANGED
@@ -14268,6 +14268,18 @@ var motionCapability = {
14268
14268
  name: "motion",
14269
14269
  scope: "device",
14270
14270
  mode: "singleton",
14271
+ /**
14272
+ * Providers register per-device natives via `ctx.registerNativeCap`
14273
+ * (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
14274
+ * NO system singleton provider. Without this flag `resolveCapMount`
14275
+ * derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
14276
+ * resolved via `registry.getSingleton('motion')` (always null) and every
14277
+ * call 412'd "provider not available" while bindings listed a live
14278
+ * `motion` native (2026-08-02). The flag routes the router through
14279
+ * `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
14280
+ * `snapshot` and every other per-device native cap.
14281
+ */
14282
+ deviceNative: true,
14271
14283
  deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
14272
14284
  methods: {
14273
14285
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-hikvision",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
5
5
  "keywords": [
6
6
  "camstack",