Skip to content

Commit f5315c6

Browse files
Ivan KamkinIvan Kamkin
authored andcommitted
README updated
1 parent e987f8c commit f5315c6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
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

6469
async 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;

0 commit comments

Comments
 (0)