From 9e6526315b88aead12154a8d8f5af87a6a1d8806 Mon Sep 17 00:00:00 2001 From: DMGithubPublisher Date: Tue, 19 Jan 2021 14:24:15 +0800 Subject: [PATCH] 8.1.0 --- README.md | 20 +-- dist/dbr-8.0.0.full.wasm | Bin 4284347 -> 0 bytes dist/dbr-8.0.0.node.wasm | Bin 4913164 -> 0 bytes dist/dbr-8.0.0.wasm | Bin 2854011 -> 0 bytes dist/dbr-8.0.0.worker.js | 109 --------------- dist/dbr-8.1.0.full.wasm | Bin 0 -> 4370904 bytes ...r-8.0.0.wasm.js => dbr-8.1.0.full.wasm.js} | 36 ++--- dist/dbr-8.1.0.node.wasm | Bin 0 -> 4999731 bytes ....0.node.wasm.js => dbr-8.1.0.node.wasm.js} | 90 ++++++------- dist/dbr-8.1.0.wasm | Bin 0 -> 2920109 bytes ...r-8.0.0.full.wasm.js => dbr-8.1.0.wasm.js} | 86 ++++++------ dist/dbr-8.1.0.worker.js | 111 +++++++++++++++ dist/dbr.browser.mjs | 6 +- dist/dbr.d.ts | 31 +++-- dist/dbr.js | 6 +- dist/dbr.mjs | 6 +- dist/dbr.reference.d.ts | 31 +++-- doc/api reference/assets/js/search.json | 2 +- doc/api reference/classes/barcodereader.html | 34 ++--- doc/api reference/classes/barcodescanner.html | 126 +++++++++--------- .../enumaccompanyingtextrecognitionmode.html | 6 +- .../enums/enumbarcodecolourmode.html | 6 +- .../enums/enumbarcodecomplementmode.html | 6 +- .../enums/enumbarcodeformat.html | 26 +++- .../enums/enumbarcodeformat_2.html | 6 +- .../enums/enumbinarizationmode.html | 6 +- doc/api reference/enums/enumchargeway.html | 6 +- .../enums/enumclaritycalculationmethod.html | 6 +- .../enums/enumclarityfiltermode.html | 6 +- .../enums/enumcolourclusteringmode.html | 6 +- .../enums/enumcolourconversionmode.html | 6 +- doc/api reference/enums/enumconflictmode.html | 6 +- doc/api reference/enums/enumdeblurmode.html | 6 +- .../enums/enumdeformationresistingmode.html | 6 +- .../enums/enumdpmcodereadingmode.html | 6 +- doc/api reference/enums/enumerrorcode.html | 62 ++++++++- .../enumgrayscaletransformationmode.html | 6 +- .../enums/enumimagepixelformat.html | 6 +- .../enums/enumimagepreprocessingmode.html | 6 +- .../enums/enumimresultdatatype.html | 6 +- .../enumintermediateresultsavingmode.html | 6 +- .../enums/enumintermediateresulttype.html | 6 +- .../enums/enumlicensemodule.html | 6 +- .../enums/enumlocalizationmode.html | 6 +- .../enums/enumpdfreadingmode.html | 6 +- .../enums/enumqrcodeerrorcorrectionlevel.html | 6 +- .../enums/enumregionpredetectionmode.html | 6 +- .../enums/enumresultcoordinatetype.html | 6 +- doc/api reference/enums/enumresulttype.html | 6 +- doc/api reference/enums/enumscaleupmode.html | 6 +- .../enums/enumterminatephase.html | 6 +- .../enums/enumtextassistedcorrectionmode.html | 6 +- .../enums/enumtextfiltermode.html | 6 +- .../enums/enumtextresultordermode.html | 6 +- .../enums/enumtexturedetectionmode.html | 6 +- doc/api reference/globals.html | 8 +- doc/api reference/index.html | 27 ++-- .../interfaces/barcodereaderexception.html | 6 +- doc/api reference/interfaces/framefilter.html | 6 +- .../interfaces/localizationresult.html | 6 +- .../interfaces/regiondefinition.html | 6 +- .../interfaces/runtimesettings.html | 6 +- .../interfaces/scanneropencallbackinfo.html | 6 +- .../interfaces/scannerplaycallbackinfo.html | 6 +- .../scannerupdatedevicecallbackinfo.html | 6 +- .../interfaces/scansettings.html | 6 +- doc/api reference/interfaces/textresult.html | 6 +- .../interfaces/videodeviceinfo.html | 6 +- example/hybrid/electron/package.json | 2 +- example/hybrid/nwjs/package.json | 2 +- example/sample-full.png | Bin 159222 -> 204048 bytes example/web/angular/package.json | 2 +- example/web/angular/src/app/dbr.ts | 2 +- example/web/angularDart/web/index.html | 2 +- example/web/debug/public/index.html | 2 +- .../index.html | 2 +- example/web/esmodule.html | 4 +- example/web/helloworld.html | 2 +- example/web/nuxtjs/package.json | 2 +- example/web/nuxtjs/plugins/dbr.js | 2 +- example/web/pwa/index.html | 2 +- example/web/react/package.json | 2 +- example/web/react/src/dbr.js | 2 +- example/web/requirejs.html | 4 +- example/web/typescript/index.html | 2 +- example/web/typescript/package.json | 2 +- example/web/typescript/script.ts | 2 +- example/web/vue/package.json | 2 +- example/web/vue/src/dbr.js | 2 +- example/web/webpack/package.json | 2 +- example/web/webpack/src/index.js | 2 +- package.js | 14 +- package.json | 2 +- 93 files changed, 622 insertions(+), 523 deletions(-) delete mode 100644 dist/dbr-8.0.0.full.wasm delete mode 100644 dist/dbr-8.0.0.node.wasm delete mode 100644 dist/dbr-8.0.0.wasm delete mode 100644 dist/dbr-8.0.0.worker.js create mode 100644 dist/dbr-8.1.0.full.wasm rename dist/{dbr-8.0.0.wasm.js => dbr-8.1.0.full.wasm.js} (94%) create mode 100644 dist/dbr-8.1.0.node.wasm rename dist/{dbr-8.0.0.node.wasm.js => dbr-8.1.0.node.wasm.js} (90%) create mode 100644 dist/dbr-8.1.0.wasm rename dist/{dbr-8.0.0.full.wasm.js => dbr-8.1.0.wasm.js} (91%) create mode 100644 dist/dbr-8.1.0.worker.js 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",