dynamsoft-barcode-reader-bundle 11.4.3000 → 11.6.2000

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.
Files changed (35) hide show
  1. package/LEGAL.txt +128 -8
  2. package/LICENSE +1 -1
  3. package/README.html +26 -26
  4. package/README.md +26 -26
  5. package/dist/dbr.bundle.d.ts +1867 -1665
  6. package/dist/dbr.bundle.esm.js +2 -2
  7. package/dist/dbr.bundle.js +2 -2
  8. package/dist/dbr.bundle.mjs +2 -2
  9. package/dist/dbr.bundle.worker.js +2 -2
  10. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-pthread-with-pdf.js +1 -0
  11. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-pthread-with-pdf.wasm +0 -0
  12. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-pthread-with-pdf.worker.js +6 -0
  13. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-pthread.js +1 -1
  14. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-pthread.wasm +0 -0
  15. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-with-pdf.js +1 -0
  16. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-with-pdf.wasm +0 -0
  17. package/dist/dynamsoft-barcode-reader-bundle-ml-simd.js +1 -1
  18. package/dist/dynamsoft-barcode-reader-bundle-ml-simd.wasm +0 -0
  19. package/dist/dynamsoft-barcode-reader-bundle.js +1 -1
  20. package/dist/dynamsoft-barcode-reader-bundle.wasm +0 -0
  21. package/dist/models/Code128Decoder.data +0 -0
  22. package/dist/models/Code39ITFDecoder.data +0 -0
  23. package/dist/models/DataMatrixQRCodeDeblur.data +0 -0
  24. package/dist/models/DataMatrixQRCodeLocalization.data +0 -0
  25. package/dist/models/EAN13Decoder.data +0 -0
  26. package/dist/models/OneDDeblur.data +0 -0
  27. package/dist/models/OneDLocalization.data +0 -0
  28. package/dist/models/PDF417Deblur.data +0 -0
  29. package/dist/models/PDF417Localization.data +0 -0
  30. package/dist/templates/DBR-PresetTemplates.json +12 -1
  31. package/dist/ui/barcode-scanner.ui.xml +3 -3
  32. package/dist/ui/dce.mobile-native.ui.xml +222 -0
  33. package/package.json +79 -78
  34. package/samples.url +1 -1
  35. package/dist/parser-resources/MRTD.data +0 -1
package/LEGAL.txt CHANGED
@@ -1,4 +1,4 @@
1
- ===================================================================================
1
+ \===================================================================================
2
2
  >>>>>>>>>>>>>>>>>>>>>>>> dynamsoft-barcode-reader-bundle <<<<<<<<<<<<<<<<<<<<<<<<<<
3
3
  ===================================================================================
4
4
 
@@ -322,6 +322,133 @@ license you like.
322
322
 
323
323
 
324
324
 
