@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.
@@ -77,6 +77,7 @@ export interface IVideo {
77
77
  source: number;
78
78
  };
79
79
  region?: 'us' | 'eu' | 'au' | 'london';
80
+ widget_version?: string;
80
81
  }
81
82
  export declare const enum VIDEO_STATUS {
82
83
  INCOMPLETED = 0,
package/dist/esm/index.js CHANGED
@@ -48556,6 +48556,7 @@ const useAccessibility = () => {
48556
48556
  };
48557
48557
 
48558
48558
  const Widget = forwardRef(({ candidate, job, video, config, disabled = false, buttonText = 'START INTERVIEW', buttonStyle = {}, children, styleUrls = [], fontsUrls = [], }, clientRef) => {
48559
+ const widget_version = "1.1.31";
48559
48560
  const [isWidgetOpen, setIsWidgetOpen] = useState(false);
48560
48561
  const [isWidgetMinimized, setIsWidgetMinimized] = useState(false);
48561
48562
  const [isIncognitoMode, setIsIncognitoMode] = useState(false);
@@ -48687,7 +48688,7 @@ const Widget = forwardRef(({ candidate, job, video, config, disabled = false, bu
48687
48688
  React__default.createElement(Main, { myinterviewRef: myinterviewRef, widgetConfig: {
48688
48689
  config: Object.assign(Object.assign({}, config), { onFinish: onInterviewCompleted, onError, practiceQuestions: convertQuestions(config.practiceQuestions) }),
48689
48690
  job: Object.assign(Object.assign({}, job), { questions: convertQuestions(job.questions) }),
48690
- video: Object.assign(Object.assign({}, video), { referrer: (video === null || video === void 0 ? void 0 : video.referrer) || window.location.href }),
48691
+ video: Object.assign(Object.assign({}, video), { referrer: (video === null || video === void 0 ? void 0 : video.referrer) || window.location.href, widget_version }),
48691
48692
  candidate,
48692
48693
  }, setShouldShowWaterMark: setShouldShowWaterMark, isWidgetMinimized: isWidgetMinimized, onMinimize: onMinimize }))))))))));
48693
48694
  });