pdfjs-viewer-highlight-echo 5.4.460 → 5.4.462

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdfjs-viewer-highlight-echo",
3
- "version": "5.4.460",
3
+ "version": "5.4.462",
4
4
  "main": "build/pdf.mjs",
5
5
  "types": "types/src/pdf.d.ts",
6
6
  "description": "Dafu custom PDF.js distribution",
@@ -47,6 +47,8 @@ export class HighlightEditor extends AnnotationEditor {
47
47
  color: any;
48
48
  };
49
49
  /** @inheritdoc */
50
+ get contentText(): string;
51
+ /** @inheritdoc */
50
52
  translateInPage(x: any, y: any): void;
51
53
  /** @inheritdoc */
52
54
  get commentButtonPosition(): null;
@@ -21,8 +21,8 @@
21
21
  */
22
22
 
23
23
  /**
24
- * pdfjsVersion = 5.4.460
25
- * pdfjsBuild = 8489d7097
24
+ * pdfjsVersion = 5.4.462
25
+ * pdfjsBuild = 34e1cb08c
26
26
  */
27
27
  /******/ // The require scope
28
28
  /******/ var __webpack_require__ = {};
@@ -7655,7 +7655,7 @@ class PDFViewer {
7655
7655
  #textLayerMode = TextLayerMode.ENABLE;
7656
7656
  #viewerAlert = null;
7657
7657
  constructor(options) {
7658
- const viewerVersion = "5.4.460";
7658
+ const viewerVersion = "5.4.462";
7659
7659
  if (version !== viewerVersion) {
7660
7660
  throw new Error(`The API version "${version}" does not match the Viewer version "${viewerVersion}".`);
7661
7661
  }
package/web/viewer.mjs CHANGED
@@ -21,8 +21,8 @@
21
21
  */
22
22
 
23
23
  /**
24
- * pdfjsVersion = 5.4.460
25
- * pdfjsBuild = 8489d7097
24
+ * pdfjsVersion = 5.4.462
25
+ * pdfjsBuild = 34e1cb08c
26
26
  */
27
27
  /******/ // The require scope
28
28
  /******/ var __webpack_require__ = {};
@@ -7621,11 +7621,11 @@ class FilterHighlightOverlay {
7621
7621
  textId: id,
7622
7622
  highlightDivId: divId
7623
7623
  });
7624
+ console.log(`DEBUG - Found HighlightEditor with div ID and pushed it:`, {
7625
+ textId: id,
7626
+ highlightDivId: divId
7627
+ });
7624
7628
  }
7625
- console.log(`DEBUG - Found HighlightEditor with div ID:`, {
7626
- textId: id,
7627
- highlightDivId: divId
7628
- });
7629
7629
  }
7630
7630
  }
7631
7631
  }
@@ -13522,7 +13522,7 @@ class PDFViewer {
13522
13522
  #textLayerMode = TextLayerMode.ENABLE;
13523
13523
  #viewerAlert = null;
13524
13524
  constructor(options) {
13525
- const viewerVersion = "5.4.460";
13525
+ const viewerVersion = "5.4.462";
13526
13526
  if (version !== viewerVersion) {
13527
13527
  throw new Error(`The API version "${version}" does not match the Viewer version "${viewerVersion}".`);
13528
13528
  }