File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 77+ API version: 4.0
88+ Package version: 25.1.0
99
10+ ## SDK and API Version Compatibility:
11+
12+ - SDK Version 25.1 and Later: Starting from SDK version 25.1, all subsequent versions are compatible with API Version v4.0.
13+ - SDK Version 24.12 and Earlier: These versions are compatible with API Version v3.0.
14+
1015## Demo applications
1116
1217[ Scan QR] ( https://products.aspose.app/barcode/scanqr ) | [ Generate Barcode] ( https://products.aspose.app/barcode/generate ) | [ Recognize Barcode] ( https://products.aspose.app/barcode/recognize )
@@ -63,8 +68,7 @@ async function generateBarcode(api) {
6368
6469async function scanBarcode (api , fileName ) {
6570
66- const requestFile = new RequestFile (' file' , fileName, fs .readFileSync (fileName));
67- const scanRequest = new Barcode.ScanMultipartRequestWrapper (requestFile);
71+ const scanRequest = new Barcode.ScanMultipartRequestWrapper (fs .readFileSync (fileName));
6872 const result = await api .scanMultipart (scanRequest);
6973
7074 return result .body .barcodes ;
You can’t perform that action at this time.
0 commit comments