@copilotkit/markdown 2.0.0-rc.24 → 2.0.0-rc.26

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.cjs CHANGED
@@ -487,7 +487,8 @@ function clusterPunctuationSegments(segments) {
487
487
  };
488
488
  return acc;
489
489
  }
490
- return [...acc, segment];
490
+ acc.push(segment);
491
+ return acc;
491
492
  }, []);
492
493
  const clustered = [];
493
494
  let i = 0;