@opentok/client 2.31.0-alpha.55 → 2.31.0-alpha.57
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/js/opentok.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license OpenTok.js 2.31.0
|
|
2
|
+
* @license OpenTok.js 2.31.0 6b11a8616
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2010-2025 TokBox, Inc.
|
|
5
5
|
* Subject to the applicable Software Development Kit (SDK) License Agreement:
|
|
6
6
|
* https://www.vonage.com/legal/communications-apis/terms-of-use/
|
|
7
7
|
*
|
|
8
|
-
* Date:
|
|
8
|
+
* Date: Fri, 03 Oct 2025 07:26:08 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -8605,7 +8605,7 @@ function staticConfigFactory(_temp) {
|
|
|
8605
8605
|
_ref$axios = _ref.axios,
|
|
8606
8606
|
axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
|
|
8607
8607
|
_ref$properties = _ref.properties,
|
|
8608
|
-
properties = _ref$properties === void 0 ? {"version":"v2.31.0","buildHash":"
|
|
8608
|
+
properties = _ref$properties === void 0 ? {"version":"v2.31.0","buildHash":"6b11a8616","minimumVersion":{"firefox":52,"chrome":49},"debug":false,"websiteURL":"http://www.tokbox.com","configURL":"https://config.opentok.com","ipWhitelistConfigURL":"","cdnURL":"","loggingURL":"https://hlg.tokbox.com/prod","apiURL":"https://anvil.opentok.com","vonageApiURL":""} : _ref$properties;
|
|
8609
8609
|
/** @type builtInConfig */
|
|
8610
8610
|
const builtInConfig = (0, _cloneDeep.default)(properties);
|
|
8611
8611
|
/**
|
|
@@ -40548,7 +40548,7 @@ function SubscriberFactory(_ref2) {
|
|
|
40548
40548
|
};
|
|
40549
40549
|
this._onSenderStatsReceived = content => {
|
|
40550
40550
|
try {
|
|
40551
|
-
const parsedData = JSON.parse(content.data);
|
|
40551
|
+
const parsedData = typeof content.data === 'string' ? JSON.parse(content.data) : content.data;
|
|
40552
40552
|
if (_activeSourceStreamId === 'P2P' && (parsedData.sourceStreamId !== 'P2P' || parsedData.subscriberId !== this.widgetId)) {
|
|
40553
40553
|
return;
|
|
40554
40554
|
}
|