stream-chat-react 13.5.0 → 13.5.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.
@@ -3971,9 +3971,6 @@ var useChannelListShapeDefaults = () => {
3971
3971
  lastPinnedChannelIndex = findLastPinnedChannelIndex({ channels: newChannels });
3972
3972
  }
3973
3973
  const newTargetChannelIndex = typeof lastPinnedChannelIndex === "number" ? lastPinnedChannelIndex + 1 : 0;
3974
- if (currentChannels[newTargetChannelIndex] === targetChannel) {
3975
- return currentChannels;
3976
- }
3977
3974
  newChannels.splice(newTargetChannelIndex, 0, targetChannel);
3978
3975
  return newChannels;
3979
3976
  });
@@ -37766,7 +37763,7 @@ var useChat = ({
37766
37763
  };
37767
37764
  (0, import_react279.useEffect)(() => {
37768
37765
  if (!client) return;
37769
- const version = "13.5.0";
37766
+ const version = "13.5.1";
37770
37767
  const userAgent = client.getUserAgent();
37771
37768
  if (!userAgent.includes("stream-chat-react")) {
37772
37769
  client.setUserAgent(`stream-chat-react-${version}-${userAgent}`);