@wistia/wistia-player-react 0.6.20 → 0.6.21

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.
@@ -2385,6 +2385,7 @@ var init_wistia_player = __esm({
2385
2385
  });
2386
2386
  var REGEX_CLOUD_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wistia\.io/i;
2387
2387
  var REGEX_OPENCLAW_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.claw\.wistia\.io/i;
2388
+ var REGEX_WIZARD_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wiz\.wistia\.io/i;
2388
2389
  var REGEX_DEV_METAL_TUNNEL = /([a-z0-9-]+)-txl-([a-z0-9-]+)\.([a-z0-9-]+)\.mtl\.wistia\.io/i;
2389
2390
  var appHostname = function appHostname2() {
2390
2391
  var subdomain = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "app";
@@ -2407,6 +2408,10 @@ var init_wistia_player = __esm({
2407
2408
  if (openclawDevBoxMatches) {
2408
2409
  return "".concat(subdomain, "-cde-").concat(openclawDevBoxMatches[2], ".").concat(openclawDevBoxMatches[3], ".claw.wistia.io");
2409
2410
  }
2411
+ var wizardDevBoxMatches = REGEX_WIZARD_DEV_BOX.exec(currentHost);
2412
+ if (wizardDevBoxMatches) {
2413
+ return "".concat(subdomain, "-cde-").concat(wizardDevBoxMatches[2], ".").concat(wizardDevBoxMatches[3], ".wiz.wistia.io");
2414
+ }
2410
2415
  var metalTunnelMatches = REGEX_DEV_METAL_TUNNEL.exec(currentHost);
2411
2416
  if (metalTunnelMatches) {
2412
2417
  return "".concat(subdomain, "-txl-").concat(metalTunnelMatches[2], ".").concat(metalTunnelMatches[3], ".mtl.wistia.io");
@@ -9105,8 +9110,8 @@ var init_wistia_player = __esm({
9105
9110
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
9106
9111
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
9107
9112
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
9108
- var TAGGED_VERSION = "0.6.20";
9109
- var CURRENT_SHA = "3d203a92bc08b41ff00038cd9776c678f4f2028b";
9113
+ var TAGGED_VERSION = "0.6.21";
9114
+ var CURRENT_SHA = "4a3c2fdafddbed18b44f01c98f24c6e02f2cae00";
9110
9115
  var DEFAULT_PROTOCOL = (function() {
9111
9116
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
9112
9117
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
@@ -8,7 +8,7 @@ import {
8
8
  import { forwardRef, Suspense, lazy, Fragment } from "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  var WistiaPlayerWrapper = lazy(
11
- async () => import("./WistiaPlayerWrapper-HECJAHWU.mjs").then((module) => ({
11
+ async () => import("./WistiaPlayerWrapper-WTLKVBZK.mjs").then((module) => ({
12
12
  default: module.WistiaPlayerWrapper
13
13
  }))
14
14
  );
@@ -37,7 +37,7 @@ var WistiaPlayerWrapper = forwardRef(
37
37
  setSwatchAspectRatio(ratio);
38
38
  });
39
39
  }
40
- void import("./wistia-player-OSGTDOWR.mjs");
40
+ void import("./wistia-player-7GUULGQD.mjs");
41
41
  void customElements.whenDefined("wistia-player").then(() => {
42
42
  setIsWistiaPlayerDefined(true);
43
43
  });
@@ -1501,6 +1501,7 @@ var __webpack_modules__ = {
1501
1501
  });
1502
1502
  var REGEX_CLOUD_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wistia\.io/i;
1503
1503
  var REGEX_OPENCLAW_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.claw\.wistia\.io/i;
1504
+ var REGEX_WIZARD_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wiz\.wistia\.io/i;
1504
1505
  var REGEX_DEV_METAL_TUNNEL = /([a-z0-9-]+)-txl-([a-z0-9-]+)\.([a-z0-9-]+)\.mtl\.wistia\.io/i;
1505
1506
  var appHostname = function appHostname2() {
1506
1507
  var subdomain = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "app";
@@ -1523,6 +1524,10 @@ var __webpack_modules__ = {
1523
1524
  if (openclawDevBoxMatches) {
1524
1525
  return "".concat(subdomain, "-cde-").concat(openclawDevBoxMatches[2], ".").concat(openclawDevBoxMatches[3], ".claw.wistia.io");
1525
1526
  }
1527
+ var wizardDevBoxMatches = REGEX_WIZARD_DEV_BOX.exec(currentHost);
1528
+ if (wizardDevBoxMatches) {
1529
+ return "".concat(subdomain, "-cde-").concat(wizardDevBoxMatches[2], ".").concat(wizardDevBoxMatches[3], ".wiz.wistia.io");
1530
+ }
1526
1531
  var metalTunnelMatches = REGEX_DEV_METAL_TUNNEL.exec(currentHost);
1527
1532
  if (metalTunnelMatches) {
1528
1533
  return "".concat(subdomain, "-txl-").concat(metalTunnelMatches[2], ".").concat(metalTunnelMatches[3], ".mtl.wistia.io");
@@ -8221,8 +8226,8 @@ var __webpack_modules__ = {
8221
8226
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8222
8227
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8223
8228
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8224
- var TAGGED_VERSION = "0.6.20";
8225
- var CURRENT_SHA = "3d203a92bc08b41ff00038cd9776c678f4f2028b";
8229
+ var TAGGED_VERSION = "0.6.21";
8230
+ var CURRENT_SHA = "4a3c2fdafddbed18b44f01c98f24c6e02f2cae00";
8226
8231
  var DEFAULT_PROTOCOL = (function() {
8227
8232
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
8228
8233
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/wistia-player-react",
3
- "version": "0.6.20",
3
+ "version": "0.6.21",
4
4
  "packageManager": "yarn@4.13.0",
5
5
  "description": "An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.",
6
6
  "keywords": [
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@wistia/type-guards": "^0.9.3",
49
- "@wistia/wistia-player": "0.6.20"
49
+ "@wistia/wistia-player": "0.6.21"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": ">=18.0.0 <20.0.0",