labellife-design-tool 1.2.7 → 1.2.8

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.
@@ -3184,7 +3184,7 @@ class SimpleCanvasStore {
3184
3184
  this.emit("designChanged", this._design);
3185
3185
  }
3186
3186
  addPage(page) {
3187
- console.log("addPage called - Stack trace:", new Error().stack);
3187
+ console.log(`addPage called - Current pages: ${this._design.pages.length}, New page ID: ${page?.id || `page-${Date.now()}`}`);
3188
3188
  const newPage = {
3189
3189
  id: page?.id || `page-${Date.now()}`,
3190
3190
  name: page?.name || `Page ${this._design.pages.length + 1}`,
@@ -3184,7 +3184,7 @@ class SimpleCanvasStore {
3184
3184
  this.emit("designChanged", this._design);
3185
3185
  }
3186
3186
  addPage(page) {
3187
- console.log("addPage called - Stack trace:", new Error().stack);
3187
+ console.log(`addPage called - Current pages: ${this._design.pages.length}, New page ID: ${page?.id || `page-${Date.now()}`}`);
3188
3188
  const newPage = {
3189
3189
  id: page?.id || `page-${Date.now()}`,
3190
3190
  name: page?.name || `Page ${this._design.pages.length + 1}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "labellife-design-tool",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "Professional canvas editor built with React, TypeScript, and Konva",
5
5
  "main": "./dist/lib/lib/index.js",
6
6
  "module": "./dist/lib/lib/index.js",