stream-chat-angular 2.16.1 → 2.17.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.
@@ -26,7 +26,7 @@ export declare class AttachmentListComponent implements OnChanges {
26
26
  isFile(attachment: Attachment): boolean;
27
27
  isCard(attachment: Attachment): boolean;
28
28
  imageLoaded(): void;
29
- hasFileSize(attachment: Attachment<DefaultAttachmentType>): boolean | 0 | undefined;
29
+ hasFileSize(attachment: Attachment<DefaultAttachmentType>): boolean | "" | 0 | undefined;
30
30
  getFileSize(attachment: Attachment<DefaultAttachmentType>): string;
31
31
  trimUrl(url?: string | null): string | null;
32
32
  sendAction(action: Action): void;
package/lib/types.d.ts CHANGED
@@ -8,7 +8,6 @@ export declare type CustomTrigger = {
8
8
  };
9
9
  export declare type DefaultAttachmentType = UnknownType & {
10
10
  asset_url?: string;
11
- file_size?: number;
12
11
  id?: string;
13
12
  images?: Array<{
14
13
  image_url?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-angular",
3
- "version": "2.16.1",
3
+ "version": "2.17.0",
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 = '2.16.1';
1
+ export const version = '2.17.0';