325
+ ===================================================================================
326
+ OpenSSL
327
+
328
+ The OpenSSL toolkit stays under a double license, i.e. both the conditions of
329
+ the OpenSSL License and the original SSLeay license apply to the toolkit.
330
+ See below for the actual license texts.
331
+
332
+ OpenSSL License
333
+ ---------------
334
+
335
+ /* ====================================================================
336
+ * Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved.
337
+ *
338
+ * Redistribution and use in source and binary forms, with or without
339
+ * modification, are permitted provided that the following conditions
340
+ * are met:
341
+ *
342
+ * 1. Redistributions of source code must retain the above copyright
343
+ * notice, this list of conditions and the following disclaimer.
344
+ *
345
+ * 2. Redistributions in binary form must reproduce the above copyright
346
+ * notice, this list of conditions and the following disclaimer in
347
+ * the documentation and/or other materials provided with the
348
+ * distribution.
349
+ *
350
+ * 3. All advertising materials mentioning features or use of this
351
+ * software must display the following acknowledgment:
352
+ * "This product includes software developed by the OpenSSL Project
353
+ * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
354
+ *
355
+ * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
356
+ * endorse or promote products derived from this software without
357
+ * prior written permission. For written permission, please contact
358
+ * openssl-core@openssl.org.
359
+ *
360
+ * 5. Products derived from this software may not be called "OpenSSL"
361
+ * nor may "OpenSSL" appear in their names without prior written
362
+ * permission of the OpenSSL Project.
363
+ *
364
+ * 6. Redistributions of any form whatsoever must retain the following
365
+ * acknowledgment:
366
+ * "This product includes software developed by the OpenSSL Project
367
+ * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
368
+ *
369
+ * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
370
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
371
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
372
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
373
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
374
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
375
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
376
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
377
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
378
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
379
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
380
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
381
+ * ====================================================================
382
+ *
383
+ * This product includes cryptographic software written by Eric Young
384
+ * (eay@cryptsoft.com). This product includes software written by Tim
385
+ * Hudson (tjh@cryptsoft.com).
386
+ *
387
+ */
388
+
389
+ Original SSLeay License
390
+ -----------------------
391
+
392
+ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
393
+ * All rights reserved.
394
+ *
395
+ * This package is an SSL implementation written
396
+ * by Eric Young (eay@cryptsoft.com).
397
+ * The implementation was written so as to conform with Netscapes SSL.
398
+ *
399
+ * This library is free for commercial and non-commercial use as long as
400
+ * the following conditions are aheared to. The following conditions
401
+ * apply to all code found in this distribution, be it the RC4, RSA,
402
+ * lhash, DES, etc., code; not just the SSL code. The SSL documentation
403
+ * included with this distribution is covered by the same copyright terms
404
+ * except that the holder is Tim Hudson (tjh@cryptsoft.com).
405
+ *
406
+ * Copyright remains Eric Young's, and as such any Copyright notices in
407
+ * the code are not to be removed.
408
+ * If this package is used in a product, Eric Young should be given attribution
409
+ * as the author of the parts of the library used.
410
+ * This can be in the form of a textual message at program startup or
411
+ * in documentation (online or textual) provided with the package.
412
+ *
413
+ * Redistribution and use in source and binary forms, with or without
414
+ * modification, are permitted provided that the following conditions
415
+ * are met:
416
+ * 1. Redistributions of source code must retain the copyright
417
+ * notice, this list of conditions and the following disclaimer.
418
+ * 2. Redistributions in binary form must reproduce the above copyright
419
+ * notice, this list of conditions and the following disclaimer in the
420
+ * documentation and/or other materials provided with the distribution.
421
+ * 3. All advertising materials mentioning features or use of this software
422
+ * must display the following acknowledgement:
423
+ * "This product includes cryptographic software written by
424
+ * Eric Young (eay@cryptsoft.com)"
425
+ * The word 'cryptographic' can be left out if the rouines from the library
426
+ * being used are not cryptographic related :-).
427
+ * 4. If you include any Windows specific code (or a derivative thereof) from
428
+ * the apps directory (application code) you must include an acknowledgement:
429
+ * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
430
+ *
431
+ * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
432
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
433
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
434
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
435
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
436
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
437
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
438
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
439
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
440
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
441
+ * SUCH DAMAGE.
442
+ *
443
+ * The licence and distribution terms for any publically available version or
444
+ * derivative of this code cannot be changed. i.e. this code cannot simply be
445
+ * copied and put under another distribution licence
446
+ * [including the GNU Public Licence.]
447
+ */
448
+ ===================================================================================
449
+
450
+
451
+
325
452
  ===================================================================================
326
453
  localForage
327
454
 
@@ -1280,10 +1407,3 @@ Apache License
1280
1407
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1281
1408
  See the License for the specific language governing permissions and
1282
1409
  limitations under the License.
1283
-
1284
- ====================================================================================
1285
-
1286
- libzueci
1287
-
1288
- A simple, standalone, BSD-3-Clause C library for converting UTF-8 to/from Extended Channel Interpretations, as defined by AIM ITS/04-023 International Technical Standard - Extended Channel Interpretations Part 3: Register (Version 2, February 2022).
1289
-
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright © 20032026 Dynamsoft. All Rights Reserved.
1
+ Copyright © 2003-2026 Dynamsoft. All Rights Reserved.
2
2
 
3
3
  The use of this software is governed by the Dynamsoft Terms and Conditions.
4
4
  URL=https://www.dynamsoft.com/barcode-reader/license-agreement/#javascript
package/README.html CHANGED
@@ -247,7 +247,7 @@
247
247
  <span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
248
248
  <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">&quot;camera-view-container&quot;</span> <span class="hljs-attr">style</span>=<span class="hljs-string">&quot;width: 100%; height: 60vh&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
