Skip to content

Commit 7484a98

Browse files
committed
Merge branch '_dev'
2 parents 7c6c6b2 + c2f58b9 commit 7484a98

12 files changed

+39
-39
lines changed

README.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ <h2 id="quick-start-hello-world-example">Quick Start: Hello World Example</h2>
267267
<pre><code class="hljs html language-html"><span class="hljs-meta">&lt;!DOCTYPE <span class="hljs-meta-keyword">html</span>&gt;</span>
268268
<span class="hljs-tag">&lt;<span class="hljs-name">html</span> <span class="hljs-attr">lang</span>=<span class="hljs-string">&quot;en&quot;</span>&gt;</span>
269269
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
270-
<span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/[email protected].2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
270+
<span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/[email protected].4000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
271271
<span class="hljs-tag">&lt;<span class="hljs-name">script</span>&gt;</span><span class="javascript">
272272
<span class="hljs-comment">// Initialize the Dynamsoft Barcode Scanner</span>
273273
<span class="hljs-keyword">const</span> barcodeScanner = <span class="hljs-keyword">new</span> Dynamsoft.BarcodeScanner({
@@ -287,25 +287,25 @@ <h2 id="quick-start-hello-world-example">Quick Start: Hello World Example</h2>
287287
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
288288
</code></pre>
289289
<p align="center" style="text-align:center; white-space: normal; ">
290-
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/barcode-scanner-api-samples/scan-single-barcode/hello-world.html" title="Code in Github" style="text-decoration:none;">
290+
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/barcode-scanner-api-samples/scan-single-barcode/hello-world.html" title="Code in Github" style="text-decoration:none;">
291291
<img src="https://cdn.jsdelivr.net/npm/[email protected]/icons/github.svg" alt="Code in Github" width="20" height="20" style="width:20px;height:20px;">
292292
</a>
293293
&nbsp;
294294
<a target="_blank" href="https://jsfiddle.net/DynamsoftTeam/gcqjf5r7/" title="Run via JSFiddle" style="text-decoration:none;">
295295
<img src="https://cdn.jsdelivr.net/npm/[email protected]/icons/jsfiddle.svg" alt="Run via JSFiddle" width="20" height="20" style="width:20px;height:20px;" >
296296
</a>
297297
&nbsp;
298-
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?ver=11.2.20&utm_source=github" title="Run in Dynamsoft" style="text-decoration:none;">
298+
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?ver=11.2.40&utm_source=github" title="Run in Dynamsoft" style="text-decoration:none;">
299299
<img src="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/svgs/solid/circle-play.svg" alt="Run in Dynamsoft" width="20" height="20" style="width:20px;height:20px;">
300300
</a>
301301
</p>
302302
<h3 id="step-1-setting-up-the-html-and-including-the-barcode-scanner">Step 1: Setting up the HTML and Including the Barcode Scanner</h3>
303-
<p>As outlined earlier, this guide will help you create a simple Hello World barcode scanning application using vanilla JavaScript. The full sample code is also available in the <a href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.20">GitHub repository</a>.</p>
303+
<p>As outlined earlier, this guide will help you create a simple Hello World barcode scanning application using vanilla JavaScript. The full sample code is also available in the <a href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.40">GitHub repository</a>.</p>
304304
<p>The first step before writing the code is to include the SDK in your application. You can simply include the SDK by using the precompiled script.</p>
305305
<pre><code class="hljs html language-html"><span class="hljs-meta">&lt;!DOCTYPE <span class="hljs-meta-keyword">html</span>&gt;</span>
306306
<span class="hljs-tag">&lt;<span class="hljs-name">html</span> <span class="hljs-attr">lang</span>=<span class="hljs-string">&quot;en&quot;</span>&gt;</span>
307307
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
308-
<span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/[email protected].2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
308+
<span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/[email protected].4000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
309309
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
310310
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
311311
</code></pre>
@@ -317,17 +317,17 @@ <h3 id="step-1-setting-up-the-html-and-including-the-barcode-scanner">Step 1: Se
317317
<ul>
318318
<li>jsDelivr</li>
319319
</ul>
320-
<pre><code class="hljs html language-html"> <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/[email protected].2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
320+
<pre><code class="hljs html language-html"> <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/[email protected].4000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
321321
</code></pre>
322322
<ul>
323323
<li>UNPKG</li>
324324
</ul>
325-
<pre><code class="hljs html language-html"> <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://unpkg.com/[email protected].2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
325+
<pre><code class="hljs html language-html"> <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://unpkg.com/[email protected].4000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
326326
</code></pre>
327327
<p>When using a framework such as <strong>React</strong>, <strong>Vue</strong> or <strong>Angular</strong>, we recommend adding the package as a dependency using a package manager such as <strong>npm</strong> or <strong>yarn</strong>:</p>
328-
<pre><code class="hljs sh language-sh"> npm i [email protected].2000
328+
<pre><code class="hljs sh language-sh"> npm i [email protected].4000
329329
<span class="hljs-comment"># or</span>
330-
yarn add [email protected].2000
330+
yarn add [email protected].4000
331331
</code></pre>
332332
<p>When using package managers like <strong>npm</strong> or <strong>yarn</strong>, you likely need to specify the location of the engine files as a link to a CDN. Please see the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html#barcodescannerconfig">BarcodeScannerConfig API</a> for a code snippet on how to set the <code>engineResourcePaths</code>.</p>
333333
<div class="multi-panel-end"></div>
@@ -336,19 +336,19 @@ <h3 id="step-1-setting-up-the-html-and-including-the-barcode-scanner">Step 1: Se
336336
<p>Alternatively, you may choose to download the SDK and host the files on your own server or preferred CDN. This approach provides better control over versioning and availability.</p>
337337
<ul>
338338
<li><p>From the website</p>
339-
<p><a href="https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.2.20&utm_source=github&product=dbr&package=js">Download Dynamsoft Barcode Reader JavaScript Package</a></p>
339+
<p><a href="https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.2.40&utm_source=github&product=dbr&package=js">Download Dynamsoft Barcode Reader JavaScript Package</a></p>
340340
<p>The resources are located in the <code>./dist/</code> directory.</p></li>
341341
<li><p>From npm</p></li>
342342
</ul>
343-
<pre><code class="hljs sh language-sh"> npm i [email protected].2000
343+
<pre><code class="hljs sh language-sh"> npm i [email protected].4000
344344
</code></pre>
345345
<p>The resources are located at the path <code>node_modules/&lt;pkg&gt;</code>, without <code>@&lt;version&gt;</code>. You can copy it elsewhere and add <code>@&lt;version&gt;</code> tag.</p>
346346
<blockquote>
347347
<p>[!IMPORTANT]<br />
348348
Since "node<em>modules" is reserved for Node.js dependencies, and in our case the package is used only as static resources, we recommend either renaming the "node</em>modules" folder or moving the "dynamsoft-" packages to a dedicated folder for static resources in your project to facilitate self-hosting.</p>
349349
</blockquote>
350350
<p>You can typically include the SDK like this:</p>
351-
<pre><code class="hljs html language-html"><span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;path/to/[email protected].2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
351+
<pre><code class="hljs html language-html"><span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;path/to/[email protected].4000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
352352
</code></pre>
353353
<div class="multi-panel-end"></div>
354354
<div class="multi-panel-switching-end"></div>
@@ -392,8 +392,8 @@ <h2 id="next-steps">Next Steps</h2>
392392
<p>Now that you've implemented the basic functionality, here are some recommended next steps to further explore the capabilities of the Barcode Scanner:</p>
393393
<ol>
394394
<li>Learn how to <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner-customization.html">Customize the Barcode Scanner</a></li>
395-
<li>Check out the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=11.2.2000">Official Samples and Demo</a></li>
396-
<li>Learn about the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html?ver=11.2.2000">APIs of BarcodeScanner</a></li>
395+
<li>Check out the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=11.2.4000">Official Samples and Demo</a></li>
396+
<li>Learn about the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html?ver=11.2.4000">APIs of BarcodeScanner</a></li>
397397
</ol>
398398
</div>
399399
</body>

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ When getting started with Barcode Scanner, we recommend [getting your own 30-day
5656
<!DOCTYPE html>
5757
<html lang="en">
5858
<body>
59-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2000/dist/dbr.bundle.js"></script>
59+
<script src="https://cdn.jsdelivr.net/npm/[email protected].4000/dist/dbr.bundle.js"></script>
6060
<script>
6161
// Initialize the Dynamsoft Barcode Scanner
6262
const barcodeScanner = new Dynamsoft.BarcodeScanner({
@@ -77,30 +77,30 @@ When getting started with Barcode Scanner, we recommend [getting your own 30-day
7777
```
7878

7979
<p align="center" style="text-align:center; white-space: normal; ">
80-
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/barcode-scanner-api-samples/scan-single-barcode/hello-world.html" title="Code in Github" style="text-decoration:none;">
80+
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/barcode-scanner-api-samples/scan-single-barcode/hello-world.html" title="Code in Github" style="text-decoration:none;">
8181
<img src="https://cdn.jsdelivr.net/npm/[email protected]/icons/github.svg" alt="Code in Github" width="20" height="20" style="width:20px;height:20px;">
8282
</a>
8383
&nbsp;
8484
<a target="_blank" href="https://jsfiddle.net/DynamsoftTeam/gcqjf5r7/" title="Run via JSFiddle" style="text-decoration:none;">
8585
<img src="https://cdn.jsdelivr.net/npm/[email protected]/icons/jsfiddle.svg" alt="Run via JSFiddle" width="20" height="20" style="width:20px;height:20px;" >
8686
</a>
8787
&nbsp;
88-
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?ver=11.2.20&utm_source=github" title="Run in Dynamsoft" style="text-decoration:none;">
88+
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?ver=11.2.40&utm_source=github" title="Run in Dynamsoft" style="text-decoration:none;">
8989
<img src="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/svgs/solid/circle-play.svg" alt="Run in Dynamsoft" width="20" height="20" style="width:20px;height:20px;">
9090
</a>
9191
</p>
9292

9393
### Step 1: Setting up the HTML and Including the Barcode Scanner
9494

95-
As outlined earlier, this guide will help you create a simple Hello World barcode scanning application using vanilla JavaScript. The full sample code is also available in the [GitHub repository](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.20).
95+
As outlined earlier, this guide will help you create a simple Hello World barcode scanning application using vanilla JavaScript. The full sample code is also available in the [GitHub repository](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.40).
9696

9797
The first step before writing the code is to include the SDK in your application. You can simply include the SDK by using the precompiled script.
9898

9999
```html
100100
<!DOCTYPE html>
101101
<html lang="en">
102102
<body>
103-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2000/dist/dbr.bundle.js"></script>
103+
<script src="https://cdn.jsdelivr.net/npm/[email protected].4000/dist/dbr.bundle.js"></script>
104104
</body>
105105
</html>
106106
```
@@ -117,21 +117,21 @@ The simplest way to include the SDK is to use either the [**jsDelivr**](https://
117117
- jsDelivr
118118

119119
```html
120-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2000/dist/dbr.bundle.js"></script>
120+
<script src="https://cdn.jsdelivr.net/npm/[email protected].4000/dist/dbr.bundle.js"></script>
121121
```
122122

123123
- UNPKG
124124

125125
```html
126-
<script src="https://unpkg.com/[email protected].2000/dist/dbr.bundle.js"></script>
126+
<script src="https://unpkg.com/[email protected].4000/dist/dbr.bundle.js"></script>
127127
```
128128

129129
When using a framework such as **React**, **Vue** or **Angular**, we recommend adding the package as a dependency using a package manager such as **npm** or **yarn**:
130130

131131
```sh
132-
npm i [email protected].2000
132+
npm i [email protected].4000
133133
# or
134-
yarn add [email protected].2000
134+
yarn add [email protected].4000
135135
```
136136

137137
When using package managers like **npm** or **yarn**, you likely need to specify the location of the engine files as a link to a CDN. Please see the [BarcodeScannerConfig API](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html#barcodescannerconfig) for a code snippet on how to set the `engineResourcePaths`.
@@ -144,14 +144,14 @@ Alternatively, you may choose to download the SDK and host the files on your own
144144

145145
- From the website
146146

147-
[Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.2.20&utm_source=github&product=dbr&package=js)
147+
[Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.2.40&utm_source=github&product=dbr&package=js)
148148

149149
The resources are located in the `./dist/` directory.
150150

151151
- From npm
152152

153153
```sh
154-
npm i [email protected].2000
154+
npm i [email protected].4000
155155
```
156156

157157
The resources are located at the path `node_modules/<pkg>`, without `@<version>`. You can copy it elsewhere and add `@<version>` tag.
@@ -162,7 +162,7 @@ Alternatively, you may choose to download the SDK and host the files on your own
162162
You can typically include the SDK like this:
163163

164164
```html
165-
<script src="path/to/[email protected].2000/dist/dbr.bundle.js"></script>
165+
<script src="path/to/[email protected].4000/dist/dbr.bundle.js"></script>
166166
```
167167
<div class="multi-panel-end"></div>
168168

@@ -218,5 +218,5 @@ Now that the Barcode Scanner has been initialized and configured, it is ready to
218218
Now that you've implemented the basic functionality, here are some recommended next steps to further explore the capabilities of the Barcode Scanner:
219219

220220
1. Learn how to [Customize the Barcode Scanner](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner-customization.html)
221-
2. Check out the [Official Samples and Demo](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=11.2.2000)
222-
3. Learn about the [APIs of BarcodeScanner](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html?ver=11.2.2000)
221+
2. Check out the [Official Samples and Demo](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=11.2.4000)
222+
3. Learn about the [APIs of BarcodeScanner](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html?ver=11.2.4000)

dist/dbr.bundle.esm.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dbr.bundle.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dbr.bundle.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

dist/dbr.bundle.worker.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dynamsoft-barcode-reader-bundle-ml-simd-pthread.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
60 Bytes
Binary file not shown.
72 Bytes
Binary file not shown.
72 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)