@myinterview/widget-react 1.1.23-beta-78ffddc → 1.1.23-binary-001
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/dist/cjs/components/CountDown.d.ts +2 -2
- package/dist/cjs/components/Counter.d.ts +2 -2
- package/dist/cjs/components/DeviceSelector.d.ts +1 -1
- package/dist/cjs/index.js +776 -2187
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/widgetInterface.d.ts +7 -2
- package/dist/cjs/services/event.service.d.ts +6 -1
- package/dist/cjs/utils/constants.utils.d.ts +1 -0
- package/dist/esm/components/CountDown.d.ts +2 -2
- package/dist/esm/components/Counter.d.ts +2 -2
- package/dist/esm/components/DeviceSelector.d.ts +1 -1
- package/dist/esm/index.js +762 -2173
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/widgetInterface.d.ts +7 -2
- package/dist/esm/services/event.service.d.ts +6 -1
- package/dist/esm/utils/constants.utils.d.ts +1 -0
- package/package.json +43 -43
|
@@ -78,6 +78,7 @@ export interface InitialState {
|
|
|
78
78
|
failedRecordingMessage: IVideoCorruptedMessagesKey;
|
|
79
79
|
isResumed: boolean;
|
|
80
80
|
videoDimensions: IVideoDimensions;
|
|
81
|
+
confirmUploadedFalseCount: number;
|
|
81
82
|
}
|
|
82
83
|
export interface IWidgetMachineProps {
|
|
83
84
|
widgetMachine: State<InitialState, DoneInvokeEvent<any>, any, {
|
|
@@ -122,6 +123,7 @@ export declare const enum STATES {
|
|
|
122
123
|
RE_INIT_RECORDER__NEXT_QUESTION = "reInitRecorderNextQuestion",
|
|
123
124
|
UPLOADING = "uploading",
|
|
124
125
|
CONFIRM = "confirm",
|
|
126
|
+
CONFIRM_WATING = "confirmWaiting",
|
|
125
127
|
FINISHED = "finished",
|
|
126
128
|
ERROR = "error"
|
|
127
129
|
}
|
|
@@ -173,7 +175,8 @@ export declare const enum ACTIONS {
|
|
|
173
175
|
INCREASE_FAILED_RECORDING_ATTEMPTS = "increaseFailedRecordingAttempts",
|
|
174
176
|
RESET_FAILED_RECORDING_ATTEMPTS = "resetFailedRecordingAttempts",
|
|
175
177
|
CLEAR_VIDEO_ERROR = "clearVideoError",
|
|
176
|
-
UPDATE_VIDEO_DIMENSIONS = "updateVideoDimensions"
|
|
178
|
+
UPDATE_VIDEO_DIMENSIONS = "updateVideoDimensions",
|
|
179
|
+
UPDATE_UPLOADED_FALSE_COUNT = "updateUploadedFalseCount"
|
|
177
180
|
}
|
|
178
181
|
export declare const enum EVENTS {
|
|
179
182
|
SPAWN_UPLOADER = "SPAWN_UPLOADER",
|
|
@@ -225,7 +228,8 @@ export declare const enum GUARDS {
|
|
|
225
228
|
THERE_ARE_NO_VIDEO_QUESTIONS_TYPE = "thereAreNoVideoQuestionType",
|
|
226
229
|
IS_RECORDER_READY = "isRecorderReady",
|
|
227
230
|
IS_ASSESSMENT_QUESTION = "isAssessmentQuestion",
|
|
228
|
-
IS_TIMES_UP = "isTimesUp"
|
|
231
|
+
IS_TIMES_UP = "isTimesUp",
|
|
232
|
+
SHOULD_TRY_TO_CONFIRM = "shouldTryToConfirm"
|
|
229
233
|
}
|
|
230
234
|
export declare const enum TAGS {
|
|
231
235
|
SETUP = "setup",
|
|
@@ -234,6 +238,7 @@ export declare const enum TAGS {
|
|
|
234
238
|
DISPLAY_OUTER_VIEW = "displayOuterView",
|
|
235
239
|
DISPLAY_QUESTION = "displayQuestion",
|
|
236
240
|
DISPLAY_QUESTIONS_LIST = "displayQuestionsList",
|
|
241
|
+
DISPLAY_UPLOAD = "displayUpload",
|
|
237
242
|
LOADING = "loading"
|
|
238
243
|
}
|
|
239
244
|
export {};
|
|
@@ -43,7 +43,12 @@ 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"
|
|
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"
|
|
47
52
|
}
|
|
48
53
|
export type IEventType = `${EVENT_TYPES}`;
|
|
49
54
|
export interface ITrackEvent {
|
|
@@ -17,6 +17,7 @@ export declare const DEFAULT_VIDEO_DIMENSIONS: {
|
|
|
17
17
|
width: number;
|
|
18
18
|
height: number;
|
|
19
19
|
};
|
|
20
|
+
export declare const MAX_CONFIRM_ATTEMPTS = 5;
|
|
20
21
|
export declare const FONT_URL = "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap";
|
|
21
22
|
export declare enum RETAKE_SPEED {
|
|
22
23
|
FAST = 300,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myinterview/widget-react",
|
|
3
|
-
"version": "1.1.23-
|
|
3
|
+
"version": "1.1.23-binary-001",
|
|
4
4
|
"description": "myInterview widget v3",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
],
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@cloudflare/stream-react": "
|
|
12
|
+
"@cloudflare/stream-react": "1.8.0",
|
|
13
13
|
"@myinterview/component-library": "1.0.45",
|
|
14
|
-
"@sentry/react": "7.
|
|
15
|
-
"@sentry/tracing": "7.
|
|
16
|
-
"@xstate/react": "3.2.
|
|
14
|
+
"@sentry/react": "7.46.0",
|
|
15
|
+
"@sentry/tracing": "7.46.0",
|
|
16
|
+
"@xstate/react": "3.2.1",
|
|
17
17
|
"axios": "0.27.2",
|
|
18
18
|
"babel-plugin-named-asset-import": "0.3.8",
|
|
19
19
|
"bfj": "7.0.2",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"i18next": "21.10.0",
|
|
30
30
|
"identity-obj-proxy": "3.0.0",
|
|
31
31
|
"platform": "1.3.6",
|
|
32
|
-
"postcss": "8.4.
|
|
32
|
+
"postcss": "8.4.21",
|
|
33
33
|
"postcss-flexbugs-fixes": "5.0.2",
|
|
34
34
|
"postcss-loader": "6.2.1",
|
|
35
35
|
"postcss-normalize": "10.0.1",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"react-refresh": "0.11.0",
|
|
43
43
|
"react-shadow": "20.0.0",
|
|
44
44
|
"react-use-intercom": "2.1.0",
|
|
45
|
-
"resolve": "1.22.
|
|
45
|
+
"resolve": "1.22.1",
|
|
46
46
|
"resolve-url-loader": "4.0.0",
|
|
47
|
-
"rxjs": "7.8.
|
|
48
|
-
"semver": "7.
|
|
47
|
+
"rxjs": "7.8.0",
|
|
48
|
+
"semver": "7.3.8",
|
|
49
49
|
"web-vitals": "2.1.4",
|
|
50
50
|
"workbox-webpack-plugin": "6.5.4",
|
|
51
|
-
"xstate": "4.37.
|
|
51
|
+
"xstate": "4.37.1"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"start": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=local HTTPS=true node scripts/start.js",
|
|
@@ -82,36 +82,36 @@
|
|
|
82
82
|
]
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@babel/core": "
|
|
86
|
-
"@pmmmwh/react-refresh-webpack-plugin": "
|
|
87
|
-
"@rollup/plugin-babel": "
|
|
88
|
-
"@rollup/plugin-commonjs": "
|
|
89
|
-
"@rollup/plugin-json": "
|
|
90
|
-
"@rollup/plugin-node-resolve": "
|
|
91
|
-
"@rollup/plugin-replace": "
|
|
92
|
-
"@rollup/plugin-typescript": "
|
|
93
|
-
"@svgr/webpack": "
|
|
94
|
-
"@testing-library/jest-dom": "
|
|
95
|
-
"@testing-library/react": "
|
|
96
|
-
"@testing-library/user-event": "
|
|
97
|
-
"@types/crypto-js": "
|
|
98
|
-
"@types/jest": "
|
|
99
|
-
"@types/node": "
|
|
100
|
-
"@types/platform": "
|
|
101
|
-
"@types/react": "
|
|
102
|
-
"@types/react-dom": "
|
|
103
|
-
"@types/styled-components": "
|
|
104
|
-
"@typescript-eslint/eslint-plugin": "
|
|
105
|
-
"@typescript-eslint/parser": "
|
|
106
|
-
"babel-jest": "
|
|
107
|
-
"babel-loader": "
|
|
108
|
-
"babel-preset-react-app": "
|
|
109
|
-
"case-sensitive-paths-webpack-plugin": "
|
|
110
|
-
"classnames": "
|
|
111
|
-
"css-loader": "
|
|
112
|
-
"eslint": "
|
|
113
|
-
"eslint-config-airbnb": "
|
|
114
|
-
"eslint-config-airbnb-typescript": "
|
|
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
115
|
"eslint-config-react-app": "^7.0.0",
|
|
116
116
|
"eslint-plugin-import": "^2.26.0",
|
|
117
117
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
@@ -125,8 +125,8 @@
|
|
|
125
125
|
"jest-watch-typeahead": "^1.0.0",
|
|
126
126
|
"mini-css-extract-plugin": "^2.4.5",
|
|
127
127
|
"raw-loader": "^4.0.2",
|
|
128
|
-
"react": "
|
|
129
|
-
"react-dom": "
|
|
128
|
+
"react": "18.2.0",
|
|
129
|
+
"react-dom": "18.2.0",
|
|
130
130
|
"rollup": "^2.75.7",
|
|
131
131
|
"rollup-plugin-delete": "^2.0.0",
|
|
132
132
|
"rollup-plugin-dts": "^4.2.2",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"webpack-manifest-plugin": "^4.0.2"
|
|
146
146
|
},
|
|
147
147
|
"peerDependencies": {
|
|
148
|
-
"babel-loader": "
|
|
148
|
+
"babel-loader": ">= 8.0.0",
|
|
149
149
|
"react": ">= 16.8.0",
|
|
150
150
|
"react-dom": ">= 16.8.0"
|
|
151
151
|
},
|