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
|
@@ -7567,9 +7567,6 @@ var _MessageComposer = class _MessageComposer extends WithSubscriptions {
|
|
|
7567
7567
|
return this.state.getLatestValue().showReplyInChannel;
|
|
7568
7568
|
}
|
|
7569
7569
|
get hasSendableData() {
|
|
7570
|
-
if (this.client.offlineDb) {
|
|
7571
|
-
return !this.textComposer.textIsEmpty || !!this.attachmentManager.attachments.length || !!this.pollId || !!this.locationComposer.validLocation;
|
|
7572
|
-
}
|
|
7573
7570
|
return !!(!this.attachmentManager.uploadsInProgressCount && (!this.textComposer.textIsEmpty || this.attachmentManager.successfulUploadsCount > 0) || this.pollId || !!this.locationComposer.validLocation);
|
|
7574
7571
|
}
|
|
7575
7572
|
get compositionIsEmpty() {
|
|
@@ -15385,7 +15382,7 @@ var StreamChat = class _StreamChat {
|
|
|
15385
15382
|
if (this.userAgent) {
|
|
15386
15383
|
return this.userAgent;
|
|
15387
15384
|
}
|
|
15388
|
-
const version = "9.42.
|
|
15385
|
+
const version = "9.42.2";
|
|
15389
15386
|
const clientBundle = "browser-cjs";
|
|
15390
15387
|
let userAgentString = "";
|
|
15391
15388
|
if (this.sdkIdentifier) {
|