@ethora/chat-component 25.2.4 → 25.2.5

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.
@@ -5,7 +5,7 @@ interface MediaMessageProps {
5
5
  mimeType?: string;
6
6
  message?: IMessage;
7
7
  location?: string;
8
- messageText?: string;
8
+ locationPreview?: string;
9
9
  }
10
10
  declare const MediaMessage: React.FC<MediaMessageProps>;
11
11
  export default MediaMessage;
@@ -0,0 +1,4 @@
1
+ declare const PdfViewer: ({ pdfUrl }: {
2
+ pdfUrl: any;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default PdfViewer;
@@ -1,7 +1,7 @@
1
1
  import { FC } from 'react';
2
2
  import { LastMessage } from '../../../types/types';
3
3
 
4
- interface LastMessageFileProps extends Pick<LastMessage, 'user' | 'originalName'> {
4
+ interface LastMessageFileProps extends Pick<LastMessage, 'user' | 'originalName' | 'locationPreview'> {
5
5
  }
6
6
  declare const LastMessageFile: FC<LastMessageFileProps>;
7
7
  export default LastMessageFile;
@@ -4,6 +4,7 @@ interface CustomMessageImageProps {
4
4
  fileURL: string;
5
5
  fileName: string;
6
6
  mimetype: string;
7
+ locationPreview?: string;
7
8
  }
8
9
  declare const CustomMessageImage: React.FC<CustomMessageImageProps>;
9
10
  export default CustomMessageImage;
@@ -5,6 +5,7 @@ interface FileDownloadProps {
5
5
  fileURL: string;
6
6
  mimetype: string;
7
7
  size?: string;
8
+ locationPreview?: string;
8
9
  }
9
10
  declare const FileDownload: React.FC<FileDownloadProps>;
10
11
  export default FileDownload;
@@ -11,6 +11,7 @@ interface DataXml {
11
11
  translations?: any;
12
12
  langSource?: string;
13
13
  xmppId?: string;
14
+ xmppFrom?: string;
14
15
  data: {
15
16
  [x: string]: any;
16
17
  };