@juspay/neurolink 8.23.1 → 8.23.2
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.23.2](https://github.com/juspay/neurolink/compare/v8.23.1...v8.23.2) (2025-12-27)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **(format):** Add format validation to PDF image conversion ([bdd3285](https://github.com/juspay/neurolink/commit/bdd32855daa25d1e0fd1e94db6d97055fd5bd478))
|
|
6
|
+
|
|
1
7
|
## [8.23.1](https://github.com/juspay/neurolink/compare/v8.23.0...v8.23.1) (2025-12-24)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
|
@@ -222,6 +222,10 @@ export class PDFProcessor {
|
|
|
222
222
|
const scale = options?.scale || 2.0;
|
|
223
223
|
const format = options?.format || "png";
|
|
224
224
|
const quality = options?.quality || 0.9;
|
|
225
|
+
// Validate format
|
|
226
|
+
if (format !== "png" && format !== "jpeg") {
|
|
227
|
+
throw new Error(`Invalid format: "${format}". Supported formats: "png", "jpeg".`);
|
|
228
|
+
}
|
|
225
229
|
let pdfDocument = null;
|
|
226
230
|
try {
|
|
227
231
|
const loadingTask = pdfjs.getDocument({
|
|
@@ -222,6 +222,10 @@ export class PDFProcessor {
|
|
|
222
222
|
const scale = options?.scale || 2.0;
|
|
223
223
|
const format = options?.format || "png";
|
|
224
224
|
const quality = options?.quality || 0.9;
|
|
225
|
+
// Validate format
|
|
226
|
+
if (format !== "png" && format !== "jpeg") {
|
|
227
|
+
throw new Error(`Invalid format: "${format}". Supported formats: "png", "jpeg".`);
|
|
228
|
+
}
|
|
225
229
|
let pdfDocument = null;
|
|
226
230
|
try {
|
|
227
231
|
const loadingTask = pdfjs.getDocument({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "8.23.
|
|
3
|
+
"version": "8.23.2",
|
|
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 9 major providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Juspay Technologies",
|