dynamsoft-barcode-reader-bundle 10.4.2000 → 10.4.2001-beta-202410111918

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.html CHANGED
@@ -300,7 +300,7 @@
300
300
  <span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
301
301
  <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"camera-view-container"</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"width: 100%; height: 60vh"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
302
302
  <span class="hljs-tag">&lt;<span class="hljs-name">textarea</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"results"</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"width: 100%; min-height: 10vh; font-size: 3vmin; overflow: auto"</span> <span class="hljs-attr">disabled</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">textarea</span>&gt;</span>
303
- <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
303
+ <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2001/dist/dbr.bundle.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
304
304
  <span class="hljs-tag">&lt;<span class="hljs-name">script</span>&gt;</span><span class="javascript">
305
305
  Dynamsoft.License.LicenseManager.initLicense(<span class="hljs-string">"DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"</span>);
306
306
  Dynamsoft.Core.CoreModule.loadWasm([<span class="hljs-string">"dbr"</span>]);
@@ -420,25 +420,25 @@ cvRouter.addResultFilter(filter);
420
420
  <ul>
421
421
  <li>jsDelivr</li>
422
422
  </ul>
423
- <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">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
423
+ <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">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2001/dist/dbr.bundle.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
424
424
  </code></pre>
425
425
  <ul>
426
426
  <li>UNPKG</li>
427
427
  </ul>
428
- <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">"https://unpkg.com/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
428
+ <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">"https://unpkg.com/dynamsoft-barcode-reader-bundle@10.4.2001/dist/dbr.bundle.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
429
429
  </code></pre>
430
430
  <ul>
431
431
  <li>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.</li>
432
432
  </ul>
433
- <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">"https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
433
+ <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">"https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@10.4.2001/dist/dbr.bundle.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
434
434
  </code></pre>
435
435
  <p>However, please <strong>DO NOT</strong> use <code>download2.dynamsoft.com</code> resources in a production application as they are for temporary testing purposes only. Instead, you can try hosting the SDK yourself.</p>
436
436
  <ul>
437
437
  <li>In frameworks like React and Vue, you may want to add the package as a dependency.</li>
438
438
  </ul>
439
- <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@10.4.2000 -E
439
+ <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@10.4.2001 -E
440
440
  <span class="hljs-comment"># or</span>
441
- yarn add dynamsoft-barcode-reader-bundle@10.4.2000 -E
441
+ yarn add dynamsoft-barcode-reader-bundle@10.4.2001 -E
442
442
  </code></pre>
443
443
  <p>NOTE that in frameworks, you need to <a href="#specify-the-location-of-the-engine-files-optional">specify the engineResourcePaths</a>.</p>
444
444
  <h4 id="host-the-sdk-yourself-optional">Host the SDK yourself (optional)</h4>
@@ -449,12 +449,12 @@ cvRouter.addResultFilter(filter);
449
449
  <p><a href="https://www.dynamsoft.com/barcode-reader/downloads/?ver=10.4.20&utm_source=npm&product=dbr&package=js">Download Dynamsoft Barcode Reader JavaScript Package</a></p>
450
450
  <p>The resources are located at path <code>dynamsoft/distributables/&lt;pkg&gt;@&lt;version&gt;</code>, you can typically include it like this:</p></li>
451
451
  </ul>
452
- <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">"dynamsoft/distributables/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
452
+ <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">"dynamsoft/distributables/dynamsoft-barcode-reader-bundle@10.4.2001/dist/dbr.bundle.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
453
453
  </code></pre>
454
454
  <ul>
455
455
  <li>npm</li>
456
456
  </ul>
457
- <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@10.4.2000 -E
457
+ <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@10.4.2001 -E
458
458
  <span class="hljs-comment"># Compared with using CDN, you need to set up more resources.</span>
459
459
  npm i dynamsoft-capture-vision-std@1.4.10 -E
460
460
  npm i dynamsoft-image-processing@2.4.20 -E
@@ -501,7 +501,7 @@ cvRouter.addResultFilter(filter);
501
501
  <span class="hljs-attr">std</span>: <span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/"</span>,
502
502
  <span class="hljs-attr">dip</span>: <span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/"</span>,
503
503
  <span class="hljs-attr">core</span>: <span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/"</span>,
504
- <span class="hljs-attr">license</span>: <span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/"</span>,
504
+ <span class="hljs-attr">license</span>: <span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.21/dist/"</span>,
505
505
  <span class="hljs-attr">cvr</span>: <span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/"</span>,
506
506
  <span class="hljs-attr">dbr</span>: <span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/"</span>,
507
507
  <span class="hljs-attr">dce</span>: <span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/"</span>
@@ -729,7 +729,7 @@ settings.timeout = <span class="hljs-number">500</span>;
729
729
  <h4 id="edit-the-preset-templates-directly">Edit the preset templates directly</h4>
