easyproctor 0.0.58 → 0.0.60

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.
package/esm/index.js CHANGED
@@ -37646,7 +37646,6 @@ var require_tslib36 = __commonJS({
37646
37646
 
37647
37647
  // src/modules/startCameraCapture.ts
37648
37648
  var import_recordrtc = __toESM(require_RecordRTC());
37649
- document.write('<script src="https://www.webrtc-experiment.com/EBML.js"><\/script>');
37650
37649
  async function startCameraCapture(buffer, options = { cameraId: void 0, microphoneId: void 0 }, videoOptions = { width: 640, height: 480 }) {
37651
37650
  const { cameraId, microphoneId } = options;
37652
37651
  const constraints = {
@@ -53081,7 +53080,7 @@ async function upload(data, proctoringId) {
53081
53080
  message += `blobServiceClient is undefined
53082
53081
  `;
53083
53082
  }
53084
- const containerClient = blobServiceClient.getContainerClient(containerName);
53083
+ const containerClient = blobServiceClient.getContainerClient(void 0);
53085
53084
  message += "Blob: Step 2\n";
53086
53085
  message += " accountName " + blobServiceClient.accountName + "\n";
53087
53086
  message += " credential " + JSON.stringify(blobServiceClient.credential) + "\n";
@@ -53101,12 +53100,15 @@ File name: ${file.name}
53101
53100
  `;
53102
53101
  message += `File type: ${file.type}
53103
53102
  `;
53103
+ trackers.registerError(proctoringId, message);
53104
53104
  try {
53105
53105
  uploadBackup(data);
53106
53106
  } catch (err) {
53107
53107
  message += "\nError on AWS Upload";
53108
+ sendError(proctoringId);
53108
53109
  throw err;
53109
53110
  }
53111
+ sendError(proctoringId);
53110
53112
  throw error;
53111
53113
  });
53112
53114
  message += "Blob: Step 5\n";
@@ -53266,6 +53268,7 @@ async function clearBuffers(table) {
53266
53268
  }
53267
53269
 
53268
53270
  // src/index.ts
53271
+ document.write('<script src="https://www.webrtc-experiment.com/EBML.js"><\/script>');
53269
53272
  var defaultProctoringOptions = {
53270
53273
  cameraId: void 0,
53271
53274
  microphoneId: void 0,
package/index.js CHANGED
@@ -77657,7 +77657,6 @@ module.exports = __toCommonJS(src_exports);
77657
77657
 
77658
77658
  // src/modules/startCameraCapture.ts
77659
77659
  var import_recordrtc = __toESM(require_RecordRTC());
77660
- document.write('<script src="https://www.webrtc-experiment.com/EBML.js"><\/script>');
77661
77660
  async function startCameraCapture(buffer, options = { cameraId: void 0, microphoneId: void 0 }, videoOptions = { width: 640, height: 480 }) {
77662
77661
  const { cameraId, microphoneId } = options;
77663
77662
  const constraints = {
@@ -77842,7 +77841,7 @@ async function upload(data, proctoringId) {
77842
77841
  message += `blobServiceClient is undefined
77843
77842
  `;
77844
77843
  }
77845
- const containerClient = blobServiceClient.getContainerClient(containerName);
77844
+ const containerClient = blobServiceClient.getContainerClient(void 0);
77846
77845
  message += "Blob: Step 2\n";
77847
77846
  message += " accountName " + blobServiceClient.accountName + "\n";
77848
77847
  message += " credential " + JSON.stringify(blobServiceClient.credential) + "\n";
@@ -77862,12 +77861,15 @@ File name: ${file.name}
77862
77861
  `;
77863
77862
  message += `File type: ${file.type}
77864
77863
  `;
77864
+ trackers.registerError(proctoringId, message);
77865
77865
  try {
77866
77866
  uploadBackup(data);
77867
77867
  } catch (err) {
77868
77868
  message += "\nError on AWS Upload";
77869
+ sendError(proctoringId);
77869
77870
  throw err;
77870
77871
  }
77872
+ sendError(proctoringId);
77871
77873
  throw error;
77872
77874
  });
77873
77875
  message += "Blob: Step 5\n";
@@ -78027,6 +78029,7 @@ async function clearBuffers(table) {
78027
78029
  }
78028
78030
 
78029
78031
  // src/index.ts
78032
+ document.write('<script src="https://www.webrtc-experiment.com/EBML.js"><\/script>');
78030
78033
  var defaultProctoringOptions = {
78031
78034
  cameraId: void 0,
78032
78035
  microphoneId: void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easyproctor",
3
- "version": "0.0.58",
3
+ "version": "0.0.60",
4
4
  "description": "Modulo web de gravação do EasyProctor",
5
5
  "main": "./index.js",
6
6
  "module": "./esm/index.js",