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/cjs/index.node.cjs
CHANGED
|
@@ -16150,6 +16150,9 @@ var AttachmentManager = class {
|
|
|
16150
16150
|
if (isFileReference(fileLike) && fileLike.thumb_url) {
|
|
16151
16151
|
localAttachment.thumb_url = fileLike.thumb_url;
|
|
16152
16152
|
}
|
|
16153
|
+
if (isFileReference(fileLike) && fileLike.duration) {
|
|
16154
|
+
localAttachment.duration = fileLike.duration;
|
|
16155
|
+
}
|
|
16153
16156
|
return localAttachment;
|
|
16154
16157
|
};
|
|
16155
16158
|
this.ensureLocalUploadAttachment = async (attachment) => {
|
|
@@ -26891,7 +26894,7 @@ var StreamChat = class _StreamChat {
|
|
|
26891
26894
|
if (this.userAgent) {
|
|
26892
26895
|
return this.userAgent;
|
|
26893
26896
|
}
|
|
26894
|
-
const version = "9.
|
|
26897
|
+
const version = "9.11.0";
|
|
26895
26898
|
const clientBundle = "node-cjs";
|
|
26896
26899
|
let userAgentString = "";
|
|
26897
26900
|
if (this.sdkIdentifier) {
|