@ethora/chat-component 25.2.2 → 25.2.3

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.
@@ -115,3 +115,13 @@ export declare const FileIcon: ({ fill, color, ...props }: {
115
115
  fill?: string;
116
116
  color?: string;
117
117
  }) => import("react/jsx-runtime").JSX.Element;
118
+ export declare const InSendingIcon: ({ fill, color, ...props }: {
119
+ [x: string]: any;
120
+ fill?: string;
121
+ color?: string;
122
+ }) => import("react/jsx-runtime").JSX.Element;
123
+ export declare const DoubleTick: ({ fill, color, ...props }: {
124
+ [x: string]: any;
125
+ fill?: string;
126
+ color?: string;
127
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -10,6 +10,7 @@ interface DataXml {
10
10
  deleted?: boolean;
11
11
  translations?: any;
12
12
  langSource?: string;
13
+ xmppId?: string;
13
14
  data: {
14
15
  [x: string]: any;
15
16
  };
@@ -1,6 +1,5 @@
1
- export declare function insertMessageWithDelimiter(roomMessages: any[], message: {
2
- id: any;
3
- date: any;
4
- }, lastViewedTimestamp: {
1
+ import { IMessage } from '../types/types';
2
+
3
+ export declare function insertMessageWithDelimiter(roomMessages: Partial<IMessage>[], message: IMessage, lastViewedTimestamp: {
5
4
  toString: () => string;
6
5
  }): void;
@@ -0,0 +1,10 @@
1
+ interface UnreadMessagesMap {
2
+ [roomJid: string]: number;
3
+ }
4
+ interface UnreadMessagesStats {
5
+ hasUnread: boolean;
6
+ totalCount: number;
7
+ unreadByRoom: UnreadMessagesMap;
8
+ }
9
+ export declare const useUnreadMessagesCounter: () => UnreadMessagesStats;
10
+ export {};
package/dist/main.d.ts CHANGED
@@ -1 +1,2 @@
1
+ export { XmppProvider } from './context/xmppProvider';
1
2
  export { ReduxWrapper as Chat } from './components/MainComponents/ReduxWrapper';