@snowcone-app/canvas 0.1.7 → 0.1.9

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.
@@ -20,7 +20,7 @@
20
20
  * stamp keep working.
21
21
  */
22
22
  export declare const CANVAS_STATE_SCHEMA_VERSION = 1;
23
- export interface ServerRenderRequest {
23
+ export type ServerRenderRequest = {
24
24
  /** Wire-schema version — see {@link CANVAS_STATE_SCHEMA_VERSION}. */
25
25
  schemaVersion: number;
26
26
  artboards: Array<{
@@ -36,7 +36,7 @@ export interface ServerRenderRequest {
36
36
  distressTexture?: any;
37
37
  imageMask?: any;
38
38
  }>;
39
- }
39
+ };
40
40
  /**
41
41
  * Convert onChange canvas state to the server render format.
42
42
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowcone-app/canvas",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Self-contained canvas editor component for e-commerce product customization",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -96,7 +96,7 @@
96
96
  "react-colorful": "^5.6.1",
97
97
  "tailwind-merge": "^2.6.0",
98
98
  "tailwind-variants": "^3.1.1",
99
- "@snowcone-app/ui": "0.1.22"
99
+ "@snowcone-app/ui": "0.1.23"
100
100
  },
101
101
  "devDependencies": {
102
102
  "@axe-core/playwright": "^4.11.0",