@ethora/chat-component 25.1.10 → 25.1.11

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.
@@ -0,0 +1,3 @@
1
+ import { Middleware } from '@reduxjs/toolkit';
2
+
3
+ export declare const newMessageMidlleware: Middleware;
@@ -37,7 +37,6 @@ export interface IMessage {
37
37
  export interface IReply extends IMessage {
38
38
  }
39
39
  export interface IRoom {
40
- id: string;
41
40
  name: string;
42
41
  jid: string;
43
42
  title: string;
@@ -45,7 +44,9 @@ export interface IRoom {
45
44
  messages: IMessage[];
46
45
  isLoading: boolean;
47
46
  roomBg: string;
47
+ id?: string;
48
48
  lastMessage?: string;
49
+ lastMessageTimestamp?: number;
49
50
  lastRoomMessage?: RoomLastMessage;
50
51
  icon?: string;
51
52
  composing?: boolean;
@@ -101,6 +102,7 @@ export interface User {
101
102
  ];
102
103
  appId: string;
103
104
  xmppPassword: string;
105
+ langSource?: Iso639_1Codes;
104
106
  homeScreen?: string;
105
107
  registrationChannelType?: string;
106
108
  updatedAt?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethora/chat-component",
3
- "version": "25.01.10",
3
+ "version": "25.01.11",
4
4
  "type": "module",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",