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.
@@ -11169,7 +11169,7 @@ function getOSVersion(ua) {
11169
11169
  return ua.includes('mac os') ? getMatch(/\(.+?(\d+_\d+(:?_\d+)?)/, ua, 1).replace(/_/g, '.') : undefined;
11170
11170
  }
11171
11171
 
11172
- var version$1 = "2.9.6";
11172
+ var version$1 = "2.9.8";
11173
11173
 
11174
11174
  const version = version$1;
11175
11175
  const protocolVersion = 15;
@@ -13064,7 +13064,7 @@ class SignalClient {
13064
13064
  if (this.ws) {
13065
13065
  yield this.close(false);
13066
13066
  }
13067
- this.ws = new WebSocket(urlObj);
13067
+ this.ws = new WebSocket(urlObj.toString());
13068
13068
  this.ws.binaryType = 'arraybuffer';
13069
13069
  this.ws.onopen = () => {
13070
13070
  clearTimeout(wsTimeout);
@@ -20897,7 +20897,8 @@ class LocalParticipant extends Participant {
20897
20897
  totalSize: totalTextLength,
20898
20898
  destinationIdentities: options === null || options === void 0 ? void 0 : options.destinationIdentities,
20899
20899
  topic: options === null || options === void 0 ? void 0 : options.topic,
20900
- attachedStreamIds: fileIds
20900
+ attachedStreamIds: fileIds,
20901
+ attributes: options === null || options === void 0 ? void 0 : options.attributes
20901
20902
  });
20902
20903
  yield writer.write(text);
20903
20904
  // set text part of progress to 1
@@ -20930,7 +20931,8 @@ class LocalParticipant extends Participant {
20930
20931
  mimeType: 'text/plain',
20931
20932
  timestamp: Date.now(),
20932
20933
  topic: (_b = options === null || options === void 0 ? void 0 : options.topic) !== null && _b !== void 0 ? _b : '',
20933
- size: options === null || options === void 0 ? void 0 : options.totalSize
20934
+ size: options === null || options === void 0 ? void 0 : options.totalSize,
20935
+ attributes: options === null || options === void 0 ? void 0 : options.attributes
20934
20936
  };
20935
20937
  const header = new DataStream_Header({
20936
20938
  streamId,
@@ -20938,6 +20940,7 @@ class LocalParticipant extends Participant {
20938
20940
  topic: info.topic,
20939
20941
  timestamp: numberToBigInt(info.timestamp),
20940
20942
  totalLength: numberToBigInt(options === null || options === void 0 ? void 0 : options.totalSize),
20943
+ attributes: info.attributes,
20941
20944
  contentHeader: {
20942
20945
  case: 'textHeader',
20943
20946
  value: new DataStream_TextHeader({