@mhosaic/feedback 0.12.1 → 0.12.2

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.
@@ -2041,7 +2041,7 @@ function Annotator({ imageBlob, strings, onSave, onCancel }) {
2041
2041
  img.src = url;
2042
2042
  return () => URL.revokeObjectURL(url);
2043
2043
  }, [imageBlob]);
2044
- useEffect4(() => {
2044
+ useLayoutEffect(() => {
2045
2045
  if (!imageLoaded || !canvasRef.current || !imageRef.current || !containerRef.current) {
2046
2046
  return;
2047
2047
  }
@@ -4732,8 +4732,8 @@ function createFeedback(config) {
4732
4732
  capture_method: captureMethod,
4733
4733
  technical_context
4734
4734
  };
4735
- if ("0.12.1") {
4736
- payload.widget_version = "0.12.1";
4735
+ if ("0.12.2") {
4736
+ payload.widget_version = "0.12.2";
4737
4737
  }
4738
4738
  if (manualScreenshot) payload.screenshot = manualScreenshot;
4739
4739
  if (values.synthetic) payload.synthetic = true;
@@ -4819,4 +4819,4 @@ function createFeedback(config) {
4819
4819
  export {
4820
4820
  createFeedback
4821
4821
  };
4822
- //# sourceMappingURL=chunk-BKLI6IGE.mjs.map
4822
+ //# sourceMappingURL=chunk-TBT2OODO.mjs.map