@bian-womp/spark-remote 0.3.86 → 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 CHANGED
@@ -719,10 +719,10 @@ async function createServerRuntimeAdapter(id, createRegistry, send, extensions)
719
719
  return;
720
720
  engine.setRunMode(runMode);
721
721
  },
722
- computeNode: async (nodeId, options) => {
722
+ computeNode: async (nodeId) => {
723
723
  if (!engine)
724
724
  return;
725
- await engine.computeNode(nodeId, options);
725
+ await engine.computeNode(nodeId);
726
726
  },
727
727
  runFromHere: async (nodeId) => {
728
728
  if (!engine)
@@ -926,9 +926,9 @@ class RemoteEngine {
926
926
  async whenIdle() {
927
927
  await this.transport.request({ message: { type: "WhenIdle" } });
928
928
  }
929
- async computeNode(nodeId, options) {
929
+ async computeNode(nodeId) {
930
930
  await this.transport.request({
931
- message: { type: "ComputeNode", payload: { nodeId, ...options } },
931
+ message: { type: "ComputeNode", payload: { nodeId } },
932
932
  });
933
933
  }
934
934
  async runFromHere(nodeId) {
@@ -1574,7 +1574,7 @@ class ServerCommandHandler {
1574
1574
  case "ComputeNode": {
1575
1575
  const computeNodePayload = msg.payload;
1576
1576
  this.logCommand("ComputeNode", env, computeNodePayload);
1577
- await this.adapter.computeNode(computeNodePayload.nodeId, computeNodePayload);
1577
+ await this.adapter.computeNode(computeNodePayload.nodeId);
1578
1578
  ack();
1579
1579
  break;
1580
1580
  }