stream-chat-angular 3.2.2 → 3.4.0
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 +37 -5
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/channel.service.js +33 -5
- package/fesm2015/stream-chat-angular.js +33 -5
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/channel.service.d.ts +11 -0
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
package/lib/channel.service.d.ts
CHANGED
|
@@ -155,11 +155,22 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
|
|
|
155
155
|
private messageToQuoteSubject;
|
|
156
156
|
private usersTypingInChannelSubject;
|
|
157
157
|
private usersTypingInThreadSubject;
|
|
158
|
+
private _shouldMarkActiveChannelAsRead;
|
|
159
|
+
private shouldSetActiveChannel;
|
|
160
|
+
private clientEventsSubscription;
|
|
158
161
|
private channelListSetter;
|
|
159
162
|
private messageListSetter;
|
|
160
163
|
private threadListSetter;
|
|
161
164
|
private parentMessageSetter;
|
|
162
165
|
constructor(chatClientService: ChatClientService<T>, ngZone: NgZone);
|
|
166
|
+
/**
|
|
167
|
+
* 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.
|
|
168
|
+
*/
|
|
169
|
+
get shouldMarkActiveChannelAsRead(): boolean;
|
|
170
|
+
/**
|
|
171
|
+
* 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.
|
|
172
|
+
*/
|
|
173
|
+
set shouldMarkActiveChannelAsRead(shouldMarkActiveChannelAsRead: boolean);
|
|
163
174
|
/**
|
|
164
175
|
* Sets the given `channel` as active and marks it as read.
|
|
165
176
|
* @param channel
|
package/package.json
CHANGED
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '3.
|
|
1
|
+
export const version = '3.4.0';
|