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/cjs/index.node.js
CHANGED
|
@@ -7546,9 +7546,6 @@ var _MessageComposer = class _MessageComposer extends WithSubscriptions {
|
|
|
7546
7546
|
return this.state.getLatestValue().showReplyInChannel;
|
|
7547
7547
|
}
|
|
7548
7548
|
get hasSendableData() {
|
|
7549
|
-
if (this.client.offlineDb) {
|
|
7550
|
-
return !this.textComposer.textIsEmpty || !!this.attachmentManager.attachments.length || !!this.pollId || !!this.locationComposer.validLocation;
|
|
7551
|
-
}
|
|
7552
7549
|
return !!(!this.attachmentManager.uploadsInProgressCount && (!this.textComposer.textIsEmpty || this.attachmentManager.successfulUploadsCount > 0) || this.pollId || !!this.locationComposer.validLocation);
|
|
7553
7550
|
}
|
|
7554
7551
|
get compositionIsEmpty() {
|
|
@@ -15364,7 +15361,7 @@ var StreamChat = class _StreamChat {
|
|
|
15364
15361
|
if (this.userAgent) {
|
|
15365
15362
|
return this.userAgent;
|
|
15366
15363
|
}
|
|
15367
|
-
const version = "9.42.
|
|
15364
|
+
const version = "9.42.2";
|
|
15368
15365
|
const clientBundle = "node-cjs";
|
|
15369
15366
|
let userAgentString = "";
|
|
15370
15367
|
if (this.sdkIdentifier) {
|