@camstack/addon-provider-hikvision 1.2.158 → 1.2.159

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
@@ -61376,9 +61376,24 @@ var NpuInfoSchema = object({
61376
61376
  name: string().optional(),
61377
61377
  generation: _enum(["xdna1", "xdna2"]).optional()
61378
61378
  });
61379
+ var CoralBusSchema = _enum(["usb", "pci"]);
61379
61380
  var CoralInfoSchema = object({
61380
61381
  type: literal("coral-edgetpu"),
61381
- bus: string().optional()
61382
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61383
+ bus: string().optional(),
61384
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61385
+ count: number().int().nonnegative().optional(),
61386
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61387
+ units: array(object({
61388
+ bus: CoralBusSchema,
61389
+ count: number().int().nonnegative()
61390
+ })).readonly().optional(),
61391
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61392
+ unavailable: array(object({
61393
+ bus: CoralBusSchema,
61394
+ count: number().int().nonnegative(),
61395
+ reason: _enum(["driver-missing", "device-not-accessible"])
61396
+ })).readonly().optional()
61382
61397
  });
61383
61398
  var HardwareInfoSchema = object({
61384
61399
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -61355,9 +61355,24 @@ var NpuInfoSchema = object({
61355
61355
  name: string().optional(),
61356
61356
  generation: _enum(["xdna1", "xdna2"]).optional()
61357
61357
  });
61358
+ var CoralBusSchema = _enum(["usb", "pci"]);
61358
61359
  var CoralInfoSchema = object({
61359
61360
  type: literal("coral-edgetpu"),
61360
- bus: string().optional()
61361
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
61362
+ bus: string().optional(),
61363
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
61364
+ count: number().int().nonnegative().optional(),
61365
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
61366
+ units: array(object({
61367
+ bus: CoralBusSchema,
61368
+ count: number().int().nonnegative()
61369
+ })).readonly().optional(),
61370
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
61371
+ unavailable: array(object({
61372
+ bus: CoralBusSchema,
61373
+ count: number().int().nonnegative(),
61374
+ reason: _enum(["driver-missing", "device-not-accessible"])
61375
+ })).readonly().optional()
61361
61376
  });
61362
61377
  var HardwareInfoSchema = object({
61363
61378
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-hikvision",
3
- "version": "1.2.158",
3
+ "version": "1.2.159",
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",