@ai-matrx/content-ir 0.2.1 → 0.2.2

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/dist/index.js CHANGED
@@ -4370,7 +4370,7 @@ function rehydrateRunResult(raw, frame) {
4370
4370
  if (raw[KIND_KEY] !== RUN_RESULT_KIND) return null;
4371
4371
  const ref = str(raw, "output_ref");
4372
4372
  const resolved = ref === null ? void 0 : readOutputRef(frame, ref);
4373
- const outputs = Array.isArray(raw.outputs) ? raw.outputs.map((child) => rehydrateNodeOutcome(child, frame) ?? child) : [];
4373
+ const outputs = Array.isArray(raw.outputs) ? raw.outputs.map((child) => rehydrateNodeOutcome(child, frame)).filter((child) => child !== null) : [];
4374
4374
  return readRunResultValue({
4375
4375
  ...raw,
4376
4376
  ...resolved === void 0 ? {} : { output: resolved },