@wistia/wistia-player-react 0.6.15 → 0.6.16

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.
@@ -2377,6 +2377,7 @@ var init_wistia_player = __esm({
2377
2377
  /* harmony export */
2378
2378
  });
2379
2379
  var REGEX_CLOUD_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wistia\.io/i;
2380
+ var REGEX_OPENCLAW_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.claw\.wistia\.io/i;
2380
2381
  var REGEX_DEV_METAL_TUNNEL = /([a-z0-9-]+)-txl-([a-z0-9-]+)\.([a-z0-9-]+)\.mtl\.wistia\.io/i;
2381
2382
  var appHostname = function appHostname2() {
2382
2383
  var subdomain = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "app";
@@ -2395,6 +2396,10 @@ var init_wistia_player = __esm({
2395
2396
  if (cloudDevBoxMatches) {
2396
2397
  return "".concat(subdomain, "-cde-").concat(cloudDevBoxMatches[2], ".").concat(cloudDevBoxMatches[3], ".wistia.io");
2397
2398
  }
2399
+ var openclawDevBoxMatches = REGEX_OPENCLAW_DEV_BOX.exec(currentHost);
2400
+ if (openclawDevBoxMatches) {
2401
+ return "".concat(subdomain, "-cde-").concat(openclawDevBoxMatches[2], ".").concat(openclawDevBoxMatches[3], ".claw.wistia.io");
2402
+ }
2398
2403
  var metalTunnelMatches = REGEX_DEV_METAL_TUNNEL.exec(currentHost);
2399
2404
  if (metalTunnelMatches) {
2400
2405
  return "".concat(subdomain, "-txl-").concat(metalTunnelMatches[2], ".").concat(metalTunnelMatches[3], ".mtl.wistia.io");
@@ -9090,8 +9095,8 @@ var init_wistia_player = __esm({
9090
9095
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
9091
9096
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
9092
9097
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
9093
- var TAGGED_VERSION = "0.6.15";
9094
- var CURRENT_SHA = "dbeec54da4ad4ca07ae83d928c368975be8a7f32";
9098
+ var TAGGED_VERSION = "0.6.16";
9099
+ var CURRENT_SHA = "3b8c644a094381ed8a60dc09d14eae80986f4ff5";
9095
9100
  var DEFAULT_PROTOCOL = (function() {
9096
9101
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
9097
9102
  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-JM27XAG7.mjs").then((module) => ({
11
+ async () => import("./WistiaPlayerWrapper-UDAKVE3N.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-7D6CZ7AF.mjs");
40
+ void import("./wistia-player-HZKZ5A2T.mjs");
41
41
  void customElements.whenDefined("wistia-player").then(() => {
42
42
  setIsWistiaPlayerDefined(true);
43
43
  });
@@ -1500,6 +1500,7 @@ var __webpack_modules__ = {
1500
1500
  /* harmony export */
1501
1501
  });
1502
1502
  var REGEX_CLOUD_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wistia\.io/i;
1503
+ var REGEX_OPENCLAW_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.claw\.wistia\.io/i;
1503
1504
  var REGEX_DEV_METAL_TUNNEL = /([a-z0-9-]+)-txl-([a-z0-9-]+)\.([a-z0-9-]+)\.mtl\.wistia\.io/i;
1504
1505
  var appHostname = function appHostname2() {
1505
1506
  var subdomain = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "app";
@@ -1518,6 +1519,10 @@ var __webpack_modules__ = {
1518
1519
  if (cloudDevBoxMatches) {
1519
1520
  return "".concat(subdomain, "-cde-").concat(cloudDevBoxMatches[2], ".").concat(cloudDevBoxMatches[3], ".wistia.io");
1520
1521
  }
1522
+ var openclawDevBoxMatches = REGEX_OPENCLAW_DEV_BOX.exec(currentHost);
1523
+ if (openclawDevBoxMatches) {
1524
+ return "".concat(subdomain, "-cde-").concat(openclawDevBoxMatches[2], ".").concat(openclawDevBoxMatches[3], ".claw.wistia.io");
1525
+ }
1521
1526
  var metalTunnelMatches = REGEX_DEV_METAL_TUNNEL.exec(currentHost);
1522
1527
  if (metalTunnelMatches) {
1523
1528
  return "".concat(subdomain, "-txl-").concat(metalTunnelMatches[2], ".").concat(metalTunnelMatches[3], ".mtl.wistia.io");
@@ -8213,8 +8218,8 @@ var __webpack_modules__ = {
8213
8218
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8214
8219
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8215
8220
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8216
- var TAGGED_VERSION = "0.6.15";
8217
- var CURRENT_SHA = "dbeec54da4ad4ca07ae83d928c368975be8a7f32";
8221
+ var TAGGED_VERSION = "0.6.16";
8222
+ var CURRENT_SHA = "3b8c644a094381ed8a60dc09d14eae80986f4ff5";
8218
8223
  var DEFAULT_PROTOCOL = (function() {
8219
8224
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
8220
8225
  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.15",
3
+ "version": "0.6.16",
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.15"
49
+ "@wistia/wistia-player": "0.6.16"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": ">=18.0.0 <20.0.0",