stream-chat-react-native-core 5.12.0-beta.1 → 5.12.0-beta.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.
- package/lib/commonjs/components/Channel/Channel.js +20 -18
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Channel/Channel.js +20 -18
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/package.json +1 -1
- package/src/components/Channel/Channel.tsx +4 -1
- package/src/version.json +1 -1
package/lib/module/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native-core",
|
|
3
3
|
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "5.12.0-beta.
|
|
4
|
+
"version": "5.12.0-beta.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -640,7 +640,10 @@ const ChannelWithContext = <
|
|
|
640
640
|
}, [threadPropsExists]);
|
|
641
641
|
|
|
642
642
|
const handleAppBackground = useCallback(() => {
|
|
643
|
-
|
|
643
|
+
const channelData = channel.data as
|
|
644
|
+
| Extract<typeof channel.data, { own_capabilities: string[] }>
|
|
645
|
+
| undefined;
|
|
646
|
+
if (channelData?.own_capabilities?.includes('send-typing-events')) {
|
|
644
647
|
channel.sendEvent({
|
|
645
648
|
parent_id: thread?.id,
|
|
646
649
|
type: 'typing.stop',
|
package/src/version.json
CHANGED