@wistia/react-embeds
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -538,2 +538,4 @@ 'use strict'; | ||
value: function render() { | ||
var _this$context2, _this$context2$wistia; | ||
// SSR doesn't call methods like componentDidMount, so it's crucial that we add the video | ||
@@ -543,3 +545,3 @@ // to head manager here in render as well in componentDidMount. | ||
// instead use the bound head manager methods directly | ||
this.context.wistiaContext.addVideoId(this.props.hashedId); | ||
(_this$context2 = this.context) === null || _this$context2 === void 0 ? void 0 : (_this$context2$wistia = _this$context2.wistiaContext) === null || _this$context2$wistia === void 0 ? void 0 : _this$context2$wistia.addVideoId(this.props.hashedId); | ||
@@ -546,0 +548,0 @@ if (!this.state.safeToRender) { |
@@ -522,2 +522,4 @@ 'use strict'; | ||
value: function render() { | ||
var _this$context2, _this$context2$wistia; | ||
// SSR doesn't call methods like componentDidMount, so it's crucial that we add the video | ||
@@ -527,3 +529,3 @@ // to head manager here in render as well in componentDidMount. | ||
// instead use the bound head manager methods directly | ||
this.context.wistiaContext.addVideoId(this.props.hashedId); | ||
(_this$context2 = this.context) === null || _this$context2 === void 0 ? void 0 : (_this$context2$wistia = _this$context2.wistiaContext) === null || _this$context2$wistia === void 0 ? void 0 : _this$context2$wistia.addVideoId(this.props.hashedId); | ||
@@ -530,0 +532,0 @@ if (!this.state.safeToRender) { |
@@ -276,2 +276,4 @@ 'use strict'; | ||
render() { | ||
var _this$context2, _this$context2$wistia; | ||
// SSR doesn't call methods like componentDidMount, so it's crucial that we add the video | ||
@@ -281,3 +283,3 @@ // to head manager here in render as well in componentDidMount. | ||
// instead use the bound head manager methods directly | ||
this.context.wistiaContext.addVideoId(this.props.hashedId); | ||
(_this$context2 = this.context) === null || _this$context2 === void 0 ? void 0 : (_this$context2$wistia = _this$context2.wistiaContext) === null || _this$context2$wistia === void 0 ? void 0 : _this$context2$wistia.addVideoId(this.props.hashedId); | ||
@@ -284,0 +286,0 @@ if (!this.state.safeToRender) { |
{ | ||
"name": "@wistia/react-embeds", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "React component wrappers for Wistia embeddables", | ||
@@ -12,6 +12,3 @@ "browser": "browser.js", | ||
}, | ||
"engines": { | ||
"node": "^16.1.0", | ||
"npm": "^7.11.2" | ||
}, | ||
"node": ">=16.1.0 || >=18.0.0", | ||
"author": "Wistia Engineering", | ||
@@ -18,0 +15,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
188597
4975