stream-chat-react 12.15.3 → 12.15.4
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/dist/components/Attachment/index.d.ts +1 -0
- package/dist/components/Attachment/index.js +1 -0
- package/dist/components/Chat/hooks/useChat.js +1 -1
- package/dist/index.browser.cjs +2 -1
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.node.cjs +3 -1
- package/dist/index.node.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ export const useChat = ({ client, defaultLanguage = 'en', i18nInstance, initialN
|
|
|
24
24
|
useEffect(() => {
|
|
25
25
|
if (!client)
|
|
26
26
|
return;
|
|
27
|
-
const version = "12.15.
|
|
27
|
+
const version = "12.15.4";
|
|
28
28
|
const userAgent = client.getUserAgent();
|
|
29
29
|
if (!userAgent.includes('stream-chat-react')) {
|
|
30
30
|
// result looks like: 'stream-chat-react-2.3.2-stream-chat-javascript-client-browser-2.2.2'
|
package/dist/index.browser.cjs
CHANGED
|
@@ -17876,6 +17876,7 @@ __export(src_exports, {
|
|
|
17876
17876
|
useAIState: () => useAIState,
|
|
17877
17877
|
useActionHandler: () => useActionHandler,
|
|
17878
17878
|
useActiveThread: () => useActiveThread,
|
|
17879
|
+
useAudioController: () => useAudioController,
|
|
17879
17880
|
useChannelActionContext: () => useChannelActionContext,
|
|
17880
17881
|
useChannelDeletedListener: () => useChannelDeletedListener,
|
|
17881
17882
|
useChannelEditMessageHandler: () => useEditMessageHandler,
|
|
@@ -53115,7 +53116,7 @@ var useChat = ({
|
|
|
53115
53116
|
};
|
|
53116
53117
|
(0, import_react263.useEffect)(() => {
|
|
53117
53118
|
if (!client) return;
|
|
53118
|
-
const version = "12.15.
|
|
53119
|
+
const version = "12.15.4";
|
|
53119
53120
|
const userAgent = client.getUserAgent();
|
|
53120
53121
|
if (!userAgent.includes("stream-chat-react")) {
|
|
53121
53122
|
client.setUserAgent(`stream-chat-react-${version}-${userAgent}`);
|