@naviedu/room-platform-react 0.0.44 → 0.0.45

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.
Files changed (2) hide show
  1. package/index.esm.js +3 -3
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -29067,9 +29067,9 @@ function getTrackAspectRatio(trackRef) {
29067
29067
  }
29068
29068
  function RoomPlatformStage(param) {
29069
29069
  var controlBar = param.controlBar, _param_layout = param.layout, layout = _param_layout === void 0 ? 'stage' : _param_layout, model = param.model, overlayTrack = param.overlayTrack, status = param.status, whiteboard = param.whiteboard;
29070
- var _ref, _ref1;
29070
+ var _ref;
29071
29071
  var _model_primary, _model_primary1;
29072
- var cameraOverlayTrack = (_ref = overlayTrack !== null && overlayTrack !== void 0 ? overlayTrack : model.localPreview) !== null && _ref !== void 0 ? _ref : model.primary;
29072
+ var cameraOverlayTrack = overlayTrack !== null && overlayTrack !== void 0 ? overlayTrack : model.primary;
29073
29073
  var displayedTrack = layout === 'camera-overlay' ? cameraOverlayTrack : model.primary;
29074
29074
  var dimensions = displayedTrack === null || displayedTrack === void 0 ? void 0 : displayedTrack.publication.dimensions;
29075
29075
  var screenShareTrack = layout === 'stage' && ((_model_primary = model.primary) === null || _model_primary === void 0 ? void 0 : _model_primary.source) === Track.Source.ScreenShare ? model.primary : null;
@@ -29114,7 +29114,7 @@ function RoomPlatformStage(param) {
29114
29114
  style: frameStyle,
29115
29115
  children: /*#__PURE__*/ jsx("section", {
29116
29116
  className: frameClassName,
29117
- "data-source": (_ref1 = (_model_primary1 = model.primary) === null || _model_primary1 === void 0 ? void 0 : _model_primary1.source) !== null && _ref1 !== void 0 ? _ref1 : 'empty',
29117
+ "data-source": (_ref = (_model_primary1 = model.primary) === null || _model_primary1 === void 0 ? void 0 : _model_primary1.source) !== null && _ref !== void 0 ? _ref : 'empty',
29118
29118
  "data-testid": "room-platform-stage-frame",
29119
29119
  style: frameStyle,
29120
29120
  children: isScreenShare && model.primary ? /*#__PURE__*/ jsx("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naviedu/room-platform-react",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "type": "module",
5
5
  "main": "./index.esm.js",
6
6
  "module": "./index.esm.js",