@ethora/chat-component 24.12.40 → 25.1.1

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/README.md CHANGED
@@ -148,6 +148,11 @@ body {
148
148
 
149
149
  After these changes you can modify **MainComponentStyles** for your chat.
150
150
 
151
+ ## Architecture Diagram
152
+ ![CleanShot 2025-01-09 at 13 14 37@2x](https://github.com/user-attachments/assets/4d187bbb-6697-4e96-97d3-3a4a4b7e8adf)
153
+
154
+
155
+
151
156
  ## Use cases and functionalities details
152
157
 
153
158
  ### LOGIN FUNCTIONALITY
@@ -1,2 +1,2 @@
1
- declare const useMessageLoaderQueue: (roomsList: string[], globalLoading: boolean, loading: boolean, loadMoreMessages: (roomJid: string, max: number) => Promise<any>, isInited?: boolean) => void;
1
+ declare const useMessageLoaderQueue: (roomsList: string[], globalLoading: boolean, loading: boolean, loadMoreMessages: (roomJid: string, max: number) => Promise<any>) => void;
2
2
  export default useMessageLoaderQueue;
@@ -1,4 +1,5 @@
1
1
  export declare const useSendMessage: () => {
2
2
  sendMessage: (message: string, activeRoomJID: string, isReply?: boolean, isChecked?: boolean, mainMessage?: string) => void;
3
3
  sendMedia: (data: any, type: string, activeRoomJID: string, isReply?: boolean, isChecked?: boolean, mainMessage?: string) => Promise<void>;
4
+ sendEditMessage: (message: string) => void;
4
5
  };