@pdfvector/instance-contract 0.0.59 → 0.0.60
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/supported-mimes.js +2 -1
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
|
@@ -61,8 +61,9 @@ function tierDesc(tier, credits, unit, extra) {
|
|
|
61
61
|
: "";
|
|
62
62
|
return `- ${tier}: ${credits} ${unit}. ${extra}${limitStr ? ` ${limitStr}` : ""}`;
|
|
63
63
|
}
|
|
64
|
-
// biome-ignore lint/style/noNonNullAssertion: auto tier always exists
|
|
65
64
|
const autoLimit = tierLimits.auto;
|
|
65
|
+
if (!autoLimit)
|
|
66
|
+
throw new Error("Missing auto tier limits");
|
|
66
67
|
const autoLimitStr = `Up to ${autoLimit.maxPages} pages, ${fmtSize(autoLimit.maxFileSize)}.`;
|
|
67
68
|
/** Model tier descriptions for document parse endpoints. */
|
|
68
69
|
export const documentParseModelDescription = "Model tier for parsing.\n\n" +
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @pdfvector/instance-contract
|
|
2
2
|
|
|
3
|
+
## 0.0.60
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- [#286](https://github.com/phuctm97/pdfvector/pull/286) [`1295973`](https://github.com/phuctm97/pdfvector/commit/12959733e27a056c78241404ef1f842f47487d21) Thanks [@khanhduyvt0101](https://github.com/khanhduyvt0101)! - Upgrade dependencies and keep the AI model integration compatible with the latest provider APIs.
|
|
9
|
+
|
|
3
10
|
## 0.0.59
|
|
4
11
|
### Patch Changes
|
|
5
12
|
|