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.
@@ -8,3 +8,4 @@ export * from './components';
8
8
  export * from './UnsupportedAttachment';
9
9
  export * from './FileAttachment';
10
10
  export * from './utils';
11
+ export { useAudioController } from './hooks/useAudioController';
@@ -8,3 +8,4 @@ export * from './components';
8
8
  export * from './UnsupportedAttachment';
9
9
  export * from './FileAttachment';
10
10
  export * from './utils';
11
+ export { useAudioController } from './hooks/useAudioController';
@@ -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.3";
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'
@@ -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.3";
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}`);