livekit-client 1.6.7 → 1.6.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/dist/livekit-client.esm.mjs +429 -250
  2. package/dist/livekit-client.esm.mjs.map +1 -1
  3. package/dist/livekit-client.umd.js +1 -1
  4. package/dist/livekit-client.umd.js.map +1 -1
  5. package/dist/src/proto/google/protobuf/timestamp.d.ts +9 -2
  6. package/dist/src/proto/google/protobuf/timestamp.d.ts.map +1 -1
  7. package/dist/src/proto/livekit_models.d.ts +958 -58
  8. package/dist/src/proto/livekit_models.d.ts.map +1 -1
  9. package/dist/src/proto/livekit_rtc.d.ts +8394 -3725
  10. package/dist/src/proto/livekit_rtc.d.ts.map +1 -1
  11. package/dist/src/room/Room.d.ts +1 -1
  12. package/dist/src/room/Room.d.ts.map +1 -1
  13. package/dist/src/room/events.d.ts +1 -1
  14. package/dist/src/room/participant/LocalParticipant.d.ts +18 -0
  15. package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
  16. package/dist/src/room/track/options.d.ts +8 -0
  17. package/dist/src/room/track/options.d.ts.map +1 -1
  18. package/dist/src/room/types.d.ts +7 -0
  19. package/dist/src/room/types.d.ts.map +1 -1
  20. package/dist/src/version.d.ts +1 -1
  21. package/dist/ts4.2/src/proto/google/protobuf/timestamp.d.ts +11 -2
  22. package/dist/ts4.2/src/proto/livekit_models.d.ts +1199 -177
  23. package/dist/ts4.2/src/proto/livekit_rtc.d.ts +9260 -4023
  24. package/dist/ts4.2/src/room/Room.d.ts +1 -1
  25. package/dist/ts4.2/src/room/events.d.ts +1 -1
  26. package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +18 -0
  27. package/dist/ts4.2/src/room/track/options.d.ts +8 -0
  28. package/dist/ts4.2/src/room/types.d.ts +7 -0
  29. package/dist/ts4.2/src/version.d.ts +1 -1
  30. package/package.json +2 -2
  31. package/src/proto/google/protobuf/timestamp.ts +4 -0
  32. package/src/proto/livekit_models.ts +128 -31
  33. package/src/proto/livekit_rtc.ts +262 -161
  34. package/src/room/RTCEngine.ts +9 -9
  35. package/src/room/Room.ts +50 -43
  36. package/src/room/events.ts +1 -1
  37. package/src/room/participant/LocalParticipant.ts +99 -21
  38. package/src/room/track/options.ts +12 -0
  39. package/src/room/types.ts +9 -0
  40. package/src/version.ts +1 -1
@@ -111,13 +111,20 @@ export declare const Timestamp: {
111
111
  decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp;
112
112
  fromJSON(object: any): Timestamp;
113
113
  toJSON(message: Timestamp): unknown;
114
- fromPartial<I extends {
114
+ create<I extends {
115
115
  seconds?: number | undefined;
116
116
  nanos?: number | undefined;
117
117
  } & {
118
118
  seconds?: number | undefined;
119
119
  nanos?: number | undefined;
120
- } & { [K in Exclude<keyof I, keyof Timestamp>]: never; }>(object: I): Timestamp;
120
+ } & { [K in Exclude<keyof I, keyof Timestamp>]: never; }>(base?: I | undefined): Timestamp;
121
+ fromPartial<I_1 extends {
122
+ seconds?: number | undefined;
123
+ nanos?: number | undefined;
124
+ } & {
125
+ seconds?: number | undefined;
126
+ nanos?: number | undefined;
127
+ } & { [K_1 in Exclude<keyof I_1, keyof Timestamp>]: never; }>(object: I_1): Timestamp;
121
128
  };
122
129
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
123
130
  export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
@@ -1 +1 @@
1
- {"version":3,"file":"timestamp.d.ts","sourceRoot":"","sources":["../../../../../src/proto/google/protobuf/timestamp.ts"],"names":[],"mappings":"AAEA,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AACH,MAAM,WAAW,SAAS;IACxB;;;;OA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