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/index.es.js CHANGED
@@ -8638,7 +8638,7 @@ var ThreadManager = /*#__PURE__*/function () {
8638
8638
 
8639
8639
  _context.next = 11;
8640
8640
  return _this.queryThreads({
8641
- limit: Math.min(limit, MAX_QUERY_THREADS_LIMIT)
8641
+ limit: Math.min(limit, MAX_QUERY_THREADS_LIMIT) || MAX_QUERY_THREADS_LIMIT
8642
8642
  });
8643
8643
 
8644
8644
  case 11:
@@ -9616,8 +9616,8 @@ var StreamChat = /*#__PURE__*/function () {
9616
9616
  var _channel6 = _this.activeChannels[cid];
9617
9617
 
9618
9618
  if (Object.keys(custom).length > 0) {
9619
- _channel6.data = custom;
9620
- _channel6._data = custom;
9619
+ _channel6.data = _objectSpread(_objectSpread({}, _channel6.data), custom);
9620
+ _channel6._data = _objectSpread(_objectSpread({}, _channel6._data), custom);
9621
9621
  }
9622
9622
 
9623
9623
  return _channel6;
@@ -13333,7 +13333,7 @@ var StreamChat = /*#__PURE__*/function () {
13333
13333
  }, {
13334
13334
  key: "getUserAgent",
13335
13335
  value: function getUserAgent() {
13336
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.40.5");
13336
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.40.7");
13337
13337
  }
13338
13338
  }, {
13339
13339
  key: "setUserAgent",