stream-chat-angular 4.68.1 → 4.68.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.
- package/assets/version.d.ts +1 -1
- package/bundles/stream-chat-angular.umd.js +47 -9
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/avatar/avatar.component.js +4 -1
- package/esm2015/lib/channel.service.js +41 -6
- package/esm2015/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.js +2 -4
- package/fesm2015/stream-chat-angular.js +45 -9
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/avatar/avatar.component.d.ts +3 -2
- package/lib/channel.service.d.ts +5 -0
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, NgZone, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Channel, User } from 'stream-chat';
|
|
3
3
|
import { ChatClientService } from '../chat-client.service';
|
|
4
4
|
import { AvatarLocation, AvatarType, DefaultStreamChatGenerics } from '../types';
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
/**
|
|
7
7
|
* The `Avatar` component displays the provided image, with fallback to the first letter of the optional name input.
|
|
8
8
|
*/
|
|
9
|
-
export declare class AvatarComponent implements OnChanges, OnInit, OnChanges, AfterViewInit {
|
|
9
|
+
export declare class AvatarComponent implements OnChanges, OnInit, OnChanges, AfterViewInit, OnDestroy {
|
|
10
10
|
private chatClientService;
|
|
11
11
|
private ngZone;
|
|
12
12
|
private cdRef;
|
|
@@ -57,6 +57,7 @@ export declare class AvatarComponent implements OnChanges, OnInit, OnChanges, Af
|
|
|
57
57
|
constructor(chatClientService: ChatClientService, ngZone: NgZone, cdRef: ChangeDetectorRef);
|
|
58
58
|
ngOnInit(): void;
|
|
59
59
|
ngOnChanges(changes: SimpleChanges): void;
|
|
60
|
+
ngOnDestroy(): void;
|
|
60
61
|
private setFallbackChannelImage;
|
|
61
62
|
private setInitials;
|
|
62
63
|
private updateIsOnlineSubscription;
|
package/lib/channel.service.d.ts
CHANGED
|
@@ -235,6 +235,9 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
|
|
|
235
235
|
private dismissErrorNotification?;
|
|
236
236
|
private nextPageConfiguration?;
|
|
237
237
|
private areReadEventsPaused;
|
|
238
|
+
private markReadThrottleTime;
|
|
239
|
+
private markReadTimeout?;
|
|
240
|
+
private scheduledMarkReadRequest?;
|
|
238
241
|
constructor(chatClientService: ChatClientService<T>, ngZone: NgZone, notificationService: NotificationService);
|
|
239
242
|
/**
|
|
240
243
|
* internal
|
|
@@ -523,6 +526,8 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
|
|
|
523
526
|
private updateLatestMessages;
|
|
524
527
|
private setChannelState;
|
|
525
528
|
private markRead;
|
|
529
|
+
private markReadThrottled;
|
|
530
|
+
private flushMarkReadQueue;
|
|
526
531
|
private setNextPageConfiguration;
|
|
527
532
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChannelService<any>, never>;
|
|
528
533
|
static ɵprov: i0.ɵɵInjectableDeclaration<ChannelService<any>>;
|
package/package.json
CHANGED
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '4.68.
|
|
1
|
+
export const version = '4.68.3';
|