730
730
  <p>The preset templates have many more settings that can be customized to suit your use case best. If you <a href="https://www.dynamsoft.com/barcode-reader/downloads/1000003-confirmation/">download the SDK from Dynamsoft website</a>, you can find the templates under</p>
731
731
  <ul>
732
- <li>"/dynamsoft-barcode-reader-js-10.4.2000/dynamsoft/templates/"</li>
732
+ <li>"/dynamsoft-barcode-reader-js-10.4.2001/dynamsoft/templates/"</li>
733
733
  </ul>
734
734
  <p>Upon completing the template editing, you can invoke the <code>initSettings</code> method and provide it with the template path as an argument.</p>
735
735
  <pre><code class="hljs javascript language-javascript"><span class="hljs-keyword">await</span> cvRouter.initSettings(<span class="hljs-string">"PATH-TO-THE-FILE"</span>); <span class="hljs-comment">// E.g. "https://your-website/ReadSingleBarcode.json")</span>
@@ -783,10 +783,10 @@ resultReceiver.onDecodedBarcodesReceived = <span class="hljs-function">(<span cl
783
783
  cvRouter.addResultReceiver(resultReceiver);
784
784
  </code></pre>
785
785
  <h3 id="customize-the-ui">Customize the UI</h3>
786
- <p>The UI is part of the auxiliary SDK "Dynamsoft Camera Enhancer", read more on how to <a href="https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/user-guide/index.html#customize-the-ui">customize the UI</a>.</p>
786
+ <p>The UI is part of the auxiliary SDK "Dynamsoft Camera Enhancer", read more on how to <a href="https://www.dynamsoft.com/barcode-reader/docs/core/programming/features/ui-customization-js.html?lang=js">customize the UI</a>.</p>
787
787
  <h2 id="api-documentation">API Documentation</h2>
788
788
  <p>You can check out the detailed documentation about the APIs of the SDK at<br />
789
- <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2000">https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2000</a>.</p>
789
+ <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2001">https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2001</a>.</p>
790
790
  <h2 id="system-requirements">System Requirements</h2>
791
791
  <p>DBR requires the following features to work:</p>
792
792
  <ul>
@@ -836,7 +836,7 @@ cvRouter.addResultReceiver(resultReceiver);
836
836
  <p><sup>1</sup> devices running iOS needs to be on iOS 14.3+ for camera video streaming to work in Chrome, Firefox or other Apps using webviews.</p>
837
837
  <p>Apart from the browsers, the operating systems may impose some limitations of their own that could restrict the use of the SDK. Browser compatibility ultimately depends on whether the browser on that particular operating system supports the features listed above.</p>
838
838
  <h2 id="how-to-upgrade">How to Upgrade</h2>
839
- <p>If you want to upgrade the SDK from an old version to a newer one, please see <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/upgrade-guide/index.html?ver=10.4.2000&utm_source=npm">how to upgrade</a>.</p>
839
+ <p>If you want to upgrade the SDK from an old version to a newer one, please see <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/upgrade-guide/index.html?ver=10.4.2001&utm_source=npm">how to upgrade</a>.</p>
840
840
  <h2 id="release-notes">Release Notes</h2>
841
841
  <p>Learn about what are included in each release at <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/release-notes/index.html?ver=10.4.20&utm_source=npm">https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/release-notes/index.html</a>.</p>
842
842
  <h2 id="next-steps">Next Steps</h2>
@@ -844,7 +844,7 @@ cvRouter.addResultReceiver(resultReceiver);
844
844
  <ol>
845
845
  <li>Learn how to <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/use-in-framework.html">Use in Framework</a></li>
846
846
  <li>Check out the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=10.4.20">Official Samples and Demo</a></li>
847
- <li>Learn about the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/index.html?ver=10.4.2000">APIs of the SDK</a></li>
847
+ <li>Learn about the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/index.html?ver=10.4.2001">APIs of the SDK</a></li>
848
848
  </ol>
849
849
  </div>
850
850
  </body>
package/README.md CHANGED
@@ -89,7 +89,7 @@ The complete code of the "Hello World" example is shown below
89
89
  <body>
90
90
  <div id="camera-view-container" style="width: 100%; height: 60vh"></div>
91
91
  <textarea id="results" style="width: 100%; min-height: 10vh; font-size: 3vmin; overflow: auto" disabled></textarea>
92
- <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.js"></script>
92
+ <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2001/dist/dbr.bundle.js"></script>
93
93
  <script>
94
94
  Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
95
95
  Dynamsoft.Core.CoreModule.loadWasm(["dbr"]);
@@ -225,19 +225,19 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
225
225
  - jsDelivr
226
226
 
227
227
  ```html
228
- <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.js"></script>
228
+ <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2001/dist/dbr.bundle.js"></script>
229
229
  ```
230
230
 
231
231
  - UNPKG
232
232
 
233
233
  ```html
234
- <script src="https://unpkg.com/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.js"></script>
234
+ <script src="https://unpkg.com/dynamsoft-barcode-reader-bundle@10.4.2001/dist/dbr.bundle.js"></script>
235
235
  ```
236
236
 
237
237
  - 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.
238
238
 
239
239
  ```html
240
- <script src="https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.js"></script>
240
+ <script src="https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@10.4.2001/dist/dbr.bundle.js"></script>
241
241
  ```
242
242
 
243
243
  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.
@@ -245,9 +245,9 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
245
245
  - In frameworks like React and Vue, you may want to add the package as a dependency.
246
246
 
247
247
  ```sh
248
- npm i dynamsoft-barcode-reader-bundle@10.4.2000 -E
248
+ npm i dynamsoft-barcode-reader-bundle@10.4.2001 -E
249
249
  # or
250
- yarn add dynamsoft-barcode-reader-bundle@10.4.2000 -E
250
+ yarn add dynamsoft-barcode-reader-bundle@10.4.2001 -E
251
251
  ```
252
252
 
253
253
  NOTE that in frameworks, you need to [specify the engineResourcePaths](#specify-the-location-of-the-engine-files-optional).
@@ -265,13 +265,13 @@ There are two options for downloading the SDK, and the usage for each is slightl
265
265
  The resources are located at path `dynamsoft/distributables/<pkg>@<version>`, you can typically include it like this:
266
266
 
267
267
  ```html
268
- <script src="dynamsoft/distributables/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.js"></script>
268
+ <script src="dynamsoft/distributables/dynamsoft-barcode-reader-bundle@10.4.2001/dist/dbr.bundle.js"></script>
269
269
  ```
270
270
 
271
271
  - npm
272
272
 
273
273
  ```sh
274
- npm i dynamsoft-barcode-reader-bundle@10.4.2000 -E
274
+ npm i dynamsoft-barcode-reader-bundle@10.4.2001 -E
275
275
  # Compared with using CDN, you need to set up more resources.
276
276
  npm i dynamsoft-capture-vision-std@1.4.10 -E
277
277
  npm i dynamsoft-image-processing@2.4.20 -E
@@ -332,7 +332,7 @@ Object.assign(Dynamsoft.Core.CoreModule.engineResourcePaths, {
332
332
  std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/",
333
333
  dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/",
334
334
  core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/",
335
- license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/",
335
+ license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.21/dist/",
336
336
  cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/",
337
337
  dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/",
338
338
  dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/"
@@ -600,7 +600,7 @@ await cvRouter.startCapturing("ReadSingleBarcode");
600
600
 
601
601
  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
602
602
 
603
- * "/dynamsoft-barcode-reader-js-10.4.2000/dynamsoft/templates/"
603
+ * "/dynamsoft-barcode-reader-js-10.4.2001/dynamsoft/templates/"
604
604
 
605
605
  Upon completing the template editing, you can invoke the `initSettings` method and provide it with the template path as an argument.
606
606
 
@@ -677,12 +677,12 @@ cvRouter.addResultReceiver(resultReceiver);
677
677
 
678
678
  ### Customize the UI
679
679
 
680
- The UI is part of the auxiliary SDK "Dynamsoft Camera Enhancer", read more on how to [customize the UI](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/user-guide/index.html#customize-the-ui).
680
+ The UI is part of the auxiliary SDK "Dynamsoft Camera Enhancer", read more on how to [customize the UI](https://www.dynamsoft.com/barcode-reader/docs/core/programming/features/ui-customization-js.html?lang=js).
681
681
 
682
682
  ## API Documentation
683
683
 
684
684
  You can check out the detailed documentation about the APIs of the SDK at
685
- [https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2000](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2000).
685
+ [https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2001](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2001).
686
686
 
687
687
  ## System Requirements
688
688
 
@@ -724,7 +724,7 @@ Apart from the browsers, the operating systems may impose some limitations of th
724
724
 
725
725
  ## How to Upgrade
726
726
 
727
- If you want to upgrade the SDK from an old version to a newer one, please see [how to upgrade](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/upgrade-guide/index.html?ver=10.4.2000&utm_source=npm).
727
+ If you want to upgrade the SDK from an old version to a newer one, please see [how to upgrade](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/upgrade-guide/index.html?ver=10.4.2001&utm_source=npm).
728
728
 
729
729
  ## Release Notes
730
730
 
@@ -736,4 +736,4 @@ Now that you have got the SDK integrated, you can choose to move forward in the
736
736
 
737
737
  1. Learn how to [Use in Framework](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/use-in-framework.html)
738
738
  2. Check out the [Official Samples and Demo](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=10.4.20)
739
- 3. Learn about the [APIs of the SDK](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/index.html?ver=10.4.2000)
739
+ 3. Learn about the [APIs of the SDK](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/index.html?ver=10.4.2001)