249
249
  <span class="hljs-tag">&lt;<span class="hljs-name">textarea</span> <span class="hljs-attr">id</span>=<span class="hljs-string">&quot;results&quot;</span> <span class="hljs-attr">style</span>=<span class="hljs-string">&quot;width: 100%; min-height: 10vh; font-size: 3vmin; overflow: auto&quot;</span> <span class="hljs-attr">disabled</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">textarea</span>&gt;</span>
250
- <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/dynamsoft-barcode-reader-bundle@11.4.3000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
250
+ <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/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
251
251
  <span class="hljs-tag">&lt;<span class="hljs-name">script</span>&gt;</span><span class="javascript">
252
252
  Dynamsoft.License.LicenseManager.initLicense(<span class="hljs-string">&quot;DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9&quot;</span>);
253
253
  Dynamsoft.Core.CoreModule.loadWasm();
@@ -282,7 +282,7 @@
282
282
  <span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
283
283
  </code></pre>
284
284
  <p align="center" style="text-align:center; white-space: normal; ">
285
- <a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.4.20/basics/hello-world.html" title="Code in Github" style="text-decoration:none;">
285
+ <a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.6.20/basics/hello-world.html" title="Code in Github" style="text-decoration:none;">
286
286
  <img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/github.svg" alt="Code in Github" width="20" height="20" style="width:20px;height:20px;">
287
287
  </a>
288
288
  &nbsp;
@@ -290,7 +290,7 @@
290
290
  <img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/jsfiddle.svg" alt="Run via JSFiddle" width="20" height="20" style="width:20px;height:20px;" >
291
291
  </a>
292
292
  &nbsp;
293
- <a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.4.20&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
293
+ <a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.6.20&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
294
294
  <img src="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.0.0/svgs/solid/circle-play.svg" alt="Run in Dynamsoft" width="20" height="20" style="width:20px;height:20px;">
295
295
  </a>
296
296
  </p>
@@ -333,15 +333,15 @@ cvRouter.addResultFilter(filter);
333
333
  <p>Read more on <a href="https://www.dynamsoft.com/capture-vision/docs/core/architecture/#capture-vision-router">Capture Vision Router</a>.</p>
334
334
  </blockquote>
335
335
  <h3 id="run-the-example">Run the example</h3>
336
- <p>You can run the example deployed to <a href="https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.4.20&utm_source=npm">the Dynamsoft Demo Server</a> or test it with <a href="https://jsfiddle.net/DynamsoftTeam/csm2f9wb/">JSFiddle code editor</a>. </p>
336
+ <p>You can run the example deployed to <a href="https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.6.20&utm_source=npm">the Dynamsoft Demo Server</a> or test it with <a href="https://jsfiddle.net/DynamsoftTeam/csm2f9wb/">JSFiddle code editor</a>. </p>
337
337
  <p>You will be asked to allow access to your camera, after which the video will be displayed on the page. After that, you can point the camera at a barcode to read it.</p>
338
338
  <p>When a barcode is decoded, you will see the result text show up under the video and the barcode location will be highlighted in the video feed.</p>
339
339
  <p>Alternatively, you can test locally by copying and pasting the code shown above into a local file (e.g. "hello-world.html") and opening it in your browser.</p>
340
340
  <blockquote>
341
341
  <p><em>Secure Contexts</em>:</p>
342
- <p>If you open the web page as <code>http://</code> , our SDK may not work correctly because the <a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia">MediaDevices: getUserMedia()</a> and other methods only work in <a href="https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts">secure contexts</a> (HTTPS, <code>localhost</code>, <code>127.0.0.1</code>, <code>file://</code>), in some or all supporting browsers.</p>
342
+ <p>If you open the web page as <code>http://</code>, our SDK may not work correctly because the <a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia">MediaDevices: getUserMedia()</a> and other methods only work in <a href="https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts">secure contexts</a> (HTTPS, <code>localhost</code>, <code>127.0.0.1</code>, <code>file://</code>), in some or all supporting browsers.</p>
343
343
  <p>Regarding configuring https on your server, these guides for <a href="https://nginx.org/en/docs/http/configuring_https_servers.html">nginx</a> / <a href="https://aboutssl.org/how-to-create-a-self-signed-certificate-in-iis/">IIS</a> / <a href="https://dzone.com/articles/setting-ssl-tomcat-5-minutes">tomcat</a> / <a href="https://nodejs.org/docs/v0.4.1/api/tls.html">nodejs</a> might help.</p>
