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/browser.es.js
CHANGED
|
@@ -5840,7 +5840,7 @@ var StableWSConnection = /*#__PURE__*/function () {
|
|
|
5840
5840
|
|
|
5841
5841
|
var token = _this.client.tokenManager.getToken();
|
|
5842
5842
|
|
|
5843
|
-
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());
|
|
5843
|
+
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()));
|
|
5844
5844
|
});
|
|
5845
5845
|
|
|
5846
5846
|
_defineProperty(this, "onlineStatusChanged", function (event) {
|
|
@@ -15668,7 +15668,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
15668
15668
|
case 2:
|
|
15669
15669
|
clonedMessage = _extends({}, message);
|
|
15670
15670
|
delete clonedMessage.id;
|
|
15671
|
-
reservedMessageFields = ['command', 'created_at', 'html', 'latest_reactions', 'own_reactions', 'quoted_message', 'reaction_counts', 'reply_count', 'type', 'updated_at', 'user', '__html'];
|
|
15671
|
+
reservedMessageFields = ['command', 'created_at', 'html', 'latest_reactions', 'own_reactions', 'quoted_message', 'reaction_counts', 'reply_count', 'type', 'updated_at', 'user', 'pinned_at', '__html'];
|
|
15672
15672
|
reservedMessageFields.forEach(function (item) {
|
|
15673
15673
|
if (clonedMessage[item] != null) {
|
|
15674
15674
|
delete clonedMessage[item];
|
|
@@ -16093,7 +16093,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
16093
16093
|
return this.userAgent;
|
|
16094
16094
|
}
|
|
16095
16095
|
|
|
16096
|
-
var version = "8.57.
|
|
16096
|
+
var version = "8.57.6";
|
|
16097
16097
|
var clientBundle = "";
|
|
16098
16098
|
var userAgentString = '';
|
|
16099
16099
|
|