stream-chat-angular 5.1.1 → 5.1.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.
@@ -220,6 +220,9 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
220
220
  private parentMessageSetter;
221
221
  private dismissErrorNotification?;
222
222
  private areReadEventsPaused;
223
+ private markReadThrottleTime;
224
+ private markReadTimeout?;
225
+ private scheduledMarkReadRequest?;
223
226
  constructor(chatClientService: ChatClientService<T>, ngZone: NgZone, notificationService: NotificationService);
224
227
  /**
225
228
  * If set to false, read events won't be sent as new messages are received. If set to true active channel (if any) will immediately be marked as read.
@@ -527,6 +530,8 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
527
530
  private updateLatestMessages;
528
531
  private setChannelState;
529
532
  private markRead;
533
+ private markReadThrottled;
534
+ private flushMarkReadQueue;
530
535
  private _init;
531
536
  static ɵfac: i0.ɵɵFactoryDeclaration<ChannelService<any>, never>;
532
537
  static ɵprov: i0.ɵɵInjectableDeclaration<ChannelService<any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-angular",
3
- "version": "5.1.1",
3
+ "version": "5.1.3",
4
4
  "description": "Angular components to create chat conversations or livestream style chat",
5
5
  "author": "GetStream",
6
6
  "homepage": "https://getstream.io/chat/",
@@ -1 +1 @@
1
- export const version = '5.1.1';
1
+ export const version = '5.1.3';