@vue-pdf-viewer/viewer 3.2.0-beta.5 → 3.2.0-rc.1

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.
@@ -667,12 +667,6 @@ export interface FreeTextAppearance {
667
667
  fontName: string;
668
668
  fontSize: number;
669
669
  }
670
- export type AnnotationCallback<T = any> = (data: T) => void;
671
- export interface AnnotationCallbacks {
672
- onAnnotationCreated?: AnnotationCallback<Annotation>;
673
- onAnnotationUpdated?: AnnotationCallback<Annotation>;
674
- onAnnotationDeleted?: AnnotationCallback<Annotation>;
675
- }
676
670
  export interface AnnotationFreeText extends Annotation {
677
671
  defaultAppearanceData?: FreeTextAppearance;
678
672
  pageIndex?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/viewer",
3
3
  "private": false,
4
- "version": "3.2.0-beta.5",
4
+ "version": "3.2.0-rc.1",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.cjs",
7
7
  "module": "./dist/index.js",
@@ -59,7 +59,7 @@
59
59
  "prepare": "husky"
60
60
  },
61
61
  "dependencies": {
62
- "@vue-pdf-viewer/shared": "1.1.0-rc.0",
62
+ "@vue-pdf-viewer/shared": "1.1.0-rc.1",
63
63
  "@vueuse/core": "^13.6.0",
64
64
  "pdfjs-dist": "4.10.38",
65
65
  "reka-ui": "^2.4.1",
@@ -117,4 +117,4 @@
117
117
  "pnpm": ">=8.8.0",
118
118
  "yarn": ">=1.20.0"
119
119
  }
120
- }
120
+ }