stream-chat-angular 5.4.0 → 5.4.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.
- package/assets/version.d.ts +1 -1
- package/esm2020/assets/version.mjs +2 -2
- package/esm2020/lib/attachment.service.mjs +17 -1
- package/fesm2015/stream-chat-angular.mjs +17 -1
- package/fesm2015/stream-chat-angular.mjs.map +1 -1
- package/fesm2020/stream-chat-angular.mjs +17 -1
- package/fesm2020/stream-chat-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
|
@@ -21,7 +21,7 @@ import transliterate from '@stream-io/transliterate';
|
|
|
21
21
|
import * as i8$1 from 'angular-mentions';
|
|
22
22
|
import { MentionModule } from 'angular-mentions';
|
|
23
23
|
|
|
24
|
-
const version = '5.4.
|
|
24
|
+
const version = '5.4.1';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
|
|
@@ -2250,6 +2250,22 @@ class AttachmentService {
|
|
|
2250
2250
|
fromAttachment: attachment,
|
|
2251
2251
|
});
|
|
2252
2252
|
}
|
|
2253
|
+
else if (attachment.type === 'voiceRecording') {
|
|
2254
|
+
attachmentUploads.push({
|
|
2255
|
+
url: attachment.asset_url,
|
|
2256
|
+
state: 'success',
|
|
2257
|
+
file: {
|
|
2258
|
+
name: attachment.title,
|
|
2259
|
+
size: attachment.file_size,
|
|
2260
|
+
type: attachment.mime_type,
|
|
2261
|
+
},
|
|
2262
|
+
type: 'voiceRecording',
|
|
2263
|
+
extraData: {
|
|
2264
|
+
duration: attachment.duration,
|
|
2265
|
+
waveform_data: attachment.waveform_data,
|
|
2266
|
+
},
|
|
2267
|
+
});
|
|
2268
|
+
}
|
|
2253
2269
|
});
|
|
2254
2270
|
if (attachmentUploads.length > 0) {
|
|
2255
2271
|
this.attachmentUploadsSubject.next([
|