@myinterview/widget-react 1.1.31-development-4480cd9 → 1.1.31-development-cd7dc2a

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
@@ -48582,6 +48582,7 @@ const useAccessibility = () => {
48582
48582
  };
48583
48583
 
48584
48584
  const Widget = React.forwardRef(({ candidate, job, video, config, disabled = false, buttonText = 'START INTERVIEW', buttonStyle = {}, children, styleUrls = [], fontsUrls = [], }, clientRef) => {
48585
+ const widget_version = "1.1.31";
48585
48586
  const [isWidgetOpen, setIsWidgetOpen] = React.useState(false);
48586
48587
  const [isWidgetMinimized, setIsWidgetMinimized] = React.useState(false);
48587
48588
  const [isIncognitoMode, setIsIncognitoMode] = React.useState(false);
@@ -48713,7 +48714,7 @@ const Widget = React.forwardRef(({ candidate, job, video, config, disabled = fal
48713
48714
  React__default["default"].createElement(Main, { myinterviewRef: myinterviewRef, widgetConfig: {
48714
48715
  config: Object.assign(Object.assign({}, config), { onFinish: onInterviewCompleted, onError, practiceQuestions: convertQuestions(config.practiceQuestions) }),
48715
48716
  job: Object.assign(Object.assign({}, job), { questions: convertQuestions(job.questions) }),
48716
- video: Object.assign(Object.assign({}, video), { referrer: (video === null || video === void 0 ? void 0 : video.referrer) || window.location.href }),
48717
+ video: Object.assign(Object.assign({}, video), { referrer: (video === null || video === void 0 ? void 0 : video.referrer) || window.location.href, widget_version }),
48717
48718
  candidate,
48718
48719
  }, setShouldShowWaterMark: setShouldShowWaterMark, isWidgetMinimized: isWidgetMinimized, onMinimize: onMinimize }))))))))));
48719
48720
  });