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
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ $ npm install dynamsoft-javascript-barcode --save

cdn
```html
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.2/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<!-- or -->
<script src="https://unpkg.com/dynamsoft-javascript-barcode@8.1.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<script src="https://unpkg.com/dynamsoft-javascript-barcode@8.1.2/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
```

[Download zip](https://www.dynamsoft.com/Downloads/Dynamic-Barcode-Reader-Download.aspx?edition=js)
Expand All @@ -36,7 +36,7 @@ cdn
Please visit https://www.dynamsoft.com/customer/license/trialLicense to get a valid license and update `PRODUCT-KEYS`:

```html
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.2/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
```

## Quick Usage
Expand All @@ -45,7 +45,7 @@ Please visit https://www.dynamsoft.com/customer/license/trialLicense to get a va
<!DOCTYPE html>
<html>
<body>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.2/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<script>
let scanner = null;
(async()=>{
Expand Down Expand Up @@ -216,7 +216,7 @@ Create an HTML file with the following content. Deploy this to your web server a
<html>
<body>
<!-- Please visit https://www.dynamsoft.com/customer/license/trialLicense to get a trial license. -->
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.2/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<script>
let scanner = null;
(async()=>{
Expand Down Expand Up @@ -275,13 +275,13 @@ Now, take a look at the sample code. You can find that there is nothing but two
* The following script includes the core library in the application via a [jsDelivr](https://www.jsdelivr.com/) CDN

```javascript
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.2/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
```

The same can be done with other CDNs like `unpkg`

```javascript
<script src="https://unpkg.com/dynamsoft-javascript-barcode@8.1.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<script src="https://unpkg.com/dynamsoft-javascript-barcode@8.1.2/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
```

> **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.
Expand Down Expand Up @@ -431,7 +431,7 @@ The following introduces the 3rd way. Check out the following code on how it's d
<video class="dbrScanner-video" playsinline="true"></video>
</div>
<!-- Please visit https://www.dynamsoft.com/customer/license/trialLicense to get a trial license. -->
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.1.2/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
<script>
let scanner = null;
(async()=>{
Expand Down
Binary file not shown.
12 changes: 6 additions & 6 deletions dist/dbr-8.1.0.full.wasm.js → dist/dbr-8.1.2.full.wasm.js

Large diffs are not rendered by default.

Binary file not shown.
16 changes: 8 additions & 8 deletions dist/dbr-8.1.0.node.wasm.js → dist/dbr-8.1.2.node.wasm.js

Large diffs are not rendered by default.

Binary file renamed dist/dbr-8.1.0.wasm → dist/dbr-8.1.2.wasm
Binary file not shown.
12 changes: 6 additions & 6 deletions dist/dbr-8.1.0.wasm.js → dist/dbr-8.1.2.wasm.js

Large diffs are not rendered by default.

94 changes: 47 additions & 47 deletions dist/dbr-8.1.0.worker.js → dist/dbr-8.1.2.worker.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions dist/dbr.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @website http://www.dynamsoft.com
* @preserve Copyright 2021, Dynamsoft Corporation
* @author Dynamsoft
* @version 8.1.0 (js 20210118)
* @version 8.1.2 (js 20210121)
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
* More info on DBR JS: https://www.dynamsoft.com/Products/barcode-recognition-javascript.aspx
*/
Expand Down Expand Up @@ -417,8 +417,9 @@ export declare class BarcodeReader {
maxVideoCvsLength: number;
protected videoCvses?: (HTMLCanvasElement | OffscreenCanvas)[];
protected videoGlCvs?: HTMLCanvasElement | OffscreenCanvas;
protected videoGlCtx?: WebGLRenderingContext | WebGL2RenderingContext;
protected glGreyProgram?: WebGLProgram;
protected videoGl?: WebGLRenderingContext | WebGL2RenderingContext;
protected glImgData?: Uint8Array;
protected bufferShared: Uint8Array | Uint8ClampedArray;
protected bFilterRegionInJs: boolean;
protected userDefinedRegion: any;
protected _region?: RegionDefinition | RegionDefinition[];
Expand Down Expand Up @@ -829,6 +830,7 @@ export declare class BarcodeScanner extends BarcodeReader {
* scanner.bPlaySoundOnSuccessfulRead = "unduplicated";
* });
* ```
* refer: `favicon bug` https://bugs.chromium.org/p/chromium/issues/detail?id=1069731&q=favicon&can=2
*/
bPlaySoundOnSuccessfulRead: (boolean | string);
/** @ignore */
Expand Down
4 changes: 2 additions & 2 deletions dist/dbr.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions dist/dbr.reference.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @website http://www.dynamsoft.com
* @preserve Copyright 2021, Dynamsoft Corporation
* @author Dynamsoft
* @version 8.1.0 (js 20210118)
* @version 8.1.2 (js 20210121)
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
* More info on DBR JS: https://www.dynamsoft.com/Products/barcode-recognition-javascript.aspx
*/
Expand Down Expand Up @@ -417,8 +417,9 @@ declare class BarcodeReader {
maxVideoCvsLength: number;
protected videoCvses?: (HTMLCanvasElement | OffscreenCanvas)[];
protected videoGlCvs?: HTMLCanvasElement | OffscreenCanvas;
protected videoGlCtx?: WebGLRenderingContext | WebGL2RenderingContext;
protected glGreyProgram?: WebGLProgram;
protected videoGl?: WebGLRenderingContext | WebGL2RenderingContext;
protected glImgData?: Uint8Array;
protected bufferShared: Uint8Array | Uint8ClampedArray;
protected bFilterRegionInJs: boolean;
protected userDefinedRegion: any;
protected _region?: RegionDefinition | RegionDefinition[];
Expand Down Expand Up @@ -829,6 +830,7 @@ declare class BarcodeScanner extends BarcodeReader {
* scanner.bPlaySoundOnSuccessfulRead = "unduplicated";
* });
* ```
* refer: `favicon bug` https://bugs.chromium.org/p/chromium/issues/detail?id=1069731&q=favicon&can=2
*/
bPlaySoundOnSuccessfulRead: (boolean | string);
/** @ignore */
Expand Down
34 changes: 17 additions & 17 deletions doc/api reference/classes/barcodereader.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>BarcodeReader | Dynamsoft BarcodeReader SDK for Javascript - v8.1.0</title>
<meta name="description" content="Documentation for Dynamsoft BarcodeReader SDK for Javascript - v8.1.0">
<title>BarcodeReader | Dynamsoft BarcodeReader SDK for Javascript - v8.1.2</title>
<meta name="description" content="Documentation for Dynamsoft BarcodeReader SDK for Javascript - v8.1.2">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
</head>
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">Dynamsoft BarcodeReader SDK for Javascript - v8.1.0</a>
<a href="../index.html" class="title">Dynamsoft BarcodeReader SDK for Javascript - v8.1.2</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -150,7 +150,7 @@ <h3>b<wbr>Destroyed</h3>
<div class="tsd-signature tsd-kind-icon">b<wbr>Destroyed<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:444</li>
<li>Defined in src/class/barcodereader.ts:447</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -456,7 +456,7 @@ <h3>destroy</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:2190</li>
<li>Defined in src/class/barcodereader.ts:2184</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -479,7 +479,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> create<wbr>Instance</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:763</li>
<li>Defined in src/class/barcodereader.ts:766</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -502,7 +502,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> is<wbr>Loaded</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:438</li>
<li>Defined in src/class/barcodereader.ts:441</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -524,7 +524,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> load<wbr>Wasm</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:476</li>
<li>Defined in src/class/barcodereader.ts:479</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -549,7 +549,7 @@ <h3>decode</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:786</li>
<li>Defined in src/class/barcodereader.ts:789</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -581,7 +581,7 @@ <h3>decode<wbr>Base64<wbr>String</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:855</li>
<li>Defined in src/class/barcodereader.ts:858</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -614,7 +614,7 @@ <h3>decode<wbr>Buffer</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:987</li>
<li>Defined in src/class/barcodereader.ts:993</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -657,7 +657,7 @@ <h3>decode<wbr>Url</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:872</li>
<li>Defined in src/class/barcodereader.ts:875</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -692,7 +692,7 @@ <h3>get<wbr>Mode<wbr>Argument</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:2050</li>
<li>Defined in src/class/barcodereader.ts:2044</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -727,7 +727,7 @@ <h3>get<wbr>Runtime<wbr>Settings</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:1058</li>
<li>Defined in src/class/barcodereader.ts:1064</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -757,7 +757,7 @@ <h3>reset<wbr>Runtime<wbr>Settings</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:1204</li>
<li>Defined in src/class/barcodereader.ts:1210</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -780,7 +780,7 @@ <h3>set<wbr>Mode<wbr>Argument</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:2008</li>
<li>Defined in src/class/barcodereader.ts:2002</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -818,7 +818,7 @@ <h3>update<wbr>Runtime<wbr>Settings</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/class/barcodereader.ts:1095</li>
<li>Defined in src/class/barcodereader.ts:1101</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
Loading