dwv 0.30.0 → 0.30.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/changelog.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.30.1](https://github.com/ivmartel/dwv/releases/tag/v0.30.1) - 03/12/2021
4
+
5
+ ### Fixed
6
+
7
+ - Missing class for Konva [#1044](https://github.com/ivmartel/dwv/issues/1044)
8
+
9
+ ---
10
+
3
11
  ## [v0.30.0](https://github.com/ivmartel/dwv/releases/tag/v0.30.0) - 02/12/2021
4
12
 
5
13
  ### Added
package/dist/dwv.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! dwv 0.30.0 2021-12-02 15:55:09 */
1
+ /*! dwv 0.30.1 2021-12-03 15:19:33 */
2
2
  // Inspired from umdjs
3
3
  // See https://github.com/umdjs/umd/blob/master/templates/returnExports.js
4
4
  (function (root, factory) {
@@ -60,6 +60,12 @@
60
60
  i18next = i18next.default;
61
61
  }
62
62
 
63
+ // Konva (>=v8) comes as a module, see #1044
64
+ if (typeof Konva !== 'undefined' &&
65
+ typeof Konva.Group === 'undefined') {
66
+ Konva = Konva.default;
67
+ }
68
+
63
69
  /** @namespace */
64
70
  var dwv = dwv || {};
65
71
 
@@ -4392,7 +4398,7 @@ dwv.dicom = dwv.dicom || {};
4392
4398
  * @returns {string} The version of the library.
4393
4399
  */
4394
4400
  dwv.getVersion = function () {
4395
- return '0.30.0';
4401
+ return '0.30.1';
4396
4402
  };
4397
4403
 
4398
4404
  /**