@gjsify/canvas2d-core 0.4.28 → 0.4.29

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.
@@ -1,3 +1,4 @@
1
+ import type Cairo from 'cairo';
1
2
  /** A recorded path operation. */
2
3
  type PathOp = {
3
4
  type: 'moveTo';
@@ -75,6 +76,6 @@ export declare class Path2D {
75
76
  /**
76
77
  * @internal Replay all recorded path operations onto a Cairo context.
77
78
  */
78
- _replayOnCairo(ctx: import('cairo').default.Context): void;
79
+ _replayOnCairo(ctx: Cairo.Context): void;
79
80
  }
80
81
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/canvas2d-core",
3
- "version": "0.4.28",
3
+ "version": "0.4.29",
4
4
  "description": "Cairo-backed Canvas 2D core (CanvasRenderingContext2D, Path2D, ImageData) — no GTK dependency",
5
5
  "type": "module",
6
6
  "module": "lib/esm/index.js",
@@ -43,9 +43,9 @@
43
43
  "@girs/pangocairo-1.0": "1.0.0-4.0.1"
44
44
  },
45
45
  "devDependencies": {
46
- "@gjsify/cli": "^0.4.28",
47
- "@gjsify/dom-elements": "^0.4.28",
48
- "@gjsify/unit": "^0.4.28",
46
+ "@gjsify/cli": "^0.4.29",
47
+ "@gjsify/dom-elements": "^0.4.29",
48
+ "@gjsify/unit": "^0.4.29",
49
49
  "@types/node": "^25.9.1",
50
50
  "typescript": "^6.0.3"
51
51
  }