@threadbase-sh/streamer 1.61.2 → 1.62.0

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
@@ -9110,7 +9110,10 @@ var ConversationHandlers = class {
9110
9110
  score: r.score,
9111
9111
  matches: Array.isArray(r.matches) ? r.matches.map((m) => ({
9112
9112
  field: m.field,
9113
- snippet: m.snippet
9113
+ snippet: m.snippet,
9114
+ // Offsets into `snippet` for the matched tokens. Absent on metadata
9115
+ // hits, and on scanners older than the one that added them.
9116
+ highlights: m.highlights
9114
9117
  })) : []
9115
9118
  }));
9116
9119
  const page = paginate(applyFilters(adapted, filters), offset, limit);