camstreamerlib 4.0.0-beta.6 → 4.0.0-beta.7

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.
@@ -19,6 +19,7 @@ export const APP_IDS = [
19
19
  'CamScripter',
20
20
  'PlaneTracker',
21
21
  'Ndihxplugin',
22
+ 'SportTracker',
22
23
  ];
23
24
  export const applicationListSchema = z.object({
24
25
  reply: z.object({
@@ -67,7 +68,7 @@ export const audioDeviceSignalingChannelTypeSchema = z.object({
67
68
  });
68
69
  export const audioDeviceSignalingTypeSchema = z.object({
69
70
  id: z.string(),
70
- powerType: z.string(),
71
+ powerType: z.string().optional(),
71
72
  channels: z.array(audioDeviceSignalingChannelTypeSchema),
72
73
  });
73
74
  export const audioDeviceConnectionTypeSchema = z.object({
@@ -94,7 +95,9 @@ const audioDeviceFromRequestSchema = z.object({
94
95
  inputs: z.array(audioDeviceInputOutputSchema).optional(),
95
96
  outputs: z.array(audioDeviceInputOutputSchema).optional(),
96
97
  });
97
- export const audioDeviceRequestSchema = z.object({ devices: z.array(audioDeviceFromRequestSchema) });
98
+ export const audioDeviceRequestSchema = z.object({
99
+ data: z.object({ devices: z.array(audioDeviceFromRequestSchema) }),
100
+ });
98
101
  export const maxFpsResponseSchema = z.object({
99
102
  data: z
100
103
  .array(z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstreamerlib",
3
- "version": "4.0.0-beta.6",
3
+ "version": "4.0.0-beta.7",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "prettier": "@camstreamer/prettier-config",
6
6
  "dependencies": {