stream-chat-angular 4.41.0 → 4.42.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 +16 -3
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/channel.service.js +10 -2
- package/fesm2015/stream-chat-angular.js +10 -2
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/channel.service.d.ts +7 -1
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
package/lib/channel.service.d.ts
CHANGED
|
@@ -161,6 +161,10 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
|
|
|
161
161
|
* You can override the default image delete request - override this if you use your own CDN
|
|
162
162
|
*/
|
|
163
163
|
customImageDeleteRequest?: (url: string, channel: Channel<T>) => Promise<void>;
|
|
164
|
+
/**
|
|
165
|
+
* The provided method will be called before deleting a message. If the returned Promise resolves to `true` to deletion will go ahead. If `false` is returned, the message won't be deleted.
|
|
166
|
+
*/
|
|
167
|
+
messageDeleteConfirmationHandler?: (message: StreamMessage<T>) => Promise<boolean>;
|
|
164
168
|
private channelsSubject;
|
|
165
169
|
private activeChannelSubject;
|
|
166
170
|
private activeChannelMessagesSubject;
|
|
@@ -320,7 +324,9 @@ export declare class ChannelService<T extends DefaultStreamChatGenerics = Defaul
|
|
|
320
324
|
reply_count?: number | undefined;
|
|
321
325
|
shadowed?: boolean | undefined;
|
|
322
326
|
status?: string | undefined;
|
|
323
|
-
thread_participants?: UserResponse<T>[] | undefined;
|
|
327
|
+
thread_participants?: UserResponse<T>[] | undefined; /**
|
|
328
|
+
* 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.
|
|
329
|
+
*/
|
|
324
330
|
updated_at?: string | undefined;
|
|
325
331
|
} & {
|
|
326
332
|
quoted_message?: import("stream-chat").MessageResponseBase<T> | undefined;
|
package/package.json
CHANGED
package/src/assets/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '4.
|
|
1
|
+
export const version = '4.42.0';
|