easyproctor-hml 2.7.14 → 2.8.0
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 +353 -205
- package/extension/extensionEasyCatcher.d.ts +11 -0
- package/extension/{extension.d.ts → extensionEasyProctor.d.ts} +1 -1
- package/index.js +353 -205
- package/new-flow/checkers/DeviceCheckerUI.d.ts +11 -0
- package/new-flow/chunk/ChunkStorageService.d.ts +1 -1
- package/new-flow/proctoring/ProctoringUploader.d.ts +1 -0
- package/new-flow/recorders/CameraRecorder.d.ts +0 -3
- package/package.json +1 -1
- package/plugins/recorder.d.ts +1 -5
- package/proctoring/options/ProctoringOptions.d.ts +1 -0
- package/proctoring/proctoring.d.ts +5 -0
- package/proctoring/useProctoring.d.ts +2 -0
- package/unpkg/easyproctor.min.js +39 -39
|
@@ -12,6 +12,8 @@ export declare class DeviceCheckerUI {
|
|
|
12
12
|
videoOptions: ProctoringVideoOptions;
|
|
13
13
|
cameraRecorder: CameraRecorder;
|
|
14
14
|
volumeMeter: VolumeMeter | undefined;
|
|
15
|
+
private autoConfirmTimer;
|
|
16
|
+
private autoConfirmSeconds;
|
|
15
17
|
constructor(options: ProctoringSessionOptions | undefined, _videoOptions: ProctoringVideoOptions);
|
|
16
18
|
checkDevicesInterface(): void;
|
|
17
19
|
setSelectOption(options: ProctoringSessionOptions, changeSelectedDevice: (arg0: {
|
|
@@ -29,6 +31,15 @@ export declare class DeviceCheckerUI {
|
|
|
29
31
|
}): any;
|
|
30
32
|
}): Promise<void>;
|
|
31
33
|
closeModal(): void;
|
|
34
|
+
verifyAutoConfirm(status: {
|
|
35
|
+
allowedResolution: boolean;
|
|
36
|
+
allowedPositionFace: boolean;
|
|
37
|
+
allowedAmbient: boolean;
|
|
38
|
+
allowedMicrophone: boolean;
|
|
39
|
+
allowedSpyScan: boolean | null;
|
|
40
|
+
}): void;
|
|
41
|
+
private startAutoConfirm;
|
|
42
|
+
private stopAutoConfirm;
|
|
32
43
|
modalActions(closeCheckDevices: {
|
|
33
44
|
(): Promise<void>;
|
|
34
45
|
(): void;
|
|
@@ -102,7 +102,4 @@ export declare class CameraRecorder implements IRecorder {
|
|
|
102
102
|
download(file: File): void;
|
|
103
103
|
saveOnSession(session: ProctoringSession): Promise<void>;
|
|
104
104
|
getFile(file: string, name: string, type: string): Promise<File>;
|
|
105
|
-
private checkInternetStability;
|
|
106
|
-
noiseWait: number;
|
|
107
|
-
private onNoiseDetected;
|
|
108
105
|
}
|
package/package.json
CHANGED
package/plugins/recorder.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
export declare function setRecorderProctoringId(id: string): void;
|
|
2
|
-
export
|
|
3
|
-
timeslice?: number;
|
|
4
|
-
onChunkAvailable?: (blob: Blob, chunkIndex: number) => void;
|
|
5
|
-
}
|
|
6
|
-
export default function recorder(stream: MediaStream, buffer: Blob[], onBufferSizeError?: boolean, onBufferSizeErrorCallback?: (e?: any) => void, audio?: boolean, recorderOpts?: RecorderOptions): {
|
|
2
|
+
export default function recorder(stream: MediaStream, buffer: Blob[], onBufferSizeError?: boolean, onBufferSizeErrorCallback?: (e?: any) => void, audio?: boolean): {
|
|
7
3
|
startRecording: () => Promise<void>;
|
|
8
4
|
stopRecording: () => Promise<void>;
|
|
9
5
|
pauseRecording: () => Promise<void>;
|
|
@@ -41,6 +41,7 @@ export declare class Proctoring {
|
|
|
41
41
|
private readonly repository;
|
|
42
42
|
private readonly repositoryDevices;
|
|
43
43
|
private extension;
|
|
44
|
+
private extensionEasycatcher;
|
|
44
45
|
private deviceData;
|
|
45
46
|
private paramsConfig;
|
|
46
47
|
private proctoringId;
|
|
@@ -100,4 +101,8 @@ export declare class Proctoring {
|
|
|
100
101
|
audioStream?: MediaStream;
|
|
101
102
|
_screenStream: MediaStream | undefined;
|
|
102
103
|
}>;
|
|
104
|
+
private isChallengeRunning;
|
|
105
|
+
private challengeId;
|
|
106
|
+
startChallenge(templateId: string): Promise<void>;
|
|
107
|
+
stopChallenge(): Promise<void>;
|
|
103
108
|
}
|
|
@@ -5,6 +5,8 @@ export declare function useProctoring(proctoringOptions: ProctoringContext, envi
|
|
|
5
5
|
login: () => Promise<void>;
|
|
6
6
|
start: (parameters: any, videoOptions: any) => Promise<import("../dtos/StartProctoringResponse").default>;
|
|
7
7
|
finish: (options?: import("./proctoring").ProctoringFinisherOptions) => Promise<void>;
|
|
8
|
+
startChallenge: (templateId: string) => Promise<void>;
|
|
9
|
+
stopChallenge: () => Promise<void>;
|
|
8
10
|
onFocus: (cb: () => void) => Promise<void>;
|
|
9
11
|
onLostFocus: (cb: () => void) => Promise<void>;
|
|
10
12
|
onChangeDevices: (options?: import("./proctoring").ProctoringChangeDevicesOptions) => Promise<void>;
|