@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.
- package/dist/cjs/components/Errors.d.ts +2 -3
- package/dist/cjs/components/RecorderModal.d.ts +2 -1
- package/dist/cjs/components/VideoCamera.d.ts +1 -1
- package/dist/cjs/hooks/useAccessibility.d.ts +5 -0
- package/dist/cjs/index.js +4711 -2588
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/configInterface.d.ts +1 -0
- package/dist/cjs/interfaces/widgetInterface.d.ts +2 -0
- package/dist/cjs/utils/device.utils.d.ts +1 -0
- package/dist/esm/components/Errors.d.ts +2 -3
- package/dist/esm/components/RecorderModal.d.ts +2 -1
- package/dist/esm/components/VideoCamera.d.ts +1 -1
- package/dist/esm/hooks/useAccessibility.d.ts +5 -0
- package/dist/esm/index.js +4711 -2588
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/configInterface.d.ts +1 -0
- package/dist/esm/interfaces/widgetInterface.d.ts +2 -0
- package/dist/esm/utils/device.utils.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +4 -1
|
@@ -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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myinterview/widget-react",
|
|
3
|
-
"version": "1.1.
|
|
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": {
|