stream-chat 8.57.4 → 8.57.6

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
@@ -5841,7 +5841,7 @@ var StableWSConnection = /*#__PURE__*/function () {
5841
5841
 
5842
5842
  var token = _this.client.tokenManager.getToken();
5843
5843
 
5844
- return "".concat(_this.client.wsBaseURL, "/connect?json=").concat(qs, "&api_key=").concat(_this.client.key, "&authorization=").concat(token, "&stream-auth-type=").concat(_this.client.getAuthType(), "&X-Stream-Client=").concat(_this.client.getUserAgent());
5844
+ return "".concat(_this.client.wsBaseURL, "/connect?json=").concat(qs, "&api_key=").concat(_this.client.key, "&authorization=").concat(token, "&stream-auth-type=").concat(_this.client.getAuthType(), "&X-Stream-Client=").concat(encodeURIComponent(_this.client.getUserAgent()));
5845
5845
  });
5846
5846
 
5847
5847
  _defineProperty(this, "onlineStatusChanged", function (event) {
@@ -15671,7 +15671,7 @@ var StreamChat = /*#__PURE__*/function () {
15671
15671
  case 2:
15672
15672
  clonedMessage = _extends({}, message);
15673
15673
  delete clonedMessage.id;
15674
- reservedMessageFields = ['command', 'created_at', 'html', 'latest_reactions', 'own_reactions', 'quoted_message', 'reaction_counts', 'reply_count', 'type', 'updated_at', 'user', '__html'];
15674
+ reservedMessageFields = ['command', 'created_at', 'html', 'latest_reactions', 'own_reactions', 'quoted_message', 'reaction_counts', 'reply_count', 'type', 'updated_at', 'user', 'pinned_at', '__html'];
15675
15675
  reservedMessageFields.forEach(function (item) {
15676
15676
  if (clonedMessage[item] != null) {
15677
15677
  delete clonedMessage[item];
@@ -16096,7 +16096,7 @@ var StreamChat = /*#__PURE__*/function () {
16096
16096
  return this.userAgent;
16097
16097
  }
16098
16098
 
16099
- var version = "8.57.4";
16099
+ var version = "8.57.6";
16100
16100
  var clientBundle = "";
16101
16101
  var userAgentString = '';
16102
16102