@rikalabs/parallel 0.3.1 → 0.3.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -41287,7 +41287,7 @@ function formatSearchResponse(response, format6, pretty6) {
41287
41287
  if (result.excerpts.length > 0) {
41288
41288
  lines3.push(`Excerpts:`);
41289
41289
  for (const excerpt of result.excerpts) {
41290
- lines3.push(` ${excerpt.substring(0, 200)}...`);
41290
+ lines3.push(` ${excerpt}`);
41291
41291
  }
41292
41292
  }
41293
41293
  lines3.push("");
@@ -41318,11 +41318,12 @@ function formatExtractResponse(response, format6, pretty6) {
41318
41318
  if (result.excerpts && result.excerpts.length > 0) {
41319
41319
  lines3.push(`Excerpts:`);
41320
41320
  for (const excerpt of result.excerpts) {
41321
- lines3.push(` ${excerpt.substring(0, 200)}...`);
41321
+ lines3.push(` ${excerpt}`);
41322
41322
  }
41323
41323
  }
41324
41324
  if (result.full_content) {
41325
- lines3.push(`Full Content: ${result.full_content.length} characters`);
41325
+ lines3.push(`Full Content:`);
41326
+ lines3.push(result.full_content);
41326
41327
  }
41327
41328
  lines3.push("");
41328
41329
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rikalabs/parallel",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "A Unix-friendly CLI for the Parallel Search and Extract APIs",
5
5
  "keywords": [
6
6
  "parallel",