stream-chat 7.2.0 → 8.0.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/browser.js CHANGED
@@ -1267,7 +1267,9 @@ function getRandomValuesWithMathRandom(bytes) {
1267
1267
  }
1268
1268
 
1269
1269
  var getRandomValues = function () {
1270
- if (typeof crypto !== 'undefined') {
1270
+ var _crypto;
1271
+
1272
+ if (typeof crypto !== 'undefined' && typeof ((_crypto = crypto) === null || _crypto === void 0 ? void 0 : _crypto.getRandomValues) !== 'undefined') {
1271
1273
  return crypto.getRandomValues.bind(crypto);
1272
1274
  } else if (typeof msCrypto !== 'undefined') {
1273
1275
  return msCrypto.getRandomValues.bind(msCrypto);
@@ -9843,7 +9845,7 @@ var StreamChat = /*#__PURE__*/function () {
9843
9845
  }, {
9844
9846
  key: "getUserAgent",
9845
9847
  value: function getUserAgent() {
9846
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "7.2.0");
9848
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.0.0");
9847
9849
  }
9848
9850
  }, {
9849
9851
  key: "setUserAgent",