@cornerstonejs/tools 2.19.11 → 2.19.13

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.
@@ -491,12 +491,12 @@ class PlanarFreehandROITool extends ContourSegmentationBaseTool {
491
491
  };
492
492
  }
493
493
  updateOpenCachedStats({ targetId, metadata, canvasCoordinates, cachedStats, modalityUnit, calibratedScale, }) {
494
- const { scale, units } = calibratedScale;
494
+ const { scale, unit } = calibratedScale;
495
495
  cachedStats[targetId] = {
496
496
  Modality: metadata.Modality,
497
497
  length: calculatePerimeter(canvasCoordinates, false) / scale,
498
498
  modalityUnit,
499
- getPixelValueUnitunit: units,
499
+ unit,
500
500
  };
501
501
  }
502
502
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/tools",
3
- "version": "2.19.11",
3
+ "version": "2.19.13",
4
4
  "description": "Cornerstone3D Tools",
5
5
  "types": "./dist/esm/index.d.ts",
6
6
  "module": "./dist/esm/index.js",
@@ -104,7 +104,7 @@
104
104
  "canvas": "^2.11.2"
105
105
  },
106
106
  "peerDependencies": {
107
- "@cornerstonejs/core": "^2.19.11",
107
+ "@cornerstonejs/core": "^2.19.13",
108
108
  "@kitware/vtk.js": "32.9.0",
109
109
  "@types/d3-array": "^3.0.4",
110
110
  "@types/d3-interpolate": "^3.0.1",
@@ -123,5 +123,5 @@
123
123
  "type": "individual",
124
124
  "url": "https://ohif.org/donate"
125
125
  },
126
- "gitHead": "c31c5a2c61b257926e6331d319198110820fc5fa"
126
+ "gitHead": "06ebd68df854a774e7e2fa5063d52902704935a8"
127
127
  }