Skip to content

Commit fdb0b82

Browse files
author
Cube
authored
Merge pull request #125 from Dynamsoft/_dev
9.6.2
2 parents 30254af + 3dc1aa8 commit fdb0b82

21 files changed

+127
-114
lines changed

Api Reference.url

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[InternetShortcut]
2-
URL=https://www.dynamsoft.com/barcode-reader/programming/javascript/api-reference/?ver=9.6.1
2+
URL=https://www.dynamsoft.com/barcode-reader/programming/javascript/api-reference/?ver=9.6.2

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright © 2003–2022 Dynamsoft. All Rights Reserved.
1+
Copyright © 2003–2023 Dynamsoft. All Rights Reserved.
22

33
The use of this software is governed by the Dynamsoft Terms and Conditions.
44
https://www.dynamsoft.com/barcode-reader/license-agreement/#javascript

README.md

+93-84
Large diffs are not rendered by default.

dist/dbr-9.6.1.browser.worker.js renamed to dist/dbr-9.6.2.browser.worker.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

dist/dbr.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dbr.mjs

+4-4
Large diffs are not rendered by default.

dist/dbr.pure.esm.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dbr.pure.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dbr.pure.mjs

+3-3
Large diffs are not rendered by default.

dist/types/class/barcodereader.d.ts

+6-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default class BarcodeReader {
2828
* ```
2929
* For convenience, you can set `license` in `script` tag instead.
3030
* ```html
31-
* <script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@9.6.1/dist/dbr.js" data-license="PRODUCT-KEYS"></script>
31+
* <script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode/dist/dbr.js" data-license="PRODUCT-KEYS"></script>
3232
* ```
3333
*/
3434
static set license(license: string);
@@ -83,7 +83,7 @@ export default class BarcodeReader {
8383
* If the auto-explored engine location is incorrect, you can manually specify the engine location.
8484
* The property needs to be set before [[loadWasm]].
8585
* ```js
86-
* Dynamsoft.DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@9.6.1/dist/";
86+
* Dynamsoft.DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode/dist/";
8787
* await Dynamsoft.DBR.BarcodeReader.loadWasm();
8888
* ```
8989
*/
@@ -230,7 +230,7 @@ export default class BarcodeReader {
230230
* The url of the default scanner UI.
231231
* Can only be changed before `createInstance`.
232232
* ```js
233-
* Dynamsoft.DBR.BarcodeScanner.defaultUIElementURL = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@9.6.1/dist/dbr.ui.html";
233+
* Dynamsoft.DBR.BarcodeScanner.defaultUIElementURL = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode/dist/dbr.ui.html";
234234
* let pScanner = null;
235235
* (async()=>{
236236
* let scanner = await (pScanner = pScanner || Dynamsoft.DBR.BarcodeScanner.createInstance());
@@ -362,6 +362,8 @@ export default class BarcodeReader {
362362
protected autoZoomDetectionArea: number;
363363
protected autoZoom: boolean;
364364
protected autoFocus: boolean;
365+
protected _clearResultsCanvasTimeoutId: any;
366+
_resultHighlightingDuration: number;
365367
private _dce;
366368
protected set dce(value: CameraEnhancer);
367369
protected get dce(): CameraEnhancer;
@@ -537,6 +539,7 @@ export default class BarcodeReader {
537539
* @category Runtime Settings
538540
*/
539541
resetRuntimeSettings(): Promise<void>;
542+
_resetRuntimeSettingsToCppDefault(): Promise<void>;
540543
/**
541544
* Output runtime settings to a string.
542545
* ```js

dist/types/class/barcodescanner.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ export default class BarcodeScanner extends BarcodeReader {
211211
* @category Runtime Settings
212212
*/
213213
updateRuntimeSettings(settings: RuntimeSettings | string): Promise<void>;
214+
_resetRuntimeSettingsToCppDefault(): Promise<void>;
214215
/** @ignore */
215216
_onCameraSelChange: () => void;
216217
/** @ignore */
@@ -583,7 +584,7 @@ export default class BarcodeScanner extends BarcodeReader {
583584
/**
584585
* Bind UI, open the camera, start decoding, and remove the UIElement `display` style if the original style is `display:none;`.
585586
* ```js
586-
* await scanner.setUIElement("https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@9.6.1/dist/dbr.ui.html");
587+
* await scanner.setUIElement("https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode/dist/dbr.ui.html");
587588
* scanner.onUniqueRead = (txt, result) => { alert(txt); console.log(result); };
588589
* await scanner.show();
589590
* // await scanner.hide();

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dynamsoft-javascript-barcode",
3-
"version": "9.6.1",
3+
"version": "9.6.2",
44
"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.",
55
"private": false,
66
"files": [
@@ -66,7 +66,7 @@
6666
"@rollup/plugin-typescript": "8.3.0",
6767
"@scannerproxy/browser-info": "^1.0.7",
6868
"@scannerproxy/curscript-path": "^1.0.3",
69-
"@scannerproxy/dlsjs": "^2.0.2",
69+
"@scannerproxy/dlsjs": "^2.0.5",
7070
"@types/node": "16.11.2",
7171
"@types/node-fetch": "2.6.1",
7272
"@types/node-localstorage": "1.3.0",

samples.url

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[InternetShortcut]
2-
URL=https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v9.6.1
2+
URL=https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v9.6.2

0 commit comments

Comments
 (0)