stream-chat-angular 3.2.1 → 3.3.1

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.
@@ -155,11 +155,20 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
155
155
  private messageToQuoteSubject;
156
156
  private usersTypingInChannelSubject;
157
157
  private usersTypingInThreadSubject;
158
+ private _shouldMarkActiveChannelAsRead;
158
159
  private channelListSetter;
159
160
  private messageListSetter;
160
161
  private threadListSetter;
161
162
  private parentMessageSetter;
162
163
  constructor(chatClientService: ChatClientService<T>, ngZone: NgZone);
164
+ /**
165
+ * 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.
166
+ */
167
+ get shouldMarkActiveChannelAsRead(): boolean;
168
+ /**
169
+ * 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.
170
+ */
171
+ set shouldMarkActiveChannelAsRead(shouldMarkActiveChannelAsRead: boolean);
163
172
  /**
164
173
  * Sets the given `channel` as active and marks it as read.
165
174
  * @param channel
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-angular",
3
- "version": "3.2.1",
3
+ "version": "3.3.1",
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 = '3.2.1';
1
+ export const version = '3.3.1';