@juspay/neurolink 8.35.0 → 8.35.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [8.35.1](https://github.com/juspay/neurolink/compare/v8.35.0...v8.35.1) (2026-01-15)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **(pdf):** reject empty PDFs with 0 pages instead of returning success ([92d8d4e](https://github.com/juspay/neurolink/commit/92d8d4eb3e6e675ee969e3a8ee92c5997dc416aa))
|
|
6
|
+
|
|
1
7
|
## [8.35.0](https://github.com/juspay/neurolink/compare/v8.34.1...v8.35.0) (2026-01-15)
|
|
2
8
|
|
|
3
9
|
### Features
|
|
@@ -309,6 +309,10 @@ export class PDFProcessor {
|
|
|
309
309
|
base64Length: base64Image.length,
|
|
310
310
|
});
|
|
311
311
|
}
|
|
312
|
+
// Check for empty PDF (0 pages)
|
|
313
|
+
if (images.length === 0) {
|
|
314
|
+
throw new Error("PDF has 0 pages. Cannot convert empty PDF to images.");
|
|
315
|
+
}
|
|
312
316
|
const conversionTimeMs = Date.now() - startTime;
|
|
313
317
|
logger.info("[PDF→Image] ✅ PDF conversion completed", {
|
|
314
318
|
pageCount: images.length,
|
|
@@ -309,6 +309,10 @@ export class PDFProcessor {
|
|
|
309
309
|
base64Length: base64Image.length,
|
|
310
310
|
});
|
|
311
311
|
}
|
|
312
|
+
// Check for empty PDF (0 pages)
|
|
313
|
+
if (images.length === 0) {
|
|
314
|
+
throw new Error("PDF has 0 pages. Cannot convert empty PDF to images.");
|
|
315
|
+
}
|
|
312
316
|
const conversionTimeMs = Date.now() - startTime;
|
|
313
317
|
logger.info("[PDF→Image] ✅ PDF conversion completed", {
|
|
314
318
|
pageCount: images.length,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "8.35.
|
|
3
|
+
"version": "8.35.1",
|
|
4
4
|
"description": "Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and deploy AI applications with 13 providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Juspay Technologies",
|