@camstack/addon-provider-onvif 1.2.134 → 1.2.135

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
@@ -58116,9 +58116,24 @@ var NpuInfoSchema = object({
58116
58116
  name: string().optional(),
58117
58117
  generation: _enum(["xdna1", "xdna2"]).optional()
58118
58118
  });
58119
+ var CoralBusSchema = _enum(["usb", "pci"]);
58119
58120
  var CoralInfoSchema = object({
58120
58121
  type: literal("coral-edgetpu"),
58121
- bus: string().optional()
58122
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
58123
+ bus: string().optional(),
58124
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
58125
+ count: number().int().nonnegative().optional(),
58126
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
58127
+ units: array(object({
58128
+ bus: CoralBusSchema,
58129
+ count: number().int().nonnegative()
58130
+ })).readonly().optional(),
58131
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
58132
+ unavailable: array(object({
58133
+ bus: CoralBusSchema,
58134
+ count: number().int().nonnegative(),
58135
+ reason: _enum(["driver-missing", "device-not-accessible"])
58136
+ })).readonly().optional()
58122
58137
  });
58123
58138
  var HardwareInfoSchema = object({
58124
58139
  platform: HardwarePlatformSchema,
package/dist/addon.mjs CHANGED
@@ -58117,9 +58117,24 @@ var NpuInfoSchema = object({
58117
58117
  name: string().optional(),
58118
58118
  generation: _enum(["xdna1", "xdna2"]).optional()
58119
58119
  });
58120
+ var CoralBusSchema = _enum(["usb", "pci"]);
58120
58121
  var CoralInfoSchema = object({
58121
58122
  type: literal("coral-edgetpu"),
58122
- bus: string().optional()
58123
+ /** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
58124
+ bus: string().optional(),
58125
+ /** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
58126
+ count: number().int().nonnegative().optional(),
58127
+ /** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
58128
+ units: array(object({
58129
+ bus: CoralBusSchema,
58130
+ count: number().int().nonnegative()
58131
+ })).readonly().optional(),
58132
+ /** Present-but-unusable units, each with its typed reason (never "absent"). */
58133
+ unavailable: array(object({
58134
+ bus: CoralBusSchema,
58135
+ count: number().int().nonnegative(),
58136
+ reason: _enum(["driver-missing", "device-not-accessible"])
58137
+ })).readonly().optional()
58123
58138
  });
58124
58139
  var HardwareInfoSchema = object({
58125
58140
  platform: HardwarePlatformSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-onvif",
3
- "version": "1.2.134",
3
+ "version": "1.2.135",
4
4
  "description": "ONVIF camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",