@livekit/protocol 1.23.0 → 1.24.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.23.0",
3
+ "version": "1.24.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -662,7 +662,7 @@ export declare class UpdateWorkerStatus extends Message<UpdateWorkerStatus> {
662
662
  load: number;
663
663
 
664
664
  /**
665
- * @generated from field: int32 job_count = 4;
665
+ * @generated from field: uint32 job_count = 4;
666
666
  */
667
667
  jobCount: number;
668
668
 
@@ -238,7 +238,7 @@ export const UpdateWorkerStatus = /*@__PURE__*/ proto3.makeMessageType(
238
238
  () => [
239
239
  { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(WorkerStatus), opt: true },
240
240
  { no: 3, name: "load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
241
- { no: 4, name: "job_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
241
+ { no: 4, name: "job_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
242
242
  ],
243
243
  );
244
244
 
@@ -284,6 +284,20 @@ export declare enum DisconnectReason {
284
284
  * @generated from enum value: ROOM_CLOSED = 10;
285
285
  */
286
286
  ROOM_CLOSED = 10,
287
+
288
+ /**
289
+ * SIP callee did not respond in time
290
+ *
291
+ * @generated from enum value: USER_UNAVAILABLE = 11;
292
+ */
293
+ USER_UNAVAILABLE = 11,
294
+
295
+ /**
296
+ * SIP callee rejected the call (busy)
297
+ *
298
+ * @generated from enum value: USER_REJECTED = 12;
299
+ */
300
+ USER_REJECTED = 12,
287
301
  }
288
302
 
289
303
  /**
@@ -138,6 +138,8 @@ export const DisconnectReason = /*@__PURE__*/ proto3.makeEnum(
138
138
  {no: 8, name: "MIGRATION"},
139
139
  {no: 9, name: "SIGNAL_CLOSE"},
140
140
  {no: 10, name: "ROOM_CLOSED"},
141
+ {no: 11, name: "USER_UNAVAILABLE"},
142
+ {no: 12, name: "USER_REJECTED"},
141
143
  ],
142
144
  );
143
145
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.23.0';
2
+ export const version = '1.24.0';
package/src/index.d.ts CHANGED
@@ -7,4 +7,5 @@ export * from "./gen/livekit_webhook_pb.js";
7
7
  export * from "./gen/livekit_egress_pb.js";
8
8
  export * from "./gen/livekit_ingress_pb.js";
9
9
  export * from "./gen/livekit_sip_pb.js";
10
+ export * from "./gen/livekit_metrics_pb.js";
10
11
  export { protoInt64 } from "@bufbuild/protobuf";
package/src/index.js CHANGED
@@ -8,4 +8,5 @@ export * from "./gen/livekit_webhook_pb.js";
8
8
  export * from "./gen/livekit_egress_pb.js";
9
9
  export * from "./gen/livekit_ingress_pb.js";
10
10
  export * from "./gen/livekit_sip_pb.js";
11
+ export * from "./gen/livekit_metrics_pb.js";
11
12
  export { protoInt64 } from "@bufbuild/protobuf";