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/browser.es.js +3 -3
- package/dist/browser.es.js.map +1 -1
- package/dist/browser.full-bundle.min.js +1 -1
- package/dist/browser.full-bundle.min.js.map +1 -1
- package/dist/browser.js +3 -3
- package/dist/browser.js.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/connection.d.ts.map +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1 -0
- package/src/connection.ts +3 -1
- package/src/types.ts +1 -0
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.
|
|
16127
|
+
var version = "8.57.6";
|
|
16128
16128
|
var clientBundle = "";
|
|
16129
16129
|
var userAgentString = '';
|
|
16130
16130
|
|