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/browser.es.js +4 -2
- package/dist/browser.es.js.map +1 -1
- package/dist/browser.full-bundle.min.js +1 -1
- package/dist/browser.full-bundle.min.js.map +1 -1
- package/dist/browser.js +4 -2
- package/dist/browser.js.map +1 -1
- package/dist/index.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/utils.ts +1 -1
package/dist/browser.js
CHANGED
|
@@ -1267,7 +1267,9 @@ function getRandomValuesWithMathRandom(bytes) {
|
|
|
1267
1267
|
}
|
|
1268
1268
|
|
|
1269
1269
|
var getRandomValues = function () {
|
|
1270
|
-
|
|
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', "-", "
|
|
9848
|
+
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.0.0-dev.0");
|
|
9847
9849
|
}
|
|
9848
9850
|
}, {
|
|
9849
9851
|
key: "setUserAgent",
|