@vue-pdf-viewer/shared 1.1.0-rc.0 → 1.1.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.
package/dist/const.js CHANGED
@@ -4,7 +4,6 @@
4
4
  * This file is part of Vue PDF Viewer
5
5
  *
6
6
  * Vue PDF Viewer is distributed under a Commercial License Agreement.
7
- * Last updated: 5 August, 2025
8
7
  *
9
8
  * For licensing terms and conditions, please visit:
10
9
  * https://www.vue-pdf-viewer.dev/license-agreement
@@ -4,7 +4,6 @@
4
4
  * This file is part of Vue PDF Viewer
5
5
  *
6
6
  * Vue PDF Viewer is distributed under a Commercial License Agreement.
7
- * Last updated: 5 August, 2025
8
7
  *
9
8
  * For licensing terms and conditions, please visit:
10
9
  * https://www.vue-pdf-viewer.dev/license-agreement
package/dist/types.d.ts CHANGED
@@ -213,3 +213,9 @@ export interface Annotation {
213
213
  fontSize?: number;
214
214
  contents?: string;
215
215
  }
216
+ export type AnnotationCallback<T = Annotation> = (data: T) => void;
217
+ export interface AnnotationEventCallback {
218
+ onAnnotationCreated?: AnnotationCallback;
219
+ onAnnotationUpdated?: AnnotationCallback;
220
+ onAnnotationDeleted?: AnnotationCallback;
221
+ }
package/dist/utils.js CHANGED
@@ -4,7 +4,6 @@
4
4
  * This file is part of Vue PDF Viewer
5
5
  *
6
6
  * Vue PDF Viewer is distributed under a Commercial License Agreement.
7
- * Last updated: 5 August, 2025
8
7
  *
9
8
  * For licensing terms and conditions, please visit:
10
9
  * https://www.vue-pdf-viewer.dev/license-agreement
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/shared",
3
3
  "private": false,
4
- "version": "1.1.0-rc.0",
4
+ "version": "1.1.0-rc.1",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",