easyproctor-hml 2.4.2 → 2.4.4

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.
Files changed (60) hide show
  1. package/README.md +7 -0
  2. package/dtos/AlertDTO.d.ts +5 -5
  3. package/dtos/SaveScreenDTO.d.ts +5 -5
  4. package/dtos/SessionDTO.d.ts +10 -10
  5. package/dtos/StartProctoringResponse.d.ts +12 -12
  6. package/dtos/UploadDataDTO.d.ts +5 -5
  7. package/errors/errors.d.ts +21 -18
  8. package/esm/index.js +16992 -11876
  9. package/extension/{extensionEasyProctor.d.ts → extension.d.ts} +11 -11
  10. package/index.d.ts +1 -1
  11. package/index.js +10475 -2519
  12. package/interfaces/Devices.d.ts +11 -12
  13. package/interfaces/ParamsConfig.d.ts +34 -34
  14. package/modules/BaseDetection.d.ts +39 -39
  15. package/modules/SpyCam.d.ts +31 -31
  16. package/modules/checkPermissions.d.ts +2 -2
  17. package/modules/enumarateDevices.d.ts +2 -2
  18. package/modules/faceDetection.d.ts +15 -15
  19. package/modules/objectDetection.d.ts +15 -15
  20. package/modules/onChangeDevices.d.ts +9 -12
  21. package/new-flow/backend/BackendService.d.ts +50 -47
  22. package/new-flow/backend/SpyCamBackendService.d.ts +27 -27
  23. package/new-flow/checkers/DeviceCheckerService.d.ts +59 -61
  24. package/new-flow/checkers/DeviceCheckerUI.d.ts +51 -51
  25. package/new-flow/download/IDownloadService.d.ts +4 -4
  26. package/new-flow/download/downloadService.d.ts +9 -9
  27. package/new-flow/proctoring/ProctoringRecorder.d.ts +12 -12
  28. package/new-flow/proctoring/ProctoringSession.d.ts +65 -66
  29. package/new-flow/proctoring/ProctoringUploader.d.ts +14 -14
  30. package/new-flow/recorders/AlertRecorder.d.ts +21 -25
  31. package/new-flow/recorders/AudioRecorder.d.ts +24 -24
  32. package/new-flow/recorders/CameraRecorder.d.ts +69 -69
  33. package/new-flow/recorders/IRecorder.d.ts +12 -12
  34. package/new-flow/recorders/NoiseRecorder.d.ts +46 -46
  35. package/new-flow/recorders/ScreenRecorder.d.ts +30 -34
  36. package/new-flow/recorders/VolumeMeter.d.ts +14 -14
  37. package/new-flow/repository/ISessionRepository.d.ts +11 -11
  38. package/new-flow/repository/IndexDbSessionRepository.d.ts +20 -20
  39. package/new-flow/upload/IUploadService.d.ts +10 -10
  40. package/new-flow/upload/UploadService.d.ts +13 -13
  41. package/new-flow/upload/uploadCalback.d.ts +1 -1
  42. package/package.json +5 -2
  43. package/plugins/insights.d.ts +19 -20
  44. package/plugins/recorder.d.ts +9 -9
  45. package/proctoring/Auth.d.ts +11 -11
  46. package/proctoring/CapturePhoto.d.ts +21 -21
  47. package/proctoring/DeviceChecker.d.ts +57 -57
  48. package/proctoring/ExternalCameraChecker.d.ts +55 -0
  49. package/proctoring/SignTerm.d.ts +15 -15
  50. package/proctoring/options/ProctoringOptions.d.ts +15 -19
  51. package/proctoring/options/ProctoringVideoOptions.d.ts +8 -8
  52. package/proctoring/proctoring.d.ts +84 -90
  53. package/proctoring/useProctoring.d.ts +29 -26
  54. package/unpkg/easyproctor.min.js +61 -44
  55. package/utils/browserInformations.d.ts +1 -1
  56. package/utils/geolocation.d.ts +15 -15
  57. package/utils/time.d.ts +3 -3
  58. package/utils/verifyVersion.d.ts +1 -1
  59. package/extension/extensionEasyCatcher.d.ts +0 -11
  60. package/unpkg/easyproctor.min.js.map +0 -7
package/README.md CHANGED
@@ -263,6 +263,13 @@ const {
263
263
  token: "...",
264
264
  });
