stream-chat 8.40.5 → 8.40.7
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/browser.es.js +4 -4
- package/dist/browser.es.js.map +1 -1
- package/dist/browser.full-bundle.min.js +1 -1
- package/dist/browser.full-bundle.min.js.map +1 -1
- package/dist/browser.js +4 -4
- package/dist/browser.js.map +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/types/thread_manager.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2 -2
- package/src/thread_manager.ts +3 -1
package/dist/index.js
CHANGED
|
@@ -8666,7 +8666,7 @@ var ThreadManager = /*#__PURE__*/function () {
|
|
|
8666
8666
|
|
|
8667
8667
|
_context.next = 11;
|
|
8668
8668
|
return _this.queryThreads({
|
|
8669
|
-
limit: Math.min(limit, MAX_QUERY_THREADS_LIMIT)
|
|
8669
|
+
limit: Math.min(limit, MAX_QUERY_THREADS_LIMIT) || MAX_QUERY_THREADS_LIMIT
|
|
8670
8670
|
});
|
|
8671
8671
|
|
|
8672
8672
|
case 11:
|
|
@@ -9644,8 +9644,8 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
9644
9644
|
var _channel6 = _this.activeChannels[cid];
|
|
9645
9645
|
|
|
9646
9646
|
if (Object.keys(custom).length > 0) {
|
|
9647
|
-
_channel6.data = custom;
|
|
9648
|
-
_channel6._data = custom;
|
|
9647
|
+
_channel6.data = _objectSpread(_objectSpread({}, _channel6.data), custom);
|
|
9648
|
+
_channel6._data = _objectSpread(_objectSpread({}, _channel6._data), custom);
|
|
9649
9649
|
}
|
|
9650
9650
|
|
|
9651
9651
|
return _channel6;
|
|
@@ -13361,7 +13361,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
13361
13361
|
}, {
|
|
13362
13362
|
key: "getUserAgent",
|
|
13363
13363
|
value: function getUserAgent() {
|
|
13364
|
-
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.40.
|
|
13364
|
+
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.40.7");
|
|
13365
13365
|
}
|
|
13366
13366
|
}, {
|
|
13367
13367
|
key: "setUserAgent",
|