stream-chat 7.2.0 → 8.0.0-dev.0

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
@@ -1243,7 +1243,9 @@ function getRandomValuesWithMathRandom(bytes) {
1243
1243
  }
1244
1244
 
1245
1245
  var getRandomValues = function () {
1246
- if (typeof crypto !== 'undefined') {
1246
+ var _crypto;
1247
+
1248
+ if (typeof crypto !== 'undefined' && typeof ((_crypto = crypto) === null || _crypto === void 0 ? void 0 : _crypto.getRandomValues) !== 'undefined') {
1247
1249
  return crypto.getRandomValues.bind(crypto);
1248
1250
  } else if (typeof msCrypto !== 'undefined') {
1249
1251
  return msCrypto.getRandomValues.bind(msCrypto);
@@ -9821,7 +9823,7 @@ var StreamChat = /*#__PURE__*/function () {
9821
9823
  }, {
9822
9824
  key: "getUserAgent",
9823
9825
  value: function getUserAgent() {
9824
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "7.2.0");
9826
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.0.0-dev.0");
9825
9827
  }
9826
9828
  }, {
9827
9829
  key: "setUserAgent",