@newtonschool/react_proctoring_library 0.0.21 → 0.0.23

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.
@@ -61,6 +61,7 @@ const ProctoredContextApp = _ref => {
61
61
  'screenshare': screensharePermission
62
62
  };
63
63
  const askPermission = (0, _react.useCallback)(requiredPermissions => {
64
+ console.log(requiredPermissions);
64
65
  requiredPermissions.forEach(element => {
65
66
  if (!getPermissionObj[element] && askPermissionAction[element]) {
66
67
  askPermissionAction[element]();
@@ -1,6 +1,4 @@
1
1
  .captured-video-canvas {
2
2
  visibility: hidden;
3
3
  position: absolute;
4
- height: 0px;
5
- width: 0px;
6
- }
4
+ }
@@ -78,7 +78,7 @@ const getDataOnBreach = (statistics, currentData, proctorParams) => {
78
78
  breachedParam: isWebCamNotReliableParam,
79
79
  timestamp,
80
80
  data: _objectSpread(_objectSpread({}, data), {}, {
81
- [isWebCamNotReliableParam]: isWebCamNotReliableParam
81
+ [isWebCamNotReliableParam]: isWebcamDataNotReliable
82
82
  })
83
83
  };
84
84
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@newtonschool/react_proctoring_library",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "description": "Used to proctor online tests",
5
- "author": "ayushkagrawal,shreyachandra",
5
+ "author": "ayushkagrawal,shreyachandra,weastel",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
8
8
  "files": [