easyproctor-hml 0.0.28 → 0.0.30

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
@@ -29571,14 +29571,15 @@ var Proctoring = class {
29571
29571
  this.sessionOptions = { ...getDefaultProctoringOptions, ...options };
29572
29572
  this.videoOptions = validatePartialVideoOptions(_videoOptions);
29573
29573
  await this.initConfig();
29574
- alert("verifyMultipleMonitors");
29575
- alert("this.state" + this.state);
29574
+ trackers.registerError("this.proctoringId", "verifyMultipleMonitors");
29575
+ trackers.registerError("this.proctoringId", this.state);
29576
29576
  await this.verifyMultipleMonitors(this.sessionOptions);
29577
29577
  if (this.state != "Stop" /* Stop */) {
29578
+ trackers.registerError("this.proctoringId", this.state + "LANCOU EXCECAO");
29578
29579
  throw PROCTORING_ALREADY_STARTED;
29579
29580
  }
29580
- alert("change Status");
29581
29581
  this.state = "Starting" /* Starting */;
29582
+ trackers.registerError("this.proctoringId", "passou");
29582
29583
  if (await this.repository.hasSessions()) {
29583
29584
  await this.repository.clear();
29584
29585
  }
@@ -29686,7 +29687,7 @@ Upload Services: ${uploaderServices}`, this.serviceType);
29686
29687
  const hasMultipleMonitors = await checkIfhasMultipleMonitors();
29687
29688
  if (hasMultipleMonitors) {
29688
29689
  trackers.registerError(this.proctoringId, "Multiplas telas detectadas!");
29689
- throw MULTIPLE_MONITORS_DETECTED;
29690
+ throw MULTIPLE_MONITORS_DETECTED + "->" + this.state;
29690
29691
  }
29691
29692
  }
29692
29693
  }
package/index.js CHANGED
@@ -41105,14 +41105,15 @@ var Proctoring = class {
41105
41105
  this.sessionOptions = { ...getDefaultProctoringOptions, ...options };
41106
41106
  this.videoOptions = validatePartialVideoOptions(_videoOptions);
41107
41107
  await this.initConfig();
41108
- alert("verifyMultipleMonitors");
41109
- alert("this.state" + this.state);
41108
+ trackers.registerError("this.proctoringId", "verifyMultipleMonitors");
41109
+ trackers.registerError("this.proctoringId", this.state);
41110
41110
  await this.verifyMultipleMonitors(this.sessionOptions);
41111
41111
  if (this.state != "Stop" /* Stop */) {
41112
+ trackers.registerError("this.proctoringId", this.state + "LANCOU EXCECAO");
41112
41113
  throw PROCTORING_ALREADY_STARTED;
41113
41114
  }
41114
- alert("change Status");
41115
41115
  this.state = "Starting" /* Starting */;
41116
+ trackers.registerError("this.proctoringId", "passou");
41116
41117
  if (await this.repository.hasSessions()) {
41117
41118
  await this.repository.clear();
41118
41119
  }
@@ -41220,7 +41221,7 @@ Upload Services: ${uploaderServices}`, this.serviceType);
41220
41221
  const hasMultipleMonitors = await checkIfhasMultipleMonitors();
41221
41222
  if (hasMultipleMonitors) {
41222
41223
  trackers.registerError(this.proctoringId, "Multiplas telas detectadas!");
41223
- throw MULTIPLE_MONITORS_DETECTED;
41224
+ throw MULTIPLE_MONITORS_DETECTED + "->" + this.state;
41224
41225
  }
41225
41226
  }
41226
41227
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easyproctor-hml",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "Modulo web de gravação do EasyProctor",
5
5
  "main": "./index.js",
6
6
  "module": "./esm/index.js",