@docling/docling-client 2.133.0 → 2.134.1
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/PYTHON_CLIENT_PARITY.md +3 -3
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +151 -3
- package/dist/index.d.ts +151 -3
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/PYTHON_CLIENT_PARITY.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Python client parity
|
|
2
2
|
|
|
3
|
-
This document compares `@docling/docling-client` with Docling Python 2.
|
|
4
|
-
at commit `
|
|
3
|
+
This document compares `@docling/docling-client` with Docling Python 2.134.0
|
|
4
|
+
at commit `db06ace`, specifically:
|
|
5
5
|
|
|
6
6
|
- `DoclingServiceClient`
|
|
7
7
|
- `AsyncDoclingServiceClient`
|
|
@@ -82,7 +82,7 @@ because async is its native execution model.
|
|
|
82
82
|
|
|
83
83
|
TypeScript mirrors Python's extension-to-input-format map, including Office
|
|
84
84
|
templates/macros, images, XML variants, `tar.gz`, audio/video, email, EPUB,
|
|
85
|
-
Box Note, iWork (`.pages`, `.key`), EBCDIC, AFP, RTF, and MHTML. Unknown
|
|
85
|
+
Box Note, iWork (`.pages`, `.key`, `.numbers`), EBCDIC, AFP, RTF, and MHTML. Unknown
|
|
86
86
|
extensions use the same PDF fallback. Local multipart MIME is inferred from the
|
|
87
87
|
filename when known.
|
|
88
88
|
|
package/dist/index.cjs
CHANGED
|
@@ -51,6 +51,7 @@ __export(index_exports, {
|
|
|
51
51
|
DoclingUsageLimitExceededError: () => DoclingUsageLimitExceededError,
|
|
52
52
|
FetchTransport: () => FetchTransport,
|
|
53
53
|
MAX_CONCURRENCY_LIMIT: () => MAX_CONCURRENCY_LIMIT,
|
|
54
|
+
TargetName: () => TargetName,
|
|
54
55
|
appendFormValue: () => appendFormValue,
|
|
55
56
|
applyPageLimits: () => applyPageLimits,
|
|
56
57
|
documentFromBundle: () => documentFromBundle,
|
|
@@ -865,6 +866,7 @@ var EXTENSION_FORMATS = {
|
|
|
865
866
|
boxnote: "boxnote",
|
|
866
867
|
pages: "iwork_pages",
|
|
867
868
|
key: "iwork_keynote",
|
|
869
|
+
numbers: "iwork_numbers",
|
|
868
870
|
ebc: "ebcdic",
|
|
869
871
|
ebcdic: "ebcdic",
|
|
870
872
|
afp: "afp"
|
|
@@ -1378,6 +1380,7 @@ var INPUT_FORMATS = /* @__PURE__ */ new Set([
|
|
|
1378
1380
|
"boxnote",
|
|
1379
1381
|
"iwork_pages",
|
|
1380
1382
|
"iwork_keynote",
|
|
1383
|
+
"iwork_numbers",
|
|
1381
1384
|
"ebcdic",
|
|
1382
1385
|
"afp"
|
|
1383
1386
|
]);
|
|
@@ -4189,6 +4192,13 @@ async function* mapSourcesToItems(sources, options, headers) {
|
|
|
4189
4192
|
function isRecord4(value) {
|
|
4190
4193
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
4191
4194
|
}
|
|
4195
|
+
|
|
4196
|
+
// src/types.ts
|
|
4197
|
+
var TargetName = {
|
|
4198
|
+
INBODY: "inbody",
|
|
4199
|
+
PRESIGNED_URL: "presigned_url",
|
|
4200
|
+
ZIP: "zip"
|
|
4201
|
+
};
|
|
4192
4202
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4193
4203
|
0 && (module.exports = {
|
|
4194
4204
|
ArtifactDownloader,
|
|
@@ -4212,6 +4222,7 @@ function isRecord4(value) {
|
|
|
4212
4222
|
DoclingUsageLimitExceededError,
|
|
4213
4223
|
FetchTransport,
|
|
4214
4224
|
MAX_CONCURRENCY_LIMIT,
|
|
4225
|
+
TargetName,
|
|
4215
4226
|
appendFormValue,
|
|
4216
4227
|
applyPageLimits,
|
|
4217
4228
|
documentFromBundle,
|