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
package/dist/esm/index.js
CHANGED
|
@@ -4642,6 +4642,9 @@ var AttachmentManager = class {
|
|
|
4642
4642
|
if (isFileReference(fileLike) && fileLike.thumb_url) {
|
|
4643
4643
|
localAttachment.thumb_url = fileLike.thumb_url;
|
|
4644
4644
|
}
|
|
4645
|
+
if (isFileReference(fileLike) && fileLike.duration) {
|
|
4646
|
+
localAttachment.duration = fileLike.duration;
|
|
4647
|
+
}
|
|
4645
4648
|
return localAttachment;
|
|
4646
4649
|
};
|
|
4647
4650
|
this.ensureLocalUploadAttachment = async (attachment) => {
|
|
@@ -16524,7 +16527,7 @@ var StreamChat = class _StreamChat {
|
|
|
16524
16527
|
if (this.userAgent) {
|
|
16525
16528
|
return this.userAgent;
|
|
16526
16529
|
}
|
|
16527
|
-
const version = "9.
|
|
16530
|
+
const version = "9.11.0";
|
|
16528
16531
|
const clientBundle = "browser-esm";
|
|
16529
16532
|
let userAgentString = "";
|
|
16530
16533
|
if (this.sdkIdentifier) {
|