Skip to content

Commit a5da11a

Browse files
author
Cube
authored
Merge pull request #129 from Dynamsoft/_dev
9.6.11
2 parents 23b46f6 + 090df13 commit a5da11a

20 files changed

+83
-71
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.10
2+
URL=https://www.dynamsoft.com/barcode-reader/programming/javascript/api-reference/?ver=9.6.11

README.md

+41-52
Large diffs are not rendered by default.

dist/dbr-9.6.10.browser.worker.js renamed to dist/dbr-9.6.11.browser.worker.js

+2-2
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

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

dist/dbr.mjs

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

dist/dbr.pure.esm.js

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

dist/dbr.pure.js

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

dist/dbr.pure.mjs

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

dist/types/class/barcodereader.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export default class BarcodeReader {
100100
static get deviceFriendlyName(): string;
101101
/** @ignore */
102102
static set deviceFriendlyName(value: string);
103+
static authCacheVersion: string;
103104
/** @ignore */
104105
static _isShowRelDecodeTimeInResults: boolean;
105106
/** @ignore */

dist/types/class/barcodescanner.d.ts

+22
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ export default class BarcodeScanner extends BarcodeReader {
314314
*/
315315
isOpen(): boolean;
316316
setVideoFit(value: string): void;
317+
getVideoFit(): string;
317318
/**
318319
* Whether to show scan region mask.
319320
*/
@@ -626,6 +627,27 @@ export default class BarcodeScanner extends BarcodeReader {
626627
enableTapToFocus(): Promise<void>;
627628
disableTapToFocus(): void;
628629
isTapToFocusEnabled(): boolean;
630+
/**
631+
* Transform the coordinates from related to the video to related to the viewport and document.
632+
* @param coord
633+
* @returns
634+
* @private
635+
*/
636+
private transformCoord;
637+
convertToPageCoordinates(point: {
638+
x: number;
639+
y: number;
640+
}): {
641+
x: number;
642+
y: number;
643+
};
644+
convertToClientCoordinates(point: {
645+
x: number;
646+
y: number;
647+
}): {
648+
x: number;
649+
y: number;
650+
};
629651
/**
630652
* Destroy the `BarcodeScanner` instance. If your page needs to create new instances from time to time, don't forget to destroy unused old instances, otherwise it will cause memory leaks.
631653
* @category Initialize and Destroy

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.10",
3+
"version": "9.6.11",
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.5",
69+
"@scannerproxy/dlsjs": "^2.0.7",
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.10
2+
URL=https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v9.6.11

0 commit comments

Comments
 (0)