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.
@@ -1 +1 @@
1
- export declare const version = "2.16.1";
1
+ export declare const version = "2.17.0";
@@ -354,7 +354,7 @@
354
354
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
355
355
  }
356
356
 
357
- var version = '2.16.1';
357
+ var version = '2.17.0';
358
358
 
359
359
  /**
360
360
  * The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
@@ -2464,7 +2464,7 @@
2464
2464
  return (attachment.file_size && Number.isFinite(Number(attachment.file_size)));
2465
2465
  };
2466
2466
  AttachmentListComponent.prototype.getFileSize = function (attachment) {
2467
- return prettybytes__default['default'](attachment.file_size);
2467
+ return prettybytes__default['default'](Number(attachment.file_size));
2468
2468
  };
2469
2469
  AttachmentListComponent.prototype.trimUrl = function (url) {
2470
2470
  if (url !== undefined && url !== null) {