camstreamerlib 5.0.1-5fad3e0 → 5.0.1-5ff3947

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 @@ declare const csEventsDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19
19
  message: z.ZodString;
20
20
  streamId: z.ZodString;
21
21
  code: z.ZodString;
22
+ reason: z.ZodOptional<z.ZodString>;
22
23
  }, z.core.$strip>, z.ZodObject<{
23
24
  type: z.ZodLiteral<"PortChanged">;
24
25
  port: z.ZodNumber;
@@ -46,6 +47,7 @@ export declare const csEventsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
46
47
  message: z.ZodString;
47
48
  streamId: z.ZodString;
48
49
  code: z.ZodString;
50
+ reason: z.ZodOptional<z.ZodString>;
49
51
  }, z.core.$strip>, z.ZodObject<{
50
52
  type: z.ZodLiteral<"PortChanged">;
51
53
  port: z.ZodNumber;
@@ -71,6 +73,7 @@ export declare const csEventsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
71
73
  message: z.ZodString;
72
74
  streamId: z.ZodString;
73
75
  code: z.ZodString;
76
+ reason: z.ZodOptional<z.ZodString>;
74
77
  }, z.core.$strip>, z.ZodObject<{
75
78
  type: z.ZodLiteral<"PortChanged">;
76
79
  port: z.ZodNumber;
@@ -23,6 +23,7 @@ const csEventsDataSchema = zod_1.z.discriminatedUnion('type', [
23
23
  message: zod_1.z.string(),
24
24
  streamId: zod_1.z.string(),
25
25
  code: zod_1.z.string(),
26
+ reason: zod_1.z.string().optional(),
26
27
  }),
27
28
  zod_1.z.object({
28
29
  type: zod_1.z.literal('PortChanged'),
@@ -20,6 +20,7 @@ const csEventsDataSchema = z.discriminatedUnion('type', [
20
20
  message: z.string(),
21
21
  streamId: z.string(),
22
22
  code: z.string(),
23
+ reason: z.string().optional(),
23
24
  }),
24
25
  z.object({
25
26
  type: z.literal('PortChanged'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstreamerlib",
3
- "version": "5.0.1-5fad3e0",
3
+ "version": "5.0.1-5ff3947",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "prettier": "@camstreamer/prettier-config",
6
6
  "engines": {
@@ -19,6 +19,7 @@ declare const csEventsDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19
19
  message: z.ZodString;
20
20
  streamId: z.ZodString;
21
21
  code: z.ZodString;
22
+ reason: z.ZodOptional<z.ZodString>;
22
23
  }, z.core.$strip>, z.ZodObject<{
23
24
  type: z.ZodLiteral<"PortChanged">;
24
25
  port: z.ZodNumber;
@@ -46,6 +47,7 @@ export declare const csEventsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
46
47
  message: z.ZodString;
47
48
  streamId: z.ZodString;
48
49
  code: z.ZodString;
50
+ reason: z.ZodOptional<z.ZodString>;
49
51
  }, z.core.$strip>, z.ZodObject<{
50
52
  type: z.ZodLiteral<"PortChanged">;
51
53
  port: z.ZodNumber;
@@ -71,6 +73,7 @@ export declare const csEventsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
71
73
  message: z.ZodString;
72
74
  streamId: z.ZodString;
73
75
  code: z.ZodString;
76
+ reason: z.ZodOptional<z.ZodString>;
74
77
  }, z.core.$strip>, z.ZodObject<{
75
78
  type: z.ZodLiteral<"PortChanged">;
76
79
  port: z.ZodNumber;