@huddle01/react
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -484,3 +484,3 @@ 'use strict'; | ||
debug = _ref.debug, | ||
props = _objectWithoutProperties(_ref, _excluded); | ||
rest = _objectWithoutProperties(_ref, _excluded); | ||
var videoRef = React.useRef(null); | ||
@@ -525,3 +525,3 @@ var _usePeer = usePeer(peerId), | ||
}, []); | ||
return /*#__PURE__*/React__default["default"].createElement("div", null, debug && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, peerId), /*#__PURE__*/React__default["default"].createElement("video", _extends({}, props, { | ||
return /*#__PURE__*/React__default["default"].createElement("div", null, debug && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, peerId), /*#__PURE__*/React__default["default"].createElement("video", _extends({}, rest, { | ||
ref: videoRef | ||
@@ -528,0 +528,0 @@ }), "Video")); |
@@ -484,3 +484,3 @@ 'use strict'; | ||
debug = _ref.debug, | ||
props = _objectWithoutProperties(_ref, _excluded); | ||
rest = _objectWithoutProperties(_ref, _excluded); | ||
var videoRef = React.useRef(null); | ||
@@ -525,3 +525,3 @@ var _usePeer = usePeer(peerId), | ||
}, []); | ||
return /*#__PURE__*/React__default["default"].createElement("div", null, debug && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, peerId), /*#__PURE__*/React__default["default"].createElement("video", _extends({}, props, { | ||
return /*#__PURE__*/React__default["default"].createElement("div", null, debug && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, peerId), /*#__PURE__*/React__default["default"].createElement("video", _extends({}, rest, { | ||
ref: videoRef | ||
@@ -528,0 +528,0 @@ }), "Video")); |
@@ -476,3 +476,3 @@ import React, { useRef, useEffect } from 'react'; | ||
debug = _ref.debug, | ||
props = _objectWithoutProperties(_ref, _excluded); | ||
rest = _objectWithoutProperties(_ref, _excluded); | ||
var videoRef = useRef(null); | ||
@@ -517,3 +517,3 @@ var _usePeer = usePeer(peerId), | ||
}, []); | ||
return /*#__PURE__*/React.createElement("div", null, debug && /*#__PURE__*/React.createElement(React.Fragment, null, peerId), /*#__PURE__*/React.createElement("video", _extends({}, props, { | ||
return /*#__PURE__*/React.createElement("div", null, debug && /*#__PURE__*/React.createElement(React.Fragment, null, peerId), /*#__PURE__*/React.createElement("video", _extends({}, rest, { | ||
ref: videoRef | ||
@@ -520,0 +520,0 @@ }), "Video")); |
import React from 'react'; | ||
declare const Video: React.FC<{ | ||
interface IVideoProps { | ||
peerId: string; | ||
track?: MediaStreamTrack; | ||
debug?: boolean; | ||
}>; | ||
} | ||
declare const Video: React.FC<IVideoProps & React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>>; | ||
export default Video; |
{ | ||
"name": "@huddle01/react", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/huddle01-react.cjs.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
116791
2851
0