@cornerstonejs/core 1.15.1 → 1.16.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/dist/cjs/init.d.ts +1 -1
- package/dist/cjs/init.js +1 -1
- package/dist/cjs/init.js.map +1 -1
- package/dist/esm/init.d.ts +1 -1
- package/dist/esm/init.js +1 -1
- package/dist/esm/init.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +2 -2
- package/src/init.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/umd/index.js",
|
|
6
6
|
"types": "dist/esm/index.d.ts",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"type": "individual",
|
|
47
47
|
"url": "https://ohif.org/donate"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "29e627c52dba6c1afa9f5031a5a8ed021d8c2440"
|
|
50
50
|
}
|
package/src/init.ts
CHANGED
|
@@ -100,7 +100,7 @@ function hasSharedArrayBuffer() {
|
|
|
100
100
|
* @returns A promise that resolves to true cornerstone has been initialized successfully.
|
|
101
101
|
* @category Initialization
|
|
102
102
|
*/
|
|
103
|
-
async function init(configuration =
|
|
103
|
+
async function init(configuration = config): Promise<boolean> {
|
|
104
104
|
if (csRenderInitialized) {
|
|
105
105
|
return csRenderInitialized;
|
|
106
106
|
}
|