265
265
  ```
266
+
267
+ ## Release Note V 2.3.1
268
+ - Implementação da funcionalidade de transmissão com câmera externa
269
+
270
+ ## Release Note V 2.3.0
271
+ - Implementação da funcionalidade de câmera externa (apenas checagem)
272
+
266
273
  ## Release Note V 2.2.0
267
274
  - Retry para stream iniciados com falhas
268
275
  - Criação da janela para termo de consentimento
@@ -1,5 +1,5 @@
1
- export default interface AlertDTO {
2
- begin: number;
3
- end: number;
4
- alert: number;
5
- }
1
+ export default interface AlertDTO {
2
+ begin: number;
3
+ end: number;
4
+ alert: number;
5
+ }
@@ -1,5 +1,5 @@
1
- import AlertDTO from "./AlertDTO";
2
- export default interface SaveScreenDTO {
3
- proctoringId: string;
4
- alerts: AlertDTO[];
5
- }
1
+ import AlertDTO from "./AlertDTO";
2
+ export default interface SaveScreenDTO {
3
+ proctoringId: string;
4
+ alerts: AlertDTO[];
5
+ }
@@ -1,10 +1,10 @@
1
- import AlertDTO from "./AlertDTO";
2
- export default interface SessionDTO {
3
- id: string;
4
- alerts: AlertDTO[];
5
- videoCameraUrl: string;
6
- audioCameraUrl: string;
7
- videoScreenUrl: string;
8
- start: string;
9
- end: string;
10
- }
1
+ import AlertDTO from "./AlertDTO";
2
+ export default interface SessionDTO {
3
+ id: string;
4
+ alerts: AlertDTO[];
5
+ videoCameraUrl: string;
6
+ audioCameraUrl: string;
7
+ videoScreenUrl: string;
8
+ start: string;
9
+ end: string;
10
+ }
@@ -1,12 +1,12 @@
1
- export default interface StartProctoringDTO {
2
- id: string;
3
- clientId: string;
4
- examId: string;
5
- userCpf: string;
6
- examStartTime: string;
7
- examEndTime: string;
8
- status: number;
9
- cameraStream: MediaStream;
10
- audioStream: MediaStream;
11
- screenStream: MediaStream | undefined;
12
- }
1
+ export default interface StartProctoringDTO {
2
+ id: string;
3
+ clientId: string;
4
+ examId: string;
5
+ userCpf: string;
6
+ examStartTime: string;
7
+ examEndTime: string;
8
+ status: number;
9
+ cameraStream: MediaStream;
10
+ audioStream: MediaStream;
11
+ screenStream: MediaStream | undefined;
12
+ }
@@ -1,5 +1,5 @@
1
- import { ProgressCallback } from "../new-flow/upload/uploadCalback";
2
- export default interface UploadDataDTO {
3
- file: File;
4
- onProgress?: ProgressCallback;
5
- }
1
+ import { ProgressCallback } from "../new-flow/upload/uploadCalback";
2
+ export default interface UploadDataDTO {
3
+ file: File;
4
+ onProgress?: ProgressCallback;
5
+ }
@@ -1,18 +1,21 @@
1
- export declare const SCRIPT_NOT_CALLED_INSIDE_BODY = "script_not_called_inside_body";
2
- export declare const INCOMPATIBLE_NAVIGATOR = "incompatible_navigator";
3
- export declare const REQUIRED_FIELD_NOT_PROVIDED = "required_field_not_provided";
4
- export declare const NOT_SHARED_FIRST_SCREEN = "not_shared_first_screen";
5
- export declare const NOT_SHARED_SCREEN = "not_shared_screen";
6
- export declare const MULTIPLE_MONITORS_DETECTED = "multiple_monitors_detected";
7
- export declare const PROCTORING_ALREADY_STARTED = "proctoring_already_started";
8
- export declare const PROCTORING_NOT_STARTED = "proctoring_not_started";
9
- export declare const PROCTORING_RUNNING = "proctoring_running";
10
- export declare const NO_VIDEOS_RECORDED = "no_videos_recorded";
11
- export declare const PERMISSIONS_NOT_GRANTED = "permissions_not_granted";
12
- export declare const ANOTHER_STREAM_ACTIVE = "another_stream_active";
13
- export declare const STREAM_UNDER_MINIMUM_PERMITTED = "stream_under_minimum_permitted";
14
- export declare const BROWSER_NOT_SUPPORTED = "browser_not_supported";
15
- export declare const TOKEN_MISSING = "token_missing";
16
- export declare const CREDENTIALS_MISSING = "credentials_missing";
17
- export declare const CAMERA_BLOCKED = "camera_blocked";
18
- export declare const SPY_SCAN_API_NOT_FOUND = "spy_scan_api_not_found";
1
+ export declare const SCRIPT_NOT_CALLED_INSIDE_BODY = "script_not_called_inside_body";
2
+ export declare const INCOMPATIBLE_NAVIGATOR = "incompatible_navigator";
3
+ export declare const REQUIRED_FIELD_NOT_PROVIDED = "required_field_not_provided";
4
+ export declare const NOT_SHARED_FIRST_SCREEN = "not_shared_first_screen";
5
+ export declare const NOT_SHARED_SCREEN = "not_shared_screen";
6
+ export declare const MULTIPLE_MONITORS_DETECTED = "multiple_monitors_detected";
7
+ export declare const PROCTORING_ALREADY_STARTED = "proctoring_already_started";
8
+ export declare const PROCTORING_NOT_STARTED = "proctoring_not_started";
9
+ export declare const PROCTORING_RUNNING = "proctoring_running";
10
+ export declare const NO_VIDEOS_RECORDED = "no_videos_recorded";
11
+ export declare const PERMISSIONS_NOT_GRANTED = "permissions_not_granted";
12
+ export declare const ANOTHER_STREAM_ACTIVE = "another_stream_active";
13
+ export declare const STREAM_UNDER_MINIMUM_PERMITTED = "stream_under_minimum_permitted";
14
+ export declare const BROWSER_NOT_SUPPORTED = "browser_not_supported";
15
+ export declare const TOKEN_MISSING = "token_missing";
16
+ export declare const CREDENTIALS_MISSING = "credentials_missing";
17
+ export declare const CAMERA_BLOCKED = "camera_blocked";
18
+ export declare const SPY_SCAN_API_NOT_FOUND = "spy_scan_api_not_found";
19
+ export declare const ERROR_ON_MOBILE_APP_NOT_FOUND = "error_on_mobile_app_not_found";
20
+ export declare const EXTERNAL_CAMERA_NOT_STARTED = "external_camera_not_started";
21
+ export declare const EXTERNAL_CAMERA_CHECK_TRANSMISSION = "external_camera_timed_out";