stream-chat 8.40.6 → 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
@@ -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.6");
13336
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.40.7");
13337
13337
  }
13338
13338
  }, {
13339
13339
  key: "setUserAgent",