@myinterview/widget-react 1.1.23-binary-010 → 1.1.23-bli-chupchik

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.
@@ -32,7 +32,6 @@ interface IConfig {
32
32
  disablePractice?: boolean;
33
33
  event_id?: string;
34
34
  accessibility_id?: string;
35
- recordWithoutVideo?: boolean;
36
35
  }
37
36
  export type IClientConfig = Omit<IConfig, 'practiceQuestions'> & {
38
37
  practiceQuestions?: IClientQuestion[];
@@ -21,7 +21,6 @@ interface FacingMode {
21
21
  exact: string;
22
22
  }
23
23
  export interface RecorderInterface {
24
- recordWithoutVideo?: boolean;
25
24
  facingMode: FacingMode;
26
25
  microphoneRef: ActorRef<DoneInvokeEvent<any>> | null;
27
26
  countDownRef: ActorRef<DoneInvokeEvent<any>> | null;
@@ -44,7 +43,6 @@ export interface RecorderInterface {
44
43
  recordingTime: number;
45
44
  durations: number;
46
45
  isMicError: boolean;
47
- isActivelyStopped: boolean;
48
46
  }
49
47
  export declare const enum MIME_TYPES {
50
48
  WEBM = "video/webm",
@@ -96,8 +94,7 @@ export declare const enum ACTIONS {
96
94
  UPDATE_MACHINE_FOR_NEW_QUESTION = "UPDATE_MACHINE_FOR_NEW_QUESTION",
97
95
  SET_MEDIA_RECORDER = "SET_MEDIA_RECORDER",
98
96
  SET_MIC_ERROR = "SET_MIC_ERROR",
99
- SET_PERMISSION_LISTENER = "SET_PERMISSION_LISTENER",
100
- SET_ACTIVELY_STOPPED = "SET_ACTIVELY_STOPPED"
97
+ SET_PERMISSION_LISTENER = "SET_PERMISSION_LISTENER"
101
98
  }
102
99
  export declare const enum EVENTS {
103
100
  SET_MIC_SPEED_DETECTION = "SET_MIC_SPEED_DETECTION",
@@ -76,7 +76,6 @@ export interface IVideo {
76
76
  reminder: number;
77
77
  source: number;
78
78
  };
79
- region?: 'us' | 'eu' | 'au' | 'london';
80
79
  }
81
80
  export declare const enum VIDEO_STATUS {
82
81
  INCOMPLETED = 0,
@@ -78,7 +78,6 @@ export interface InitialState {
78
78
  failedRecordingMessage: IVideoCorruptedMessagesKey;
79
79
  isResumed: boolean;
80
80
  videoDimensions: IVideoDimensions;
81
- confirmUploadedFalseCount: number;
82
81
  }
83
82
  export interface IWidgetMachineProps {
84
83
  widgetMachine: State<InitialState, DoneInvokeEvent<any>, any, {
@@ -98,7 +97,6 @@ export declare const enum STATES {
98
97
  SETUP__TEST__CAMERA__WAITING = "testCameraWaiting",
99
98
  SETUP__TEST__CAMERA__ERROR = "testCameraError",
100
99
  SETUP__TEST__CAMERA__SUCCESS = "testCameraSuccess",
101
- SETUP__TEST__CAMERA__SKIP = "testCameraSkip",
102
100
  SETUP__TEST__MICROPHONE = "testMicrophone",
103
101
  SETUP__TEST__MICROPHONE__WAITING = "testMicrophoneWaiting",
104
102
  SETUP__TEST__MICROPHONE__ERROR = "testMicrophoneError",
@@ -123,7 +121,6 @@ export declare const enum STATES {
123
121
  RE_INIT_RECORDER__NEXT_QUESTION = "reInitRecorderNextQuestion",
124
122
  UPLOADING = "uploading",
125
123
  CONFIRM = "confirm",
126
- CONFIRM_WATING = "confirmWaiting",
127
124
  FINISHED = "finished",
128
125
  ERROR = "error"
129
126
  }
@@ -175,8 +172,7 @@ export declare const enum ACTIONS {
175
172
  INCREASE_FAILED_RECORDING_ATTEMPTS = "increaseFailedRecordingAttempts",
176
173
  RESET_FAILED_RECORDING_ATTEMPTS = "resetFailedRecordingAttempts",
177
174
  CLEAR_VIDEO_ERROR = "clearVideoError",
178
- UPDATE_VIDEO_DIMENSIONS = "updateVideoDimensions",
179
- UPDATE_UPLOADED_FALSE_COUNT = "updateUploadedFalseCount"
175
+ UPDATE_VIDEO_DIMENSIONS = "updateVideoDimensions"
180
176
  }
181
177
  export declare const enum EVENTS {
182
178
  SPAWN_UPLOADER = "SPAWN_UPLOADER",
@@ -206,7 +202,6 @@ export declare const enum SERVICES {
206
202
  UPDATE_VIDEO_PART_CALL = "updateVideoPartCall"
207
203
  }
208
204
  export declare const enum GUARDS {
209
- IS_VIDEO_RECORDING_SKIP = "isVideoRecordingSkip",
210
205
  NO_STORAGE = "noStorage",
211
206
  NO_RECORDER = "noRecorder",
212
207
  IS_THINKING_TIME = "isThinkingTime",
@@ -228,8 +223,7 @@ export declare const enum GUARDS {
228
223
  THERE_ARE_NO_VIDEO_QUESTIONS_TYPE = "thereAreNoVideoQuestionType",
229
224
  IS_RECORDER_READY = "isRecorderReady",
230
225
  IS_ASSESSMENT_QUESTION = "isAssessmentQuestion",
231
- IS_TIMES_UP = "isTimesUp",
232
- SHOULD_TRY_TO_CONFIRM = "shouldTryToConfirm"
226
+ IS_TIMES_UP = "isTimesUp"
233
227
  }
234
228
  export declare const enum TAGS {
235
229
  SETUP = "setup",
@@ -238,7 +232,6 @@ export declare const enum TAGS {
238
232
  DISPLAY_OUTER_VIEW = "displayOuterView",
239
233
  DISPLAY_QUESTION = "displayQuestion",
240
234
  DISPLAY_QUESTIONS_LIST = "displayQuestionsList",
241
- DISPLAY_UPLOAD = "displayUpload",
242
235
  LOADING = "loading"
243
236
  }
244
237
  export {};
@@ -43,12 +43,7 @@ export declare const enum EVENT_TYPES {
43
43
  MICROPHONE_CHANGED = "microphoneChanged",
44
44
  SOUND_RESTORED = "soundRestored",
45
45
  TIMES_UP = "timesUp",
46
- COMPLETED_INTERVIEW = "completedInterview",
47
- RECONNECTED = "reconnected",
48
- CONFIRM_UPLOADED_FAILED = "confirmUploadedFailed",
49
- FINISHED = "finished",
50
- ON_FINISH_SUCCEED = "onFinishSucceed",
51
- ON_FINISH_FAILED = "onFinishFailed"
46
+ COMPLETED_INTERVIEW = "completedInterview"
52
47
  }
53
48
  export type IEventType = `${EVENT_TYPES}`;
54
49
  export interface ITrackEvent {
@@ -17,7 +17,6 @@ export declare const DEFAULT_VIDEO_DIMENSIONS: {
17
17
  width: number;
18
18
  height: number;
19
19
  };
20
- export declare const MAX_CONFIRM_ATTEMPTS = 5;
21
20
  export declare const FONT_URL = "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap";
22
21
  export declare enum RETAKE_SPEED {
23
22
  FAST = 300,
@@ -5,7 +5,6 @@ export declare const enum DEBUG {
5
5
  WELCOME_PAGE_STAGE = "In welcome page stage",
6
6
  SETUP_STAGE = "In setup stage",
7
7
  MEIDA_DEVICE_SUCCESS = "Media device available",
8
- MEDIA_DEVICE_SWITCH_OFF = "Media device is off",
9
8
  MEDIA_DEVICE_ERROR = "Media device error",
10
9
  NO_SOUND_DETECTED = "No sound detected",
11
10
  DEVICE_CHANGED = "Device changed",
@@ -2,7 +2,6 @@ export declare const CAMERA_STATES_MESSAGES: {
2
2
  WAITING: string;
3
3
  ERROR: string;
4
4
  READY: string;
5
- SKIP: string;
6
5
  };
7
6
  export declare const MICROPHONE_STATES_MESSAGES: {
8
7
  WAITING: string;
package/dist/index.d.ts CHANGED
@@ -166,7 +166,6 @@ interface IVideo {
166
166
  reminder: number;
167
167
  source: number;
168
168
  };
169
- region?: 'us' | 'eu' | 'au' | 'london';
170
169
  }
171
170
 
172
171
  type IMessageType = 'completed' | 'deadline' | 'applied' | 'inactiveJob';
@@ -198,7 +197,6 @@ interface IConfig {
198
197
  disablePractice?: boolean;
199
198
  event_id?: string;
200
199
  accessibility_id?: string;
201
- recordWithoutVideo?: boolean;
202
200
  }
203
201
  type IClientConfig = Omit<IConfig, 'practiceQuestions'> & {
204
202
  practiceQuestions?: IClientQuestion[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myinterview/widget-react",
3
- "version": "1.1.23-binary-010",
3
+ "version": "1.1.23-bli-chupchik",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "main": "dist/cjs/index.js",
@@ -82,67 +82,67 @@
82
82
  ]
83
83
  },
84
84
  "devDependencies": {
85
- "@babel/core": "7.16.0",
86
- "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
87
- "@rollup/plugin-babel": "6.0.3",
88
- "@rollup/plugin-commonjs": "22.0.2",
89
- "@rollup/plugin-json": "4.1.0",
90
- "@rollup/plugin-node-resolve": "13.3.0",
91
- "@rollup/plugin-replace": "5.0.2",
92
- "@rollup/plugin-typescript": "8.5.0",
93
- "@svgr/webpack": "5.5.0",
94
- "@testing-library/jest-dom": "5.16.5",
95
- "@testing-library/react": "13.4.0",
96
- "@testing-library/user-event": "13.5.0",
97
- "@types/crypto-js": "4.1.1",
98
- "@types/jest": "27.5.2",
99
- "@types/node": "16.18.23",
100
- "@types/platform": "1.3.4",
101
- "@types/react": "17.0.56",
102
- "@types/react-dom": "18.0.11",
103
- "@types/styled-components": "5.1.26",
104
- "@typescript-eslint/eslint-plugin": "5.57.1",
105
- "@typescript-eslint/parser": "5.57.1",
106
- "babel-jest": "27.5.1",
107
- "babel-loader": "8.3.0",
108
- "babel-preset-react-app": "10.0.1",
109
- "case-sensitive-paths-webpack-plugin": "2.4.0",
110
- "classnames": "2.3.2",
111
- "css-loader": "6.7.3",
112
- "eslint": "8.37.0",
113
- "eslint-config-airbnb": "19.0.4",
114
- "eslint-config-airbnb-typescript": "17.0.0",
115
- "eslint-config-react-app": "7.0.1",
116
- "eslint-plugin-import": "2.27.5",
117
- "eslint-plugin-jsx-a11y": "6.7.1",
118
- "eslint-plugin-react": "7.32.2",
119
- "eslint-plugin-react-hooks": "4.6.0",
120
- "eslint-webpack-plugin": "3.2.0",
121
- "file-loader": "6.2.0",
122
- "html-webpack-plugin": "5.5.0",
123
- "jest": "27.5.1",
124
- "jest-resolve": "27.5.1",
125
- "jest-watch-typeahead": "1.1.0",
126
- "mini-css-extract-plugin": "2.7.5",
127
- "raw-loader": "4.0.2",
128
- "react": "18.2.0",
129
- "react-dom": "18.2.0",
130
- "rollup": "2.79.1",
131
- "rollup-plugin-delete": "2.0.0",
132
- "rollup-plugin-dts": "4.2.3",
133
- "rollup-plugin-peer-deps-external": "2.2.4",
134
- "rollup-plugin-postcss": "4.0.2",
135
- "sass": "1.60.0",
136
- "sass-loader": "12.6.0",
137
- "sass-to-string": "1.6.3",
138
- "source-map-loader": "3.0.2",
139
- "style-loader": "3.3.2",
140
- "terser-webpack-plugin": "5.3.7",
141
- "typescript": "4.9.5",
142
- "webpack": "5.77.0",
143
- "webpack-cli": "4.10.0",
144
- "webpack-dev-server": "4.13.2",
145
- "webpack-manifest-plugin": "4.1.1"
85
+ "@babel/core": "^7.16.0",
86
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
87
+ "@rollup/plugin-babel": "^6.0.2",
88
+ "@rollup/plugin-commonjs": "^22.0.1",
89
+ "@rollup/plugin-json": "^4.1.0",
90
+ "@rollup/plugin-node-resolve": "^13.3.0",
91
+ "@rollup/plugin-replace": "^5.0.2",
92
+ "@rollup/plugin-typescript": "^8.3.3",
93
+ "@svgr/webpack": "^5.5.0",
94
+ "@testing-library/jest-dom": "^5.16.4",
95
+ "@testing-library/react": "^12.1.5 || ^13.4.0",
96
+ "@testing-library/user-event": "^13.5.0",
97
+ "@types/crypto-js": "^4.1.1",
98
+ "@types/jest": "^27.4.1",
99
+ "@types/node": "^16.11.26",
100
+ "@types/platform": "^1.3.4",
101
+ "@types/react": "^17.0.44",
102
+ "@types/react-dom": "^18.0.0",
103
+ "@types/styled-components": "^5.1.25",
104
+ "@typescript-eslint/eslint-plugin": "^5.19.0",
105
+ "@typescript-eslint/parser": "^5.30.0",
106
+ "babel-jest": "^27.4.2",
107
+ "babel-loader": "^8.3.0",
108
+ "babel-preset-react-app": "^10.0.1",
109
+ "case-sensitive-paths-webpack-plugin": "^2.4.0",
110
+ "classnames": "^2.3.1",
111
+ "css-loader": "^6.5.1",
112
+ "eslint": "^8.13.0",
113
+ "eslint-config-airbnb": "^19.0.4",
114
+ "eslint-config-airbnb-typescript": "^17.0.0",
115
+ "eslint-config-react-app": "^7.0.0",
116
+ "eslint-plugin-import": "^2.26.0",
117
+ "eslint-plugin-jsx-a11y": "^6.5.1",
118
+ "eslint-plugin-react": "^7.29.4",
119
+ "eslint-plugin-react-hooks": "^4.4.0",
120
+ "eslint-webpack-plugin": "^3.1.1",
121
+ "file-loader": "^6.2.0",
122
+ "html-webpack-plugin": "^5.5.0",
123
+ "jest": "^27.4.3",
124
+ "jest-resolve": "^27.4.2",
125
+ "jest-watch-typeahead": "^1.0.0",
126
+ "mini-css-extract-plugin": "^2.4.5",
127
+ "raw-loader": "^4.0.2",
128
+ "react": "^18.0.0",
129
+ "react-dom": "^18.0.0",
130
+ "rollup": "^2.75.7",
131
+ "rollup-plugin-delete": "^2.0.0",
132
+ "rollup-plugin-dts": "^4.2.2",
133
+ "rollup-plugin-peer-deps-external": "^2.2.4",
134
+ "rollup-plugin-postcss": "^4.0.2",
135
+ "sass": "^1.50.0",
136
+ "sass-loader": "^12.3.0",
137
+ "sass-to-string": "^1.6.3",
138
+ "source-map-loader": "^3.0.0",
139
+ "style-loader": "^3.3.1",
140
+ "terser-webpack-plugin": "^5.2.5",
141
+ "typescript": "^4.7.4",
142
+ "webpack": "^5.73.0",
143
+ "webpack-cli": "^4.10.0",
144
+ "webpack-dev-server": "^4.6.0",
145
+ "webpack-manifest-plugin": "^4.0.2"
146
146
  },
147
147
  "peerDependencies": {
148
148
  "babel-loader": "> =8.0.0",