Skip to content

Commit a672a37

Browse files
11.4.2001
Co-authored-by: DMGithubPublisher <[email protected]>
1 parent 80f3a20 commit a672a37

7 files changed

Lines changed: 56 additions & 30 deletions

File tree

README.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ <h3 id="understand-the-code">Understand the code</h3>
283283
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
284284
<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>
285285
<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>
286-
<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>
286+
<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].2001/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
287287
<span class="hljs-tag">&lt;<span class="hljs-name">script</span>&gt;</span><span class="javascript">
288288
Dynamsoft.License.LicenseManager.initLicense(<span class="hljs-string">&quot;DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9&quot;</span>);
289289
Dynamsoft.Core.CoreModule.loadWasm();
@@ -391,24 +391,24 @@ <h3 id="step-1-include-the-sdk">Step 1: Include the SDK</h3>
391391
<ul>
392392
<li>jsDelivr</li>
393393
</ul>
394-
<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>
394+
<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].2001/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
395395
</code></pre>
396396
<ul>
397397
<li>UNPKG</li>
398398
</ul>
399-
<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>
399+
<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].2001/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
400400
</code></pre>
401401
<!-- - 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.
402-
<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/[email protected].2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
402+
<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/[email protected].2001/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
403403
</code></pre>
404404
405405
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. -->
406406
<ul>
407407
<li>In frameworks like React, Vue and Angular, you may want to add the package as a dependency.</li>
408408
</ul>
409-
<pre><code class="hljs sh language-sh"> npm i [email protected].2000 -E
409+
<pre><code class="hljs sh language-sh"> npm i [email protected].2001 -E
410410
<span class="hljs-comment"># or</span>
411-
yarn add [email protected].2000 -E
411+
yarn add [email protected].2001 -E
412412
</code></pre>
413413
<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>
414414
<div class="multi-panel-end"></div>
@@ -421,14 +421,14 @@ <h3 id="step-1-include-the-sdk">Step 1: Include the SDK</h3>
421421
<p>The resources are located at path <code>dynamsoft/distributables/&lt;pkg&gt;@&lt;version&gt;</code>.</p></li>
422422
<li><p>From npm</p></li>
423423
</ul>
424-
<pre><code class="hljs sh language-sh"> npm i [email protected].2000 -E
424+
<pre><code class="hljs sh language-sh"> npm i [email protected].2001 -E
425425
</code></pre>
426426
<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>
427427
<blockquote>
428428
<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>
429429
</blockquote>
430430
<p>You can typically include SDK like this:</p>
431-
<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>
431+
<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].2001/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
432432
</code></pre>
433433
<div class="multi-panel-end"></div>
434434
<div class="multi-panel-switching-end"></div>
@@ -694,7 +694,7 @@ <h4 id="14-specify-a-scan-region">1.4. Specify a scan region</h4>
694694
<h3 id="2-edit-the-preset-templates-directly">2. Edit the preset templates directly</h3>
695695
<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>
696696
<ul>
697-
<li>"/dynamsoft-barcode-reader-js-11.4.2000/dist/templates/"</li>
697+
<li>"/dynamsoft-barcode-reader-js-11.4.2001/dist/templates/"</li>
698698
</ul>
699699
<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>
700700
<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>
@@ -768,7 +768,7 @@ <h2 id="customizing-the-ui">Customizing the UI</h2>
768768
<h2 id="documentation">Documentation</h2>
769769
<h3 id="api-reference">API Reference</h3>
770770
<p>You can check out the detailed documentation about the APIs of the SDK at<br />
771-
<a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2000">https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2000</a>.</p>
771+
<a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2001">https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2001</a>.</p>
772772
<!-- Compatibility is basically not an issue. Pls remove to another place
773773
774774
## System Requirements

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The complete code of the "Hello World" example is shown below
7070
<body>
7171
<div id="camera-view-container" style="width: 100%; height: 60vh"></div>
7272
<textarea id="results" style="width: 100%; min-height: 10vh; font-size: 3vmin; overflow: auto" disabled></textarea>
73-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2000/dist/dbr.bundle.js"></script>
73+
<script src="https://cdn.jsdelivr.net/npm/[email protected].2001/dist/dbr.bundle.js"></script>
7474
<script>
7575
Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
7676
Dynamsoft.Core.CoreModule.loadWasm();
@@ -192,29 +192,29 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
192192
- jsDelivr
193193
194194
```html
195-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2000/dist/dbr.bundle.js"></script>
195+
<script src="https://cdn.jsdelivr.net/npm/[email protected].2001/dist/dbr.bundle.js"></script>
196196
```
197197
198198
- UNPKG
199199
200200
```html
201-
<script src="https://unpkg.com/[email protected].2000/dist/dbr.bundle.js"></script>
201+
<script src="https://unpkg.com/[email protected].2001/dist/dbr.bundle.js"></script>
202202
```
203203
204204
<!-- - 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.
205205
206206
```html
207-
<script src="https://download2.dynamsoft.com/packages/[email protected].2000/dist/dbr.bundle.js"></script>
207+
<script src="https://download2.dynamsoft.com/packages/[email protected].2001/dist/dbr.bundle.js"></script>
208208
```
209209
210210
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. -->
211211
212212
- In frameworks like React, Vue and Angular, you may want to add the package as a dependency.
213213
214214
```sh
215-
npm i [email protected].2000 -E
215+
npm i [email protected].2001 -E
216216
# or
217-
yarn add [email protected].2000 -E
217+
yarn add [email protected].2001 -E
218218
```
219219
220220
NOTE that in frameworks, you need to [specify the location of the engine files](#2-optional-specify-the-location-of-the-engine-files).
@@ -234,7 +234,7 @@ Besides using the public CDN, you can also download the SDK and host its files o
234234
- From npm
235235
236236
```sh
237-
npm i [email protected].2000 -E
237+
npm i [email protected].2001 -E
238238
```
239239
240240
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
243243
You can typically include SDK like this:
244244
245245
```html
246-
<script src="path/to/[email protected].2000/dist/dbr.bundle.js"></script>
246+
<script src="path/to/[email protected].2001/dist/dbr.bundle.js"></script>
247247
```
248248
<div class="multi-panel-end"></div>
249249
@@ -562,7 +562,7 @@ await cvRouter.startCapturing("ReadSingleBarcode");
562562
563563
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
564564
565-
* "/dynamsoft-barcode-reader-js-11.4.2000/dist/templates/"
565+
* "/dynamsoft-barcode-reader-js-11.4.2001/dist/templates/"
566566
567567
Upon completing the template editing, you can invoke the `initSettings` method and provide it with the template path as an argument.
568568
@@ -664,7 +664,7 @@ The UI is part of the auxiliary SDK "Dynamsoft Camera Enhancer", read more on ho
664664
### API Reference
665665
666666
You can check out the detailed documentation about the APIs of the SDK at
667-
[https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2000](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2000).
667+
[https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2001](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2001).
668668
669669
<!-- Compatibility is basically not an issue. Pls remove to another place
670670

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.

package.json

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dynamsoft-barcode-reader-bundle",
3-
"version": "11.4.2000",
3+
"version": "11.4.2001",
44
"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.",
55
"main": "dist/dbr.bundle.js",
66
"module": "dist/dbr.bundle.esm.js",
@@ -38,7 +38,7 @@
3838
"updateLink:npm": "updateLink --source=npm",
3939
"updateLink:zip": "updateLink --source=zip",
4040
"updateLink:github": "updateLink --source=github",
41-
"update:prod": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=production --tag=latest && npm pkg delete devDependencies",
41+
"update:prod": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=production --tag=latest",
4242
"update:beta": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=beta --tag=beta",
4343
"update:iv": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=internalVersion --tag=iv",
4444
"update:dev": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=development --tag=latest",
@@ -72,6 +72,32 @@
7272
"registry": "https://registry.npmjs.org/",
7373
"tag": "latest"
7474
},
75+
"devDependencies": {
76+
"@babel/core": "^7.24.0",
77+
"@babel/preset-env": "^7.24.0",
78+
"@dynamsoft/dm-camera": "5.0.0-dev-20260424104800",
79+
"@dynamsoft/dynamsoft-barcode-reader": "11.4.20-dev-20260417175846",
80+
"@dynamsoft/dynamsoft-capture-vision-router": "3.4.20-dev-20260423155104",
81+
"@dynamsoft/dynamsoft-code-parser": "3.4.20-dev-20260415104120",
82+
"@dynamsoft/dynamsoft-license": "4.4.20-dev-20260415104056",
83+
"@dynamsoft/dynamsoft-utility": "2.4.20-dev-20260415104100",
84+
"@dynamsoft/rd2-scripts": "0.1.52",
85+
"@rollup/plugin-babel": "^6.0.4",
86+
"@rollup/plugin-node-resolve": "^15.2.3",
87+
"@rollup/plugin-replace": "^5.0.5",
88+
"@rollup/plugin-terser": "^0.4.4",
89+
"@rollup/plugin-typescript": "^11.1.6",
90+
"@scannerproxy/curscript-path": "^2.0.6",
91+
"@scannerproxy/dlsjs": "3.0.39",
92+
"@types/node": "^22.15.3",
93+
"dynamsoft-core": "npm:@dynamsoft/[email protected]",
94+
"mutable-promise": "^1.1.15",
95+
"rollup": "^3.29.3",
96+
"rollup-plugin-dts": "^6.1.0",
97+
"terser": "^5.43.0",
98+
"tslib": "^2.6.2",
99+
"typescript": "^4.9.5"
100+
},
75101
"overrides": {
76102
"dynamsoft-core": "$dynamsoft-core"
77103
}

0 commit comments

Comments
 (0)