@cornerstonejs/core 1.61.0 → 1.61.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "1.61.0",
3
+ "version": "1.61.1",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "dist/types/index.d.ts",
@@ -47,5 +47,5 @@
47
47
  "type": "individual",
48
48
  "url": "https://ohif.org/donate"
49
49
  },
50
- "gitHead": "1d273f1e4ab80b7416020a4b801fbacbcb5f1ff7"
50
+ "gitHead": "62079a4d30f890ecd5de763dd8e6ad932377b50a"
51
51
  }
@@ -287,7 +287,8 @@ abstract class BaseVolumeViewport extends Viewport implements IVolumeViewport {
287
287
  if (!suppressEvents) {
288
288
  const eventDetail = {
289
289
  viewportId: this.id,
290
- colormap
290
+ colormap,
291
+ volumeId
291
292
  };
292
293
  triggerEvent(this.element, Events.COLORMAP_MODIFIED, eventDetail);
293
294
  }
@@ -54,6 +54,8 @@ type ColormapModifiedEventDetail = {
54
54
  viewportId: string;
55
55
  /** The new colormap */
56
56
  colormap: ColormapPublic;
57
+ /** Unique ID for the volume in the cache */
58
+ volumeId?: string;
57
59
  }
58
60
 
59
61
  /**