@opentok/client 2.35.0-alpha.59 → 2.35.0-alpha.60
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.35.0
|
|
2
|
+
* @license OpenTok.js 2.35.0 d268d163c
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2010-2026 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: Mon, 22 Jun 2026 11:06:42 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -39537,7 +39537,7 @@ function staticConfigFactory(_temp) {
|
|
|
39537
39537
|
_ref$axios = _ref.axios,
|
|
39538
39538
|
axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
|
|
39539
39539
|
_ref$properties = _ref.properties,
|
|
39540
|
-
properties = _ref$properties === void 0 ? {"version":"v2.35.0","buildHash":"
|
|
39540
|
+
properties = _ref$properties === void 0 ? {"version":"v2.35.0","buildHash":"d268d163c","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;
|
|
39541
39541
|
/** @type builtInConfig */
|
|
39542
39542
|
const builtInConfig = (0, _cloneDeep.default)(properties);
|
|
39543
39543
|
/**
|
|
@@ -65139,7 +65139,12 @@ function initPublisherFactory(deps) {
|
|
|
65139
65139
|
* errors involved in its creation.
|
|
65140
65140
|
*/
|
|
65141
65141
|
initPublisher.promise = (targetElement, properties) => new Promise((resolve, reject) => {
|
|
65142
|
-
const
|
|
65142
|
+
const originalArgs = [targetElement, properties];
|
|
65143
|
+
if (originalArgs.some(arg => typeof arg === 'function')) {
|
|
65144
|
+
reject(otError(Errors.INVALID_PARAMETER, new Error('initPublisher.promise does not support a callback function'), ExceptionCodes.INVALID_PARAMETER));
|
|
65145
|
+
return;
|
|
65146
|
+
}
|
|
65147
|
+
const args = originalArgs.filter(arg => arg !== undefined);
|
|
65143
65148
|
const publisher = initPublisher(...args, error => {
|
|
65144
65149
|
if (error) {
|
|
65145
65150
|
reject(error);
|