@d-i-t-a/reader 2.4.8 → 2.4.10

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.
@@ -75,6 +75,14 @@ export default class D2Reader {
75
75
  deleteAnnotation: (highlight: Annotation) => Promise<any>;
76
76
  /** Add annotation */
77
77
  addAnnotation: (highlight: Annotation) => Promise<any>;
78
+ /**
79
+ * Update annotation
80
+ *
81
+ * This should be used only when the add/delete of the annotation note
82
+ * is not directly handled in the `addAnnotation`/`addCommentToAnnotation`
83
+ * callback defined in the configuration of the D2Reader.load() method
84
+ * */
85
+ updateAnnotation: (highlight: Annotation) => Promise<any>;
78
86
  /** Hide Annotation Layer */
79
87
  hideAnnotationLayer: () => void | undefined;
80
88
  /** Show Annotation Layer */
@@ -19,5 +19,6 @@ export default class EventHandler {
19
19
  */
20
20
  private isReadingOrderInternal;
21
21
  private isResourceInternal;
22
+ private clickTimeout;
22
23
  private handleLinks;
23
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-i-t-a/reader",
3
- "version": "2.4.8",
3
+ "version": "2.4.10",
4
4
  "description": "A viewer application for EPUB files.",
5
5
  "repository": "https://github.com/d-i-t-a/R2D2BC",
6
6
  "license": "Apache-2.0",