@stinkycomputing/sesame-editor-api 1.0.0-alpha.7 → 1.0.0-alpha.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.
Files changed (2) hide show
  1. package/dist/plugin.d.ts +3 -2
  2. package/package.json +1 -1
package/dist/plugin.d.ts CHANGED
@@ -12,8 +12,9 @@ export interface ISesameConfig {
12
12
  }
13
13
  export interface NodeFactory<TNode = unknown, TEdge = unknown> {
14
14
  /**
15
- * Create a React Flow node. Registers the node ID for collision detection
16
- * and generates an empty-ID warning if `id` is falsy.
15
+ * Create a React Flow node and generate an empty-ID warning if `id` is falsy.
16
+ * Collision detection is performed later when the editor adds nodes to its
17
+ * global set; `makeNode` itself does not register the node ID.
17
18
  */
18
19
  makeNode(id: string, type: string, position: {
19
20
  x: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stinkycomputing/sesame-editor-api",
3
- "version": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.8",
4
4
  "description": "Plugin API types for Sesame config editor",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",