@pdfvector/util 0.0.19 → 0.0.20
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/.tsc/lib/tier.d.ts +2 -2
- package/.tsc/lib/tier.js +3 -3
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
package/.tsc/lib/tier.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ export declare const specializedParseCosts: {
|
|
|
20
20
|
export declare const specializedAskExtractCosts: Record<ModelTier, number>;
|
|
21
21
|
/** Formats supported by all tiers (nano, mini, pro, max, auto). */
|
|
22
22
|
export declare const allTierFormats: readonly ["PDF", "Word (.docx)", "Excel (.xlsx)", "PowerPoint (.pptx)", "CSV", "Text (.txt, .md, .tsv, .xml)", "HTML", "RTF", "OpenDocument (.odt, .ods, .odp)", "EPUB", "Bibliography (.bib, .ris, .nbib, .enw)"];
|
|
23
|
-
/** Formats added by the max/auto
|
|
24
|
-
export declare const
|
|
23
|
+
/** Formats added by the pro/max/auto tiers. */
|
|
24
|
+
export declare const proTierAdditionalFormats: readonly ["Image (PNG, JPG, TIFF, BMP, HEIF)"];
|
|
25
25
|
/** Short human-readable summary of all supported formats. */
|
|
26
26
|
export declare const allSupportedFormatsShort = "PDF, DOCX, XLSX, PPTX, CSV, PNG, JPG, TIFF, BMP, HEIF, TXT, MD, TSV, XML, RTF, HTML, ODT, ODS, ODP, EPUB, BIB, RIS, NBIB, ENW";
|
|
27
27
|
/** Long human-readable summary of all supported formats. */
|
package/.tsc/lib/tier.js
CHANGED
|
@@ -54,8 +54,8 @@ export const allTierFormats = [
|
|
|
54
54
|
"EPUB",
|
|
55
55
|
"Bibliography (.bib, .ris, .nbib, .enw)",
|
|
56
56
|
];
|
|
57
|
-
/** Formats added by the max/auto
|
|
58
|
-
export const
|
|
57
|
+
/** Formats added by the pro/max/auto tiers. */
|
|
58
|
+
export const proTierAdditionalFormats = [
|
|
59
59
|
"Image (PNG, JPG, TIFF, BMP, HEIF)",
|
|
60
60
|
];
|
|
61
61
|
/** Short human-readable summary of all supported formats. */
|
|
@@ -75,7 +75,7 @@ export const imageDimensionLimits = {
|
|
|
75
75
|
/** Pre-built format note for API descriptions (used in contract model descriptions). */
|
|
76
76
|
export const formatsByTierDescription = "Supported formats by tier:\n" +
|
|
77
77
|
`- All tiers: ${allTierFormats.join(", ")}.\n` +
|
|
78
|
-
`- Max/Auto adds: ${
|
|
78
|
+
`- Pro/Max/Auto adds: ${proTierAdditionalFormats.join(", ")}. ` +
|
|
79
79
|
`Image dimensions must be between ${imageDimensionLimits.minPixels}×${imageDimensionLimits.minPixels} and ${imageDimensionLimits.maxPixels}×${imageDimensionLimits.maxPixels} pixels.`;
|
|
80
80
|
// ─── Academic credit costs ────────────────────────────────────────────
|
|
81
81
|
/** Academic/grant API: fixed credits per request */
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @pdfvector/util
|
|
2
2
|
|
|
3
|
+
## 0.0.20
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- [`868be37`](https://github.com/phuctm97/pdfvector/commit/868be37857f362a428f52b5ea0ce6b359b858c20) Thanks [@khanhduyvt0101](https://github.com/khanhduyvt0101)! - Migrate document parsing to Form Parser with Pro image support
|
|
9
|
+
|
|
3
10
|
## 0.0.19
|
|
4
11
|
### Patch Changes
|
|
5
12
|
|