stream-chat-angular 3.3.0 → 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.
- package/assets/version.d.ts +1 -1
- package/bundles/stream-chat-angular.umd.js +22 -5
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/channel.service.js +18 -5
- package/fesm2015/stream-chat-angular.js +18 -5
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/channel.service.d.ts +9 -4
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
package/lib/channel.service.d.ts
CHANGED
|
@@ -140,10 +140,6 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
|
|
|
140
140
|
* You can override the default image delete request - override this if you use your own CDN
|
|
141
141
|
*/
|
|
142
142
|
customImageDeleteRequest?: (url: string, channel: Channel<T>) => Promise<void>;
|
|
143
|
-
/**
|
|
144
|
-
* If set to false, read events won't be sent as new messages are received
|
|
145
|
-
*/
|
|
146
|
-
shouldMarkActiveChannelAsRead: boolean;
|
|
147
143
|
private channelsSubject;
|
|
148
144
|
private activeChannelSubject;
|
|
149
145
|
private activeChannelMessagesSubject;
|
|
@@ -159,11 +155,20 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
|
|
|
159
155
|
private messageToQuoteSubject;
|
|
160
156
|
private usersTypingInChannelSubject;
|
|
161
157
|
private usersTypingInThreadSubject;
|
|
158
|
+
private _shouldMarkActiveChannelAsRead;
|
|
162
159
|
private channelListSetter;
|
|
163
160
|
private messageListSetter;
|
|
164
161
|
private threadListSetter;
|
|
165
162
|
private parentMessageSetter;
|
|
166
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);
|
|
167
172
|
/**
|
|
168
173
|
* Sets the given `channel` as active and marks it as read.
|
|
169
174
|
* @param channel
|
package/package.json
CHANGED
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '3.3.
|
|
1
|
+
export const version = '3.3.1';
|