From 2723c873428a5d2278d8df0820be9355433096a4 Mon Sep 17 00:00:00 2001 From: DMGithubPublisher Date: Fri, 22 Jan 2021 14:17:29 +0800 Subject: [PATCH] 8.1.2 --- README.md | 16 +-- ...br-8.1.0.full.wasm => dbr-8.1.2.full.wasm} | Bin 4370904 -> 4372735 bytes ....0.full.wasm.js => dbr-8.1.2.full.wasm.js} | 12 +-- ...br-8.1.0.node.wasm => dbr-8.1.2.node.wasm} | Bin 4999731 -> 5001567 bytes ....0.node.wasm.js => dbr-8.1.2.node.wasm.js} | 16 +-- dist/{dbr-8.1.0.wasm => dbr-8.1.2.wasm} | Bin 2920109 -> 2921623 bytes dist/{dbr-8.1.0.wasm.js => dbr-8.1.2.wasm.js} | 12 +-- ...br-8.1.0.worker.js => dbr-8.1.2.worker.js} | 94 ++++++++--------- dist/dbr.browser.mjs | 4 +- dist/dbr.d.ts | 8 +- dist/dbr.js | 4 +- dist/dbr.mjs | 4 +- dist/dbr.reference.d.ts | 8 +- doc/api reference/classes/barcodereader.html | 34 +++--- doc/api reference/classes/barcodescanner.html | 99 +++++++++--------- .../enumaccompanyingtextrecognitionmode.html | 6 +- .../enums/enumbarcodecolourmode.html | 6 +- .../enums/enumbarcodecomplementmode.html | 6 +- .../enums/enumbarcodeformat.html | 6 +- .../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 | 6 +- .../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 | 24 ++--- .../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/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 +- 87 files changed, 344 insertions(+), 339 deletions(-) rename dist/{dbr-8.1.0.full.wasm => dbr-8.1.2.full.wasm} (60%) rename dist/{dbr-8.1.0.full.wasm.js => dbr-8.1.2.full.wasm.js} (99%) rename dist/{dbr-8.1.0.node.wasm => dbr-8.1.2.node.wasm} (63%) rename dist/{dbr-8.1.0.node.wasm.js => dbr-8.1.2.node.wasm.js} (99%) rename dist/{dbr-8.1.0.wasm => dbr-8.1.2.wasm} (61%) rename dist/{dbr-8.1.0.wasm.js => dbr-8.1.2.wasm.js} (99%) rename dist/{dbr-8.1.0.worker.js => dbr-8.1.2.worker.js} (85%) diff --git a/README.md b/README.md index 8bbc50be..0ea480ed 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 1c7c7b50..e7d1efa5 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 f442fb35..f09a3392 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.1.0", + "dynamsoft-javascript-barcode": "8.1.2", "@types/node": "^13.9.8", "typescript": "^3.8.3" } diff --git a/example/web/typescript/script.ts b/example/web/typescript/script.ts index b50c151b..66ffb267 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.1.0/dist/"; +Dynamsoft.DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.2/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 5547211f..d5a5a728 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.1.0", + "dynamsoft-javascript-barcode": "8.1.2", "vue": "^2.6.10" }, "devDependencies": { diff --git a/example/web/vue/src/dbr.js b/example/web/vue/src/dbr.js index 3a569f09..a494ca81 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.1.0/dist/"; +DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.2/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 0c879bce..2f653401 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.1.0" + "dynamsoft-javascript-barcode": "8.1.2" } } diff --git a/example/web/webpack/src/index.js b/example/web/webpack/src/index.js index 9820f9ed..62736258 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.1.0/dist/"; +BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.2/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 de0d8df8..0d6319ef 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.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-8.1.2.worker.js", + "/dist/dbr-8.1.2.wasm.js", + "/dist/dbr-8.1.2.wasm", + "/dist/dbr-8.1.2.full.wasm.js", + "/dist/dbr-8.1.2.full.wasm", + "/dist/dbr-8.1.2.node.wasm.js", + "/dist/dbr-8.1.2.node.wasm", "/dist/dbr.d.ts", "/dist/dbr.reference.d.ts", "/dist/dbr.scanner.html" diff --git a/package.json b/package.json index a33845fe..e171c19a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dynamsoft-javascript-barcode", - "version": "8.1.0", + "version": "8.1.2", "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",