344
- <p>If the test doesn't go as expected, you can <a href="https://www.dynamsoft.com/company/contact/?ver=11.4.20&utm_source=npm&product=dbr&package=js">contact us</a>.</p>
344
+ <p>If the test doesn't go as expected, you can <a href="https://www.dynamsoft.com/company/contact/?ver=11.6.20&utm_source=npm&product=dbr&package=js">contact us</a>.</p>
345
345
  </blockquote>
346
346
  <h2 id="preparing-the-sdk">Preparing the SDK</h2>
347
347
  <h3 id="step-1-include-the-sdk">Step 1: Include the SDK</h3>
@@ -355,24 +355,24 @@ cvRouter.addResultFilter(filter);
355
355
  <ul>
356
356
  <li>jsDelivr</li>
357
357
  </ul>
358
- <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/dynamsoft-barcode-reader-bundle@11.4.3000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
358
+ <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/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
359
359
  </code></pre>
360
360
  <ul>
361
361
  <li>UNPKG</li>
362
362
  </ul>
363
- <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/dynamsoft-barcode-reader-bundle@11.4.3000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
363
+ <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/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
364
364
  </code></pre>
365
365
  <!-- - 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.
366
- <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://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@11.4.3000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
366
+ <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://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
367
367
  </code></pre>
368
368
 
369
369
  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. -->
370
370
  <ul>
371
371
  <li>In frameworks like React, Vue and Angular, you may want to add the package as a dependency.</li>
372
372
  </ul>
373
- <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.4.3000 -E
373
+ <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.6.2000 -E
374
374
  <span class="hljs-comment"># or</span>
375
- yarn add dynamsoft-barcode-reader-bundle@11.4.3000 -E
375
+ yarn add dynamsoft-barcode-reader-bundle@11.6.2000 -E
376
376
  </code></pre>
377
377
  <p>NOTE that in frameworks, you need to <a href="#2-optional-specify-the-location-of-the-engine-files">specify the location of the engine files</a>.</p>
378
378
  <div class="multi-panel-end"></div>
@@ -381,28 +381,28 @@ cvRouter.addResultFilter(filter);
381
381
  <p>Besides using the public CDN, you can also download the SDK and host its files on your own server or a commercial CDN before including it in your application.</p>
382
382
  <ul>
383
383
  <li><p>From the website</p>
384
- <p><a href="https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.4.20&utm_source=npm&product=dbr&package=js">Download Dynamsoft Barcode Reader JavaScript Package</a></p>
385
- <p>The resources are located at path <code>dynamsoft-barcode-reader-js-{version-number}/dist/</code>.</p></li>
384
+ <p><a href="https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.6.20&utm_source=npm&product=dbr&package=js">Download Dynamsoft Barcode Reader JavaScript Package</a></p>
385
+ <p>The resources are located at the path <code>dynamsoft-barcode-reader-js-{version-number}/dist/</code>.</p></li>
386
386
  <li><p>From npm</p></li>
387
387
  </ul>
388
- <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.4.3000 -E
388
+ <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.6.2000 -E
389
389
  </code></pre>
390
390
  <p>The resources are located at the path <code>node_modules/&lt;pkg&gt;</code>, without <code>@&lt;version&gt;</code>. You must copy "dynamsoft-xxx" packages elsewhere and add <code>@&lt;version&gt;</code>. The <code>&lt;version&gt;</code> can be obtained from <code>package.json</code> of each package. Another thing to do is to <a href="#2-optional-specify-the-location-of-the-engine-files">specify the engineResourcePaths</a> so that the SDK can correctly locate the resources.</p>
391
391
  <blockquote>
392
392
  <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>
393
393
  </blockquote>
394
394
  <p>You can typically include SDK like this:</p>
395
- <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/dynamsoft-barcode-reader-bundle@11.4.3000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
395
+ <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/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
396
396
  </code></pre>
397
397
  <div class="multi-panel-end"></div>
398
398
  <div class="multi-panel-switching-end"></div>
399
399
  <p><em>Note</em>:</p>
400
400
  <ul>
401
- <li>Certain legacy web application servers may lack support for the <code>application/wasm</code> mimetype for .wasm files. To address this, you have two options:</li>
401
+ <li>Certain legacy web application servers may lack support for the <code>application/wasm</code> MIME type for .wasm files. To address this, you have two options:</li>
402
402
  </ul>
403
403
  <ol>
