@wistia/wistia-player-react 0.0.40 → 0.0.42

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.
@@ -9330,7 +9330,7 @@ var init_wistia_player = __esm({
9330
9330
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
9331
9331
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
9332
9332
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
9333
- var TAGGED_VERSION = "0.0.40";
9333
+ var TAGGED_VERSION = "0.0.42";
9334
9334
  var DEFAULT_PROTOCOL = function() {
9335
9335
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
9336
9336
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
@@ -1,4 +1,7 @@
1
1
  import type { FunctionComponent } from 'react';
2
- import type { WistiaPlayerProps } from '../types/index.ts';
3
- export declare const WistiaPlayer: FunctionComponent<WistiaPlayerProps>;
2
+ import type { WistiaPlayer as WistiaPlayerWC } from '@wistia/wistia-player';
3
+ import type { WistiaPlayerProps as WistiaPlayerPropsType } from '../types/index.ts';
4
+ export type WistiaPlayerElement = WistiaPlayerWC;
5
+ export type WistiaPlayerProps = WistiaPlayerPropsType;
6
+ export declare const WistiaPlayer: FunctionComponent<WistiaPlayerPropsType>;
4
7
  //# sourceMappingURL=WistiaPlayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WistiaPlayer.d.ts","sourceRoot":"","sources":["../../../../src/WistiaPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAO,MAAM,OAAO,CAAC;AAKpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAS3D,eAAO,MAAM,YAAY,EAoCpB,iBAAiB,CAAC,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"WistiaPlayer.d.ts","sourceRoot":"","sources":["../../../../src/WistiaPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAO,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG5E,OAAO,KAAK,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAIpF,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC;AACjD,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AAStD,eAAO,MAAM,YAAY,EAoCpB,iBAAiB,CAAC,qBAAqB,CAAC,CAAC"}
@@ -7,7 +7,7 @@ import {
7
7
  import { forwardRef, Suspense, lazy } from "react";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
9
  var WistiaPlayerWrapper = lazy(
10
- async () => import("./WistiaPlayerWrapper-RLLN4CBZ.mjs").then((module) => ({
10
+ async () => import("./WistiaPlayerWrapper-WUK7DOUM.mjs").then((module) => ({
11
11
  default: module.WistiaPlayerWrapper
12
12
  }))
13
13
  );
@@ -22,7 +22,7 @@ var WistiaPlayerWrapper = forwardRef(
22
22
  setSwatchAspectRatio(ratio);
23
23
  });
24
24
  }
25
- void import("./wistia-player-4H57RSHC.mjs");
25
+ void import("./wistia-player-AZEWPHAZ.mjs");
26
26
  void customElements.whenDefined("wistia-player").then(() => {
27
27
  setIsWistiaPlayerDefined(true);
28
28
  });
@@ -1,4 +1,7 @@
1
1
  import type { FunctionComponent } from 'react';
2
- import type { WistiaPlayerProps } from '../types/index.ts';
3
- export declare const WistiaPlayer: FunctionComponent<WistiaPlayerProps>;
2
+ import type { WistiaPlayer as WistiaPlayerWC } from '@wistia/wistia-player';
3
+ import type { WistiaPlayerProps as WistiaPlayerPropsType } from '../types/index.ts';
4
+ export type WistiaPlayerElement = WistiaPlayerWC;
5
+ export type WistiaPlayerProps = WistiaPlayerPropsType;
6
+ export declare const WistiaPlayer: FunctionComponent<WistiaPlayerPropsType>;
4
7
  //# sourceMappingURL=WistiaPlayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WistiaPlayer.d.ts","sourceRoot":"","sources":["../../../../src/WistiaPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAO,MAAM,OAAO,CAAC;AAKpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAS3D,eAAO,MAAM,YAAY,EAoCpB,iBAAiB,CAAC,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"WistiaPlayer.d.ts","sourceRoot":"","sources":["../../../../src/WistiaPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAO,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG5E,OAAO,KAAK,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAIpF,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC;AACjD,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AAStD,eAAO,MAAM,YAAY,EAoCpB,iBAAiB,CAAC,qBAAqB,CAAC,CAAC"}
@@ -8402,7 +8402,7 @@ var __webpack_modules__ = {
8402
8402
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8403
8403
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8404
8404
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8405
- var TAGGED_VERSION = "0.0.40";
8405
+ var TAGGED_VERSION = "0.0.42";
8406
8406
  var DEFAULT_PROTOCOL = function() {
8407
8407
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
8408
8408
  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.0.40",
3
+ "version": "0.0.42",
4
4
  "packageManager": "yarn@4.2.2",
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": [
@@ -45,7 +45,7 @@
45
45
  "start:dev:yalc": "run build:react:dev --watch --yalc"
46
46
  },
47
47
  "dependencies": {
48
- "@wistia/wistia-player": "0.0.40"
48
+ "@wistia/wistia-player": "0.0.42"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@babel/core": "^7.25.2",