@ethora/chat-component 26.3.16 → 26.3.17

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.
@@ -37,6 +37,7 @@ export declare class XmppClient implements XmppClientInterface {
37
37
  private historyQueueInFlight;
38
38
  private historyQueueInFlightHigh;
39
39
  private historyQueueWorkerScheduled;
40
+ private historyQueueWorkerTimer;
40
41
  private roomHistoryEpoch;
41
42
  private criticalSendUntil;
42
43
  private activeRoomBoostUntil;
@@ -55,6 +56,7 @@ export declare class XmppClient implements XmppClientInterface {
55
56
  private roomPresenceBlockedUntil;
56
57
  private activeHistoryInFlight;
57
58
  private chatsPrivateStoreCache;
59
+ private chatsPrivateStoreInFlight;
58
60
  private activeRoomJid;
59
61
  private sendIsActiveById;
60
62
  private sendClickToEchoByScope;
@@ -111,6 +113,7 @@ export declare class XmppClient implements XmppClientInterface {
111
113
  private getRoomEpoch;
112
114
  private getHistoryPriority;
113
115
  private nextHistoryTaskId;
116
+ private getHistoryInFlightKey;
114
117
  private scheduleHistoryQueue;
115
118
  private pickNextHistoryTask;
116
119
  private processHistoryQueue;
@@ -164,7 +167,7 @@ export declare class XmppClient implements XmppClientInterface {
164
167
  editMessageStanza(room: string, msgId: string, text: string): void;
165
168
  sendMessageReactionStanza(messageId: string, roomJid: string, reactionsList: string[], reactionSymbol?: any): void;
166
169
  sendTypingRequestStanza(chatId: string, fullName: string, start: boolean): void;
167
- getChatsPrivateStoreRequestStanza: () => Promise<unknown>;
170
+ getChatsPrivateStoreRequestStanza: () => Promise<Record<string, string | number> | null>;
168
171
  actionSetTimestampToPrivateStoreStanza(chatId: string, timestamp: number, chats?: string[]): Promise<void>;
169
172
  createPrivateRoomStanza(title: string, description: string, to: string): Promise<string>;
170
173
  sendMediaMessageStanza(roomJID: string, data: any, id: string): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethora/chat-component",
3
- "version": "26.3.16",
3
+ "version": "26.3.17",
4
4
  "type": "module",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",