404
- <li>Upgrade your web application server to one that supports the <code>application/wasm</code> mimetype.</li>
405
- <li>Manually define the mimetype on your server. You can refer to the guides for <a href="https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#media_types_and_character_encodings">apache</a> / <a href="https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap">IIS</a> / <a href="https://www.nginx.com/resources/wiki/start/topics/examples/full/#mime-types">nginx</a>.</li>
404
+ <li>Upgrade your web application server to one that supports the <code>application/wasm</code> MIME type.</li>
405
+ <li>Manually define the MIME type on your server. You can refer to the guides for <a href="https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#media_types_and_character_encodings">apache</a> / <a href="https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap">IIS</a> / <a href="https://www.nginx.com/resources/wiki/start/topics/examples/full/#mime-types">nginx</a>.</li>
406
406
  </ol>
407
407
  <ul>
408
408
  <li>To work properly, the SDK requires a few engine files, which are relatively large and may take quite a few seconds to download. We recommend that you set a longer cache time for these engine files, to maximize the performance of your web application.</li>
@@ -416,21 +416,21 @@ cvRouter.addResultFilter(filter);
416
416
  <p>To enable the SDK's functionality, you must provide a valid license. Utilize the API function initLicense to set your license key.</p>
417
417
  <pre><code class="hljs javascript language-javascript">Dynamsoft.License.LicenseManager.initLicense(<span class="hljs-string">&quot;DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9&quot;</span>);
418
418
  </code></pre>
419
- <p>As previously stated, the key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=11.4.20&utm_source=npm&product=dbr&package=js" target="_blank">Request a Trial License</a> link.</p>
419
+ <p>As previously stated, the key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=11.6.20&utm_source=npm&product=dbr&package=js" target="_blank">Request a Trial License</a> link.</p>
420
420
  <blockquote>
421
421
  <p>Upon registering a Dynamsoft account and obtaining the SDK package from the official website, Dynamsoft will automatically create a 30-day free trial license and embed the corresponding license key into all the provided SDK samples.</p>
422
422
  </blockquote>
423
423
  <h4 id="2-optional-specify-the-location-of-the-engine-files">2. [Optional] Specify the location of the "engine" files</h4>
424
- <p>This step is generally necessary when utilizing frameworks such as Angular, React, Vue, or when managing the hosting of resource files yourself.</p>
424
+ <p>This step is optional and is only necessary if you need to specify a custom location for the engine files, such as when hosting these resources yourself or when your project's build setup does not automatically resolve them from the default location.</p>
425
425
  <p>The purpose is to tell the SDK where to find the engine files (*.worker.js, *.wasm.js and *.wasm, etc.).</p>
426
- <pre><code class="hljs ts language-ts"><span class="hljs-comment">// in framework</span>
426
+ <pre><code class="hljs ts language-ts"><span class="hljs-comment">// In an ES Module</span>
427
427
  <span class="hljs-keyword">import</span> { CoreModule } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;dynamsoft-barcode-reader-bundle&quot;</span>;
428
428
  CoreModule.engineResourcePaths.rootDirectory = <span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/&quot;</span>;
429
429
  </code></pre>
430
- <pre><code class="hljs js language-js"><span class="hljs-comment">// in pure js</span>
430
+ <pre><code class="hljs js language-js"><span class="hljs-comment">// Using the global namespace</span>
431
431
  Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = <span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/&quot;</span>;
432
432
  </code></pre>
433
- <p>These code uses the jsDelivr CDN as an example, feel free to change it to your own location.</p>
433
+ <p>This code uses the jsDelivr CDN as an example, feel free to change it to your own location.</p>
434
434
  <h2 id="using-the-sdk">Using the SDK</h2>
435
435
  <h3 id="step-1-preload-the-module">Step 1: Preload the module</h3>
436
436
  <p>The image processing logic is encapsulated within .wasm library files, and these files may require some time for downloading. To enhance the speed, we advise utilizing the following method to preload the libraries.</p>
@@ -658,7 +658,7 @@ settings.timeout = <span class="hljs-number">500</span>;
658
658
  <h3 id="2-edit-the-preset-templates-directly">2. Edit the preset templates directly</h3>
659
659
  <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>
660
660
  <ul>
661
- <li>"/dynamsoft-barcode-reader-js-11.4.3000/dist/templates/"</li>
661
+ <li>"/dynamsoft-barcode-reader-js-11.6.2000/dist/templates/"</li>
662
662
  </ul>
663
663
  <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>
