@myinterview/widget-react 1.1.23-remove-dep-and-dev-dep-chupchik → 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/README.md +3 -7
- 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 +2 -1
- package/dist/cjs/components/Setup.d.ts +1 -0
- package/dist/cjs/components/SetupChecks.d.ts +1 -0
- package/dist/cjs/components/VideoCamera.d.ts +1 -0
- package/dist/cjs/index.js +27019 -26508
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/configInterface.d.ts +1 -0
- package/dist/cjs/interfaces/recorderInterface.d.ts +4 -1
- package/dist/cjs/interfaces/widgetInterface.d.ts +2 -0
- package/dist/cjs/utils/debug.utils.d.ts +1 -0
- package/dist/cjs/utils/device.utils.d.ts +2 -0
- package/dist/cjs/utils/messages.utils.d.ts +1 -0
- package/dist/cjs/utils/sentry.utils.d.ts +1 -2
- 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 +2 -1
- package/dist/esm/components/Setup.d.ts +1 -0
- package/dist/esm/components/SetupChecks.d.ts +1 -0
- package/dist/esm/components/VideoCamera.d.ts +1 -0
- package/dist/esm/index.js +26909 -26398
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/configInterface.d.ts +1 -0
- package/dist/esm/interfaces/recorderInterface.d.ts +4 -1
- package/dist/esm/interfaces/widgetInterface.d.ts +2 -0
- package/dist/esm/utils/debug.utils.d.ts +1 -0
- package/dist/esm/utils/device.utils.d.ts +2 -0
- package/dist/esm/utils/messages.utils.d.ts +1 -0
- package/dist/esm/utils/sentry.utils.d.ts +1 -2
- package/dist/index.d.ts +1 -0
- package/package.json +101 -101
|
@@ -21,6 +21,7 @@ interface FacingMode {
|
|
|
21
21
|
exact: string;
|
|
22
22
|
}
|
|
23
23
|
export interface RecorderInterface {
|
|
24
|
+
recordWithoutVideo?: boolean;
|
|
24
25
|
facingMode: FacingMode;
|
|
25
26
|
microphoneRef: ActorRef<DoneInvokeEvent<any>> | null;
|
|
26
27
|
countDownRef: ActorRef<DoneInvokeEvent<any>> | null;
|
|
@@ -43,6 +44,7 @@ export interface RecorderInterface {
|
|
|
43
44
|
recordingTime: number;
|
|
44
45
|
durations: number;
|
|
45
46
|
isMicError: boolean;
|
|
47
|
+
isActivelyStopped: boolean;
|
|
46
48
|
}
|
|
47
49
|
export declare const enum MIME_TYPES {
|
|
48
50
|
WEBM = "video/webm",
|
|
@@ -94,7 +96,8 @@ export declare const enum ACTIONS {
|
|
|
94
96
|
UPDATE_MACHINE_FOR_NEW_QUESTION = "UPDATE_MACHINE_FOR_NEW_QUESTION",
|
|
95
97
|
SET_MEDIA_RECORDER = "SET_MEDIA_RECORDER",
|
|
96
98
|
SET_MIC_ERROR = "SET_MIC_ERROR",
|
|
97
|
-
SET_PERMISSION_LISTENER = "SET_PERMISSION_LISTENER"
|
|
99
|
+
SET_PERMISSION_LISTENER = "SET_PERMISSION_LISTENER",
|
|
100
|
+
SET_ACTIVELY_STOPPED = "SET_ACTIVELY_STOPPED"
|
|
98
101
|
}
|
|
99
102
|
export declare const enum EVENTS {
|
|
100
103
|
SET_MIC_SPEED_DETECTION = "SET_MIC_SPEED_DETECTION",
|
|
@@ -97,6 +97,7 @@ export declare const enum STATES {
|
|
|
97
97
|
SETUP__TEST__CAMERA__WAITING = "testCameraWaiting",
|
|
98
98
|
SETUP__TEST__CAMERA__ERROR = "testCameraError",
|
|
99
99
|
SETUP__TEST__CAMERA__SUCCESS = "testCameraSuccess",
|
|
100
|
+
SETUP__TEST__CAMERA__SKIP = "testCameraSkip",
|
|
100
101
|
SETUP__TEST__MICROPHONE = "testMicrophone",
|
|
101
102
|
SETUP__TEST__MICROPHONE__WAITING = "testMicrophoneWaiting",
|
|
102
103
|
SETUP__TEST__MICROPHONE__ERROR = "testMicrophoneError",
|
|
@@ -202,6 +203,7 @@ export declare const enum SERVICES {
|
|
|
202
203
|
UPDATE_VIDEO_PART_CALL = "updateVideoPartCall"
|
|
203
204
|
}
|
|
204
205
|
export declare const enum GUARDS {
|
|
206
|
+
IS_VIDEO_RECORDING_SKIP = "isVideoRecordingSkip",
|
|
205
207
|
NO_STORAGE = "noStorage",
|
|
206
208
|
NO_RECORDER = "noRecorder",
|
|
207
209
|
IS_THINKING_TIME = "isThinkingTime",
|
|
@@ -5,6 +5,7 @@ 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",
|
|
8
9
|
MEDIA_DEVICE_ERROR = "Media device error",
|
|
9
10
|
NO_SOUND_DETECTED = "No sound detected",
|
|
10
11
|
DEVICE_CHANGED = "Device changed",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const isMobile: boolean;
|
|
2
2
|
export declare const isAndroid: boolean;
|
|
3
|
+
export declare const isIphone: boolean;
|
|
3
4
|
export declare const isFireFox: boolean;
|
|
4
5
|
export declare const isSupportedIosDevice: boolean;
|
|
5
6
|
export declare const isSupportedDevice: boolean;
|
|
@@ -10,4 +11,5 @@ type DEVICE_TYPE = {
|
|
|
10
11
|
BROWSER: typeof BROWSERS_OPTIONS[number];
|
|
11
12
|
};
|
|
12
13
|
export declare const DEVICE: DEVICE_TYPE;
|
|
14
|
+
export declare const getIPhoneModel: () => string;
|
|
13
15
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as Sentry from '@sentry/browser';
|
|
2
1
|
import { DoneInvokeEvent } from 'xstate';
|
|
3
2
|
import { Breadcrumb } from '@sentry/types';
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const startSentry: () => void;
|
|
5
4
|
export declare const SentryTrackingFn: (event: DoneInvokeEvent<any>, context: any, name: string, level: 'fatal' | 'error' | 'warning' | 'log' | 'info' | 'debug') => void;
|
|
6
5
|
export declare const SentryBreadcrumb: ({ type, level, event_id, category, message, data }: Breadcrumb) => void;
|
package/dist/index.d.ts
CHANGED
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",
|
|
@@ -9,46 +9,46 @@
|
|
|
9
9
|
],
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
11
11
|
"dependencies": {
|
|
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.3.
|
|
49
|
-
"web-vitals": "2.1.4",
|
|
50
|
-
"workbox-webpack-plugin": "6.
|
|
51
|
-
"xstate": "4.37.
|
|
12
|
+
"@cloudflare/stream-react": "^1.8.0",
|
|
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
|
+
"xstate": "4.37.2"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"start": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=local HTTPS=true node scripts/start.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"publish-staging": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=staging rollup -c && npm publish --tag beta",
|
|
60
60
|
"publish-experimental": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=staging rollup -c && npm publish --tag experimental",
|
|
61
61
|
"build-experimental": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=staging rollup -c ",
|
|
62
|
-
"build-staging":
|
|
62
|
+
"build-staging": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=staging rollup -c ",
|
|
63
63
|
"build-master": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=prod rollup -c ",
|
|
64
64
|
"test": "node scripts/test.js"
|
|
65
65
|
},
|
|
@@ -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
|
},
|