diff --git a/.gitignore b/.gitignore index 93e73f83..1c26b249 100644 --- a/.gitignore +++ b/.gitignore @@ -56,6 +56,7 @@ yarn.lock !/dist/dbr.d.ts !/dist/dbr.reference.d.ts !/dist/dbr.scanner.html +!/dist/lts.license.dialog.html !/dist/README.md !/README.md diff --git a/README.md b/README.md index 101864b7..a97cf5a6 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/barcode-reader/downloads/?utm_source=github&package=js) @@ -36,7 +36,7 @@ cdn Please visit https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=github&package=js 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/?product=db - + + + ``` 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. @@ -440,7 +440,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 aafc0ab5..82983db1 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 b31d8eb6..9d25caf8 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.2.3", + "dynamsoft-javascript-barcode": "8.2.5", "@types/node": "^13.9.8", "typescript": "^3.8.3" } diff --git a/example/web/typescript/script.ts b/example/web/typescript/script.ts index eddea33a..ff5ebad6 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.2.3/dist/"; +Dynamsoft.DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.2.5/dist/"; // Please visit https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=github&package=js 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 811b3317..87d0c314 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.2.3", + "dynamsoft-javascript-barcode": "8.2.5", "vue": "^2.6.10" }, "devDependencies": { diff --git a/example/web/vue/src/dbr.js b/example/web/vue/src/dbr.js index 15aa7ec7..86e1f433 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.2.3/dist/"; +DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.2.5/dist/"; // Please visit https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=github&package=js 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/vue3/package.json b/example/web/vue3/package.json index 357880ac..22db90b0 100644 --- a/example/web/vue3/package.json +++ b/example/web/vue3/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "core-js": "^3.6.5", - "dynamsoft-javascript-barcode": "8.2.3", + "dynamsoft-javascript-barcode": "8.2.5", "vue": "^3.0.0" }, "devDependencies": { diff --git a/example/web/vue3/src/dbr.js b/example/web/vue3/src/dbr.js index 15aa7ec7..86e1f433 100644 --- a/example/web/vue3/src/dbr.js +++ b/example/web/vue3/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.2.3/dist/"; +DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.2.5/dist/"; // Please visit https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=github&package=js 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 a7847842..a8531416 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.2.3" + "dynamsoft-javascript-barcode": "8.2.5" } } diff --git a/example/web/webpack/src/index.js b/example/web/webpack/src/index.js index 29af986b..9d9f24c1 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.2.3/dist/"; +BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.2.5/dist/"; // Please visit https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=github&package=js 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 ec5206ed..41fcc66b 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.2.3.worker.js", - "/dist/dbr-8.2.3.wasm.js", - "/dist/dbr-8.2.3.wasm", - "/dist/dbr-8.2.3.full.wasm.js", - "/dist/dbr-8.2.3.full.wasm", - "/dist/dbr-8.2.3.node.wasm.js", - "/dist/dbr-8.2.3.node.wasm", + "/dist/dbr-8.2.5.worker.js", + "/dist/dbr-8.2.5.wasm.js", + "/dist/dbr-8.2.5.wasm", + "/dist/dbr-8.2.5.full.wasm.js", + "/dist/dbr-8.2.5.full.wasm", + "/dist/dbr-8.2.5.node.wasm.js", + "/dist/dbr-8.2.5.node.wasm", "/dist/dbr.d.ts", "/dist/dbr.reference.d.ts", "/dist/dbr.scanner.html" diff --git a/package.json b/package.json index 60085aca..bcfe0acd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dynamsoft-javascript-barcode", - "version": "8.2.3", + "version": "8.2.5", "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", @@ -11,7 +11,8 @@ "/dist/dbr-*.wasm", "/dist/dbr.d.ts", "/dist/dbr.reference.d.ts", - "/dist/dbr.scanner.html" + "/dist/dbr.scanner.html", + "/dist/lts.license.dialog.html" ], "homepage": "https://www.dynamsoft.com/Products/barcode-recognition-javascript.aspx", "main": "dist/dbr.js", @@ -67,8 +68,6 @@ "webpack-cli": "^3.3.7", "webpack-merge": "^4.2.2" }, - "dependencies": { - }, "peerDependencies": { "node-fetch": "^2.6.1", "node-localstorage": "^2.1.6"