stream-chat-angular 4.26.0 → 4.26.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.
@@ -57,6 +57,7 @@ export declare class MessageActionsBoxComponent implements OnChanges, OnDestroy
57
57
  ngOnChanges(changes: SimpleChanges): void;
58
58
  ngOnDestroy(): void;
59
59
  getActionLabel(actionLabelOrTranslationKey: ((message: StreamMessage) => string) | string): string;
60
+ getMessageActionTemplateContext(item: MessageActionItem | CustomMessageActionItem): MessageActionBoxItemContext<any>;
60
61
  sendClicked(): void;
61
62
  modalClosed: () => void;
62
63
  getMessageInputContext(): MessageInputContext;
package/lib/types.d.ts CHANGED
@@ -162,7 +162,9 @@ export declare type MessageActionsBoxContext = {
162
162
  export declare type MessageActionBoxItemContext<T extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
163
163
  actionName: 'quote' | 'pin' | 'flag' | 'edit' | 'delete' | string;
164
164
  actionLabelOrTranslationKey: ((message: StreamMessage<T>) => string) | string;
165
- actionHandler: () => any;
165
+ message: StreamMessage<T>;
166
+ isMine: boolean;
167
+ actionHandler: (message: StreamMessage<T>, isMine: boolean) => any;
166
168
  };
167
169
  declare type MessageActionItemBase<T extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
168
170
  actionLabelOrTranslationKey: ((message: StreamMessage<T>) => string) | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-angular",
3
- "version": "4.26.0",
3
+ "version": "4.26.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 = '4.26.0';
1
+ export const version = '4.26.1';