stream-chat 9.9.0 → 9.10.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.
package/dist/esm/index.js CHANGED
@@ -6966,8 +6966,7 @@ var createCompositionValidationMiddleware = (composer) => ({
6966
6966
  const inputText = state.message.text ?? "";
6967
6967
  const isEmptyMessage = textIsEmpty(inputText) && !state.message.attachments?.length && !state.message.poll_id;
6968
6968
  const hasExceededMaxLength = typeof maxLengthOnSend === "number" && inputText.length > maxLengthOnSend;
6969
- const editedMessageIsUnchanged = composer.editedMessage && !composer.lastChangeOriginIsLocal;
6970
- if (isEmptyMessage || editedMessageIsUnchanged || hasExceededMaxLength) {
6969
+ if (isEmptyMessage || hasExceededMaxLength) {
6971
6970
  return await discard();
6972
6971
  }
6973
6972
  return await forward();
@@ -16525,7 +16524,7 @@ var StreamChat = class _StreamChat {
16525
16524
  if (this.userAgent) {
16526
16525
  return this.userAgent;
16527
16526
  }
16528
- const version = "9.9.0";
16527
+ const version = "9.10.1";
16529
16528
  const clientBundle = "browser-esm";
16530
16529
  let userAgentString = "";
16531
16530
  if (this.sdkIdentifier) {
@@ -17609,7 +17608,7 @@ var StreamChat = class _StreamChat {
17609
17608
  */
17610
17609
  async queryReminders({ filter: filter2, sort, ...rest } = {}) {
17611
17610
  return await this.post(`${this.baseURL}/reminders/query`, {
17612
- filter_conditions: filter2,
17611
+ filter: filter2,
17613
17612
  sort: sort && normalizeQuerySort(sort),
17614
17613
  ...rest
17615
17614
  });