@myinterview/widget-react 1.0.31 → 1.0.33-beta-9bea4cb
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/esm/{types/App.d.ts → App.d.ts} +1 -0
- package/dist/esm/{types/components → components}/CountDown.d.ts +0 -0
- package/dist/esm/{types/components → components}/Counter.d.ts +0 -0
- package/dist/esm/{types/components → components}/DeviceSelector.d.ts +3 -2
- package/dist/esm/{types/components → components}/DeviceSelectorList.d.ts +0 -0
- package/dist/esm/{types/components → components}/DeviceSelectorListNative.d.ts +0 -0
- package/dist/esm/{types/components → components}/Error.d.ts +0 -0
- package/dist/esm/{types/components → components}/ErrorBoundaries.d.ts +0 -0
- package/dist/esm/{types/components → components}/Errors.d.ts +0 -0
- package/dist/esm/{types/components → components}/Explanation.d.ts +0 -0
- package/dist/esm/{types/components → components}/Footer.d.ts +0 -0
- package/dist/esm/{types/components → components}/Header.d.ts +0 -0
- package/dist/esm/{types/components → components}/InnerView.d.ts +1 -0
- package/dist/esm/{types/components → components}/Main.d.ts +1 -0
- package/dist/esm/{types/components → components}/OuterView.d.ts +0 -0
- package/dist/esm/{types/components → components}/PermissionSteps.d.ts +0 -0
- package/dist/esm/{types/components → components}/PracticeModeInfo.d.ts +0 -0
- package/dist/esm/{types/components → components}/PreviewItem.d.ts +1 -0
- package/dist/esm/{types/components → components}/PreviewList.d.ts +1 -0
- package/dist/esm/{types/components → components}/Question.d.ts +0 -0
- package/dist/esm/{types/components → components}/QuestionItem.d.ts +0 -0
- package/dist/esm/{types/components → components}/QuestionsList.d.ts +0 -0
- package/dist/esm/{types/components → components}/RecorderModal.d.ts +0 -0
- package/dist/esm/{types/components → components}/Setup.d.ts +0 -0
- package/dist/esm/{types/components → components}/SetupChecks.d.ts +0 -0
- package/dist/esm/{types/components → components}/SliderModal.d.ts +0 -0
- package/dist/esm/{types/components → components}/TopTips.d.ts +0 -0
- package/dist/esm/{types/components → components}/Upload.d.ts +0 -0
- package/dist/esm/{types/components → components}/VideoCamera.d.ts +1 -0
- package/dist/esm/{types/components → components}/VideoQuestion.d.ts +0 -0
- package/dist/esm/{types/components → components}/VideoTimeBar.d.ts +0 -0
- package/dist/esm/{types/components → components}/WelcomePage.d.ts +0 -0
- package/dist/esm/{types/components → components}/Widget.d.ts +1 -1
- package/dist/esm/{types/components → components}/icons/ClockIcon.d.ts +0 -0
- package/dist/esm/{types/components → components}/icons/Loading.d.ts +0 -0
- package/dist/esm/{types/components → components}/icons/NoCameraMic.d.ts +0 -0
- package/dist/esm/{types/components → components}/icons/PlayIcon.d.ts +0 -0
- package/dist/esm/{types/components → components}/icons/Retake.d.ts +0 -0
- package/dist/esm/{types/components → components}/icons/RotateScreenIcon.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/Loader.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/MicrophoneIndicator.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/MinimizeButton.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/PracticeMode.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/Progress.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/QuestionDuration.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/QuestionNumber.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/RecordingButton.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/RotateScreen.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/Signal.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/StartNowButton.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/StartRecordingButton.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/StopRecordingButton.d.ts +0 -0
- package/dist/esm/{types/components → components}/ui/UnsupportedModal.d.ts +0 -0
- package/dist/esm/{types/config → config}/index.d.ts +0 -0
- package/dist/esm/{types/config → config}/local.env.d.ts +0 -0
- package/dist/esm/{types/config → config}/prod.env.d.ts +0 -0
- package/dist/esm/{types/config → config}/staging.env.d.ts +0 -0
- package/dist/esm/{types/i18n → i18n}/config.d.ts +0 -0
- package/dist/esm/{types/index.d.ts → index.d.ts} +0 -0
- package/dist/esm/index.js +8850 -8463
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{types/interfaces → interfaces}/candidateInterface.d.ts +0 -0
- package/dist/esm/{types/interfaces → interfaces}/candidateSessionInterface.d.ts +0 -0
- package/dist/esm/{types/interfaces → interfaces}/companyInterface.d.ts +0 -0
- package/dist/esm/{types/interfaces → interfaces}/configInterface.d.ts +0 -0
- package/dist/esm/{types/interfaces → interfaces}/jobInterface.d.ts +0 -0
- package/dist/esm/{types/interfaces → interfaces}/microphoneInterface.d.ts +0 -0
- package/dist/esm/{types/interfaces → interfaces}/networkInterface.d.ts +0 -0
- package/dist/esm/{types/interfaces → interfaces}/previewInterface.d.ts +0 -0
- package/dist/esm/{types/interfaces → interfaces}/recorderInterface.d.ts +2 -1
- package/dist/esm/{types/interfaces → interfaces}/storageInterface.d.ts +0 -0
- package/dist/esm/{types/interfaces → interfaces}/uploaderInterface.d.ts +0 -0
- package/dist/esm/{types/interfaces → interfaces}/videoInterface.d.ts +0 -0
- package/dist/esm/{types/interfaces → interfaces}/widgetInterface.d.ts +0 -0
- package/dist/esm/{types/machines → machines}/acceleratorMachines/accUploaderMachine.d.ts +0 -0
- package/dist/esm/{types/machines → machines}/acceleratorMachines/accWidgetMachine.d.ts +0 -0
- package/dist/esm/{types/machines → machines}/acceleratorMachines/microphoneMachine.d.ts +0 -0
- package/dist/esm/{types/machines → machines}/acceleratorMachines/networkMachine.d.ts +0 -0
- package/dist/esm/{types/machines → machines}/acceleratorMachines/previewMachine.d.ts +0 -0
- package/dist/esm/{types/machines → machines}/acceleratorMachines/recorderMachineV2.d.ts +0 -0
- package/dist/esm/{types/machines → machines}/acceleratorMachines/storageMachine.d.ts +0 -0
- package/dist/esm/{types/reportWebVitals.d.ts → reportWebVitals.d.ts} +0 -0
- package/dist/esm/{types/services → services}/axiosInstances.service.d.ts +0 -0
- package/dist/esm/{types/services → services}/s3.service.d.ts +0 -0
- package/dist/esm/{types/services → services}/session.service.d.ts +0 -0
- package/dist/esm/{types/services → services}/speedTest.service.d.ts +0 -0
- package/dist/esm/{types/services → services}/video.service.d.ts +0 -0
- package/dist/esm/{types/setupTests.d.ts → setupTests.d.ts} +0 -0
- package/dist/esm/{types/utils → utils}/authToken.utils.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/constants.utils.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/debug.utils.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/device.utils.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/errors.utils.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/formatters.utils.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/messages.utils.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/practiceQuestions.utils.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/recorderErrors.utils.d.ts +1 -0
- package/dist/esm/{types/utils → utils}/sentry.utils.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/statusCodes.utils.d.ts +0 -0
- package/package.json +115 -9
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -124,7 +124,8 @@ export declare const enum GUARDS {
|
|
|
124
124
|
IS_NOT_ALLOWED_ERROR = "isNotAllowedError",
|
|
125
125
|
IS_ERROR_WITH_WRONG_PARAMS = "isErrorWithWrongParams",
|
|
126
126
|
IS_AUTO_START = "isAutoStart",
|
|
127
|
-
IS_QUALITY_CHANGED = "isQualityChanged"
|
|
127
|
+
IS_QUALITY_CHANGED = "isQualityChanged",
|
|
128
|
+
IS_VIDEO_CORRUPTED = "isVideoCorrupted"
|
|
128
129
|
}
|
|
129
130
|
export declare const mediaConstrains: {
|
|
130
131
|
hd: {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myinterview/widget-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.33-beta-9bea4cb",
|
|
4
4
|
"description": "myInterview widget v3",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"files": [
|
|
@@ -8,33 +8,80 @@
|
|
|
8
8
|
],
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"dependencies": {
|
|
11
|
+
"@babel/core": "^7.16.0",
|
|
11
12
|
"@cloudflare/stream-react": "^1.8.0",
|
|
12
|
-
"@myinterview/component-library": "^1.0.
|
|
13
|
+
"@myinterview/component-library": "^1.0.31-beta-62421ad7a21bc83c4a75737f7e8b238ef94c5f49",
|
|
14
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
|
13
15
|
"@sentry/react": "^7.7.0",
|
|
14
16
|
"@sentry/tracing": "^7.7.0",
|
|
17
|
+
"@svgr/webpack": "^5.5.0",
|
|
15
18
|
"@xstate/react": "^3.0.1",
|
|
16
19
|
"axios": "^0.27.2",
|
|
20
|
+
"babel-jest": "^27.4.2",
|
|
21
|
+
"babel-loader": "^8.2.3",
|
|
22
|
+
"babel-plugin-named-asset-import": "^0.3.8",
|
|
23
|
+
"babel-preset-react-app": "^10.0.1",
|
|
24
|
+
"bfj": "^7.0.2",
|
|
25
|
+
"browserslist": "^4.18.1",
|
|
26
|
+
"camelcase": "^6.2.1",
|
|
27
|
+
"case-sensitive-paths-webpack-plugin": "^2.4.0",
|
|
17
28
|
"crypto-js": "^4.1.1",
|
|
29
|
+
"css-loader": "^6.5.1",
|
|
30
|
+
"css-minimizer-webpack-plugin": "^3.2.0",
|
|
18
31
|
"detect-incognito": "^1.0.0",
|
|
32
|
+
"dotenv": "^10.0.0",
|
|
33
|
+
"dotenv-expand": "^5.1.0",
|
|
34
|
+
"eslint": "^8.3.0",
|
|
35
|
+
"eslint-config-react-app": "^7.0.0",
|
|
36
|
+
"eslint-webpack-plugin": "^3.1.1",
|
|
37
|
+
"file-loader": "^6.2.0",
|
|
19
38
|
"fix-webm-duration": "^1.0.5",
|
|
39
|
+
"fs-extra": "^10.0.0",
|
|
40
|
+
"html-webpack-plugin": "^5.5.0",
|
|
20
41
|
"i18next": "^21.8.16",
|
|
42
|
+
"identity-obj-proxy": "^3.0.0",
|
|
43
|
+
"jest": "^27.4.3",
|
|
44
|
+
"jest-resolve": "^27.4.2",
|
|
45
|
+
"jest-watch-typeahead": "^1.0.0",
|
|
46
|
+
"mini-css-extract-plugin": "^2.4.5",
|
|
21
47
|
"platform": "^1.3.6",
|
|
48
|
+
"postcss": "^8.4.4",
|
|
49
|
+
"postcss-flexbugs-fixes": "^5.0.2",
|
|
50
|
+
"postcss-loader": "^6.2.1",
|
|
51
|
+
"postcss-normalize": "^10.0.1",
|
|
52
|
+
"postcss-preset-env": "^7.0.1",
|
|
53
|
+
"prompts": "^2.4.2",
|
|
54
|
+
"react-app-polyfill": "^3.0.0",
|
|
55
|
+
"react-dev-utils": "^12.0.0",
|
|
22
56
|
"react-i18next": "^11.18.5",
|
|
23
57
|
"react-player": "^2.10.1",
|
|
58
|
+
"react-refresh": "^0.11.0",
|
|
59
|
+
"react-shadow": "^19.0.3",
|
|
24
60
|
"react-use-intercom": "^2.0.0",
|
|
61
|
+
"resolve": "^1.20.0",
|
|
62
|
+
"resolve-url-loader": "^4.0.0",
|
|
25
63
|
"rxjs": "^7.5.7",
|
|
64
|
+
"sass-loader": "^12.3.0",
|
|
65
|
+
"semver": "^7.3.5",
|
|
66
|
+
"source-map-loader": "^3.0.0",
|
|
67
|
+
"style-loader": "^3.3.1",
|
|
68
|
+
"tailwindcss": "^3.0.2",
|
|
69
|
+
"terser-webpack-plugin": "^5.2.5",
|
|
26
70
|
"web-vitals": "^2.1.4",
|
|
71
|
+
"webpack": "^5.64.4",
|
|
72
|
+
"webpack-dev-server": "^4.6.0",
|
|
73
|
+
"webpack-manifest-plugin": "^4.0.2",
|
|
74
|
+
"workbox-webpack-plugin": "^6.4.1",
|
|
27
75
|
"xstate": "^4.33.2"
|
|
28
76
|
},
|
|
29
77
|
"scripts": {
|
|
30
|
-
"start": "REACT_APP_ENV=local HTTPS=true
|
|
31
|
-
"start-prod": "REACT_APP_ENV=prod HTTPS=true
|
|
32
|
-
"start-staging": "REACT_APP_ENV=staging HTTPS=true
|
|
33
|
-
"build": "
|
|
78
|
+
"start": "REACT_APP_ENV=local HTTPS=true node scripts/start.js",
|
|
79
|
+
"start-prod": "REACT_APP_ENV=prod HTTPS=true node scripts/start.js",
|
|
80
|
+
"start-staging": "REACT_APP_ENV=staging HTTPS=true node scripts/start.js",
|
|
81
|
+
"build": "node scripts/build.js",
|
|
34
82
|
"publish-prod": "REACT_APP_ENV=prod rollup -c && npm publish",
|
|
35
83
|
"publish-staging": "REACT_APP_ENV=staging rollup -c && npm publish --tag beta",
|
|
36
|
-
"test": "
|
|
37
|
-
"eject": "react-scripts eject"
|
|
84
|
+
"test": "node scripts/test.js"
|
|
38
85
|
},
|
|
39
86
|
"eslintConfig": {
|
|
40
87
|
"extends": [
|
|
@@ -55,6 +102,7 @@
|
|
|
55
102
|
]
|
|
56
103
|
},
|
|
57
104
|
"devDependencies": {
|
|
105
|
+
"@rollup/plugin-babel": "^6.0.2",
|
|
58
106
|
"@rollup/plugin-commonjs": "^22.0.1",
|
|
59
107
|
"@rollup/plugin-json": "^4.1.0",
|
|
60
108
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
@@ -79,14 +127,16 @@
|
|
|
79
127
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
80
128
|
"eslint-plugin-react": "^7.29.4",
|
|
81
129
|
"eslint-plugin-react-hooks": "^4.4.0",
|
|
130
|
+
"raw-loader": "^4.0.2",
|
|
82
131
|
"react": "^18.0.0",
|
|
83
132
|
"react-dom": "^18.0.0",
|
|
84
|
-
"react-scripts": "5.0.0",
|
|
85
133
|
"rollup": "^2.75.7",
|
|
134
|
+
"rollup-plugin-delete": "^2.0.0",
|
|
86
135
|
"rollup-plugin-dts": "^4.2.2",
|
|
87
136
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
88
137
|
"rollup-plugin-postcss": "^4.0.2",
|
|
89
138
|
"sass": "^1.50.0",
|
|
139
|
+
"sass-to-string": "^1.6.3",
|
|
90
140
|
"typescript": "^4.7.4",
|
|
91
141
|
"webpack": "^5.73.0",
|
|
92
142
|
"webpack-cli": "^4.10.0"
|
|
@@ -95,5 +145,61 @@
|
|
|
95
145
|
"@testing-library/react": "^12.1.5 || ^13.4.0",
|
|
96
146
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
97
147
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
148
|
+
},
|
|
149
|
+
"jest": {
|
|
150
|
+
"roots": [
|
|
151
|
+
"<rootDir>/src"
|
|
152
|
+
],
|
|
153
|
+
"collectCoverageFrom": [
|
|
154
|
+
"src/**/*.{js,jsx,ts,tsx}",
|
|
155
|
+
"!src/**/*.d.ts"
|
|
156
|
+
],
|
|
157
|
+
"setupFiles": [
|
|
158
|
+
"react-app-polyfill/jsdom"
|
|
159
|
+
],
|
|
160
|
+
"setupFilesAfterEnv": [
|
|
161
|
+
"<rootDir>/src/setupTests.ts"
|
|
162
|
+
],
|
|
163
|
+
"testMatch": [
|
|
164
|
+
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
|
|
165
|
+
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
|
|
166
|
+
],
|
|
167
|
+
"testEnvironment": "jsdom",
|
|
168
|
+
"transform": {
|
|
169
|
+
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
|
|
170
|
+
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
|
171
|
+
"^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
|
172
|
+
},
|
|
173
|
+
"transformIgnorePatterns": [
|
|
174
|
+
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
|
|
175
|
+
"^.+\\.module\\.(css|sass|scss)$"
|
|
176
|
+
],
|
|
177
|
+
"modulePaths": [],
|
|
178
|
+
"moduleNameMapper": {
|
|
179
|
+
"^react-native$": "react-native-web",
|
|
180
|
+
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
|
|
181
|
+
},
|
|
182
|
+
"moduleFileExtensions": [
|
|
183
|
+
"web.js",
|
|
184
|
+
"js",
|
|
185
|
+
"web.ts",
|
|
186
|
+
"ts",
|
|
187
|
+
"web.tsx",
|
|
188
|
+
"tsx",
|
|
189
|
+
"json",
|
|
190
|
+
"web.jsx",
|
|
191
|
+
"jsx",
|
|
192
|
+
"node"
|
|
193
|
+
],
|
|
194
|
+
"watchPlugins": [
|
|
195
|
+
"jest-watch-typeahead/filename",
|
|
196
|
+
"jest-watch-typeahead/testname"
|
|
197
|
+
],
|
|
198
|
+
"resetMocks": true
|
|
199
|
+
},
|
|
200
|
+
"babel": {
|
|
201
|
+
"presets": [
|
|
202
|
+
"react-app"
|
|
203
|
+
]
|
|
98
204
|
}
|
|
99
205
|
}
|