stream-chat-react 13.6.1 → 13.6.2

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.
@@ -35324,6 +35324,9 @@ var TextareaComposer = ({
35324
35324
  (0, import_react255.useLayoutEffect)(() => {
35325
35325
  const textarea = textareaRef.current;
35326
35326
  if (!textarea || isComposing) return;
35327
+ if (textarea.value !== text7) {
35328
+ textarea.value = text7;
35329
+ }
35327
35330
  const length = textarea.value.length;
35328
35331
  const start2 = Math.max(0, Math.min(selection.start, length));
35329
35332
  const end = Math.max(start2, Math.min(selection.end, length));
@@ -35368,8 +35371,7 @@ var TextareaComposer = ({
35368
35371
  placeholder: placeholder || t("Type your message"),
35369
35372
  ref: (ref) => {
35370
35373
  textareaRef.current = ref;
35371
- },
35372
- value: text7
35374
+ }
35373
35375
  }
35374
35376
  ),
35375
35377
  !isComposing && /* @__PURE__ */ import_react255.default.createElement(
@@ -37985,7 +37987,7 @@ var useChat = ({
37985
37987
  };
37986
37988
  (0, import_react282.useEffect)(() => {
37987
37989
  if (!client) return;
37988
- const version = "13.6.1";
37990
+ const version = "13.6.2";
37989
37991
  const userAgent = client.getUserAgent();
37990
37992
  if (!userAgent.includes("stream-chat-react")) {
37991
37993
  client.setUserAgent(`stream-chat-react-${version}-${userAgent}`);