Skip to content

Commit 25f8d36

Browse files
authored
fix: bump stream-chat to fix commands regression (#3585)
## 🎯 Goal <!-- Describe why we are making this change --> ## πŸ›  Implementation details <!-- Provide a description of the implementation --> ## 🎨 UI Changes <!-- Add relevant screenshots --> <details> <summary>iOS</summary> <table> <thead> <tr> <td>Before</td> <td>After</td> </tr> </thead> <tbody> <tr> <td> <!--<img src="" /> --> </td> <td> <!--<img src="" /> --> </td> </tr> </tbody> </table> </details> <details> <summary>Android</summary> <table> <thead> <tr> <td>Before</td> <td>After</td> </tr> </thead> <tbody> <tr> <td> <!--<img src="" /> --> </td> <td> <!--<img src="" /> --> </td> </tr> </tbody> </table> </details> ## πŸ§ͺ Testing <!-- Explain how this change can be tested (or why it can't be tested) --> ## β˜‘οΈ Checklist - [ ] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required) - [ ] PR targets the `develop` branch - [ ] Documentation is updated - [ ] New code is tested in main example apps, including all possible scenarios - [ ] SampleApp iOS and Android - [ ] Expo iOS and Android
1 parent 632ff3c commit 25f8d36

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

β€Žpackage/package.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"path": "0.12.7",
8484
"react-native-markdown-package": "1.8.2",
8585
"react-native-url-polyfill": "^2.0.0",
86-
"stream-chat": "^9.43.0",
86+
"stream-chat": "^9.43.1",
8787
"use-sync-external-store": "^1.5.0"
8888
},
8989
"peerDependencies": {

β€Žpackage/src/utils/utils.tsβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ export const findInMessagesByDate = (
325325
* Useful for the `areEqual` logic in the React.memo of the Message component/sub-components.
326326
*/
327327
export const checkMessageEquality = (
328-
prevMessage?: LocalMessage,
329-
nextMessage?: LocalMessage,
328+
prevMessage?: LocalMessage | null,
329+
nextMessage?: LocalMessage | null,
330330
): boolean => {
331331
const prevMessageExists = !!prevMessage;
332332
const nextMessageExists = !!nextMessage;
@@ -357,8 +357,8 @@ export const checkMessageEquality = (
357357
* Useful for the `areEqual` logic in the React.memo of the Message component/sub-components.
358358
*/
359359
export const checkQuotedMessageEquality = (
360-
prevQuotedMessage?: LocalMessage,
361-
nextQuotedMessage?: LocalMessage,
360+
prevQuotedMessage?: LocalMessage | null,
361+
nextQuotedMessage?: LocalMessage | null,
362362
): boolean => {
363363
const prevQuotedMessageExists = !!prevQuotedMessage;
364364
const nextQuotedMessageExists = !!nextQuotedMessage;

β€Žpackage/yarn.lockβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8507,10 +8507,10 @@ stdin-discarder@^0.2.2:
85078507
resolved "https://registry.yarnpkg.com/stdin-discarder/-/stdin-discarder-0.2.2.tgz#390037f44c4ae1a1ae535c5fe38dc3aba8d997be"
85088508
integrity sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==
85098509

8510-
stream-chat@^9.43.0:
8511-
version "9.43.0"
8512-
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-9.43.0.tgz#216a80abadea83dcee6fb339b76035b26af2beb5"
8513-
integrity sha512-gc12LZTmRWvSi6EjnMK7Y+D8xOQIouVUO2flUShazG/NqVccJhXYphQ96PzK7Wym+5wwwitTaJqq0m/1VUPBCA==
8510+
stream-chat@^9.43.1:
8511+
version "9.43.1"
8512+
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-9.43.1.tgz#5b2cccdd95ce92cc44c6691c527eeee271ce37bd"
8513+
integrity sha512-lP1B3ulv2B20tqbn0xWUaVuKgBPAtgiKRGTBgmZsAIcOKDziR0xbYmZuC8zo9+L6yPh3euSdbF5w+CQ/Rn1FiQ==
85148514
dependencies:
85158515
"@types/jsonwebtoken" "^9.0.8"
85168516
"@types/ws" "^8.5.14"

0 commit comments

Comments
Β (0)