@veryfront/ext-document-kreuzberg 0.1.1029 → 0.1.1031

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.
@@ -1 +1 @@
1
- {"version":3,"file":"extraction-config.d.ts","sourceRoot":"","sources":["../../../../src/extensions/ext-document-kreuzberg/src/extraction-config.ts"],"names":[],"mappings":"AAmBA,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAIrF"}
1
+ {"version":3,"file":"extraction-config.d.ts","sourceRoot":"","sources":["../../../../src/extensions/ext-document-kreuzberg/src/extraction-config.ts"],"names":[],"mappings":"AAkBA,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAIrF"}
@@ -1,8 +1,7 @@
1
1
  const MARKDOWN_EXTRACTION_CONFIG = {
2
2
  outputFormat: "markdown",
3
3
  };
4
- const PDF_MARKDOWN_EXTRACTION_CONFIG = {
5
- ...MARKDOWN_EXTRACTION_CONFIG,
4
+ const PDF_TEXT_EXTRACTION_CONFIG = {
6
5
  images: { extractImages: false },
7
6
  pdfOptions: {
8
7
  extractImages: false,
@@ -16,6 +15,6 @@ function normalizeMimeType(mimeType) {
16
15
  }
17
16
  export function extractionConfigForMimeType(mimeType) {
18
17
  return normalizeMimeType(mimeType) === "application/pdf"
19
- ? PDF_MARKDOWN_EXTRACTION_CONFIG
18
+ ? PDF_TEXT_EXTRACTION_CONFIG
20
19
  : MARKDOWN_EXTRACTION_CONFIG;
21
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veryfront/ext-document-kreuzberg",
3
- "version": "0.1.1029",
3
+ "version": "0.1.1031",
4
4
  "description": "Veryfront first-party extension package for ext-document-kreuzberg",
5
5
  "keywords": [
6
6
  "veryfront",
@@ -55,7 +55,7 @@
55
55
  "pdf-lib": "1.17.1"
56
56
  },
57
57
  "peerDependencies": {
58
- "veryfront": "^0.1.1029"
58
+ "veryfront": "^0.1.1031"
59
59
  },
60
60
  "type": "module",
61
61
  "types": "./esm/extensions/ext-document-kreuzberg/src/index.d.ts",