@bian-womp/spark-remote 0.3.78 → 0.3.79
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
|
@@ -575,7 +575,7 @@ async function createServerRuntimeAdapter(id, createRegistry, send, extensions)
|
|
|
575
575
|
else {
|
|
576
576
|
// Reuse adapter methods so applySnapshot follows normal update semantics.
|
|
577
577
|
await originalAdapter.setEnvironment(payload.environment || {}, { merge: false, dry: true });
|
|
578
|
-
await originalAdapter.update(def
|
|
578
|
+
await originalAdapter.update(def);
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
581
|
else if (!graphRuntime) {
|
|
@@ -596,9 +596,7 @@ async function createServerRuntimeAdapter(id, createRegistry, send, extensions)
|
|
|
596
596
|
const snapshot = await originalAdapter.snapshotFull();
|
|
597
597
|
const converter = sparkGraph.buildValueConverter(converterConfig);
|
|
598
598
|
const converted = sparkGraph.convertSnapshot(snapshot, converter);
|
|
599
|
-
await originalAdapter.applySnapshotFull(converted, {
|
|
600
|
-
skipBuild: true,
|
|
601
|
-
});
|
|
599
|
+
await originalAdapter.applySnapshotFull(converted, { skipBuild: true });
|
|
602
600
|
return converted;
|
|
603
601
|
},
|
|
604
602
|
pause: async () => {
|