larvitar 3.0.0 → 3.2.1

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.
@@ -0,0 +1,14 @@
1
+ import { LogType } from "consola";
2
+ export declare const logger: import("consola").ConsolaInstance;
3
+ /**
4
+ * Set the log level
5
+ * @function setLogLevel
6
+ * @param {LogType} level - The log level to set
7
+ */
8
+ export declare const setLogLevel: (level: LogType) => void;
9
+ /**
10
+ * Get the current log level
11
+ * @function getLogLevel
12
+ * @returns {LogType}The current log level
13
+ */
14
+ export declare const getLogLevel: () => LogType;
@@ -61,7 +61,7 @@ export type StoreViewport = {
61
61
  isPDF: boolean;
62
62
  waveform: boolean;
63
63
  dsa: boolean;
64
- imageIndex?: number; // TODO CAN BE DEPRECATED?
64
+ imageIndex?: number;
65
65
  imageId?: string;
66
66
  numberOfSlices?: number;
67
67
  numberOfTemporalPositions?: number;
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "medical",
7
7
  "cornerstone"
8
8
  ],
9
- "version": "3.0.0",
9
+ "version": "3.2.1",
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",
@@ -37,6 +37,7 @@
37
37
  "dependencies": {
38
38
  "@hyzyla/pdfium": "^2.1.2",
39
39
  "@rollup/plugin-commonjs": "^17.1.0",
40
+ "consola": "^3.4.0",
40
41
  "cornerstone-core": "^2.6.1",
41
42
  "cornerstone-file-image-loader": "^0.3.0",
42
43
  "cornerstone-tools": "^6.0.7",