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.
@@ -9613,8 +9613,8 @@ var StreamChat = /*#__PURE__*/function () {
9613
9613
  var _channel6 = _this.activeChannels[cid];
9614
9614
 
9615
9615
  if (Object.keys(custom).length > 0) {
9616
- _channel6.data = custom;
9617
- _channel6._data = custom;
9616
+ _channel6.data = _objectSpread(_objectSpread({}, _channel6.data), custom);
9617
+ _channel6._data = _objectSpread(_objectSpread({}, _channel6._data), custom);
9618
9618
  }
9619
9619
 
9620
9620
  return _channel6;
@@ -13330,7 +13330,7 @@ var StreamChat = /*#__PURE__*/function () {
13330
13330
  }, {
13331
13331
  key: "getUserAgent",
13332
13332
  value: function getUserAgent() {
13333
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.40.6");
13333
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.40.7");
13334
13334
  }
13335
13335
  }, {
13336
13336
  key: "setUserAgent",