stream-chat 8.14.3 → 8.14.4

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.
@@ -7679,7 +7679,7 @@ var StreamChat = /*#__PURE__*/function () {
7679
7679
  }, {
7680
7680
  key: "sendFile",
7681
7681
  value: function sendFile(url, uri, name, contentType, user) {
7682
- var data = addFileToFormData(uri, name, contentType);
7682
+ var data = addFileToFormData(uri, name, contentType || 'multipart/form-data');
7683
7683
  if (user != null) data.append('user', JSON.stringify(user));
7684
7684
  return this.doAxiosRequest('postForm', url, data, {
7685
7685
  headers: data.getHeaders ? data.getHeaders() : {},
@@ -10172,7 +10172,7 @@ var StreamChat = /*#__PURE__*/function () {
10172
10172
  }, {
10173
10173
  key: "getUserAgent",
10174
10174
  value: function getUserAgent() {
10175
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.14.3");
10175
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.14.4");
10176
10176
  }
10177
10177
  }, {
10178
10178
  key: "setUserAgent",