@bian-womp/spark-graph 0.2.50 → 0.2.52
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/lib/cjs/index.cjs +0 -6
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/cjs/src/examples/engine.d.ts.map +1 -1
- package/lib/cjs/src/examples/simple.d.ts.map +1 -1
- package/lib/cjs/src/examples/snapshot.d.ts.map +1 -1
- package/lib/cjs/src/runtime/AbstractEngine.d.ts +0 -1
- package/lib/cjs/src/runtime/AbstractEngine.d.ts.map +1 -1
- package/lib/cjs/src/runtime/Engine.d.ts +0 -1
- package/lib/cjs/src/runtime/Engine.d.ts.map +1 -1
- package/lib/cjs/src/runtime/GraphRuntime.d.ts +0 -1
- package/lib/cjs/src/runtime/GraphRuntime.d.ts.map +1 -1
- package/lib/esm/index.js +0 -6
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/src/examples/engine.d.ts.map +1 -1
- package/lib/esm/src/examples/simple.d.ts.map +1 -1
- package/lib/esm/src/examples/snapshot.d.ts.map +1 -1
- package/lib/esm/src/runtime/AbstractEngine.d.ts +0 -1
- package/lib/esm/src/runtime/AbstractEngine.d.ts.map +1 -1
- package/lib/esm/src/runtime/Engine.d.ts +0 -1
- package/lib/esm/src/runtime/Engine.d.ts.map +1 -1
- package/lib/esm/src/runtime/GraphRuntime.d.ts +0 -1
- package/lib/esm/src/runtime/GraphRuntime.d.ts.map +1 -1
- package/package.json +2 -2
package/lib/cjs/index.cjs
CHANGED
|
@@ -509,9 +509,6 @@ class GraphRuntime {
|
|
|
509
509
|
for (const h of Array.from(set))
|
|
510
510
|
h(payload);
|
|
511
511
|
}
|
|
512
|
-
setInput(nodeId, handle, value) {
|
|
513
|
-
this.setInputs(nodeId, { [handle]: value });
|
|
514
|
-
}
|
|
515
512
|
setInputs(nodeId, inputs) {
|
|
516
513
|
const node = this.nodes.get(nodeId);
|
|
517
514
|
if (!node)
|
|
@@ -1862,9 +1859,6 @@ class AbstractEngine {
|
|
|
1862
1859
|
launch(invalidate = false) {
|
|
1863
1860
|
this.graphRuntime.launch(invalidate);
|
|
1864
1861
|
}
|
|
1865
|
-
setInput(nodeId, handle, value) {
|
|
1866
|
-
this.graphRuntime.setInputs(nodeId, { [handle]: value });
|
|
1867
|
-
}
|
|
1868
1862
|
setInputs(nodeId, inputs) {
|
|
1869
1863
|
this.graphRuntime.setInputs(nodeId, inputs);
|
|
1870
1864
|
}
|