@kreuzberg/node 4.3.5 → 4.3.7
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/dist/types.d.mts +22 -1
- package/dist/types.d.ts +22 -1
- package/dist/types.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.js +52 -52
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -685,6 +685,10 @@ function convertResult(rawResult) {
|
|
|
685
685
|
if (Array.isArray(processingWarningsData)) {
|
|
686
686
|
returnObj.processingWarnings = processingWarningsData;
|
|
687
687
|
}
|
|
688
|
+
const annotationsData = result["annotations"];
|
|
689
|
+
if (Array.isArray(annotationsData)) {
|
|
690
|
+
returnObj.annotations = annotationsData;
|
|
691
|
+
}
|
|
688
692
|
return returnObj;
|
|
689
693
|
}
|
|
690
694
|
|
|
@@ -1116,7 +1120,7 @@ function getEmbeddingPreset(name) {
|
|
|
1116
1120
|
}
|
|
1117
1121
|
|
|
1118
1122
|
// typescript/index.ts
|
|
1119
|
-
var __version__ = "4.3.
|
|
1123
|
+
var __version__ = "4.3.7";
|
|
1120
1124
|
export {
|
|
1121
1125
|
CacheError,
|
|
1122
1126
|
ErrorCode,
|