canvas-editor-engine 1.0.35 → 1.0.36

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  export default class CropService {
2
+ static setup(): void;
2
3
  static crop(): void;
3
4
  static viewCropButton(): void;
4
5
  static get options(): {
@@ -2,8 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const excretions_component_1 = require("../components/excretions.component");
4
4
  class CropService {
5
- static crop() {
5
+ static setup() {
6
6
  excretions_component_1.default.additionStyle = 'crop';
7
+ }
8
+ static crop() {
7
9
  if (!!excretions_component_1.default.excretionsCoords?.length === false)
8
10
  return;
9
11
  console.log(CropService.options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvas-editor-engine",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "description": "CanvasEditorEngine library, use: [typescript] [canvas]",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",