@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "1.15.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": "39fc0a489df073eeee5c1c735f78a70f57258a4d"
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 = {}): Promise<boolean> {
103
+ async function init(configuration = config): Promise<boolean> {
104
104
  if (csRenderInitialized) {
105
105
  return csRenderInitialized;
106
106
  }