stream-chat 9.10.1 → 9.11.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/dist/cjs/index.browser.cjs +4 -1
- package/dist/cjs/index.browser.cjs.map +2 -2
- package/dist/cjs/index.node.cjs +4 -1
- package/dist/cjs/index.node.cjs.map +2 -2
- package/dist/esm/index.js +4 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/types/channel.d.ts +3 -9
- package/dist/types/types.d.ts +8 -0
- package/package.json +1 -1
- package/src/channel.ts +3 -2
- package/src/messageComposer/attachmentManager.ts +4 -0
- package/src/types.ts +9 -0
|
@@ -4807,6 +4807,9 @@ var AttachmentManager = class {
|
|
|
4807
4807
|
if (isFileReference(fileLike) && fileLike.thumb_url) {
|
|
4808
4808
|
localAttachment.thumb_url = fileLike.thumb_url;
|
|
4809
4809
|
}
|
|
4810
|
+
if (isFileReference(fileLike) && fileLike.duration) {
|
|
4811
|
+
localAttachment.duration = fileLike.duration;
|
|
4812
|
+
}
|
|
4810
4813
|
return localAttachment;
|
|
4811
4814
|
};
|
|
4812
4815
|
this.ensureLocalUploadAttachment = async (attachment) => {
|
|
@@ -15560,7 +15563,7 @@ var StreamChat = class _StreamChat {
|
|
|
15560
15563
|
if (this.userAgent) {
|
|
15561
15564
|
return this.userAgent;
|
|
15562
15565
|
}
|
|
15563
|
-
const version = "9.
|
|
15566
|
+
const version = "9.11.0";
|
|
15564
15567
|
const clientBundle = "browser-cjs";
|
|
15565
15568
|
let userAgentString = "";
|
|
15566
15569
|
if (this.sdkIdentifier) {
|