capacitor-plugin-scanbot-sdk
Advanced tools
Comparing version 5.1.0-beta.1 to 5.1.0-rc.1
@@ -6,3 +6,3 @@ export type Status = 'OK' | 'CANCELED'; | ||
export type ResultWrapperWithMetadata<T, K> = { | ||
metadata?: K; | ||
metadata: K; | ||
} & ResultWrapper<T>; | ||
@@ -9,0 +9,0 @@ export type DocumentScannerMetadata = { |
import type { ParametricFilter } from './ParametricFilters'; | ||
import type { CreatePDFArguments, DetectBarcodesOnImageArguments, DocumentQualityAnalyzerArguments, ExtractImagesFromPdfArguments, ExtractPagesFromPdfArguments, PerformOCRArguments, RecognizeGenericDocumentArguments, RecognizeMedicalCertificateArguments, WriteTIFFArguments } from './arguments'; | ||
import type { BarcodeScannerConfiguration, BatchBarcodeScannerConfiguration, CheckRecognizerConfiguration, CroppingConfiguration, DocumentScannerConfiguration, FinderDocumentScannerConfiguration, GenericDocumentRecognizerConfiguration, HealthInsuranceCardScannerConfiguration, LicensePlateScannerConfiguration, MedicalCertificateRecognizerConfiguration, MrzScannerConfiguration, ScanbotSdkConfiguration, TextDataScannerConfiguration, VinScannerConfiguration } from './configurations'; | ||
import type { ResultWrapper } from './customTypes'; | ||
import type { DocumentScannerMetadata, ResultWrapper, ResultWrapperWithMetadata } from './customTypes'; | ||
import type { CheckDocumentModelRootType } from './documents/CheckDocumentModel'; | ||
@@ -12,3 +12,3 @@ import type { ApplyImageFiltersResult, BarcodeScannerResult, BatchBarcodeScannerResult, CheckRecognizerResult, CreatePDFResult, CroppingResult, DetectBarcodesOnImageResult, DetectDocumentResult, DocumentQualityAnalyzerResult, DocumentScannerResult, ExtractImagesFromPdfResult, ExtractPagesFromPdfResult, GenericDocumentRecognizerResult, GetImageDataResult, GetLicenseInfoResult, GetOCRConfigsResult, HealthInsuranceCardScannerResult, InitializeSDKResult, LicensePlateScannerResult, MedicalCertificateScannerResult, MrzScannerResult, PerformOCRResult, RecognizeEHICResult, RecognizeGenericDocumentResult, RecognizeMedicalCertificateResult, RecognizeMRZResult, RefreshImageUrisResult, RotateImageResult, TextDataScannerResult, VinScannerResult, WriteTIFFResult } from './results'; | ||
*/ | ||
startDocumentScanner(configuration: DocumentScannerConfiguration): Promise<ResultWrapper<DocumentScannerResult>>; | ||
startDocumentScanner(configuration: DocumentScannerConfiguration): Promise<ResultWrapperWithMetadata<DocumentScannerResult, DocumentScannerMetadata>>; | ||
/** | ||
@@ -15,0 +15,0 @@ * Forces the Ready-To-Use UI Document Scanner screen to close while it is running. |
@@ -33,3 +33,3 @@ import type { GenericDocument } from './documents/GenericDocument'; | ||
export interface DetectDocumentResult { | ||
/** The URI of the document image file, if something is detected */ | ||
/** The URI of the document image file (cropped image if something is detected) */ | ||
documentImageFileUri: string; | ||
@@ -36,0 +36,0 @@ /** The array of detected polygon points, if something is detected */ |
{ | ||
"name": "capacitor-plugin-scanbot-sdk", | ||
"version": "5.1.0-beta.1", | ||
"version": "5.1.0-rc.1", | ||
"description": "Scanbot Document and Barcode Scanner SDK for Capacitor", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
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
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4147388
0