stream-chat 9.19.1 → 9.20.1

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.
@@ -12074,6 +12074,7 @@ var Campaign = class {
12074
12074
  segment_ids: this.data?.segment_ids,
12075
12075
  sender_id: this.data?.sender_id,
12076
12076
  sender_mode: this.data?.sender_mode,
12077
+ sender_visibility: this.data?.sender_visibility,
12077
12078
  channel_template: this.data?.channel_template,
12078
12079
  create_channels: this.data?.create_channels,
12079
12080
  show_channels: this.data?.show_channels,
@@ -18724,6 +18725,9 @@ var createAttachmentsCompositionMiddleware = (composer) => ({
18724
18725
  origin: {
18725
18726
  emitter: "MessageComposer",
18726
18727
  context: { composer }
18728
+ },
18729
+ options: {
18730
+ type: "validation:attachment:upload:in-progress"
18727
18731
  }
18728
18732
  });
18729
18733
  return discard();
@@ -26678,7 +26682,9 @@ var StreamChat = class _StreamChat {
26678
26682
  this.activeChannels = {};
26679
26683
  this.state = new ClientState({ client: this });
26680
26684
  this.threads.resetState();
26681
- setTimeout(this.tokenManager.reset);
26685
+ closePromise.finally(() => {
26686
+ this.tokenManager.reset();
26687
+ }).catch((err) => console.error(err));
26682
26688
  return closePromise;
26683
26689
  };
26684
26690
  /**
@@ -28733,7 +28739,7 @@ var StreamChat = class _StreamChat {
28733
28739
  if (this.userAgent) {
28734
28740
  return this.userAgent;
28735
28741
  }
28736
- const version = "9.19.1";
28742
+ const version = "9.20.1";
28737
28743
  const clientBundle = "node-cjs";
28738
28744
  let userAgentString = "";
28739
28745
  if (this.sdkIdentifier) {