@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;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface CountDownProps {
|
|
3
3
|
countDown: number;
|
|
4
4
|
forceMobileCounter?: boolean;
|
|
5
5
|
numberOfSecondsToHighlight?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare const CountDown: ({ countDown, forceMobileCounter, numberOfSecondsToHighlight }: CountDownProps) => JSX.Element;
|
|
7
|
+
export declare const CountDown: ({ countDown, forceMobileCounter, numberOfSecondsToHighlight }: CountDownProps) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface CounterProps {
|
|
3
3
|
counter: number;
|
|
4
4
|
limit: number;
|
|
5
5
|
isRecording: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const Counter: ({ counter, limit, isRecording }: CounterProps) => JSX.Element;
|
|
7
|
+
export declare const Counter: ({ counter, limit, isRecording }: CounterProps) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -7,5 +7,6 @@ export interface IDeviceSelectorProps {
|
|
|
7
7
|
selectedAudioDevice?: MediaDeviceInfo;
|
|
8
8
|
selectedVideoDevice?: MediaDeviceInfo;
|
|
9
9
|
myinterviewRef: React.RefObject<HTMLDivElement>;
|
|
10
|
+
recordWithoutVideo?: boolean;
|
|
10
11
|
}
|
|
11
|
-
export declare const DeviceSelector: ({ handleDeviceChange, videoDevices, audioDevices, selectedAudioDevice, selectedVideoDevice, myinterviewRef, }: IDeviceSelectorProps) => JSX.Element;
|
|
12
|
+
export declare const DeviceSelector: ({ handleDeviceChange, videoDevices, audioDevices, selectedAudioDevice, selectedVideoDevice, myinterviewRef, recordWithoutVideo, }: IDeviceSelectorProps) => React.JSX.Element;
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { IWidgetMachineProps } from '../interfaces/widgetInterface';
|
|
3
3
|
interface IProps extends IWidgetMachineProps {
|
|
4
4
|
isPracticeDisabled: boolean;
|
|
5
|
+
recordWithoutVideo?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare const Setup: React.FC<IProps>;
|
|
7
8
|
export {};
|
|
@@ -26,6 +26,7 @@ interface IProps extends IDeviceSelectorProps {
|
|
|
26
26
|
isQuestionDisplayed: boolean;
|
|
27
27
|
myinterviewRef: React.RefObject<HTMLDivElement>;
|
|
28
28
|
isAssessment: boolean;
|
|
29
|
+
recordWithoutVideo?: boolean;
|
|
29
30
|
}
|
|
30
31
|
export declare const VideoCamera: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLVideoElement>>;
|
|
31
32
|
export {};
|