stream-chat 9.10.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.
@@ -17345,8 +17345,7 @@ var createCompositionValidationMiddleware = (composer) => ({
17345
17345
  const inputText = state.message.text ?? "";
17346
17346
  const isEmptyMessage = textIsEmpty(inputText) && !state.message.attachments?.length && !state.message.poll_id;
17347
17347
  const hasExceededMaxLength = typeof maxLengthOnSend === "number" && inputText.length > maxLengthOnSend;
17348
- const editedMessageIsUnchanged = composer.editedMessage && !composer.lastChangeOriginIsLocal;
17349
- if (isEmptyMessage || editedMessageIsUnchanged || hasExceededMaxLength) {
17348
+ if (isEmptyMessage || hasExceededMaxLength) {
17350
17349
  return await discard();
17351
17350
  }
17352
17351
  return await forward();
@@ -26892,7 +26891,7 @@ var StreamChat = class _StreamChat {
26892
26891
  if (this.userAgent) {
26893
26892
  return this.userAgent;
26894
26893
  }
26895
- const version = "9.10.0";
26894
+ const version = "9.10.1";
26896
26895
  const clientBundle = "node-cjs";
26897
26896
  let userAgentString = "";
26898
26897
  if (this.sdkIdentifier) {
@@ -27976,7 +27975,7 @@ var StreamChat = class _StreamChat {
27976
27975
  */
27977
27976
  async queryReminders({ filter: filter2, sort, ...rest } = {}) {
27978
27977
  return await this.post(`${this.baseURL}/reminders/query`, {
27979
- filter_conditions: filter2,
27978
+ filter: filter2,
27980
27979
  sort: sort && normalizeQuerySort(sort),
27981
27980
  ...rest
27982
27981
  });