@myinterview/widget-react 1.1.23-revert-dev-deps-001 → 1.1.23-svg-check
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 +273 -274
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/widgetInterface.d.ts +2 -7
- package/dist/cjs/services/event.service.d.ts +1 -6
- package/dist/cjs/utils/constants.utils.d.ts +0 -1
- 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 +259 -260
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/widgetInterface.d.ts +2 -7
- package/dist/esm/services/event.service.d.ts +1 -6
- package/dist/esm/utils/constants.utils.d.ts +0 -1
- package/package.json +98 -98
|
@@ -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, {
|
|
@@ -123,7 +122,6 @@ export declare const enum STATES {
|
|
|
123
122
|
RE_INIT_RECORDER__NEXT_QUESTION = "reInitRecorderNextQuestion",
|
|
124
123
|
UPLOADING = "uploading",
|
|
125
124
|
CONFIRM = "confirm",
|
|
126
|
-
CONFIRM_WATING = "confirmWaiting",
|
|
127
125
|
FINISHED = "finished",
|
|
128
126
|
ERROR = "error"
|
|
129
127
|
}
|
|
@@ -175,8 +173,7 @@ export declare const enum ACTIONS {
|
|
|
175
173
|
INCREASE_FAILED_RECORDING_ATTEMPTS = "increaseFailedRecordingAttempts",
|
|
176
174
|
RESET_FAILED_RECORDING_ATTEMPTS = "resetFailedRecordingAttempts",
|
|
177
175
|
CLEAR_VIDEO_ERROR = "clearVideoError",
|
|
178
|
-
UPDATE_VIDEO_DIMENSIONS = "updateVideoDimensions"
|
|
179
|
-
UPDATE_UPLOADED_FALSE_COUNT = "updateUploadedFalseCount"
|
|
176
|
+
UPDATE_VIDEO_DIMENSIONS = "updateVideoDimensions"
|
|
180
177
|
}
|
|
181
178
|
export declare const enum EVENTS {
|
|
182
179
|
SPAWN_UPLOADER = "SPAWN_UPLOADER",
|
|
@@ -228,8 +225,7 @@ export declare const enum GUARDS {
|
|
|
228
225
|
THERE_ARE_NO_VIDEO_QUESTIONS_TYPE = "thereAreNoVideoQuestionType",
|
|
229
226
|
IS_RECORDER_READY = "isRecorderReady",
|
|
230
227
|
IS_ASSESSMENT_QUESTION = "isAssessmentQuestion",
|
|
231
|
-
IS_TIMES_UP = "isTimesUp"
|
|
232
|
-
SHOULD_TRY_TO_CONFIRM = "shouldTryToConfirm"
|
|
228
|
+
IS_TIMES_UP = "isTimesUp"
|
|
233
229
|
}
|
|
234
230
|
export declare const enum TAGS {
|
|
235
231
|
SETUP = "setup",
|
|
@@ -238,7 +234,6 @@ export declare const enum TAGS {
|
|
|
238
234
|
DISPLAY_OUTER_VIEW = "displayOuterView",
|
|
239
235
|
DISPLAY_QUESTION = "displayQuestion",
|
|
240
236
|
DISPLAY_QUESTIONS_LIST = "displayQuestionsList",
|
|
241
|
-
DISPLAY_UPLOAD = "displayUpload",
|
|
242
237
|
LOADING = "loading"
|
|
243
238
|
}
|
|
244
239
|
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,
|
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-svg-check",
|
|
4
4
|
"description": "myInterview widget v3",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -10,44 +10,44 @@
|
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@cloudflare/stream-react": "^1.8.0",
|
|
13
|
-
"@myinterview/component-library": "1.0.
|
|
14
|
-
"@sentry/react": "7.
|
|
15
|
-
"@sentry/tracing": "7.
|
|
16
|
-
"@xstate/react": "3.
|
|
17
|
-
"axios": "0.27.2",
|
|
18
|
-
"babel-plugin-named-asset-import": "0.3.8",
|
|
19
|
-
"bfj": "7.0.2",
|
|
20
|
-
"browserslist": "4.
|
|
21
|
-
"camelcase": "6.
|
|
22
|
-
"crypto-js": "4.1.1",
|
|
23
|
-
"css-minimizer-webpack-plugin": "3.
|
|
24
|
-
"detect-incognito": "1.0.0",
|
|
25
|
-
"dotenv": "10.0.0",
|
|
26
|
-
"dotenv-expand": "5.1.0",
|
|
27
|
-
"fix-webm-duration": "1.0.5",
|
|
28
|
-
"fs-extra": "10.
|
|
29
|
-
"i18next": "21.
|
|
30
|
-
"identity-obj-proxy": "3.0.0",
|
|
31
|
-
"platform": "1.3.6",
|
|
32
|
-
"postcss": "8.4.
|
|
33
|
-
"postcss-flexbugs-fixes": "5.0.2",
|
|
34
|
-
"postcss-loader": "6.2.1",
|
|
35
|
-
"postcss-normalize": "10.0.1",
|
|
36
|
-
"postcss-preset-env": "7.
|
|
37
|
-
"prompts": "2.4.2",
|
|
38
|
-
"react-app-polyfill": "3.0.0",
|
|
39
|
-
"react-dev-utils": "12.0.
|
|
40
|
-
"react-i18next": "11.18.
|
|
41
|
-
"react-player": "2.
|
|
42
|
-
"react-refresh": "0.11.0",
|
|
43
|
-
"react-shadow": "20.0.0",
|
|
44
|
-
"react-use-intercom": "2.
|
|
45
|
-
"resolve": "1.
|
|
46
|
-
"resolve-url-loader": "4.0.0",
|
|
47
|
-
"rxjs": "7.
|
|
48
|
-
"semver": "7.5
|
|
49
|
-
"web-vitals": "2.1.4",
|
|
50
|
-
"workbox-webpack-plugin": "6.
|
|
13
|
+
"@myinterview/component-library": "^1.0.43",
|
|
14
|
+
"@sentry/react": "^7.48.0",
|
|
15
|
+
"@sentry/tracing": "^7.48.0",
|
|
16
|
+
"@xstate/react": "^3.0.1",
|
|
17
|
+
"axios": "^0.27.2",
|
|
18
|
+
"babel-plugin-named-asset-import": "^0.3.8",
|
|
19
|
+
"bfj": "^7.0.2",
|
|
20
|
+
"browserslist": "^4.18.1",
|
|
21
|
+
"camelcase": "^6.2.1",
|
|
22
|
+
"crypto-js": "^4.1.1",
|
|
23
|
+
"css-minimizer-webpack-plugin": "^3.2.0",
|
|
24
|
+
"detect-incognito": "^1.0.0",
|
|
25
|
+
"dotenv": "^10.0.0",
|
|
26
|
+
"dotenv-expand": "^5.1.0",
|
|
27
|
+
"fix-webm-duration": "^1.0.5",
|
|
28
|
+
"fs-extra": "^10.0.0",
|
|
29
|
+
"i18next": "^21.8.16",
|
|
30
|
+
"identity-obj-proxy": "^3.0.0",
|
|
31
|
+
"platform": "^1.3.6",
|
|
32
|
+
"postcss": "^8.4.4",
|
|
33
|
+
"postcss-flexbugs-fixes": "^5.0.2",
|
|
34
|
+
"postcss-loader": "^6.2.1",
|
|
35
|
+
"postcss-normalize": "^10.0.1",
|
|
36
|
+
"postcss-preset-env": "^7.0.1",
|
|
37
|
+
"prompts": "^2.4.2",
|
|
38
|
+
"react-app-polyfill": "^3.0.0",
|
|
39
|
+
"react-dev-utils": "^12.0.0",
|
|
40
|
+
"react-i18next": "^11.18.5",
|
|
41
|
+
"react-player": "^2.10.1",
|
|
42
|
+
"react-refresh": "^0.11.0",
|
|
43
|
+
"react-shadow": "^20.0.0",
|
|
44
|
+
"react-use-intercom": "^2.0.0",
|
|
45
|
+
"resolve": "^1.20.0",
|
|
46
|
+
"resolve-url-loader": "^4.0.0",
|
|
47
|
+
"rxjs": "^7.5.7",
|
|
48
|
+
"semver": "^7.3.5",
|
|
49
|
+
"web-vitals": "^2.1.4",
|
|
50
|
+
"workbox-webpack-plugin": "^6.4.1",
|
|
51
51
|
"xstate": "4.37.2"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
@@ -82,70 +82,70 @@
|
|
|
82
82
|
]
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@babel/core": "7.16.0",
|
|
86
|
-
"@pmmmwh/react-refresh-webpack-plugin": "0.5.
|
|
87
|
-
"@rollup/plugin-babel": "6.0.
|
|
88
|
-
"@rollup/plugin-commonjs": "22.0.
|
|
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.
|
|
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
93
|
"@svgr/webpack": "5.5.0",
|
|
94
|
-
"@testing-library/jest-dom": "5.16.
|
|
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.
|
|
99
|
-
"@types/node": "16.
|
|
100
|
-
"@types/platform": "1.3.4",
|
|
101
|
-
"@types/react": "17.0.
|
|
102
|
-
"@types/react-dom": "18.0.
|
|
103
|
-
"@types/styled-components": "5.1.
|
|
104
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
105
|
-
"@typescript-eslint/parser": "5.
|
|
106
|
-
"babel-jest": "27.
|
|
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.
|
|
111
|
-
"css-loader": "6.
|
|
112
|
-
"eslint": "8.
|
|
113
|
-
"eslint-config-airbnb": "19.0.4",
|
|
114
|
-
"eslint-config-airbnb-typescript": "17.0.0",
|
|
115
|
-
"eslint-config-react-app": "7.0.
|
|
116
|
-
"eslint-plugin-import": "2.
|
|
117
|
-
"eslint-plugin-jsx-a11y": "6.
|
|
118
|
-
"eslint-plugin-react": "7.
|
|
119
|
-
"eslint-plugin-react-hooks": "4.
|
|
120
|
-
"eslint-webpack-plugin": "3.
|
|
121
|
-
"file-loader": "6.2.0",
|
|
122
|
-
"html-webpack-plugin": "5.5.0",
|
|
123
|
-
"jest": "27.
|
|
124
|
-
"jest-resolve": "27.
|
|
125
|
-
"jest-watch-typeahead": "1.
|
|
126
|
-
"mini-css-extract-plugin": "2.
|
|
127
|
-
"raw-loader": "4.0.2",
|
|
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
128
|
"react": "18.2.0",
|
|
129
129
|
"react-dom": "18.2.0",
|
|
130
|
-
"rollup": "2.
|
|
131
|
-
"rollup-plugin-delete": "2.0.0",
|
|
132
|
-
"rollup-plugin-dts": "4.2.
|
|
133
|
-
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
134
|
-
"rollup-plugin-postcss": "4.0.2",
|
|
135
|
-
"sass": "1.
|
|
136
|
-
"sass-loader": "12.
|
|
137
|
-
"sass-to-string": "1.6.3",
|
|
138
|
-
"source-map-loader": "3.0.
|
|
139
|
-
"style-loader": "3.3.
|
|
140
|
-
"terser-webpack-plugin": "5.
|
|
141
|
-
"typescript": "4.
|
|
142
|
-
"webpack": "5.
|
|
143
|
-
"webpack-cli": "4.10.0",
|
|
144
|
-
"webpack-dev-server": "4.
|
|
145
|
-
"webpack-manifest-plugin": "4.
|
|
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
|
-
"babel-loader": "
|
|
148
|
+
"babel-loader": "> =8.0.0",
|
|
149
149
|
"react": ">= 16.8.0",
|
|
150
150
|
"react-dom": ">= 16.8.0"
|
|
151
151
|
},
|