@cornerstonejs/core 1.43.0 → 1.43.2

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.43.0",
3
+ "version": "1.43.2",
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": "1681f72fb2df75001f844a2e1728f2e9b79b6985"
50
+ "gitHead": "616be56e9a25f634b109f7378cc4464d34a1f085"
51
51
  }
package/src/init.ts CHANGED
@@ -124,7 +124,7 @@ async function init(configuration = config): Promise<boolean> {
124
124
  'CornerstoneRender: Using detect-gpu to get the GPU benchmark:',
125
125
  config.gpuTier
126
126
  );
127
- if (config.gpuTier.tier < 1) {
127
+ if (config.gpuTier?.tier < 1) {
128
128
  console.log(
129
129
  'CornerstoneRender: GPU is not powerful enough, using CPU rendering'
130
130
  );