@cornerstonejs/core 3.28.0 → 4.0.0-beta.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.
@@ -44,7 +44,6 @@ export default class BaseStreamingImageVolume extends ImageVolume implements IIm
44
44
  imageIdIndex: number;
45
45
  volumeId: string;
46
46
  };
47
- retrieveOptions: any;
48
47
  };
49
48
  callLoadImage(imageId: any, imageIdIndex: any, options: any): any;
50
49
  protected getImageIdsRequests(imageIds: string[], priorityDefault: number): {
@@ -70,7 +69,6 @@ export default class BaseStreamingImageVolume extends ImageVolume implements IIm
70
69
  imageIdIndex: number;
71
70
  volumeId: string;
72
71
  };
73
- retrieveOptions: any;
74
72
  };
75
73
  priority: number;
76
74
  requestType: RequestType;
@@ -248,7 +248,6 @@ export default class BaseStreamingImageVolume extends ImageVolume {
248
248
  imageIdIndex,
249
249
  volumeId: this.volumeId,
250
250
  },
251
- retrieveOptions: undefined,
252
251
  };
253
252
  }
254
253
  callLoadImage(imageId, imageIdIndex, options) {
@@ -282,13 +281,6 @@ export default class BaseStreamingImageVolume extends ImageVolume {
282
281
  const requestType = requestTypeDefault;
283
282
  const priority = priorityDefault;
284
283
  const options = this.getLoaderImageOptions(imageId);
285
- const { retrieveOptions = {} } = metaData.get(imageRetrieveMetadataProvider.IMAGE_RETRIEVE_CONFIGURATION, imageId, 'volume') || {};
286
- options.retrieveOptions = {
287
- ...options.retrieveOptions,
288
- ...(retrieveOptions?.default ||
289
- Object.values(retrieveOptions)?.[0] ||
290
- {}),
291
- };
292
284
  return {
293
285
  callLoadImage: this.callLoadImage.bind(this),
294
286
  imageId,
@@ -48,7 +48,6 @@ export default class StreamingDynamicImageVolume extends BaseStreamingImageVolum
48
48
  imageIdIndex: number;
49
49
  volumeId: string;
50
50
  };
51
- retrieveOptions: any;
52
51
  };
53
52
  priority: number;
54
53
  requestType: import("../../enums").RequestType;
@@ -1 +1 @@
1
- export declare const version = "3.28.0";
1
+ export declare const version = "3.26.2";
@@ -1 +1 @@
1
- export const version = '3.28.0';
1
+ export const version = '3.26.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "3.28.0",
3
+ "version": "4.0.0-beta.1",
4
4
  "description": "Cornerstone3D Core",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -96,6 +96,5 @@
96
96
  "funding": {
97
97
  "type": "individual",
98
98
  "url": "https://ohif.org/donate"
99
- },
100
- "gitHead": "5de47cea0535069b995801d4d88a53e355914152"
99
+ }
101
100
  }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 Open Health Imaging Foundation
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.