@newtonschool/react_proctoring_library 0.0.36 → 0.0.37

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.
@@ -65,7 +65,7 @@ const getDataOnBreach = (statistics, currentData, proctorParams) => {
65
65
  const {
66
66
  userCount,
67
67
  isTabSwitched,
68
- isFullscreen,
68
+ isFullScreen,
69
69
  lookedAwayCount,
70
70
  isWebcamDataNotReliable
71
71
  } = currentData;
@@ -109,12 +109,12 @@ const getDataOnBreach = (statistics, currentData, proctorParams) => {
109
109
 
110
110
  const fullscreenExitParam = _defaults.STATS_PARAMS.isFullscreen;
111
111
 
112
- if (proctorParams.fullscreenExit && !isFullscreen && data[fullscreenExitParam]) {
112
+ if (proctorParams.fullscreenExit && !isFullScreen && data[fullscreenExitParam]) {
113
113
  return {
114
114
  breachedParam: fullscreenExitParam,
115
115
  timestamp,
116
116
  data: _objectSpread(_objectSpread({}, data), {}, {
117
- [fullscreenExitParam]: isFullscreen
117
+ [fullscreenExitParam]: isFullScreen
118
118
  })
119
119
  };
120
120
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newtonschool/react_proctoring_library",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "description": "Used to proctor online tests",
5
5
  "author": "ayushkagrawal,shreyachandra,weastel",
6
6
  "main": "dist/index.js",