@myinterview/widget-react 1.1.50-beta-b22cc26 → 1.1.51-beta-d6892b2

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/index.js CHANGED
@@ -35473,7 +35473,7 @@ const configGenerator = () => {
35473
35473
  let release;
35474
35474
  try {
35475
35475
  environment !== null && environment !== void 0 ? environment : (environment = "staging");
35476
- release !== null && release !== void 0 ? release : (release = "1.1.50");
35476
+ release !== null && release !== void 0 ? release : (release = "1.1.51");
35477
35477
  }
35478
35478
  catch (_a) {
35479
35479
  console.error('sentry configGenerator error');
@@ -47944,7 +47944,7 @@ const microphoneMachine = createMachine({
47944
47944
  },
47945
47945
  on: {
47946
47946
  [EVENTS$3.ON_SET_MEDIA_STREAM]: {
47947
- actions: [ACTIONS$4.SET_MEDIA_STREAM, ACTIONS$4.INIT_WEB_WORKER],
47947
+ actions: [ACTIONS$4.CLEAN_RETAKES, ACTIONS$4.SET_MEDIA_STREAM, ACTIONS$4.INIT_WEB_WORKER],
47948
47948
  target: STATES$4.INACTIVE,
47949
47949
  },
47950
47950
  [EVENTS$3.ON_DETECTION_SPEED]: {
@@ -48085,7 +48085,7 @@ const microphoneMachine = createMachine({
48085
48085
  micData: (context, event) => event.data,
48086
48086
  }),
48087
48087
  [ACTIONS$4.SET_DETECTION_SPEED]: assign$2({
48088
- retakeSpeed: (_context, event) => event.data || RETAKE_SPEED.MEDIUM,
48088
+ retakeSpeed: (_context, event) => event.data || RETAKE_SPEED.DISABLED,
48089
48089
  }),
48090
48090
  },
48091
48091
  services: {
@@ -55118,7 +55118,7 @@ const DivComponent = React__default["default"].forwardRef((_a, ref) => {
55118
55118
  return React__default["default"].createElement("div", Object.assign({ ref: ref }, props), children);
55119
55119
  });
55120
55120
  const Widget = React.forwardRef(({ candidate, job, video, config, disabled = false, buttonText = 'START INTERVIEW', buttonStyle = {}, children, styleUrls = [], fontsUrls = [], }, clientRef) => {
55121
- const widget_version = "1.1.50";
55121
+ const widget_version = "1.1.51";
55122
55122
  const [isWidgetOpen, setIsWidgetOpen] = React.useState(false);
55123
55123
  const [isWidgetMinimized, setIsWidgetMinimized] = React.useState(false);
55124
55124
  const [isIncognitoMode, setIsIncognitoMode] = React.useState(false);