stream-chat 8.46.1 → 8.47.0

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.js CHANGED
@@ -5066,7 +5066,7 @@ var Channel = /*#__PURE__*/function () {
5066
5066
  }
5067
5067
  }
5068
5068
 
5069
- this.state.membership = _objectSpread$a(_objectSpread$a({}, this.state.membership), state.membership);
5069
+ this.state.membership = state.membership || {};
5070
5070
  var messages = state.messages || [];
5071
5071
 
5072
5072
  if (!this.state.messages) {
@@ -14769,7 +14769,7 @@ var StreamChat = /*#__PURE__*/function () {
14769
14769
  }, {
14770
14770
  key: "getUserAgent",
14771
14771
  value: function getUserAgent() {
14772
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.46.1");
14772
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.47.0");
14773
14773
  }
14774
14774
  }, {
14775
14775
  key: "setUserAgent",