easyproctor-hml 0.0.29 → 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 +5 -4
- package/index.js +5 -4
- package/package.json +1 -1
- package/unpkg/easyproctor.min.js +20 -20
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
|
+
trackers.registerError("this.proctoringId", "verifyMultipleMonitors");
|
|
29575
|
+
trackers.registerError("this.proctoringId", this.state);
|
|
29574
29576
|
await this.verifyMultipleMonitors(this.sessionOptions);
|
|
29575
29577
|
if (this.state != "Stop" /* Stop */) {
|
|
29576
|
-
|
|
29578
|
+
trackers.registerError("this.proctoringId", this.state + "LANCOU EXCECAO");
|
|
29579
|
+
throw PROCTORING_ALREADY_STARTED;
|
|
29577
29580
|
}
|
|
29578
29581
|
this.state = "Starting" /* Starting */;
|
|
29579
|
-
|
|
29580
|
-
throw PROCTORING_ALREADY_STARTED + " LASCOU " + this.state;
|
|
29581
|
-
}
|
|
29582
|
+
trackers.registerError("this.proctoringId", "passou");
|
|
29582
29583
|
if (await this.repository.hasSessions()) {
|
|
29583
29584
|
await this.repository.clear();
|
|
29584
29585
|
}
|
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
|
+
trackers.registerError("this.proctoringId", "verifyMultipleMonitors");
|
|
41109
|
+
trackers.registerError("this.proctoringId", this.state);
|
|
41108
41110
|
await this.verifyMultipleMonitors(this.sessionOptions);
|
|
41109
41111
|
if (this.state != "Stop" /* Stop */) {
|
|
41110
|
-
|
|
41112
|
+
trackers.registerError("this.proctoringId", this.state + "LANCOU EXCECAO");
|
|
41113
|
+
throw PROCTORING_ALREADY_STARTED;
|
|
41111
41114
|
}
|
|
41112
41115
|
this.state = "Starting" /* Starting */;
|
|
41113
|
-
|
|
41114
|
-
throw PROCTORING_ALREADY_STARTED + " LASCOU " + this.state;
|
|
41115
|
-
}
|
|
41116
|
+
trackers.registerError("this.proctoringId", "passou");
|
|
41116
41117
|
if (await this.repository.hasSessions()) {
|
|
41117
41118
|
await this.repository.clear();
|
|
41118
41119
|
}
|