@myinterview/widget-react 1.1.23-binary-check-one → 1.1.23-binary-002

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.
@@ -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-binary-check-one",
3
+ "version": "1.1.23-binary-002",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "main": "dist/cjs/index.js",
@@ -9,32 +9,32 @@
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.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",
12
+ "@cloudflare/stream-react": "1.8.0",
13
+ "@myinterview/component-library": "1.0.45",
14
+ "@sentry/react": "7.46.0",
15
+ "@sentry/tracing": "7.46.0",
16
+ "@xstate/react": "3.2.1",
17
+ "axios": "0.27.2",
18
+ "babel-plugin-named-asset-import": "0.3.8",
19
+ "bfj": "7.0.2",
20
+ "browserslist": "4.21.5",
21
+ "camelcase": "6.3.0",
22
+ "crypto-js": "4.1.1",
23
+ "css-minimizer-webpack-plugin": "3.4.1",
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.1.0",
29
+ "i18next": "21.10.0",
30
+ "identity-obj-proxy": "3.0.0",
31
+ "platform": "1.3.6",
32
+ "postcss": "8.4.21",
33
+ "postcss-flexbugs-fixes": "5.0.2",
34
+ "postcss-loader": "6.2.1",
35
+ "postcss-normalize": "10.0.1",
36
+ "postcss-preset-env": "7.8.3",
37
+ "prompts": "2.4.2",
38
38
  "react-app-polyfill": "3.0.0",
39
39
  "react-dev-utils": "12.0.1",
40
40
  "react-i18next": "11.18.6",
@@ -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.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"
45
+ "resolve": "1.22.1",
46
+ "resolve-url-loader": "4.0.0",
47
+ "rxjs": "7.8.0",
48
+ "semver": "7.3.8",
49
+ "web-vitals": "2.1.4",
50
+ "workbox-webpack-plugin": "6.5.4",
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",
@@ -112,40 +112,40 @@
112
112
  "eslint": "^8.13.0",
113
113
  "eslint-config-airbnb": "^19.0.4",
114
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",
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
128
  "react": "18.2.0",
129
129
  "react-dom": "18.2.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"
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"
146
146
  },
147
147
  "peerDependencies": {
148
- "babel-loader": "> =8.0.0",
148
+ "babel-loader": ">= 8.0.0",
149
149
  "react": ">= 16.8.0",
150
150
  "react-dom": ">= 16.8.0"
151
151
  },