stream-chat 9.42.0 → 9.42.2
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.js +1 -4
- package/dist/cjs/index.browser.js.map +2 -2
- package/dist/cjs/index.node.js +1 -4
- package/dist/cjs/index.node.js.map +2 -2
- package/dist/esm/index.mjs +1 -4
- package/dist/esm/index.mjs.map +2 -2
- package/dist/types/types.d.ts +1 -1
- package/package.json +1 -1
- package/src/messageComposer/messageComposer.ts +0 -9
- package/src/types.ts +7 -1
package/dist/esm/index.mjs
CHANGED
|
@@ -7377,9 +7377,6 @@ var _MessageComposer = class _MessageComposer extends WithSubscriptions {
|
|
|
7377
7377
|
return this.state.getLatestValue().showReplyInChannel;
|
|
7378
7378
|
}
|
|
7379
7379
|
get hasSendableData() {
|
|
7380
|
-
if (this.client.offlineDb) {
|
|
7381
|
-
return !this.textComposer.textIsEmpty || !!this.attachmentManager.attachments.length || !!this.pollId || !!this.locationComposer.validLocation;
|
|
7382
|
-
}
|
|
7383
7380
|
return !!(!this.attachmentManager.uploadsInProgressCount && (!this.textComposer.textIsEmpty || this.attachmentManager.successfulUploadsCount > 0) || this.pollId || !!this.locationComposer.validLocation);
|
|
7384
7381
|
}
|
|
7385
7382
|
get compositionIsEmpty() {
|
|
@@ -15195,7 +15192,7 @@ var StreamChat = class _StreamChat {
|
|
|
15195
15192
|
if (this.userAgent) {
|
|
15196
15193
|
return this.userAgent;
|
|
15197
15194
|
}
|
|
15198
|
-
const version = "9.42.
|
|
15195
|
+
const version = "9.42.2";
|
|
15199
15196
|
const clientBundle = "browser-esm";
|
|
15200
15197
|
let userAgentString = "";
|
|
15201
15198
|
if (this.sdkIdentifier) {
|