@kreuzberg/node 4.3.7 → 4.3.8
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/README.md +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/index.js +52 -52
- package/package.json +5 -5
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.
|
|
1127
|
+
var __version__ = "4.3.8";
|
|
1124
1128
|
export {
|
|
1125
1129
|
CacheError,
|
|
1126
1130
|
ErrorCode,
|