664
664
  <pre><code class="hljs javascript language-javascript"><span class="hljs-keyword">await</span> cvRouter.initSettings(<span class="hljs-string">&quot;PATH-TO-THE-FILE&quot;</span>); <span class="hljs-comment">// E.g. &quot;https://your-website/ReadSingleBarcode.json&quot;)</span>
@@ -732,7 +732,7 @@ uiElement.querySelector(<span class="hljs-string">&#x27;.dce-sel-resolution&#x27
732
732
  <h2 id="documentation">Documentation</h2>
733
733
  <h3 id="api-reference">API Reference</h3>
734
734
  <p>You can check out the detailed documentation about the APIs of the SDK at<br />
735
- <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.3000">https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.3000</a>.</p>
735
+ <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.6.2000">https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.6.2000</a>.</p>
736
736
  <!-- Compatibility is basically not an issue. Pls remove to another place
737
737
 
738
738
  ## System Requirements
@@ -744,7 +744,7 @@ DBR requires the following features to work:
744
744
  When deploying your application / website for production, make sure to serve it via a secure HTTPS connection. This is required for two reasons
745
745
 
746
746
  - Access to the camera video stream is only granted in a security context. Most browsers impose this restriction.
747
- > Some browsers like Chrome may grant the access for `http://127.0.0.1` and `http://localhost` or even for pages opened directly from the local disk (`file:///...`). This can be helpful for temporary development and test.
747
+ > Some browsers like Chrome may grant access for `http://127.0.0.1` and `http://localhost` or even for pages opened directly from the local disk (`file:///...`). This can be helpful for temporary development and testing.
748
748
 
749
749
  - Dynamsoft License requires a secure context to work.
750
750
 
package/README.md CHANGED
@@ -34,7 +34,7 @@ The complete code of the "Hello World" example is shown below
34
34
  <body>
35
35
  <div id="camera-view-container" style="width: 100%; height: 60vh"></div>
36
36
  <textarea id="results" style="width: 100%; min-height: 10vh; font-size: 3vmin; overflow: auto" disabled></textarea>
37
- <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.4.3000/dist/dbr.bundle.js"></script>
37
+ <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js"></script>
38
38
  <script>
39
39
  Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
40
40
  Dynamsoft.Core.CoreModule.loadWasm();
@@ -70,7 +70,7 @@ The complete code of the "Hello World" example is shown below
70
70
  ```
71
71
 
72
72
  <p align="center" style="text-align:center; white-space: normal; ">
73
- <a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.4.20/basics/hello-world.html" title="Code in Github" style="text-decoration:none;">
73
+ <a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.6.20/basics/hello-world.html" title="Code in Github" style="text-decoration:none;">
74
74
  <img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/github.svg" alt="Code in Github" width="20" height="20" style="width:20px;height:20px;">
75
75
  </a>
76
76
  &nbsp;
@@ -78,7 +78,7 @@ The complete code of the "Hello World" example is shown below
78
78
  <img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/jsfiddle.svg" alt="Run via JSFiddle" width="20" height="20" style="width:20px;height:20px;" >
79
79
  </a>
80
80
  &nbsp;
81
- <a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.4.20&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
81
+ <a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.6.20&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
82
82
  <img src="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.0.0/svgs/solid/circle-play.svg" alt="Run in Dynamsoft" width="20" height="20" style="width:20px;height:20px;">
83
83
  </a>
84
84
  </p>
@@ -123,7 +123,7 @@ The complete code of the "Hello World" example is shown below
123
123
 
124
124
  ### Run the example
125
125
 
126
- You can run the example deployed to [the Dynamsoft Demo Server](https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.4.20&utm_source=npm) or test it with [JSFiddle code editor](https://jsfiddle.net/DynamsoftTeam/csm2f9wb/).
126
+ You can run the example deployed to [the Dynamsoft Demo Server](https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.6.20&utm_source=npm) or test it with [JSFiddle code editor](https://jsfiddle.net/DynamsoftTeam/csm2f9wb/).
127
127
 
128
128
  You will be asked to allow access to your camera, after which the video will be displayed on the page. After that, you can point the camera at a barcode to read it.
129
129
 
@@ -133,11 +133,11 @@ Alternatively, you can test locally by copying and pasting the code shown above
133
133
 
134
134
  > *Secure Contexts*:
135
135
  >
136
- > If you open the web page as `http://` , our SDK may not work correctly because the [MediaDevices: getUserMedia()](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) and other methods only work in [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts) (HTTPS, `localhost`, `127.0.0.1`, `file://`), in some or all supporting browsers.
136
+ > If you open the web page as `http://`, our SDK may not work correctly because the [MediaDevices: getUserMedia()](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) and other methods only work in [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts) (HTTPS, `localhost`, `127.0.0.1`, `file://`), in some or all supporting browsers.
137
137
  >
138
138
  > Regarding configuring https on your server, these guides for [nginx](https://nginx.org/en/docs/http/configuring_https_servers.html) / [IIS](https://aboutssl.org/how-to-create-a-self-signed-certificate-in-iis/) / [tomcat](https://dzone.com/articles/setting-ssl-tomcat-5-minutes) / [nodejs](https://nodejs.org/docs/v0.4.1/api/tls.html) might help.
139
139
  >
140
- > If the test doesn't go as expected, you can [contact us](https://www.dynamsoft.com/company/contact/?ver=11.4.20&utm_source=npm&product=dbr&package=js).
140
+ > If the test doesn't go as expected, you can [contact us](https://www.dynamsoft.com/company/contact/?ver=11.6.20&utm_source=npm&product=dbr&package=js).
141
141
 
142
142
  ## Preparing the SDK
143
143
 
@@ -156,19 +156,19 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
156
156
  - jsDelivr
157
157
 
158
158
  ```html
159
- <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.4.3000/dist/dbr.bundle.js"></script>
159
+ <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js"></script>
160
160
  ```
161
161
 
162
162
  - UNPKG
163
163
 
164
164
  ```html
165
- <script src="https://unpkg.com/dynamsoft-barcode-reader-bundle@11.4.3000/dist/dbr.bundle.js"></script>
165
+ <script src="https://unpkg.com/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js"></script>
166
166
  ```
167
167
 
168
168
  <!-- - 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.
169
169
 
170
170
  ```html
171
- <script src="https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@11.4.3000/dist/dbr.bundle.js"></script>
171
+ <script src="https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js"></script>
172
172
  ```
173
173
 
174
174
  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. -->
@@ -176,9 +176,9 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
176
176
  - In frameworks like React, Vue and Angular, you may want to add the package as a dependency.
177
177
 
178
178
  ```sh
179
- npm i dynamsoft-barcode-reader-bundle@11.4.3000 -E
179
+ npm i dynamsoft-barcode-reader-bundle@11.6.2000 -E
180
180
  # or
181
- yarn add dynamsoft-barcode-reader-bundle@11.4.3000 -E
181
+ yarn add dynamsoft-barcode-reader-bundle@11.6.2000 -E
182
182
  ```
183
183
 
184
184
  NOTE that in frameworks, you need to [specify the location of the engine files](#2-optional-specify-the-location-of-the-engine-files).
@@ -191,14 +191,14 @@ Besides using the public CDN, you can also download the SDK and host its files o
191
191
 
192
192
  - From the website
193
193
 
194
- [Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.4.20&utm_source=npm&product=dbr&package=js)
194
+ [Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.6.20&utm_source=npm&product=dbr&package=js)
195
195
 
196
- The resources are located at path `dynamsoft-barcode-reader-js-{version-number}/dist/`.
196
+ The resources are located at the path `dynamsoft-barcode-reader-js-{version-number}/dist/`.
197
197
 
198
198
  - From npm
199
199
 
200
200
  ```sh
201
- npm i dynamsoft-barcode-reader-bundle@11.4.3000 -E
201
+ npm i dynamsoft-barcode-reader-bundle@11.6.2000 -E
202
202
  ```
203
203
 
204
204
  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.
@@ -207,7 +207,7 @@ Besides using the public CDN, you can also download the SDK and host its files o
207
207
  You can typically include SDK like this:
208
208
 
209
209
  ```html
210
- <script src="path/to/dynamsoft-barcode-reader-bundle@11.4.3000/dist/dbr.bundle.js"></script>
210
+ <script src="path/to/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js"></script>
211
211
  ```
212
212
  <div class="multi-panel-end"></div>
213
213
 
@@ -215,9 +215,9 @@ You can typically include SDK like this:
215
215
 
216
216
  *Note*:
217
217
 
218
- * Certain legacy web application servers may lack support for the `application/wasm` mimetype for .wasm files. To address this, you have two options:
219
- 1. Upgrade your web application server to one that supports the `application/wasm` mimetype.
220
- 2. Manually define the mimetype on your server. You can refer to the guides for [apache](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#media_types_and_character_encodings) / [IIS](https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap) / [nginx](https://www.nginx.com/resources/wiki/start/topics/examples/full/#mime-types).
218
+ * Certain legacy web application servers may lack support for the `application/wasm` MIME type for .wasm files. To address this, you have two options:
219
+ 1. Upgrade your web application server to one that supports the `application/wasm` MIME type.
220
+ 2. Manually define the MIME type on your server. You can refer to the guides for [apache](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#media_types_and_character_encodings) / [IIS](https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap) / [nginx](https://www.nginx.com/resources/wiki/start/topics/examples/full/#mime-types).
221
221
 
222
222
  * To work properly, the SDK requires a few engine files, which are relatively large and may take quite a few seconds to download. We recommend that you set a longer cache time for these engine files, to maximize the performance of your web application.
223
223
 
@@ -239,26 +239,26 @@ To enable the SDK's functionality, you must provide a valid license. Utilize the
239
239
  Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
240
240
  ```
241
241
 
242
- As previously stated, the key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=11.4.20&utm_source=npm&product=dbr&package=js" target="_blank">Request a Trial License</a> link.
242
+ As previously stated, the key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=11.6.20&utm_source=npm&product=dbr&package=js" target="_blank">Request a Trial License</a> link.
243
243
 
244
244
  > Upon registering a Dynamsoft account and obtaining the SDK package from the official website, Dynamsoft will automatically create a 30-day free trial license and embed the corresponding license key into all the provided SDK samples.
245
245
 
246
246
  #### 2. [Optional] Specify the location of the "engine" files
247
247
 
248
- This step is generally necessary when utilizing frameworks such as Angular, React, Vue, or when managing the hosting of resource files yourself.
248
+ This step is optional and is only necessary if you need to specify a custom location for the engine files, such as when hosting these resources yourself or when your project's build setup does not automatically resolve them from the default location.
249
249
 
250
250
  The purpose is to tell the SDK where to find the engine files (\*.worker.js, \*.wasm.js and \*.wasm, etc.).
251
251
 
252
252
  ```ts
253
- // in framework
253
+ // In an ES Module
254
254
  import { CoreModule } from "dynamsoft-barcode-reader-bundle";
255
255
  CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
256
256
  ```
257
257
  ```js
258
- // in pure js
258
+ // Using the global namespace
259
259
  Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
260
260
  ```
261
- These code uses the jsDelivr CDN as an example, feel free to change it to your own location.
261
+ This code uses the jsDelivr CDN as an example, feel free to change it to your own location.
262
262
 
263
263
  ## Using the SDK
264
264
 
@@ -526,7 +526,7 @@ await cvRouter.startCapturing("ReadSingleBarcode");
526
526
 
527
527
  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
528
528
 
529
- * "/dynamsoft-barcode-reader-js-11.4.3000/dist/templates/"
529
+ * "/dynamsoft-barcode-reader-js-11.6.2000/dist/templates/"
530
530
 
531
531
  Upon completing the template editing, you can invoke the `initSettings` method and provide it with the template path as an argument.
532
532
 
@@ -628,7 +628,7 @@ The UI is part of the auxiliary SDK "Dynamsoft Camera Enhancer", read more on ho
628
628
  ### API Reference
629
629
 
630
630
  You can check out the detailed documentation about the APIs of the SDK at
631
- [https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.3000](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.3000).
631
+ [https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.6.2000](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.6.2000).
632
632
 
633
633
  <!-- Compatibility is basically not an issue. Pls remove to another place
634
634
 
@@ -641,7 +641,7 @@ DBR requires the following features to work:
641
641
  When deploying your application / website for production, make sure to serve it via a secure HTTPS connection. This is required for two reasons
642
642
 
643
643
  - Access to the camera video stream is only granted in a security context. Most browsers impose this restriction.
644
- > Some browsers like Chrome may grant the access for `http://127.0.0.1` and `http://localhost` or even for pages opened directly from the local disk (`file:///...`). This can be helpful for temporary development and test.
644
+ > Some browsers like Chrome may grant access for `http://127.0.0.1` and `http://localhost` or even for pages opened directly from the local disk (`file:///...`). This can be helpful for temporary development and testing.
645
645
 
646
646
  - Dynamsoft License requires a secure context to work.
647
647