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.js CHANGED
@@ -5869,7 +5869,7 @@ var StableWSConnection = /*#__PURE__*/function () {
5869
5869
 
5870
5870
  var token = _this.client.tokenManager.getToken();
5871
5871
 
5872
- 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());
5872
+ 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()));
5873
5873
  });
5874
5874
 
5875
5875
  _defineProperty__default['default'](this, "onlineStatusChanged", function (event) {
@@ -15699,7 +15699,7 @@ var StreamChat = /*#__PURE__*/function () {
15699
15699
  case 2:
15700
15700
  clonedMessage = _extends__default['default']({}, message);
15701
15701
  delete clonedMessage.id;
15702
- reservedMessageFields = ['command', 'created_at', 'html', 'latest_reactions', 'own_reactions', 'quoted_message', 'reaction_counts', 'reply_count', 'type', 'updated_at', 'user', '__html'];
15702
+ reservedMessageFields = ['command', 'created_at', 'html', 'latest_reactions', 'own_reactions', 'quoted_message', 'reaction_counts', 'reply_count', 'type', 'updated_at', 'user', 'pinned_at', '__html'];
15703
15703
  reservedMessageFields.forEach(function (item) {
15704
15704
  if (clonedMessage[item] != null) {
15705
15705
  delete clonedMessage[item];
@@ -16124,7 +16124,7 @@ var StreamChat = /*#__PURE__*/function () {
16124
16124
  return this.userAgent;
16125
16125
  }
16126
16126
 
16127
- var version = "8.57.4";
16127
+ var version = "8.57.6";
16128
16128
  var clientBundle = "";
16129
16129
  var userAgentString = '';
16130
16130