@kreuzberg/node 4.3.7 → 4.4.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.mjs CHANGED
@@ -318,6 +318,10 @@ function normalizePdfConfig(pdf) {
318
318
  setIfDefined(normalized, "extractImages", pdf.extractImages);
319
319
  setIfDefined(normalized, "passwords", pdf.passwords);
320
320
  setIfDefined(normalized, "extractMetadata", pdf.extractMetadata);
321
+ setIfDefined(normalized, "hierarchy", pdf.hierarchy);
322
+ setIfDefined(normalized, "extractAnnotations", pdf.extractAnnotations);
323
+ setIfDefined(normalized, "topMarginFraction", pdf.topMarginFraction);
324
+ setIfDefined(normalized, "bottomMarginFraction", pdf.bottomMarginFraction);
321
325
  return normalized;
322
326
  }
323
327
  function normalizeTokenReductionConfig(tokenReduction) {
@@ -1120,7 +1124,7 @@ function getEmbeddingPreset(name) {
1120
1124
  }
1121
1125
 
1122
1126
  // typescript/index.ts
1123
- var __version__ = "4.3.7";
1127
+ var __version__ = "4.4.0";
1124
1128
  export {
1125
1129
  CacheError,
1126
1130
  ErrorCode,