@myinterview/widget-react 1.1.14 → 1.1.15-e4b0b6e-6a26fad

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.
@@ -3,6 +3,7 @@ export interface InitialState {
3
3
  micData: number;
4
4
  retakes: number;
5
5
  webWorker: Worker | null;
6
+ retakeSpeed: number;
6
7
  }
7
8
  export declare const enum STATES {
8
9
  INACTIVE = "inactive",
@@ -12,6 +13,7 @@ export declare const enum STATES {
12
13
  DATA_CHECK = "dataCheck"
13
14
  }
14
15
  export declare const enum ACTIONS {
16
+ SET_DETECTION_SPEED = "setDetectionSpeed",
15
17
  COLLECT_BREADCRUMB = "collectBreadcrumb",
16
18
  INIT_WEB_WORKER = "initWebWorker",
17
19
  CONSOLE_LOG = "consoleLog",
@@ -22,6 +24,7 @@ export declare const enum ACTIONS {
22
24
  SENTRY = "sentry"
23
25
  }
24
26
  export declare const enum EVENTS {
27
+ ON_DETECTION_SPEED = "ON_DETECTION_SPEED",
25
28
  UNMUTE = "UNMUTE",
26
29
  MUTE = "MUTE",
27
30
  ON_SET_MEDIA_STREAM = "ON_SET_MEDIA_STREAM",
@@ -10,7 +10,6 @@ export declare const SPEED_TEST_TIMEOUT = 5000;
10
10
  export declare const VIDEO_INACTIVE_TIMEOUT = 2000;
11
11
  export declare const MICROPHONE_NO_SOUND_ERROR_CODE = 777;
12
12
  export declare const MAX_FAILED_RECORDING_ATTEMPTS = 2;
13
- export declare const MICROPHONE_RETAKE_COUNT = 100;
14
13
  export declare const SECONDS_LEFT_HIGHLIGHT = 10;
15
14
  export declare const DEFAULT_ASSESSMENT_MAX_CHARS = 300;
16
15
  export declare const DEFAULT_ASSESSMENT_DURATION = 0;
@@ -19,3 +18,8 @@ export declare const DEFAULT_VIDEO_DIMENSIONS: {
19
18
  height: number;
20
19
  };
21
20
  export declare const FONT_URL = "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap";
21
+ export declare enum RETAKE_SPEED {
22
+ FAST = 300,
23
+ MEDIUM = 420,
24
+ DISABLED = Infinity
25
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myinterview/widget-react",
3
- "version": "1.1.14",
3
+ "version": "1.1.15-e4b0b6e-6a26fad",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "main": "dist/cjs/index.js",