@opentok/client 2.29.3-alpha.8 → 2.29.3-alpha.9
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 +10 -5
- package/dist/js/opentok.js.map +1 -1
- package/dist/js/opentok.min.js +4 -4
- package/dist/js/opentok.min.js.map +1 -1
- package/package.json +1 -1
package/dist/js/opentok.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license OpenTok.js 2.29.3
|
|
2
|
+
* @license OpenTok.js 2.29.3 62d4a20
|
|
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: Mon,
|
|
8
|
+
* Date: Mon, 07 Apr 2025 15:44:03 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -8672,7 +8672,7 @@ const logging = (0, _log.default)('StaticConfig');
|
|
|
8672
8672
|
*/
|
|
8673
8673
|
|
|
8674
8674
|
/** @type builtInConfig */
|
|
8675
|
-
const builtInConfig = (0, _cloneDeep.default)({"version":"v2.29.3","buildHash":"
|
|
8675
|
+
const builtInConfig = (0, _cloneDeep.default)({"version":"v2.29.3","buildHash":"62d4a20","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"});
|
|
8676
8676
|
const whitelistAllowedRuntimeProperties = (0, _pick.default)(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
|
|
8677
8677
|
const liveConfigMap = {
|
|
8678
8678
|
apiUrl: 'apiURL',
|
|
@@ -16736,10 +16736,15 @@ function WidgetViewFactory(_temp) {
|
|
|
16736
16736
|
var _proto = WidgetView.prototype;
|
|
16737
16737
|
_proto.addError = function addError(errorMsg, helpMsg, classNames) {
|
|
16738
16738
|
if (this._container) {
|
|
16739
|
+
var _this$_container$quer;
|
|
16739
16740
|
this._container.innerHTML = `<p>${errorMsg}${helpMsg ? ` <span class="ot-help-message">${helpMsg}</span>` : ''}</p>`;
|
|
16740
16741
|
OTHelpers.addClass(this._container, classNames || 'OT_subscriber_error');
|
|
16741
|
-
if (this._container.querySelector('p').offsetHeight > this._container.offsetHeight) {
|
|
16742
|
-
|
|
16742
|
+
if (((_this$_container$quer = this._container.querySelector('p')) == null ? void 0 : _this$_container$quer.offsetHeight) > this._container.offsetHeight) {
|
|
16743
|
+
// `span` will not exist if `helpMsg` argument was undefined
|
|
16744
|
+
const spanElement = this._container.querySelector('span');
|
|
16745
|
+
if (spanElement) {
|
|
16746
|
+
spanElement.style.display = 'none';
|
|
16747
|
+
}
|
|
16743
16748
|
}
|
|
16744
16749
|
}
|
|
16745
16750
|
}
|