@wistia/wistia-player-react 0.7.1 → 0.7.2

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.
@@ -4743,6 +4743,9 @@ var init_wistia_player = __esm({
4743
4743
  var OBJ_PROP = "_namespacedLocalStorage";
4744
4744
  var localStorageWorks = function localStorageWorks2() {
4745
4745
  var ns = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "wistia-test-localstorage";
4746
+ if (typeof localStorage === "undefined") {
4747
+ return false;
4748
+ }
4746
4749
  if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks != null) {
4747
4750
  return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks;
4748
4751
  }
@@ -9131,8 +9134,8 @@ var init_wistia_player = __esm({
9131
9134
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
9132
9135
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
9133
9136
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
9134
- var TAGGED_VERSION = "0.7.1";
9135
- var CURRENT_SHA = "7e67f7241d126c76aeb437d67f4e4cf1c7d30bd7";
9137
+ var TAGGED_VERSION = "0.7.2";
9138
+ var CURRENT_SHA = "fc9202c2841d2873e7123b63575474d97de8e697";
9136
9139
  var DEFAULT_PROTOCOL = (function() {
9137
9140
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
9138
9141
  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-5SZV22XW.mjs").then((module) => ({
11
+ async () => import("./WistiaPlayerWrapper-ELZVPV5F.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-BY2BAM4F.mjs");
40
+ void import("./wistia-player-J44BMRDO.mjs");
41
41
  void customElements.whenDefined("wistia-player").then(() => {
42
42
  setIsWistiaPlayerDefined(true);
43
43
  });
@@ -3841,6 +3841,9 @@ var __webpack_modules__ = {
3841
3841
  var OBJ_PROP = "_namespacedLocalStorage";
3842
3842
  var localStorageWorks = function localStorageWorks2() {
3843
3843
  var ns = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "wistia-test-localstorage";
3844
+ if (typeof localStorage === "undefined") {
3845
+ return false;
3846
+ }
3844
3847
  if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks != null) {
3845
3848
  return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks;
3846
3849
  }
@@ -8229,8 +8232,8 @@ var __webpack_modules__ = {
8229
8232
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8230
8233
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8231
8234
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8232
- var TAGGED_VERSION = "0.7.1";
8233
- var CURRENT_SHA = "7e67f7241d126c76aeb437d67f4e4cf1c7d30bd7";
8235
+ var TAGGED_VERSION = "0.7.2";
8236
+ var CURRENT_SHA = "fc9202c2841d2873e7123b63575474d97de8e697";
8234
8237
  var DEFAULT_PROTOCOL = (function() {
8235
8238
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
8236
8239
  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.7.1",
3
+ "version": "0.7.2",
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.7.1"
49
+ "@wistia/wistia-player": "0.7.2"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": ">=18.0.0 <20.0.0",