@secondstaxorg/sscomp 2.0.98 → 2.0.99

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": "@secondstaxorg/sscomp",
3
- "version": "2.0.98",
3
+ "version": "2.0.99",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -24,6 +24,13 @@ export interface PDFViewerProps {
24
24
  * Specify the array index of the file you want to jump to on load
25
25
  */
26
26
  jumpTo?: number;
27
+ /**
28
+ * Get the array index and file URL of the current document being viewed
29
+ * */
30
+ currentDocument?: (a: {
31
+ index: number;
32
+ fileUrl: string;
33
+ }) => void;
27
34
  }
28
35
  export type filesType = {
29
36
  fileUrl: string;