diff --git a/README.md b/README.md index aa63aa40..8bbc50be 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ $ npm install dynamsoft-javascript-barcode --save cdn ```html - + - + ``` [Download zip](https://www.dynamsoft.com/Downloads/Dynamic-Barcode-Reader-Download.aspx?edition=js) @@ -36,7 +36,7 @@ cdn Please visit https://www.dynamsoft.com/customer/license/trialLicense to get a valid license and update `PRODUCT-KEYS`: ```html - + ``` ## Quick Usage @@ -45,7 +45,7 @@ Please visit https://www.dynamsoft.com/customer/license/trialLicense to get a va - + + + ``` The same can be done with other CDNs like `unpkg` ```javascript - + ``` > **NOTE**: : Since we do change the library a bit in each release, to make sure your application doesn't get interrupted by automatic updates, use a specific version in your production environment, as shown above. Using a general major version like `@7` is not recommended. @@ -431,7 +431,7 @@ The following introduces the 3rd way. Check out the following code on how it's d - + + diff --git a/example/web/debug/public/index.html b/example/web/debug/public/index.html index 7760f77c..1c7c7b50 100644 --- a/example/web/debug/public/index.html +++ b/example/web/debug/public/index.html @@ -18,7 +18,7 @@ - + + + + + diff --git a/example/web/typescript/package.json b/example/web/typescript/package.json index 7b9d4742..f442fb35 100644 --- a/example/web/typescript/package.json +++ b/example/web/typescript/package.json @@ -2,7 +2,7 @@ "name": "dbrjs-ts", "version": "1.0.0", "dependencies": { - "dynamsoft-javascript-barcode": "8.0.0", + "dynamsoft-javascript-barcode": "8.1.0", "@types/node": "^13.9.8", "typescript": "^3.8.3" } diff --git a/example/web/typescript/script.ts b/example/web/typescript/script.ts index 42ae5bbc..b50c151b 100644 --- a/example/web/typescript/script.ts +++ b/example/web/typescript/script.ts @@ -1,6 +1,6 @@ /// -Dynamsoft.DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.0.0/dist/"; +Dynamsoft.DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.0/dist/"; // Please visit https://www.dynamsoft.com/customer/license/trialLicense to get a trial license Dynamsoft.DBR.BarcodeReader.productKeys = "PRODUCT-KEYS"; // Dynamsoft.DBR.BarcodeReader._bUseFullFeature = true; // Control of loading min wasm or full wasm. diff --git a/example/web/vue/package.json b/example/web/vue/package.json index 8f5fceb9..5547211f 100644 --- a/example/web/vue/package.json +++ b/example/web/vue/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "core-js": "^3.4.3", - "dynamsoft-javascript-barcode": "8.0.0", + "dynamsoft-javascript-barcode": "8.1.0", "vue": "^2.6.10" }, "devDependencies": { diff --git a/example/web/vue/src/dbr.js b/example/web/vue/src/dbr.js index a75b184d..3a569f09 100644 --- a/example/web/vue/src/dbr.js +++ b/example/web/vue/src/dbr.js @@ -1,5 +1,5 @@ import DBR from "dynamsoft-javascript-barcode"; -DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.0.0/dist/"; +DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.0/dist/"; // Please visit https://www.dynamsoft.com/customer/license/trialLicense to get a trial license DBR.BarcodeReader.productKeys = "PRODUCT-KEYS"; // DBR.BarcodeReader._bUseFullFeature = true; // Control of loading min wasm or full wasm. diff --git a/example/web/webpack/package.json b/example/web/webpack/package.json index 1c3823d0..0c879bce 100644 --- a/example/web/webpack/package.json +++ b/example/web/webpack/package.json @@ -12,6 +12,6 @@ "webpack": "^4.41.3" }, "dependencies": { - "dynamsoft-javascript-barcode": "8.0.0" + "dynamsoft-javascript-barcode": "8.1.0" } } diff --git a/example/web/webpack/src/index.js b/example/web/webpack/src/index.js index b6f5156b..9820f9ed 100644 --- a/example/web/webpack/src/index.js +++ b/example/web/webpack/src/index.js @@ -1,6 +1,6 @@ /* eslint-disable no-console */ import { BarcodeReader, BarcodeScanner } from "dynamsoft-javascript-barcode"; -BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.0.0/dist/"; +BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.0/dist/"; // Please visit https://www.dynamsoft.com/customer/license/trialLicense to get a trial license BarcodeReader.productKeys = "PRODUCT-KEYS"; // BarcodeReader._bUseFullFeature = true; // Control of loading min wasm or full wasm. diff --git a/package.js b/package.js index 79cab6f6..de0d8df8 100644 --- a/package.js +++ b/package.js @@ -12,13 +12,13 @@ Package.onUse(function(api) { "/dist/dbr.js", "/dist/dbr.mjs", "/dist/dbr.browser.mjs", - "/dist/dbr-8.0.0.worker.js", - "/dist/dbr-8.0.0.wasm.js", - "/dist/dbr-8.0.0.wasm", - "/dist/dbr-8.0.0.full.wasm.js", - "/dist/dbr-8.0.0.full.wasm", - "/dist/dbr-8.0.0.node.wasm.js", - "/dist/dbr-8.0.0.node.wasm", + "/dist/dbr-8.1.0.worker.js", + "/dist/dbr-8.1.0.wasm.js", + "/dist/dbr-8.1.0.wasm", + "/dist/dbr-8.1.0.full.wasm.js", + "/dist/dbr-8.1.0.full.wasm", + "/dist/dbr-8.1.0.node.wasm.js", + "/dist/dbr-8.1.0.node.wasm", "/dist/dbr.d.ts", "/dist/dbr.reference.d.ts", "/dist/dbr.scanner.html" diff --git a/package.json b/package.json index 16f250b1..a33845fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dynamsoft-javascript-barcode", - "version": "8.0.0", + "version": "8.1.0", "description": "Dynamsoft Barcode Reader JS is a recognition SDK which enables you to embed barcode reading functionality in your web, desktop, and mobile applications. With a few lines of JavaScript code, you can develop a robust application to scan a linear barcode, QR Code, DaraMatrix, PDF417, and Aztec Code.", "files": [ "/dist/dbr.js",