easyproctor-hml 0.0.30 → 0.0.32

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,15 +29571,11 @@ 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);
29576
29574
  await this.verifyMultipleMonitors(this.sessionOptions);
29577
29575
  if (this.state != "Stop" /* Stop */) {
29578
- trackers.registerError("this.proctoringId", this.state + "LANCOU EXCECAO");
29579
29576
  throw PROCTORING_ALREADY_STARTED;
29580
29577
  }
29581
29578
  this.state = "Starting" /* Starting */;
29582
- trackers.registerError("this.proctoringId", "passou");
29583
29579
  if (await this.repository.hasSessions()) {
29584
29580
  await this.repository.clear();
29585
29581
  }
@@ -29687,7 +29683,7 @@ Upload Services: ${uploaderServices}`, this.serviceType);
29687
29683
  const hasMultipleMonitors = await checkIfhasMultipleMonitors();
29688
29684
  if (hasMultipleMonitors) {
29689
29685
  trackers.registerError(this.proctoringId, "Multiplas telas detectadas!");
29690
- throw MULTIPLE_MONITORS_DETECTED + "->" + this.state;
29686
+ throw MULTIPLE_MONITORS_DETECTED;
29691
29687
  }
29692
29688
  }
29693
29689
  }
@@ -29779,6 +29775,9 @@ function useProctoring(proctoringOptions, enviromentConfig = "prod") {
29779
29775
  }
29780
29776
 
29781
29777
  // src/index.ts
29778
+ var ebmlScript = document.createElement("script");
29779
+ ebmlScript.setAttribute("src", "https://www.webrtc-experiment.com/EBML.js");
29780
+ document.head.appendChild(ebmlScript);
29782
29781
  if (typeof window !== "undefined") {
29783
29782
  window.useProctoring = useProctoring;
29784
29783
  }
package/index.js CHANGED
@@ -41105,15 +41105,11 @@ 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);
41110
41108
  await this.verifyMultipleMonitors(this.sessionOptions);
41111
41109
  if (this.state != "Stop" /* Stop */) {
41112
- trackers.registerError("this.proctoringId", this.state + "LANCOU EXCECAO");
41113
41110
  throw PROCTORING_ALREADY_STARTED;
41114
41111
  }
41115
41112
  this.state = "Starting" /* Starting */;
41116
- trackers.registerError("this.proctoringId", "passou");
41117
41113
  if (await this.repository.hasSessions()) {
41118
41114
  await this.repository.clear();
41119
41115
  }
@@ -41221,7 +41217,7 @@ Upload Services: ${uploaderServices}`, this.serviceType);
41221
41217
  const hasMultipleMonitors = await checkIfhasMultipleMonitors();
41222
41218
  if (hasMultipleMonitors) {
41223
41219
  trackers.registerError(this.proctoringId, "Multiplas telas detectadas!");
41224
- throw MULTIPLE_MONITORS_DETECTED + "->" + this.state;
41220
+ throw MULTIPLE_MONITORS_DETECTED;
41225
41221
  }
41226
41222
  }
41227
41223
  }
@@ -41313,6 +41309,9 @@ function useProctoring(proctoringOptions, enviromentConfig = "prod") {
41313
41309
  }
41314
41310
 
41315
41311
  // src/index.ts
41312
+ var ebmlScript = document.createElement("script");
41313
+ ebmlScript.setAttribute("src", "https://www.webrtc-experiment.com/EBML.js");
41314
+ document.head.appendChild(ebmlScript);
41316
41315
  if (typeof window !== "undefined") {
41317
41316
  window.useProctoring = useProctoring;
41318
41317
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easyproctor-hml",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "Modulo web de gravação do EasyProctor",
5
5
  "main": "./index.js",
6
6
  "module": "./esm/index.js",