lineadraw 0.8.0 → 0.9.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lineadraw",
3
- "version": "0.8.0",
4
- "description": "Linea for Node: the headless drawing SDK (lineadraw/sdk), block/command script typings, and marketplace tooling",
3
+ "version": "0.9.0",
4
+ "description": "Linea for Node: the headless drawing SDK (lineadraw/sdk), block/command typings, marketplace tooling, and a CLI for the running desktop app",
5
5
  "license": "MIT",
6
6
  "author": "Mikhail Koshelev",
7
7
  "type": "module",
@@ -2,7 +2,7 @@
2
2
  // Replace it with your own; the public collection at
3
3
  // github.com/lineadraw/lineadraw is full of real examples.
4
4
  import { defineBlock } from "lineadraw";
5
- import type { Polyline } from "lineadraw";
5
+ import type { PolylineInput } from "lineadraw";
6
6
 
7
7
  export default defineBlock({
8
8
  // The id is the block's identity everywhere: @<collection>/<slug>,
@@ -20,7 +20,7 @@ export default defineBlock({
20
20
  draw: ({ params }) => {
21
21
  const w = params.width / 2;
22
22
  const h = params.height / 2;
23
- const box: Polyline = {
23
+ const box: PolylineInput = {
24
24
  type: "polyline",
25
25
  closed: true,
26
26
  points: [