Skip to content

feat!: message composer attachment manager integration and improve send flow #3093

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 176 commits into
base: V8
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 115 commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
6c1f94d
chore: modify gh workflows
isekovanic Mar 7, 2025
e443caf
feat: removal of StreamChatGenerics (#2993)
isekovanic Mar 7, 2025
4e6c4b7
chore: remove support for react-native-document-picker (#3000)
isekovanic Mar 7, 2025
d0dd875
Merge branch 'develop' into V7
isekovanic Mar 10, 2025
74a3978
BREAKING CHANGE: V7 release candidate
isekovanic Mar 10, 2025
f519f8a
chore: add rc channel
isekovanic Mar 10, 2025
f359909
fix: typo in branch name
isekovanic Mar 10, 2025
aca5620
feat: trigger breaking change for v7 (#3005)
isekovanic Mar 10, 2025
dfbdcb3
chore: remove dryRun
isekovanic Mar 10, 2025
7243093
chore: bump stream-chat version to latest rc
isekovanic Mar 10, 2025
1f84064
chore: bump stream-chat to latest
isekovanic Mar 11, 2025
228d559
feat: introduce expo-video support (#3010)
isekovanic Mar 12, 2025
52ef753
Merge branch 'develop' into V7
isekovanic Mar 12, 2025
ad0dbc8
fix: lint issues
isekovanic Mar 12, 2025
35dc66e
fix: different types inference with latest stream-chat changes
isekovanic Mar 13, 2025
a070115
chore(deps): update sample apps too
isekovanic Mar 13, 2025
dbdb27e
Merge branch 'develop' into V7
isekovanic Mar 13, 2025
8ec7617
fix: remove generics from new hook
isekovanic Mar 13, 2025
e49b9c0
fix: remove remnants from SCG and fix missing types
isekovanic Mar 13, 2025
b3c67eb
fix: lint issues
isekovanic Mar 13, 2025
1d28a1a
fix: replace TouchableOpacity with Pressable
isekovanic Mar 13, 2025
9154fdd
fix: move to RN TouchableOpacity instead
isekovanic Mar 13, 2025
9569c98
chore(deps): update peer deps
isekovanic Mar 13, 2025
39f4f82
chore: remove unused hooks
isekovanic Mar 13, 2025
e8db262
chore: remove deps scope
isekovanic Mar 13, 2025
f509a27
Merge branch 'develop' into V7
isekovanic Mar 17, 2025
2f336f3
fix: all instances of FormatMessageResponse in respect to the new llc…
isekovanic Apr 1, 2025
98349dd
chore: ref branch specifically
isekovanic Apr 1, 2025
a40724c
fix: try clearing cache
isekovanic Apr 1, 2025
7ea6f38
fix: remove cache clean
isekovanic Apr 1, 2025
fa903f0
fix: remove console.log
isekovanic Apr 2, 2025
fdc9774
fix: use latest commit
isekovanic Apr 2, 2025
e01a1b0
fix: use latest rc of llc
isekovanic Apr 2, 2025
eae044b
chore: use specific commit again
isekovanic Apr 2, 2025
e3d2bc4
Merge branch 'develop' into V7
isekovanic Apr 2, 2025
40dee7e
fix: SCG remnants from merge
isekovanic Apr 2, 2025
d4237bb
Merge branch 'develop' into V7
isekovanic Apr 9, 2025
b947266
fix: lint issues
isekovanic Apr 9, 2025
51361c1
Merge branch 'develop' into V7
isekovanic Apr 10, 2025
491a957
fix: lint issues
isekovanic Apr 10, 2025
b28252b
fix: unify file and image types (#3050)
khushal87 Apr 10, 2025
9ab351d
chore: update deps
isekovanic Apr 10, 2025
e34273c
fix: failing tests and AutoCompleteInput type
isekovanic Apr 11, 2025
3d461d0
chore: update custom data module interfaces
isekovanic Apr 14, 2025
ab7973f
fix: change RNFile to FileReference as per latest client changes (#3061)
khushal87 Apr 22, 2025
af2d2fd
Merge branch 'develop' into V7
isekovanic Apr 23, 2025
9375fa4
fix: merge conflicts
isekovanic Apr 23, 2025
4ad47a1
fix: remove MessageType type from the SDK
khushal87 Apr 23, 2025
96e9401
fix: resolve conflicts from V7 branch
khushal87 Apr 23, 2025
ef3a2a7
fix: resolve conflicts from V7 branch
khushal87 Apr 23, 2025
b1823a8
fix: broken tests
khushal87 Apr 23, 2025
b787c47
fix: useMessageActions remove reserved fields logic
khushal87 Apr 24, 2025
65881a7
revert: useMessageActions change
khushal87 Apr 24, 2025
3f6d111
fix: confine readBy data to Message Status component
khushal87 Apr 24, 2025
3038e7b
fix: change date separator and group styles to ref
khushal87 Apr 25, 2025
54ce9c6
fix: add app changes
khushal87 Apr 28, 2025
a00a670
feat: use new text composer for RN SDK
khushal87 Apr 28, 2025
5f62753
fix: bump stream-chat to latest rc
isekovanic Apr 28, 2025
cc33ccb
Merge branch 'V7' of github.com:GetStream/stream-chat-react-native in…
khushal87 Apr 29, 2025
e14c614
chore: bump stream-chat version to latest rc again
isekovanic Apr 29, 2025
ba1df1d
Merge pull request #3064 from GetStream/remove-messagetype-type
isekovanic Apr 29, 2025
8467b22
fix: thread messages state not updating properly
isekovanic Apr 29, 2025
33d158a
chore: change type to inferred one
isekovanic Apr 29, 2025
6c96dee
Merge pull request #3068 from GetStream/fix/thread-messages-setting-b…
isekovanic Apr 29, 2025
948b6db
fix: set correct core lib versions
isekovanic Apr 29, 2025
de777de
Merge branch 'develop' into V7
isekovanic Apr 29, 2025
77369b6
chore: bump stream-chat to latest rc again
isekovanic Apr 29, 2025
75117d5
chore: update sample app yarn.locks as well
isekovanic Apr 29, 2025
1e421f4
fix: refine the implementation
khushal87 Apr 30, 2025
0c154ec
fix: add useCallback
khushal87 Apr 30, 2025
10d934c
fix: keyboard taking full screen issue when the prefer cross-fade tra…
khushal87 Apr 30, 2025
36ceec1
chore: bump stream-chat-js rc again
isekovanic Apr 30, 2025
ee9e05c
Merge branch 'develop' into V7
isekovanic Apr 30, 2025
dbef2f3
chore: full reinstall after merge from develop
isekovanic Apr 30, 2025
16c16a4
fix: add back mistakenly removed mime dep
isekovanic Apr 30, 2025
1c45b51
feat: add poll composer
khushal87 May 1, 2025
0eb0484
feat: add emoji middleware and make text input better
khushal87 May 2, 2025
fcf98f9
fix: add channel command middleware
khushal87 May 5, 2025
f99b02f
fix: add channel command middleware
khushal87 May 5, 2025
bbcf5f7
fix: remove unused values from message input context
khushal87 May 5, 2025
5648653
fix: remove unused values from message input context
khushal87 May 5, 2025
2ae81e9
fix: code clean up
khushal87 May 5, 2025
b35d4bc
fix: point out a bug with the ban user command
khushal87 May 5, 2025
9a6f38f
fix: added option reordering fix
khushal87 May 6, 2025
fdd9576
chore: resolve conflicts from develop
khushal87 May 6, 2025
5a69670
fix: improve the emoji and command middleware and cleanup
khushal87 May 6, 2025
3b7957c
feat: add poll composer changes
khushal87 May 7, 2025
e9ebac4
fix: quoted message state using the message composer
khushal87 May 7, 2025
f6a20b6
fix: improve poll composer integration
khushal87 May 12, 2025
1cf9027
fix: reduce prop surface area from auto complete input
khushal87 May 12, 2025
168c41c
fix: tests
khushal87 May 13, 2025
ea45f36
chore: resolve conflicts
khushal87 May 13, 2025
075300d
Merge branch 'V8' of github.com:GetStream/stream-chat-react-native in…
khushal87 May 13, 2025
9fdc606
feat: add integration for attachment manager
khushal87 May 20, 2025
d7206e8
fix: yarn.lock update
khushal87 May 20, 2025
76f0ed2
fix: poll composer crash bug
khushal87 May 20, 2025
a767e07
chore: resolve conflicts from V8
khushal87 May 20, 2025
28f1cc2
fix: change emoji middleware name
khushal87 May 20, 2025
0daf719
Merge branch 'develop' of github.com:GetStream/stream-chat-react-nati…
khushal87 May 20, 2025
c5a84a5
chore: remove workflow changes
khushal87 May 20, 2025
6cb45ca
feat: move attachment picker context to Channel wrapper and handle on…
khushal87 May 21, 2025
683d780
fix: add app refactor
khushal87 May 21, 2025
0417f26
fix: add app refactor
khushal87 May 21, 2025
eb93314
fix: auto complete input changes
khushal87 May 21, 2025
ed1b318
refactor: add improvements
khushal87 May 21, 2025
31f88aa
refactor: add poll changes
khushal87 May 21, 2025
7a8f009
fix: add back react memo
khushal87 May 21, 2025
40bd3cc
Merge branch 'V8' of github.com:GetStream/stream-chat-react-native in…
khushal87 May 21, 2025
53c5285
fix: input buttons hasText optimization
khushal87 May 21, 2025
5be9ded
fix: improve upload preview components
khushal87 May 21, 2025
21589ea
fix: improve upload preview components
khushal87 May 21, 2025
7c1bba3
fix: audio attachment issues
khushal87 May 22, 2025
7c6013b
chore: resolve conflicts
khushal87 May 22, 2025
4a6b7f9
chore: resolve conflicts
khushal87 May 22, 2025
7778b04
chore: update files from base branch
khushal87 May 22, 2025
0e01b3d
fix: sync up changes
khushal87 May 22, 2025
deb81dd
fix: sync up changes
khushal87 May 22, 2025
3c3893c
fix: commands button hastext optimization
khushal87 May 22, 2025
181e6a6
fix: create poll options useEffect
khushal87 May 22, 2025
7b9d7fa
fix: comment
khushal87 May 22, 2025
c353a32
fix: default values
khushal87 May 22, 2025
f16e476
fix: try out picker in channel
khushal87 May 23, 2025
115b21a
fix: attachment picker component usage
khushal87 May 23, 2025
3ac8e8b
Merge branch 'new-text-composer' of github.com:GetStream/stream-chat-…
khushal87 May 23, 2025
9ba3644
fix: cleanup for the attachment manager
khushal87 May 23, 2025
05629c0
fix: input button hasText bug
khushal87 May 23, 2025
f7151ac
fix: file unsupported types
khushal87 May 23, 2025
0d7b665
fix: style for upload unsupported indicator
khushal87 May 23, 2025
bcf5fb4
fix: improve upload new file
khushal87 May 23, 2025
1fc7d98
fix: send button and audiorecordingbutton re-renders
khushal87 May 24, 2025
e25b355
fix: send button and audiorecordingbutton re-renders
khushal87 May 24, 2025
9ce715e
revert: the memo change
khushal87 May 24, 2025
5660941
fix: remove profiler code
khushal87 May 24, 2025
90bd97c
fix: optimize send button performance
khushal87 May 26, 2025
23e9e31
chore: resolve conflict from base branch
khushal87 May 26, 2025
21aaa42
fix: type export from audio recording button
khushal87 May 26, 2025
8d44cae
Merge branch 'attachment-manager-integration' of github.com:GetStream…
khushal87 May 26, 2025
1f12e52
fix: iLocalUri utility
khushal87 May 26, 2025
896591e
fix: update yarn lock
khushal87 May 26, 2025
8b4268c
fix: attachment send while offline support is enabled
khushal87 May 26, 2025
2181a6c
fix: make sending flow faster and bug free and fix bug with cooldown
khushal87 May 26, 2025
87f415e
chore: resolve conflicts from base branch
khushal87 May 26, 2025
e6774d0
fix: edited message usage
khushal87 May 27, 2025
261a0b5
fix: attachments draft middleware
khushal87 May 27, 2025
c9380f1
fix: make command control middleware better
khushal87 May 27, 2025
73821ca
fix: use text composer for command handling
khushal87 May 29, 2025
c63961f
chore: resolve conflicts from V8
khushal87 May 29, 2025
afabb1d
tests: add tests
khushal87 Jun 3, 2025
94306e0
tests: add tests
khushal87 Jun 3, 2025
d71cb3f
fix: remove thread from MessageInput
khushal87 Jun 3, 2025
4aa4dd0
perf: messages rerendering on every composer change
isekovanic Jun 3, 2025
5a3d9c2
perf: remove editing state from channel ctx and add composer ctx
isekovanic Jun 3, 2025
90c3e40
fix: double editing issue
isekovanic Jun 3, 2025
86fe540
fix: introduce hasText
isekovanic Jun 3, 2025
0edcacd
feat: improve attachment picker context usage
khushal87 Jun 3, 2025
66dc1ca
chore: resolve conflicts from base branch
khushal87 Jun 3, 2025
2365e5b
fix: quoted message edited update bug
khushal87 Jun 4, 2025
b587b74
fix: quoted message edited update bug
khushal87 Jun 4, 2025
c9a10dd
fix: close poll modal before send to avoid reset on the UI
khushal87 Jun 4, 2025
dcd8919
fix: selected picker bug
khushal87 Jun 4, 2025
f137f01
fix: memoize the photos
khushal87 Jun 4, 2025
40bac0e
fix: performance issue with quoted message checks
isekovanic Jun 5, 2025
fe8c6d1
fix: further optimize memo checks
isekovanic Jun 5, 2025
2892a3b
perf: separate composer ctxs and optimize usage (#3112)
isekovanic Jun 6, 2025
03732df
fix: change how message composer config is set
khushal87 Jun 6, 2025
79e27bd
perf: make attachbutton better
khushal87 Jun 6, 2025
313d9f2
fix: poll option animation breaking (#3115)
isekovanic Jun 9, 2025
1e0d0e1
Merge branch 'attachment-manager-integration' of github.com:GetStream…
khushal87 Jun 9, 2025
602b505
fix: use draft attachments middlware
khushal87 Jun 9, 2025
fb0187a
fix: image upload preview loading indicator
khushal87 Jun 10, 2025
2a8aac3
tests: add tests setup
khushal87 Jun 3, 2025
0d547fa
tests: add tests setup
khushal87 Jun 10, 2025
f887ee1
tests: add more tests
khushal87 Jun 3, 2025
5e45e6e
perf: improve the input buttons and command input perf
khushal87 Jun 10, 2025
dac2a5d
fix: sample app channel header component perf
khushal87 Jun 10, 2025
fc00aa4
fix: remove isCommandUIEnabled from channel context
khushal87 Jun 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions examples/ExpoMessaging/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4070,6 +4070,11 @@ emoji-regex@^10.3.0:
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.3.0.tgz#76998b9268409eb3dae3de989254d456e70cfe23"
integrity sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==

emoji-regex@^10.4.0:
version "10.4.0"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.4.0.tgz#03553afea80b3975749cfcb36f776ca268e413d4"
integrity sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==

emoji-regex@^8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
Expand Down Expand Up @@ -7441,6 +7446,21 @@ stream-chat@^9.0.0:
linkifyjs "^4.2.0"
ws "^8.18.1"

stream-chat@^8.57.6:
version "8.60.0"
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-8.60.0.tgz#b67d4fbb185da53fb8ac5fc5759986d6ad7e19a3"
integrity sha512-7FpO7Wno++r+n+x9aFuXtGYtNO06CIMd2Bxe3doYZLhMfS0nuaXloeFlGcMT0r4U/6bnguz1qQdDJUPNQAS8bQ==
dependencies:
"@babel/runtime" "^7.27.0"
"@types/jsonwebtoken" "~9.0.0"
"@types/ws" "^7.4.0"
axios "^1.6.0"
base64-js "^1.5.1"
form-data "^4.0.0"
isomorphic-ws "^4.0.1"
jsonwebtoken "~9.0.0"
ws "^7.5.10"

stream-slice@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/stream-slice/-/stream-slice-0.1.2.tgz#2dc4f4e1b936fb13f3eb39a2def1932798d07a4b"
Expand Down
6 changes: 5 additions & 1 deletion examples/SampleApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"clean-all": "yarn clean && rm -rf node_modules && rm -rf ios/Pods && rm -rf vendor && bundle install && yarn install && cd ios && bundle exec pod install && cd -"
},
"dependencies": {
"@emoji-mart/data": "^1.2.1",
"@notifee/react-native": "^9.1.8",
"@op-engineering/op-sqlite": "^11.4.7",
"@react-native-async-storage/async-storage": "^2.1.1",
Expand All @@ -35,14 +36,16 @@
"@react-navigation/drawer": "7.1.1",
"@react-navigation/native": "^7.0.14",
"@react-navigation/stack": "^7.1.1",
"emoji-mart": "^5.6.0",
"lodash.mergewith": "^4.6.2",
"react": "19.0.0",
"react-native": "^0.78.0",
"react-native-audio-recorder-player": "^3.6.12",
"react-native-blob-util": "^0.21.2",
"react-native-fast-image": "^8.6.3",
"react-native-gesture-handler": "^2.24.0",
"react-native-haptic-feedback": "^2.3.3",
"react-native-image-picker": "^8.2.0",
"react-native-image-picker": "^8.2.1",
"react-native-reanimated": "^3.17.1",
"react-native-safe-area-context": "^5.2.0",
"react-native-screens": "^4.9.1",
Expand All @@ -66,6 +69,7 @@
"@react-native/typescript-config": "^0.78.0",
"@rnx-kit/metro-config": "^2.0.1",
"@types/jest": "^29.5.13",
"@types/lodash.mergewith": "^4.6.9",
"@types/react": "^19.0.0",
"@types/react-test-renderer": "^19.0.0",
"eslint": "^9.20.1",
Expand Down
6 changes: 1 addition & 5 deletions examples/SampleApp/src/screens/ChannelListScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,7 @@ const baseFilters = {
type: 'messaging',
};

const sort: ChannelSort = [
{ pinned_at: -1 },
{ last_message_at: -1 },
{ updated_at: -1 },
];
const sort: ChannelSort = [{ pinned_at: -1 }, { last_message_at: -1 }, { updated_at: -1 }];

const options = {
presence: true,
Expand Down
57 changes: 39 additions & 18 deletions examples/SampleApp/src/screens/ChannelScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import React, { useCallback, useEffect, useState } from 'react';
import type { Channel as StreamChatChannel } from 'stream-chat';
import type {
LocalMessage,
Channel as StreamChatChannel,
TextComposerMiddleware,
} from 'stream-chat';
import { RouteProp, useFocusEffect, useNavigation } from '@react-navigation/native';
import {
Channel,
Expand All @@ -13,6 +17,7 @@ import {
useTheme,
useTypingString,
AITypingIndicatorView,
createTextComposerEmojiMiddleware,
} from 'stream-chat-react-native';
import { Platform, StyleSheet, View } from 'react-native';
import type { StackNavigationProp } from '@react-navigation/stack';
Expand All @@ -25,10 +30,10 @@ import { useChannelMembersStatus } from '../hooks/useChannelMembersStatus';

import type { StackNavigatorParamList } from '../types';
import { NetworkDownIndicator } from '../components/NetworkDownIndicator';
import { init, SearchIndex } from 'emoji-mart';
import data from '@emoji-mart/data';

const styles = StyleSheet.create({
flex: { flex: 1 },
});
init({ data });

export type ChannelScreenNavigationProp = StackNavigationProp<
StackNavigatorParamList,
Expand Down Expand Up @@ -115,12 +120,9 @@ export const ChannelScreen: React.FC<ChannelScreenProps> = ({
},
} = useTheme();

const [channel, setChannel] = useState<StreamChatChannel | undefined>(
channelFromProp,
);
const [channel, setChannel] = useState<StreamChatChannel | undefined>(channelFromProp);

const [selectedThread, setSelectedThread] =
useState<ThreadContextValue['thread']>();
const [selectedThread, setSelectedThread] = useState<ThreadContextValue['thread']>();

useEffect(() => {
const initChannel = async () => {
Expand All @@ -142,13 +144,30 @@ export const ChannelScreen: React.FC<ChannelScreenProps> = ({
setSelectedThread(undefined);
});

const onThreadSelect = useCallback((thread) => {
setSelectedThread(thread);
navigation.navigate('ThreadScreen', {
channel,
thread,
useEffect(() => {
if (!chatClient) {
return;
}

chatClient.setMessageComposerSetupFunction(({ composer }) => {
composer.textComposer.middlewareExecutor.insert({
middleware: [createTextComposerEmojiMiddleware(SearchIndex) as TextComposerMiddleware],
position: { after: 'stream-io/text-composer/mentions-middleware' },
unique: true,
});
});
}, [channel, navigation]);
}, [chatClient]);

const onThreadSelect = useCallback(
(thread: LocalMessage | null) => {
setSelectedThread(thread);
navigation.navigate('ThreadScreen', {
channel,
thread,
});
},
[channel, navigation],
);

if (!channel || !chatClient) {
return null;
Expand All @@ -168,12 +187,14 @@ export const ChannelScreen: React.FC<ChannelScreenProps> = ({
thread={selectedThread}
>
<ChannelHeader channel={channel} />
<MessageList
onThreadSelect={onThreadSelect}
/>
<MessageList onThreadSelect={onThreadSelect} />
<AITypingIndicatorView channel={channel} />
<MessageInput />
</Channel>
</View>
);
};

const styles = StyleSheet.create({
flex: { flex: 1 },
});
44 changes: 43 additions & 1 deletion examples/SampleApp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,11 @@
dependencies:
"@types/hammerjs" "^2.0.36"

"@emoji-mart/data@^1.2.1":
version "1.2.1"
resolved "https://registry.yarnpkg.com/@emoji-mart/data/-/data-1.2.1.tgz#0ad70c662e3bc603e23e7d98413bd1e64c4fcb6c"
integrity sha512-no2pQMWiBy6gpBEiqGeU77/bFejDqUTRY7KX+0+iur13op3bqUsXdnwoZs6Xb1zbv0gAj5VvS1PWoUUckSr5Dw==

"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0":
version "4.4.1"
resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz#d1145bf2c20132d6400495d6df4bf59362fd9d56"
Expand Down Expand Up @@ -2566,6 +2571,18 @@
"@types/ms" "*"
"@types/node" "*"

"@types/lodash.mergewith@^4.6.9":
version "4.6.9"
resolved "https://registry.yarnpkg.com/@types/lodash.mergewith/-/lodash.mergewith-4.6.9.tgz#7093028a36de3cae4495d03b9d92c351cab1f8bf"
integrity sha512-fgkoCAOF47K7sxrQ7Mlud2TH023itugZs2bUg8h/KzT+BnZNrR2jAOmaokbLunHNnobXVWOezAeNn/lZqwxkcw==
dependencies:
"@types/lodash" "*"

"@types/lodash@*":
version "4.17.16"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.16.tgz#94ae78fab4a38d73086e962d0b65c30d816bfb0a"
integrity sha512-HX7Em5NYQAXKW+1T+FiuG27NGwzJfCX3s1GjOa7ujxZa52kjJLOr4FUxT+giF6Tgxv1e+/czV/iTtBw27WTU9g==

"@types/ms@*":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-2.1.0.tgz#052aa67a48eccc4309d7f0191b7e41434b90bb78"
Expand Down Expand Up @@ -3872,7 +3889,12 @@ emittery@^0.13.1:
resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad"
integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==

emoji-regex@^10.3.0:
emoji-mart@^5.6.0:
version "5.6.0"
resolved "https://registry.yarnpkg.com/emoji-mart/-/emoji-mart-5.6.0.tgz#71b3ed0091d3e8c68487b240d9d6d9a73c27f023"
integrity sha512-eJp3QRe79pjwa+duv+n7+5YsNhRcMl812EcFVwrnRvYKoNPoQb5qxU8DG6Bgwji0akHdp6D4Ln6tYLG58MFSow==

emoji-regex@^10.4.0:
version "10.4.0"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.4.0.tgz#03553afea80b3975749cfcb36f776ca268e413d4"
integrity sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==
Expand Down Expand Up @@ -5931,6 +5953,11 @@ lodash.merge@^4.6.2:
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==

lodash.mergewith@^4.6.2:
version "4.6.2"
resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55"
integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==

lodash.once@^4.0.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac"
Expand Down Expand Up @@ -7582,6 +7609,21 @@ stream-chat@^9.0.0:
linkifyjs "^4.2.0"
ws "^8.18.1"

stream-chat@^8.57.6:
version "8.60.0"
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-8.60.0.tgz#b67d4fbb185da53fb8ac5fc5759986d6ad7e19a3"
integrity sha512-7FpO7Wno++r+n+x9aFuXtGYtNO06CIMd2Bxe3doYZLhMfS0nuaXloeFlGcMT0r4U/6bnguz1qQdDJUPNQAS8bQ==
dependencies:
"@babel/runtime" "^7.27.0"
"@types/jsonwebtoken" "~9.0.0"
"@types/ws" "^7.4.0"
axios "^1.6.0"
base64-js "^1.5.1"
form-data "^4.0.0"
isomorphic-ws "^4.0.1"
jsonwebtoken "~9.0.0"
ws "^7.5.10"

strict-uri-encode@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546"
Expand Down
26 changes: 6 additions & 20 deletions examples/TypeScriptMessaging/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2334,6 +2334,11 @@
"@typescript-eslint/types" "8.24.1"
eslint-visitor-keys "^4.2.0"

"@ungap/structured-clone@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.3.0.tgz#d06bbb384ebcf6c505fde1c3d0ed4ddffe0aaff8"
integrity sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==

abort-controller@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392"
Expand Down Expand Up @@ -3361,7 +3366,7 @@ emittery@^0.13.1:
resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad"
integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==

emoji-regex@^10.3.0:
emoji-regex@^10.4.0:
version "10.4.0"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.4.0.tgz#03553afea80b3975749cfcb36f776ca268e413d4"
integrity sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==
Expand Down Expand Up @@ -6926,25 +6931,6 @@ statuses@~1.5.0:
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==

stream-chat-react-native-core@7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-7.0.0.tgz#ba5439c9a446713356105a40c7d2f90c3ccbf4a3"
integrity sha512-qjjukVUXl13/cQDCovTAUHMUXgweg6fhh0we2t+C3RI3gN0AaiXMpzejA6RSuArBtezV4AB/mv9BoT7BRTzqeA==
dependencies:
"@gorhom/bottom-sheet" "^5.1.1"
dayjs "1.10.5"
emoji-regex "^10.3.0"
i18next "^21.6.14"
intl-pluralrules "^2.0.1"
linkifyjs "^4.1.1"
lodash-es "4.17.21"
mime-types "^2.1.34"
path "0.12.7"
react-native-markdown-package "1.8.2"
react-native-url-polyfill "^1.3.0"
stream-chat "^9.0.0"
use-sync-external-store "^1.4.0"

"stream-chat-react-native-core@link:../../package":
version "0.0.0"
uid ""
Expand Down
2 changes: 1 addition & 1 deletion package/expo-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"types": "types/index.d.ts",
"dependencies": {
"mime": "^4.0.7",
"stream-chat-react-native-core": "7.0.0"
"stream-chat-react-native-core": "link:../"
},
"peerDependencies": {
"expo": ">=51.0.0",
Expand Down
34 changes: 12 additions & 22 deletions package/expo-package/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1827,6 +1827,11 @@
dependencies:
"@types/node" "*"

"@ungap/structured-clone@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.3.0.tgz#d06bbb384ebcf6c505fde1c3d0ed4ddffe0aaff8"
integrity sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==

"@urql/core@^5.0.6", "@urql/core@^5.1.1":
version "5.1.1"
resolved "https://registry.yarnpkg.com/@urql/core/-/core-5.1.1.tgz#d83c405451806a5936dabbd3f10a22967199e2f5"
Expand Down Expand Up @@ -2598,10 +2603,10 @@ electron-to-chromium@^1.5.73:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.112.tgz#8d3d95d4d5653836327890282c8eda5c6f26626d"
integrity sha512-oen93kVyqSb3l+ziUgzIOlWt/oOuy4zRmpwestMn4rhFWAoFJeFuCVte9F2fASjeZZo7l/Cif9TiyrdW4CwEMA==

emoji-regex@^10.3.0:
version "10.3.0"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.3.0.tgz#76998b9268409eb3dae3de989254d456e70cfe23"
integrity sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==
emoji-regex@^10.4.0:
version "10.4.0"
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.4.0.tgz#03553afea80b3975749cfcb36f776ca268e413d4"
integrity sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==

emoji-regex@^8.0.0:
version "8.0.0"
Expand Down Expand Up @@ -4778,24 +4783,9 @@ stream-buffers@2.2.x, stream-buffers@~2.2.0:
resolved "https://registry.yarnpkg.com/stream-buffers/-/stream-buffers-2.2.0.tgz#91d5f5130d1cef96dcfa7f726945188741d09ee4"
integrity sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==

stream-chat-react-native-core@7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-7.0.0.tgz#ba5439c9a446713356105a40c7d2f90c3ccbf4a3"
integrity sha512-qjjukVUXl13/cQDCovTAUHMUXgweg6fhh0we2t+C3RI3gN0AaiXMpzejA6RSuArBtezV4AB/mv9BoT7BRTzqeA==
dependencies:
"@gorhom/bottom-sheet" "^5.1.1"
dayjs "1.10.5"
emoji-regex "^10.3.0"
i18next "^21.6.14"
intl-pluralrules "^2.0.1"
linkifyjs "^4.1.1"
lodash-es "4.17.21"
mime-types "^2.1.34"
path "0.12.7"
react-native-markdown-package "1.8.2"
react-native-url-polyfill "^1.3.0"
stream-chat "^9.0.0"
use-sync-external-store "^1.4.0"
"stream-chat-react-native-core@link:..":
version "0.0.0"
uid ""

stream-chat@^9.0.0:
version "9.0.0"
Expand Down
2 changes: 1 addition & 1 deletion package/native-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"es6-symbol": "^3.1.3",
"mime": "^4.0.7",
"stream-chat-react-native-core": "7.0.0"
"stream-chat-react-native-core": "link:../"
},
"peerDependencies": {
"@react-native-camera-roll/camera-roll": ">=7.8.0",
Expand Down
Loading
Loading