@wistia/wistia-player-react 0.6.9 → 0.6.10
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.
|
@@ -8991,6 +8991,11 @@ var init_wistia_player = __esm({
|
|
|
8991
8991
|
cdnFastWistiaNetHost
|
|
8992
8992
|
),
|
|
8993
8993
|
/* harmony export */
|
|
8994
|
+
lR: () => (
|
|
8995
|
+
/* binding */
|
|
8996
|
+
CURRENT_SHA2
|
|
8997
|
+
),
|
|
8998
|
+
/* harmony export */
|
|
8994
8999
|
pK: () => (
|
|
8995
9000
|
/* binding */
|
|
8996
9001
|
EMBED_HOST
|
|
@@ -9021,11 +9026,8 @@ var init_wistia_player = __esm({
|
|
|
9021
9026
|
var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
9022
9027
|
var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
|
|
9023
9028
|
var SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
9024
|
-
var TAGGED_VERSION2 = "0.6.
|
|
9025
|
-
var CURRENT_SHA2 =
|
|
9026
|
-
/* unused pure expression or super */
|
|
9027
|
-
null
|
|
9028
|
-
);
|
|
9029
|
+
var TAGGED_VERSION2 = "0.6.10";
|
|
9030
|
+
var CURRENT_SHA2 = "f5c129aec7dc3d346d1afe4998baf044c7fe6147";
|
|
9029
9031
|
var DEFAULT_PROTOCOL = (function() {
|
|
9030
9032
|
if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
|
|
9031
9033
|
return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
|
|
@@ -10135,13 +10137,14 @@ var init_wistia_player = __esm({
|
|
|
10135
10137
|
}
|
|
10136
10138
|
var dynamicImport2 = /* @__PURE__ */ (function() {
|
|
10137
10139
|
var _ref = _asyncToGenerator2(/* @__PURE__ */ _regenerator2().m(function _callee(filePath) {
|
|
10138
|
-
var options, host, taggedVersion, _args = arguments;
|
|
10140
|
+
var options, host, taggedVersion, currentSha, _args = arguments;
|
|
10139
10141
|
return _regenerator2().w(function(_context) {
|
|
10140
10142
|
while (1) switch (_context.n) {
|
|
10141
10143
|
case 0:
|
|
10142
10144
|
options = _args.length > 1 && _args[1] !== void 0 ? _args[1] : {};
|
|
10143
10145
|
host = _objectHasOwn(options, "host") && options.host != null ? options.host : (0, _hosts_js__WEBPACK_IMPORTED_MODULE_0__.aY)();
|
|
10144
10146
|
taggedVersion = _hosts_js__WEBPACK_IMPORTED_MODULE_0__.U4;
|
|
10147
|
+
currentSha = _hosts_js__WEBPACK_IMPORTED_MODULE_0__.lR;
|
|
10145
10148
|
if (!(taggedVersion !== "" && taggedVersion.length > 0 && options.mediaData !== true)) {
|
|
10146
10149
|
_context.n = 1;
|
|
10147
10150
|
break;
|
|
@@ -10151,6 +10154,15 @@ var init_wistia_player = __esm({
|
|
|
10151
10154
|
"".concat((0, _hosts_js__WEBPACK_IMPORTED_MODULE_0__.v9)(), "//").concat(host, "/").concat(filePath, "@").concat(taggedVersion)
|
|
10152
10155
|
));
|
|
10153
10156
|
case 1:
|
|
10157
|
+
if (!(currentSha !== "" && currentSha.length > 0 && options.mediaData !== true)) {
|
|
10158
|
+
_context.n = 2;
|
|
10159
|
+
break;
|
|
10160
|
+
}
|
|
10161
|
+
return _context.a(2, import(
|
|
10162
|
+
/* webpackIgnore: true */
|
|
10163
|
+
"".concat((0, _hosts_js__WEBPACK_IMPORTED_MODULE_0__.v9)(), "//").concat(host, "/").concat(filePath, "@").concat(currentSha)
|
|
10164
|
+
));
|
|
10165
|
+
case 2:
|
|
10154
10166
|
return _context.a(2, import(
|
|
10155
10167
|
/* webpackIgnore: true */
|
|
10156
10168
|
"".concat((0, _hosts_js__WEBPACK_IMPORTED_MODULE_0__.v9)(), "//").concat(host, "/").concat(filePath)
|
|
@@ -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-
|
|
11
|
+
async () => import("./WistiaPlayerWrapper-2TSSXDMQ.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-
|
|
40
|
+
void import("./wistia-player-W7JEK3YT.mjs");
|
|
41
41
|
void customElements.whenDefined("wistia-player").then(() => {
|
|
42
42
|
setIsWistiaPlayerDefined(true);
|
|
43
43
|
});
|
|
@@ -8114,6 +8114,11 @@ var __webpack_modules__ = {
|
|
|
8114
8114
|
cdnFastWistiaNetHost
|
|
8115
8115
|
),
|
|
8116
8116
|
/* harmony export */
|
|
8117
|
+
lR: () => (
|
|
8118
|
+
/* binding */
|
|
8119
|
+
CURRENT_SHA2
|
|
8120
|
+
),
|
|
8121
|
+
/* harmony export */
|
|
8117
8122
|
pK: () => (
|
|
8118
8123
|
/* binding */
|
|
8119
8124
|
EMBED_HOST
|
|
@@ -8144,11 +8149,8 @@ var __webpack_modules__ = {
|
|
|
8144
8149
|
var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
8145
8150
|
var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
|
|
8146
8151
|
var SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
8147
|
-
var TAGGED_VERSION2 = "0.6.
|
|
8148
|
-
var CURRENT_SHA2 =
|
|
8149
|
-
/* unused pure expression or super */
|
|
8150
|
-
null
|
|
8151
|
-
);
|
|
8152
|
+
var TAGGED_VERSION2 = "0.6.10";
|
|
8153
|
+
var CURRENT_SHA2 = "f5c129aec7dc3d346d1afe4998baf044c7fe6147";
|
|
8152
8154
|
var DEFAULT_PROTOCOL = (function() {
|
|
8153
8155
|
if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
|
|
8154
8156
|
return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
|
|
@@ -9258,13 +9260,14 @@ var __webpack_modules__ = {
|
|
|
9258
9260
|
}
|
|
9259
9261
|
var dynamicImport2 = /* @__PURE__ */ (function() {
|
|
9260
9262
|
var _ref = _asyncToGenerator2(/* @__PURE__ */ _regenerator2().m(function _callee(filePath) {
|
|
9261
|
-
var options, host, taggedVersion, _args = arguments;
|
|
9263
|
+
var options, host, taggedVersion, currentSha, _args = arguments;
|
|
9262
9264
|
return _regenerator2().w(function(_context) {
|
|
9263
9265
|
while (1) switch (_context.n) {
|
|
9264
9266
|
case 0:
|
|
9265
9267
|
options = _args.length > 1 && _args[1] !== void 0 ? _args[1] : {};
|
|
9266
9268
|
host = _objectHasOwn(options, "host") && options.host != null ? options.host : (0, _hosts_js__WEBPACK_IMPORTED_MODULE_0__.aY)();
|
|
9267
9269
|
taggedVersion = _hosts_js__WEBPACK_IMPORTED_MODULE_0__.U4;
|
|
9270
|
+
currentSha = _hosts_js__WEBPACK_IMPORTED_MODULE_0__.lR;
|
|
9268
9271
|
if (!(taggedVersion !== "" && taggedVersion.length > 0 && options.mediaData !== true)) {
|
|
9269
9272
|
_context.n = 1;
|
|
9270
9273
|
break;
|
|
@@ -9274,6 +9277,15 @@ var __webpack_modules__ = {
|
|
|
9274
9277
|
"".concat((0, _hosts_js__WEBPACK_IMPORTED_MODULE_0__.v9)(), "//").concat(host, "/").concat(filePath, "@").concat(taggedVersion)
|
|
9275
9278
|
));
|
|
9276
9279
|
case 1:
|
|
9280
|
+
if (!(currentSha !== "" && currentSha.length > 0 && options.mediaData !== true)) {
|
|
9281
|
+
_context.n = 2;
|
|
9282
|
+
break;
|
|
9283
|
+
}
|
|
9284
|
+
return _context.a(2, import(
|
|
9285
|
+
/* webpackIgnore: true */
|
|
9286
|
+
"".concat((0, _hosts_js__WEBPACK_IMPORTED_MODULE_0__.v9)(), "//").concat(host, "/").concat(filePath, "@").concat(currentSha)
|
|
9287
|
+
));
|
|
9288
|
+
case 2:
|
|
9277
9289
|
return _context.a(2, import(
|
|
9278
9290
|
/* webpackIgnore: true */
|
|
9279
9291
|
"".concat((0, _hosts_js__WEBPACK_IMPORTED_MODULE_0__.v9)(), "//").concat(host, "/").concat(filePath)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/wistia-player-react",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.10",
|
|
4
4
|
"packageManager": "yarn@4.5.3",
|
|
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.
|
|
49
|
+
"@wistia/wistia-player": "0.6.10"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=18.0.0 <20.0.0",
|