You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -391,24 +391,24 @@ <h3 id="step-1-include-the-sdk">Step 1: Include the SDK</h3>
391
391
<ul>
392
392
<li>jsDelivr</li>
393
393
</ul>
394
-
<pre><codeclass="hljs html language-html"><spanclass="hljs-tag"><<spanclass="hljs-name">script</span><spanclass="hljs-attr">src</span>=<spanclass="hljs-string">"https://cdn.jsdelivr.net/npm/[email protected].2000/dist/dbr.bundle.js"</span>></span><spanclass="hljs-tag"></<spanclass="hljs-name">script</span>></span>
394
+
<pre><codeclass="hljs html language-html"><spanclass="hljs-tag"><<spanclass="hljs-name">script</span><spanclass="hljs-attr">src</span>=<spanclass="hljs-string">"https://cdn.jsdelivr.net/npm/[email protected].2001/dist/dbr.bundle.js"</span>></span><spanclass="hljs-tag"></<spanclass="hljs-name">script</span>></span>
395
395
</code></pre>
396
396
<ul>
397
397
<li>UNPKG</li>
398
398
</ul>
399
-
<pre><codeclass="hljs html language-html"><spanclass="hljs-tag"><<spanclass="hljs-name">script</span><spanclass="hljs-attr">src</span>=<spanclass="hljs-string">"https://unpkg.com/[email protected].2000/dist/dbr.bundle.js"</span>></span><spanclass="hljs-tag"></<spanclass="hljs-name">script</span>></span>
399
+
<pre><codeclass="hljs html language-html"><spanclass="hljs-tag"><<spanclass="hljs-name">script</span><spanclass="hljs-attr">src</span>=<spanclass="hljs-string">"https://unpkg.com/[email protected].2001/dist/dbr.bundle.js"</span>></span><spanclass="hljs-tag"></<spanclass="hljs-name">script</span>></span>
400
400
</code></pre>
401
401
<!-- - In some rare cases (such as some restricted areas), you might not be able to access the CDN. If this happens, you can use the following files for the test.
However, please **DO NOT** use `download2.dynamsoft.com` resources in a production application as they are for temporary testing purposes only. Instead, you can try hosting the SDK yourself. -->
406
406
<ul>
407
407
<li>In frameworks like React, Vue and Angular, you may want to add the package as a dependency.</li>
408
408
</ul>
409
-
<pre><codeclass="hljs sh language-sh"> npm i [email protected].2000 -E
409
+
<pre><codeclass="hljs sh language-sh"> npm i [email protected].2001 -E
<p>NOTE that in frameworks, you need to <ahref="#2-optional-specify-the-location-of-the-engine-files">specify the location of the engine files</a>.</p>
414
414
<divclass="multi-panel-end"></div>
@@ -421,14 +421,14 @@ <h3 id="step-1-include-the-sdk">Step 1: Include the SDK</h3>
421
421
<p>The resources are located at path <code>dynamsoft/distributables/<pkg>@<version></code>.</p></li>
422
422
<li><p>From npm</p></li>
423
423
</ul>
424
-
<pre><codeclass="hljs sh language-sh"> npm i [email protected].2000 -E
424
+
<pre><codeclass="hljs sh language-sh"> npm i [email protected].2001 -E
425
425
</code></pre>
426
426
<p>The resources are located at the path <code>node_modules/<pkg></code>, without <code>@<version></code>. You must copy "dynamsoft-xxx" packages elsewhere and add <code>@<version></code>. The <code><version></code> can be obtained from <code>package.json</code> of each package. Another thing to do is to <ahref="#2-optional-specify-the-location-of-the-engine-files">specify the engineResourcePaths</a> so that the SDK can correctly locate the resources.</p>
427
427
<blockquote>
428
428
<p>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>
429
429
</blockquote>
430
430
<p>You can typically include SDK like this:</p>
431
-
<pre><codeclass="hljs html language-html"><spanclass="hljs-tag"><<spanclass="hljs-name">script</span><spanclass="hljs-attr">src</span>=<spanclass="hljs-string">"path/to/[email protected].2000/dist/dbr.bundle.js"</span>></span><spanclass="hljs-tag"></<spanclass="hljs-name">script</span>></span>
431
+
<pre><codeclass="hljs html language-html"><spanclass="hljs-tag"><<spanclass="hljs-name">script</span><spanclass="hljs-attr">src</span>=<spanclass="hljs-string">"path/to/[email protected].2001/dist/dbr.bundle.js"</span>></span><spanclass="hljs-tag"></<spanclass="hljs-name">script</span>></span>
432
432
</code></pre>
433
433
<divclass="multi-panel-end"></div>
434
434
<divclass="multi-panel-switching-end"></div>
@@ -694,7 +694,7 @@ <h4 id="14-specify-a-scan-region">1.4. Specify a scan region</h4>
694
694
<h3id="2-edit-the-preset-templates-directly">2. Edit the preset templates directly</h3>
695
695
<p>The preset templates have many more settings that can be customized to suit your use case best. If you <ahref="https://www.dynamsoft.com/barcode-reader/downloads/1000003-confirmation/">download the SDK from Dynamsoft website</a>, you can find the templates under</p>
<!-- - In some rare cases (such as some restricted areas), you might not be able to access the CDN. If this happens, you can use the following files for the test.
However, please **DO NOT** use `download2.dynamsoft.com` resources in a production application as they are for temporary testing purposes only. Instead, you can try hosting the SDK yourself. -->
211
211
212
212
- In frameworks like React, Vue and Angular, you may want to add the package as a dependency.
The resources are located at the path `node_modules/<pkg>`, without `@<version>`. You must copy "dynamsoft-xxx" packages elsewhere and add `@<version>`. The `<version>` can be obtained from `package.json` of each package. Another thing to do is to [specify the engineResourcePaths](#2-optional-specify-the-location-of-the-engine-files) so that the SDK can correctly locate the resources.
@@ -243,7 +243,7 @@ Besides using the public CDN, you can also download the SDK and host its files o
The preset templates have many more settings that can be customized to suit your use case best. If you [download the SDK from Dynamsoft website](https://www.dynamsoft.com/barcode-reader/downloads/1000003-confirmation/), you can find the templates under
Copy file name to clipboardExpand all lines: package.json
+28-2Lines changed: 28 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "dynamsoft-barcode-reader-bundle",
3
-
"version": "11.4.2000",
3
+
"version": "11.4.2001",
4
4
"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.",
0 commit comments