@myinterview/widget-react 1.1.30-development-5468e2f → 1.1.30-development-fbd8b87

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
@@ -48424,6 +48424,11 @@ const Main = ({ widgetConfig, setShouldShowWaterMark, myinterviewRef, isWidgetMi
48424
48424
  alignment: isRtl(job === null || job === void 0 ? void 0 : job.language) ? 'left' : 'right',
48425
48425
  });
48426
48426
  }
48427
+ SentryHub.configureScope((scope) => {
48428
+ scope.setTags({
48429
+ company_id: candidate === null || candidate === void 0 ? void 0 : candidate.company_id,
48430
+ });
48431
+ });
48427
48432
  }, [candidate, job === null || job === void 0 ? void 0 : job.language]);
48428
48433
  const setBackgroundOpacity = () => {
48429
48434
  var _a;
@@ -48612,7 +48617,10 @@ const Widget = React.forwardRef(({ candidate, job, video, config, disabled = fal
48612
48617
  ")"))), [styleUrls]);
48613
48618
  React.useEffect(() => {
48614
48619
  SentryHub.configureScope((scope) => {
48615
- scope.setUser(Object.assign({ email: candidate.email }, (isIphone && { iphone: getIPhoneModel() })));
48620
+ scope.setUser({
48621
+ email: candidate.email,
48622
+ });
48623
+ scope.setTags(Object.assign({}, (isIphone && { iphoneModel: getIPhoneModel() })));
48616
48624
  });
48617
48625
  }, [candidate.email]);
48618
48626
  React.useEffect(() => {