@vue-pdf-viewer/shared 1.2.0-rc.10 → 1.2.0-rc.11

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +3 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -268,3 +268,6 @@ export interface AnnotationEventCallback {
268
268
  onAnnotationUpdated?: AnnotationCallback;
269
269
  onAnnotationDeleted?: AnnotationCallback;
270
270
  }
271
+ export interface AnnotationPluginApi {
272
+ exportToPdf: (annotations: Annotation[]) => Promise<Uint8Array | null>;
273
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/shared",
3
3
  "private": false,
4
- "version": "1.2.0-rc.10",
4
+ "version": "1.2.0-rc.11",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",