@embedpdf/plugin-annotation 1.0.18 → 1.0.20

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.
@@ -1354,8 +1354,10 @@ function RenderAnnotation({
1354
1354
  const task = annotationProvides.renderAnnotation({
1355
1355
  pageIndex,
1356
1356
  annotation,
1357
- scaleFactor,
1358
- dpr: window.devicePixelRatio
1357
+ options: {
1358
+ scaleFactor,
1359
+ dpr: window.devicePixelRatio
1360
+ }
1359
1361
  });
1360
1362
  task.wait((blob) => {
1361
1363
  const url = URL.createObjectURL(blob);