@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.cjs CHANGED
@@ -9150,7 +9150,10 @@ var ConversationHandlers = class {
9150
9150
  score: r.score,
9151
9151
  matches: Array.isArray(r.matches) ? r.matches.map((m) => ({
9152
9152
  field: m.field,
9153
- snippet: m.snippet
9153
+ snippet: m.snippet,
9154
+ // Offsets into `snippet` for the matched tokens. Absent on metadata
9155
+ // hits, and on scanners older than the one that added them.
9156
+ highlights: m.highlights
9154
9157
  })) : []
9155
9158
  }));
9156
9159
  const page = paginate(applyFilters(adapted, filters), offset, limit);