@myinterview/widget-react 1.1.17 → 1.1.18

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.
@@ -31,6 +31,7 @@ interface IConfig {
31
31
  hideIntercom?: boolean;
32
32
  disablePractice?: boolean;
33
33
  event_id?: string;
34
+ accessibility_id?: string;
34
35
  }
35
36
  export type IClientConfig = Omit<IConfig, 'practiceQuestions'> & {
36
37
  practiceQuestions?: IClientQuestion[];
@@ -45,6 +45,8 @@ interface IChecksMessage {
45
45
  microphone: string;
46
46
  internet: string;
47
47
  }
48
+ export type VIDEO_ERRORS = Exclude<IVideoCorruptedMessagesKey, 'NO_ERROR'>;
49
+ export type MODAL_ERROR_KEY = 'MEDIA_PERMISSION' | 'NO_SOUND' | 'CONNECTION' | VIDEO_ERRORS;
48
50
  export interface InitialState {
49
51
  speedTestResult: number;
50
52
  widgetConfig: IWidgetConfig;
@@ -1,5 +1,6 @@
1
1
  export declare const isMobile: boolean;
2
2
  export declare const isAndroid: boolean;
3
+ export declare const isFireFox: boolean;
3
4
  export declare const isSupportedIosDevice: boolean;
4
5
  export declare const isSupportedDevice: boolean;
5
6
  declare const PLATFORMS_OPTIONS: readonly ["ANDROID", "IOS", "MACBOOK", "WINDOWS"];
package/dist/index.d.ts CHANGED
@@ -196,6 +196,7 @@ interface IConfig {
196
196
  hideIntercom?: boolean;
197
197
  disablePractice?: boolean;
198
198
  event_id?: string;
199
+ accessibility_id?: string;
199
200
  }
200
201
  type IClientConfig = Omit<IConfig, 'practiceQuestions'> & {
201
202
  practiceQuestions?: IClientQuestion[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myinterview/widget-react",
3
- "version": "1.1.17",
3
+ "version": "1.1.18",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "main": "dist/cjs/index.js",
@@ -58,6 +58,9 @@
58
58
  "publish-prod": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=prod rollup -c && npm publish",
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
+ "build-experimental": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=staging rollup -c ",
62
+ "build-staging": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=staging rollup -c ",
63
+ "build-master": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=prod rollup -c ",
61
64
  "test": "node scripts/test.js"
62
65
  },
63
66
  "eslintConfig": {