@opentok/client 2.29.3-alpha.6 → 2.29.3-alpha.8

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.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license OpenTok.js 2.29.3 d2d4806
2
+ * @license OpenTok.js 2.29.3 f00ccd4
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: Tue, 25 Mar 2025 17:31:47 GMT
8
+ * Date: Mon, 31 Mar 2025 16:12:56 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":"d2d4806","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"});
8675
+ const builtInConfig = (0, _cloneDeep.default)({"version":"v2.29.3","buildHash":"f00ccd4","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',
@@ -28379,7 +28379,7 @@ module.exports = function xhrAdapter(config) {
28379
28379
  requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
28380
28380
  }
28381
28381
 
28382
- var fullPath = buildFullPath(config.baseURL, config.url);
28382
+ var fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
28383
28383
 
28384
28384
  request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
28385
28385
 
@@ -28580,10 +28580,13 @@ var combineURLs = __webpack_require__(497);
28580
28580
  *
28581
28581
  * @param {string} baseURL The base URL
28582
28582
  * @param {string} requestedURL Absolute or relative URL to combine
28583
+ * @param {boolean} allowAbsoluteUrls Set to true to allow absolute URLs
28584
+ *
28583
28585
  * @returns {string} The combined full path
28584
28586
  */
28585
- module.exports = function buildFullPath(baseURL, requestedURL) {
28586
- if (baseURL && !isAbsoluteURL(requestedURL)) {
28587
+ module.exports = function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
28588
+ var isRelativeURL = !isAbsoluteURL(requestedURL);
28589
+ if (baseURL && (isRelativeURL || allowAbsoluteUrls === false)) {
28587
28590
  return combineURLs(baseURL, requestedURL);
28588
28591
  }
28589
28592
  return requestedURL;
@@ -28717,7 +28720,7 @@ module.exports = function mergeConfig(config1, config2) {
28717
28720
  /***/ (function(module, exports) {
28718
28721
 
28719
28722
  module.exports = {
28720
- "version": "0.29.0"
28723
+ "version": "0.30.0"
28721
28724
  };
28722
28725
 
28723
28726
  /***/ }),
@@ -53766,7 +53769,7 @@ Axios.prototype.request = function request(configOrUrl, config) {
53766
53769
 
53767
53770
  Axios.prototype.getUri = function getUri(config) {
53768
53771
  config = mergeConfig(this.defaults, config);
53769
- var fullPath = buildFullPath(config.baseURL, config.url);
53772
+ var fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
53770
53773
  return buildURL(fullPath, config.params, config.paramsSerializer);
53771
53774
  };
53772
53775