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