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.
@@ -6002,8 +6002,7 @@ var createCompositionValidationMiddleware = (composer) => ({
6002
6002
  const inputText = state.message.text ?? "";
6003
6003
  const isEmptyMessage = textIsEmpty(inputText) && !state.message.attachments?.length && !state.message.poll_id;
6004
6004
  const hasExceededMaxLength = typeof maxLengthOnSend === "number" && inputText.length > maxLengthOnSend;
6005
- const editedMessageIsUnchanged = composer.editedMessage && !composer.lastChangeOriginIsLocal;
6006
- if (isEmptyMessage || editedMessageIsUnchanged || hasExceededMaxLength) {
6005
+ if (isEmptyMessage || hasExceededMaxLength) {
6007
6006
  return await discard();
6008
6007
  }
6009
6008
  return await forward();
@@ -15561,7 +15560,7 @@ var StreamChat = class _StreamChat {
15561
15560
  if (this.userAgent) {
15562
15561
  return this.userAgent;
15563
15562
  }
15564
- const version = "9.10.0";
15563
+ const version = "9.10.1";
15565
15564
  const clientBundle = "browser-cjs";
15566
15565
  let userAgentString = "";
15567
15566
  if (this.sdkIdentifier) {
@@ -16645,7 +16644,7 @@ var StreamChat = class _StreamChat {
16645
16644
  */
16646
16645
  async queryReminders({ filter: filter2, sort, ...rest } = {}) {
16647
16646
  return await this.post(`${this.baseURL}/reminders/query`, {
16648
- filter_conditions: filter2,
16647
+ filter: filter2,
16649
16648
  sort: sort && normalizeQuerySort(sort),
16650
16649
  ...rest
16651
16650
  });