canvas-editor-engine 2.1.2 → 2.1.3

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/index.mjs CHANGED
@@ -1604,16 +1604,12 @@ var WebComponent = function(_super) {
1604
1604
  }));
1605
1605
  return _this;
1606
1606
  }
1607
- Object.defineProperty(WebComponent.prototype, "initial", {
1608
- get: function() {
1609
- return {
1610
- editorElement: this.canvasElement,
1611
- canvasSelector: this.canvasComponent.getCanvasSelector()
1612
- };
1613
- },
1614
- enumerable: false,
1615
- configurable: true
1616
- });
1607
+ WebComponent.prototype.initial = function() {
1608
+ return {
1609
+ editorElement: this.canvasElement,
1610
+ canvasSelector: this.canvasComponent.getCanvasSelector()
1611
+ };
1612
+ };
1617
1613
  return WebComponent;
1618
1614
  }(HTMLElement);
1619
1615
 
@@ -28,7 +28,7 @@ export default class WebComponent extends HTMLElement {
28
28
  canvasComponent: CanvasComponent;
29
29
  canvasElement: HTMLDivElement;
30
30
  constructor();
31
- get initial(): {
31
+ initial(): {
32
32
  editorElement: HTMLDivElement;
33
33
  canvasSelector: string;
34
34
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvas-editor-engine",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "CanvasEditorEngine library, use: [typescript] [canvas]",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",