@bian-womp/spark-workbench 0.3.85 → 0.3.87
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 +6 -8
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/cjs/src/core/InMemoryWorkbench.d.ts.map +1 -1
- package/lib/cjs/src/runtime/AbstractGraphRunner.d.ts +1 -3
- package/lib/cjs/src/runtime/AbstractGraphRunner.d.ts.map +1 -1
- package/lib/cjs/src/runtime/IGraphRunner.d.ts +1 -3
- package/lib/cjs/src/runtime/IGraphRunner.d.ts.map +1 -1
- package/lib/cjs/src/runtime/LocalGraphRunner.d.ts +1 -3
- package/lib/cjs/src/runtime/LocalGraphRunner.d.ts.map +1 -1
- package/lib/cjs/src/runtime/RemoteGraphRunner.d.ts +1 -3
- package/lib/cjs/src/runtime/RemoteGraphRunner.d.ts.map +1 -1
- package/lib/esm/index.js +6 -8
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/src/core/InMemoryWorkbench.d.ts.map +1 -1
- package/lib/esm/src/runtime/AbstractGraphRunner.d.ts +1 -3
- package/lib/esm/src/runtime/AbstractGraphRunner.d.ts.map +1 -1
- package/lib/esm/src/runtime/IGraphRunner.d.ts +1 -3
- package/lib/esm/src/runtime/IGraphRunner.d.ts.map +1 -1
- package/lib/esm/src/runtime/LocalGraphRunner.d.ts +1 -3
- package/lib/esm/src/runtime/LocalGraphRunner.d.ts.map +1 -1
- package/lib/esm/src/runtime/RemoteGraphRunner.d.ts +1 -3
- package/lib/esm/src/runtime/RemoteGraphRunner.d.ts.map +1 -1
- package/package.json +4 -4
package/lib/cjs/index.cjs
CHANGED
|
@@ -824,8 +824,7 @@ class InMemoryWorkbench extends AbstractWorkbench {
|
|
|
824
824
|
}
|
|
825
825
|
const pos = positions[nodeId];
|
|
826
826
|
const size = sizes[nodeId];
|
|
827
|
-
const
|
|
828
|
-
const inputs = this.excludeHandlesFromInputs(allInputs[nodeId] || {}, inboundHandlesToExclude);
|
|
827
|
+
const inputs = allInputs[nodeId] || {};
|
|
829
828
|
const newNodeId = this.addNode({
|
|
830
829
|
typeId: n.typeId,
|
|
831
830
|
params: n.params,
|
|
@@ -880,8 +879,7 @@ class InMemoryWorkbench extends AbstractWorkbench {
|
|
|
880
879
|
try {
|
|
881
880
|
const pos = this.getPositions()[nodeId];
|
|
882
881
|
const size = this.getSizes()[nodeId];
|
|
883
|
-
const
|
|
884
|
-
const inputs = this.excludeHandlesFromInputs(runner.getInputs(this.def)[nodeId] || {}, inboundHandlesToExclude);
|
|
882
|
+
const inputs = runner.getInputs(this.def)[nodeId] || {};
|
|
885
883
|
const newNodeId = this.addNode({
|
|
886
884
|
typeId: n.typeId,
|
|
887
885
|
params: n.params,
|
|
@@ -1359,9 +1357,9 @@ class LocalGraphRunner extends AbstractGraphRunner {
|
|
|
1359
1357
|
this.engine.setInputs(nodeId, map);
|
|
1360
1358
|
}
|
|
1361
1359
|
}
|
|
1362
|
-
async computeNode(nodeId
|
|
1360
|
+
async computeNode(nodeId) {
|
|
1363
1361
|
if (this.engine)
|
|
1364
|
-
await this.engine.computeNode(nodeId
|
|
1362
|
+
await this.engine.computeNode(nodeId);
|
|
1365
1363
|
}
|
|
1366
1364
|
async runFromHere(nodeId) {
|
|
1367
1365
|
if (this.engine)
|
|
@@ -1972,9 +1970,9 @@ class RemoteGraphRunner extends AbstractGraphRunner {
|
|
|
1972
1970
|
this.emit("status", { running: true, runMode });
|
|
1973
1971
|
}
|
|
1974
1972
|
}
|
|
1975
|
-
async computeNode(nodeId
|
|
1973
|
+
async computeNode(nodeId) {
|
|
1976
1974
|
const client = await this.ensureClient();
|
|
1977
|
-
await client.engine.computeNode(nodeId
|
|
1975
|
+
await client.engine.computeNode(nodeId);
|
|
1978
1976
|
}
|
|
1979
1977
|
async runFromHere(nodeId) {
|
|
1980
1978
|
const client = await this.ensureClient();
|