Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Api Reference.url
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[InternetShortcut]
URL=https://www.dynamsoft.com/barcode-reader/programming/javascript/api-reference/?ver=9.6.10
URL=https://www.dynamsoft.com/barcode-reader/programming/javascript/api-reference/?ver=9.6.11
93 changes: 41 additions & 52 deletions README.md

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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.
6 changes: 3 additions & 3 deletions dist/dbr.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/dbr.mjs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/dbr.pure.esm.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dbr.pure.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dbr.pure.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/types/class/barcodereader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export default class BarcodeReader {
static get deviceFriendlyName(): string;
/** @ignore */
static set deviceFriendlyName(value: string);
static authCacheVersion: string;
/** @ignore */
static _isShowRelDecodeTimeInResults: boolean;
/** @ignore */
Expand Down
22 changes: 22 additions & 0 deletions dist/types/class/barcodescanner.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ export default class BarcodeScanner extends BarcodeReader {
*/
isOpen(): boolean;
setVideoFit(value: string): void;
getVideoFit(): string;
/**
* Whether to show scan region mask.
*/
Expand Down Expand Up @@ -626,6 +627,27 @@ export default class BarcodeScanner extends BarcodeReader {
enableTapToFocus(): Promise<void>;
disableTapToFocus(): void;
isTapToFocusEnabled(): boolean;
/**
* Transform the coordinates from related to the video to related to the viewport and document.
* @param coord
* @returns
* @private
*/
private transformCoord;
convertToPageCoordinates(point: {
x: number;
y: number;
}): {
x: number;
y: number;
};
convertToClientCoordinates(point: {
x: number;
y: number;
}): {
x: number;
y: number;
};
/**
* 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.
* @category Initialize and Destroy
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dynamsoft-javascript-barcode",
"version": "9.6.10",
"version": "9.6.11",
"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.",
"private": false,
"files": [
Expand Down Expand Up @@ -66,7 +66,7 @@
"@rollup/plugin-typescript": "8.3.0",
"@scannerproxy/browser-info": "^1.0.7",
"@scannerproxy/curscript-path": "^1.0.3",
"@scannerproxy/dlsjs": "^2.0.5",
"@scannerproxy/dlsjs": "^2.0.7",
"@types/node": "16.11.2",
"@types/node-fetch": "2.6.1",
"@types/node-localstorage": "1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion samples.url
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[InternetShortcut]
URL=https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v9.6.10
URL=https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v9.6.11