stream-chat-angular 4.28.0 → 4.29.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 +15 -1
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/channel.service.js +15 -1
- package/fesm2015/stream-chat-angular.js +15 -1
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/channel.service.d.ts +8 -0
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
package/lib/channel.service.d.ts
CHANGED
|
@@ -189,6 +189,8 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
|
|
|
189
189
|
set shouldMarkActiveChannelAsRead(shouldMarkActiveChannelAsRead: boolean);
|
|
190
190
|
/**
|
|
191
191
|
* Sets the given `channel` as active and marks it as read.
|
|
192
|
+
* If the channel wasn't previously part of the channel, it will be added to the beginning of the list.
|
|
193
|
+
*
|
|
192
194
|
* @param channel
|
|
193
195
|
*/
|
|
194
196
|
setAsActiveChannel(channel: Channel<T>): void;
|
|
@@ -296,6 +298,12 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
|
|
|
296
298
|
* @param message The message to select, if called with `undefined`, it deselects the message
|
|
297
299
|
*/
|
|
298
300
|
selectMessageToQuote(message: StreamMessage | undefined): void;
|
|
301
|
+
/**
|
|
302
|
+
* Add a new channel to the channel list
|
|
303
|
+
* The channel will be added to the beginning of the channel list
|
|
304
|
+
* @param channel
|
|
305
|
+
*/
|
|
306
|
+
addChannel(channel: Channel<T>): void;
|
|
299
307
|
private sendMessageRequest;
|
|
300
308
|
/**
|
|
301
309
|
* Jumps to the selected message inside the message list, if the message is not yet loaded, it'll load the message (and it's surroundings) from the API.
|
package/package.json
CHANGED
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '4.
|
|
1
|
+
export const version = '4.29.0';
|