livekit-client 2.9.6 → 2.9.8

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.
@@ -1 +1 @@
1
- {"version":3,"file":"LocalParticipant.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/LocalParticipant.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,EAUL,eAAe,EACf,qBAAqB,EAatB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAWnD,OAAO,EAEL,KAAK,gBAAgB,EAErB,KAAK,iBAAiB,EAEvB,MAAM,QAAQ,CAAC;AAEhB,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,qBAAqB,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,EACV,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAW1B,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACpB,MAAM,UAAU,CAAC;AAoBlB,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAW/E,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW;IACvD,sBAAsB,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IAE3D,sBAAsB,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IAE3D,+CAA+C;IAC/C,iBAAiB,EAA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AAO,CAAC,cAAc,CAEpB;IAGF,gBAAgB;IAChB,OAAO,CAAC,YAAY,CAclB;IAEF,OAAO,CAAC,qBAAqB,CAM3B;IAEF,OAAO,CAAC,sBAAsB,CAM5B;IAEF,OAAO,CAAC,oBAAoB,CAU1B;IAEF,OAAO,CAAC,6BAA6B,CA6BnC;IAEF,OAAO,CAAC,2BAA2B,CAUjC;IAEF,OAAO,CAAC,gBAAgB,CA8DtB;IAEF,OAAO,CAAC,sBAAsB;YAwBhB,iCAAiC;CAchD"}
@@ -17,6 +17,7 @@ export interface SendTextOptions {
17
17
  destinationIdentities?: Array<string>;
18
18
  attachments?: Array<File>;
19
19
  onProgress?: (progress: number) => void;
20
+ attributes?: Record<string, string>;
20
21
  }
21
22
  export interface StreamTextOptions {
22
23
  topic?: string;
@@ -27,6 +28,7 @@ export interface StreamTextOptions {
27
28
  attachedStreamIds?: Array<string>;
28
29
  replyToStreamId?: string;
29
30
  totalSize?: number;
31
+ attributes?: Record<string, string>;
30
32
  }
31
33
  export type DataPublishOptions = {
32
34
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/room/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE;QACR,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,aAAa,CAAC,EAAE,OAAO,CAAC;KACzB,CAAC;IACF,YAAY,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,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1D,IAAI,EAAE,cAAc,CAAC;IACrB,UAAU,EAAE,+BAA+B,CAAC,CAAC,CAAC,CAAC;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,uFAAuF;IACvF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC;AACD,MAAM,WAAW,cAAe,SAAQ,cAAc;IACpD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAe,SAAQ,cAAc;CAAG"}
@@ -17,6 +17,7 @@ export interface SendTextOptions {
17
17
  destinationIdentities?: Array<string>;
18
18
  attachments?: Array<File>;
19
19
  onProgress?: (progress: number) => void;
20
+ attributes?: Record<string, string>;
20
21
  }
21
22
  export interface StreamTextOptions {
22
23
  topic?: string;
@@ -27,6 +28,7 @@ export interface StreamTextOptions {
27
28
  attachedStreamIds?: Array<string>;
28
29
  replyToStreamId?: string;
29
30
  totalSize?: number;
31
+ attributes?: Record<string, string>;
30
32
  }
31
33
  export type DataPublishOptions = {
32
34
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livekit-client",
3
- "version": "2.9.6",
3
+ "version": "2.9.8",
4
4
  "description": "JavaScript/TypeScript client SDK for LiveKit",
5
5
  "main": "./dist/livekit-client.umd.js",
6
6
  "unpkg": "./dist/livekit-client.umd.js",
@@ -310,7 +310,7 @@ export class SignalClient {
310
310
  if (this.ws) {
311
311
  await this.close(false);
312
312
  }
313
- this.ws = new WebSocket(urlObj);
313
+ this.ws = new WebSocket(urlObj.toString());
314
314
  this.ws.binaryType = 'arraybuffer';
315
315
 
316
316
  this.ws.onopen = () => {
@@ -1560,6 +1560,7 @@ export default class LocalParticipant extends Participant {
1560
1560
  destinationIdentities: options?.destinationIdentities,
1561
1561
  topic: options?.topic,
1562
1562
  attachedStreamIds: fileIds,
1563
+ attributes: options?.attributes,
1563
1564
  });
1564
1565
 
1565
1566
  await writer.write(text);
@@ -1597,6 +1598,7 @@ export default class LocalParticipant extends Participant {
1597
1598
  timestamp: Date.now(),
1598
1599
  topic: options?.topic ?? '',
1599
1600
  size: options?.totalSize,
1601
+ attributes: options?.attributes,
1600
1602
  };
1601
1603
  const header = new DataStream_Header({
1602
1604
  streamId,
@@ -1604,6 +1606,7 @@ export default class LocalParticipant extends Participant {
1604
1606
  topic: info.topic,
1605
1607
  timestamp: numberToBigInt(info.timestamp),
1606
1608
  totalLength: numberToBigInt(options?.totalSize),
1609
+ attributes: info.attributes,
1607
1610
  contentHeader: {
1608
1611
  case: 'textHeader',
1609
1612
  value: new DataStream_TextHeader({
package/src/room/types.ts CHANGED
@@ -20,6 +20,7 @@ export interface SendTextOptions {
20
20
  destinationIdentities?: Array<string>;
21
21
  attachments?: Array<File>;
22
22
  onProgress?: (progress: number) => void;
23
+ attributes?: Record<string, string>;
23
24
  }
24
25
 
25
26
  export interface StreamTextOptions {
@@ -31,6 +32,7 @@ export interface StreamTextOptions {
31
32
  attachedStreamIds?: Array<string>;
32
33
  replyToStreamId?: string;
33
34
  totalSize?: number;
35
+ attributes?: Record<string, string>;
34
36
  }
35
37
 
36
38
  export type DataPublishOptions = {