stream-chat 8.13.0 → 8.13.1

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
@@ -1316,6 +1316,10 @@ var axiosParamsSerializer = function axiosParamsSerializer(params) {
1316
1316
  var newParams = [];
1317
1317
 
1318
1318
  for (var k in params) {
1319
+ // Stream backend doesn't treat "undefined" value same as value not being present.
1320
+ // So, we need to skip the undefined values.
1321
+ if (params[k] === undefined) continue;
1322
+
1319
1323
  if (Array.isArray(params[k]) || _typeof(params[k]) === 'object') {
1320
1324
  newParams.push("".concat(k, "=").concat(encodeURIComponent(JSON.stringify(params[k]))));
1321
1325
  } else {
@@ -10160,7 +10164,7 @@ var StreamChat = /*#__PURE__*/function () {
10160
10164
  }, {
10161
10165
  key: "getUserAgent",
10162
10166
  value: function getUserAgent() {
10163
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.13.0");
10167
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.13.1");
10164
10168
  }
10165
10169
  }, {
10166
10170
  key: "setUserAgent",