dynamsoft-barcode-reader-bundle 10.4.2001-beta-202410141916 → 10.4.2001
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 +2 -10
- package/README.md +2 -10
- package/dist/dbr.bundle.js +1 -1
- package/dist/dbr.bundle.mjs +1 -1
- package/dist/dbr.no-content-bundle.esm.js +1 -1
- package/package.json +2 -2
package/README.html
CHANGED
|
@@ -496,16 +496,8 @@ cvRouter.addResultFilter(filter);
|
|
|
496
496
|
<h4 id="specify-the-location-of-the-engine-files-optional">Specify the location of the "engine" files (optional)</h4>
|
|
497
497
|
<p>This is usually only required with frameworks like Angular or React, etc. where the referenced JavaScript files such as <code>cvr.js</code>, <code>dbr.js</code> are compiled into another file.</p>
|
|
498
498
|
<p>The purpose is to tell the SDK where to find the engine files (*.worker.js, *.wasm.js and *.wasm, etc.). The API is called <code>Dynamsoft.Core.CoreModule.engineResourcePaths</code>:</p>
|
|
499
|
-
<pre><code class="hljs javascript language-javascript"><span class="hljs-comment">//The following code uses the jsDelivr CDN, feel free to change it to your own location of these files</span>
|
|
500
|
-
<span class="hljs-
|
|
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
|
-
<span class="hljs-attr">dip</span>: <span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/"</span>,
|
|
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.21/dist/"</span>,
|
|
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
|
-
<span class="hljs-attr">dbr</span>: <span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/"</span>,
|
|
507
|
-
<span class="hljs-attr">dce</span>: <span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/"</span>
|
|
508
|
-
});
|
|
499
|
+
<pre><code class="hljs javascript language-javascript"><span class="hljs-comment">//The following code uses the jsDelivr CDN as an example, feel free to change it to your own location of these files</span>
|
|
500
|
+
CoreModule.engineResourcePaths.rootDirectory = <span class="hljs-string">"https://cdn.jsdelivr.net/npm/"</span>;
|
|
509
501
|
</code></pre>
|
|
510
502
|
<h3 id="set-up-and-start-image-processing">Set up and start image processing</h3>
|
|
511
503
|
<h4 id="preload-the-module">Preload the module</h4>
|
package/README.md
CHANGED
|
@@ -327,16 +327,8 @@ This is usually only required with frameworks like Angular or React, etc. where
|
|
|
327
327
|
The purpose is to tell the SDK where to find the engine files (\*.worker.js, \*.wasm.js and \*.wasm, etc.). The API is called `Dynamsoft.Core.CoreModule.engineResourcePaths`:
|
|
328
328
|
|
|
329
329
|
```javascript
|
|
330
|
-
//The following code uses the jsDelivr CDN, feel free to change it to your own location of these files
|
|
331
|
-
|
|
332
|
-
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/",
|
|
333
|
-
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/",
|
|
334
|
-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/",
|
|
335
|
-
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.21/dist/",
|
|
336
|
-
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/",
|
|
337
|
-
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/",
|
|
338
|
-
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/"
|
|
339
|
-
});
|
|
330
|
+
//The following code uses the jsDelivr CDN as an example, feel free to change it to your own location of these files
|
|
331
|
+
CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
|
|
340
332
|
```
|
|
341
333
|
|
|
342
334
|
### Set up and start image processing
|
package/dist/dbr.bundle.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @website http://www.dynamsoft.com
|
|
5
5
|
* @copyright Copyright 2024, Dynamsoft Corporation
|
|
6
6
|
* @author Dynamsoft
|
|
7
|
-
* @version 10.4.2001
|
|
7
|
+
* @version 10.4.2001
|
|
8
8
|
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
|
|
9
9
|
* More info on dbr JS: https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/
|
|
10
10
|
*/
|
package/dist/dbr.bundle.mjs
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @website http://www.dynamsoft.com
|
|
5
5
|
* @copyright Copyright 2024, Dynamsoft Corporation
|
|
6
6
|
* @author Dynamsoft
|
|
7
|
-
* @version 10.4.2001
|
|
7
|
+
* @version 10.4.2001
|
|
8
8
|
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
|
|
9
9
|
* More info on dbr JS: https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/
|
|
10
10
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @website http://www.dynamsoft.com
|
|
5
5
|
* @copyright Copyright 2024, Dynamsoft Corporation
|
|
6
6
|
* @author Dynamsoft
|
|
7
|
-
* @version 10.4.2001
|
|
7
|
+
* @version 10.4.2001
|
|
8
8
|
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
|
|
9
9
|
* More info on dbr JS: https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/
|
|
10
10
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dynamsoft-barcode-reader-bundle",
|
|
3
|
-
"version": "10.4.2001
|
|
3
|
+
"version": "10.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.",
|
|
5
5
|
"main": "dist/dbr.bundle.js",
|
|
6
6
|
"module": "dist/dbr.no-content-bundle.esm.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"registry": "https://registry.npmjs.org/",
|
|
64
|
-
"tag": "
|
|
64
|
+
"tag": "latest"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@dynamsoft/rd2-scripts": "^0.1.27",
|