ocr-document-classification
Advanced tools
Comparing version 1.2.12 to 1.2.13
@@ -29,2 +29,3 @@ // src/functions.ts | ||
if (blob) { | ||
console.log("Converted PDF to Blob!"); | ||
resolve(blob); | ||
@@ -83,2 +84,3 @@ } else { | ||
blobToRead = await convert(pdfPath); | ||
console.log("Blob to read set by convert function"); | ||
} else { | ||
@@ -124,2 +126,3 @@ blobToRead = file; | ||
} catch (err) { | ||
console.error(err); | ||
reject(err); | ||
@@ -126,0 +129,0 @@ } |
{ | ||
"name": "ocr-document-classification", | ||
"version": "1.2.12", | ||
"version": "1.2.13", | ||
"description": "Document classification using tesseract.js and string-similarity-js.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.cjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
33204
329