@copilotkit/markdown 2.0.0-rc.25 → 2.0.0-rc.27

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