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