larvitar 2.1.0 → 2.1.2

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.
@@ -13,7 +13,7 @@ import { MetaDataReadable } from "./MetaDataReadable";
13
13
  | null
14
14
  | Array
15
15
  | undefined; // null or undefined is only for nrrd*/
16
-
16
+ export type pdfType = { getPage: function; numPages: number };
17
17
  export type StoreViewport = {
18
18
  loading: number;
19
19
  ready: boolean;
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "medical",
7
7
  "cornerstone"
8
8
  ],
9
- "version": "2.1.0",
9
+ "version": "2.1.2",
10
10
  "description": "typescript library for parsing, loading, rendering and interacting with DICOM images",
11
11
  "repository": {
12
12
  "url": "https://github.com/dvisionlab/Larvitar.git",
@@ -50,6 +50,7 @@
50
50
  "lodash": "^4.17.15",
51
51
  "pako": "^1.0.10",
52
52
  "papaparse": "^5.3.0",
53
+ "pdfjs-dist": "^3.8.162",
53
54
  "plotly.js-dist-min": "^2.27.1",
54
55
  "uuid": "^8.3.2"
55
56
  },
@@ -60,6 +61,7 @@
60
61
  "@types/hammerjs": "^2.0.41",
61
62
  "@types/lodash": "^4.14.192",
62
63
  "@types/papaparse": "^5.3.7",
64
+ "@types/pdfjs-dist": "^2.10.378",
63
65
  "@types/plotly.js": "^2.12.30",
64
66
  "@types/plotly.js-dist-min": "^2.3.4",
65
67
  "@types/uuid": "^9.0.1",