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
@@ -0,0 +1,222 @@
1
+ <template>
2
+ <div style="position:relative;width:100%;height:100%;min-width:100px;min-height:100px;background:#ddd;">
3
+ <svg class="dce-bg-loading"
4
+ style="display:none;position:absolute;left:0;top:0;right:0;bottom:0;margin:auto;width:40%;height:40%;fill:#aaa;animation:1s linear infinite dce-rotate;"
5
+ viewBox="0 0 1792 1792">
6
+ <path d="M1760 896q0 176-68.5 336t-184 275.5-275.5 184-336 68.5-336-68.5-275.5-184-184-275.5-68.5-336q0-213 97-398.5t265-305.5 374-151v228q-221 45-366.5 221t-145.5 406q0 130 51 248.5t136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5q0-230-145.5-406t-366.5-221v-228q206 31 374 151t265 305.5 97 398.5z" />
7
+ </svg>
8
+ <svg class="dce-bg-camera"
9
+ style="display:none;position:absolute;left:0;top:0;right:0;bottom:0;margin:auto;width:40%;height:40%;fill:#aaa;"
10
+ viewBox="0 0 2048 1792">
11
+ <path d="M1024 672q119 0 203.5 84.5t84.5 203.5-84.5 203.5-203.5 84.5-203.5-84.5-84.5-203.5 84.5-203.5 203.5-84.5zm704-416q106 0 181 75t75 181v896q0 106-75 181t-181 75h-1408q-106 0-181-75t-75-181v-896q0-106 75-181t181-75h224l51-136q19-49 69.5-84.5t103.5-35.5h512q53 0 103.5 35.5t69.5 84.5l51 136h224zm-704 1152q185 0 316.5-131.5t131.5-316.5-131.5-316.5-316.5-131.5-316.5 131.5-131.5 316.5 131.5 316.5 316.5 131.5z" />
12
+ </svg>
13
+ <div class="dce-video-container" style="position:absolute;left:0;top:0;width:100%;height:100%;"></div>
14
+ <div class="dce-scanarea" style="position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;user-select:none;">
15
+ <div class="dce-scanlight" style="display:none;position:absolute;width:100%;height:3%;border-radius:50%;box-shadow:0px 0px 2vw 1px #00e5ff;background:#fff;animation:3s infinite dce-scanlight;"></div>
16
+ </div>
17
+ <div class="dce-macro-use-mobile-native-like-ui" style="display:none;">
18
+ <div class="dce-mn-torch" title="torch">
19
+ <svg class="dce-mn-torch-auto" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#fff">
20
+ <path d="M220,45 74.5,255 212.5,277.5 184,429 329.5,219 191.5,196.5Z"/>
21
+ <text x="250" y="480" font-size="256" font-family="Verdana">A</text>
22
+ </svg>
23
+ <svg class="dce-mn-torch-on" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#fff">
24
+ <path d="M280,0 86,280 270,310 232,512 426,232 242,202Z"/>
25
+ </svg>
26
+ <svg class="dce-mn-torch-off" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#fff">
27
+ <defs>
28
+ <mask id="dce-mn-torch-off-mask">
29
+ <rect width="512" height="512" fill="#fff"/>
30
+ <path d="M116,70 406,392 396,442 106,120Z" fill="#000"/>
31
+ </mask>
32
+ </defs>
33
+ <path d="M280,0 86,280 270,310 232,512 426,232 242,202Z" mask="url(#dce-mn-torch-off-mask)"/>
34
+ <path d="M118,85 408,407 394,427 104,105Z"/>
35
+ </svg>
36
+ </div>
37
+ <div class="dce-mn-beep" title="beep">
38
+ <svg class="dce-mn-beep-on" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke="#fff" fill="#fff">
39
+ <path d="M140,148 50,148 50,364 140,364 226,482 226,30Z" />
40
+ <path d="M260,168A128,128,0,0,1,260,344" stroke-width="16" fill="transparent"/>
41
+ <path d="M310,118A192,192,0,0,1,310,394" stroke-width="16" fill="transparent"/>
42
+ <path d="M360,68A256,256,0,0,1,360,444" stroke-width="16" fill="transparent"/>
43
+ </svg>
44
+ <svg class="dce-mn-beep-off" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke="#fff" fill="#fff">
45
+ <path d="M140,148 50,148 50,364 140,364 226,482 226,30Z" />
46
+ <path d="M260,168 436,344" stroke-width="16"/>
47
+ <path d="M436,168 260,344" stroke-width="16"/>
48
+ </svg>
49
+ </div>
50
+ <div class="dce-mn-vibrate" title="vibrate" style="display:none;">
51
+ <svg class="dce-mn-vibrate-on" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke="#fff" fill="#fff">
52
+ <path d="M60,180 180,60 452,332 332,452Z" stroke-width="16" stroke-linejoin="round" fill="transparent"/>
53
+ <path d="M67,247 70,310 133,313 136,376 199,379 202,442 265,445" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" fill="transparent"/>
54
+ <path d="M27,287 30,350 93,353 96,416 159,419 162,482 225,485" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" fill="transparent"/>
55
+ <path d="M247,67 310,70 313,133 376,136 379,199 442,202 445,265" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" fill="transparent"/>
56
+ <path d="M287,27 350,30 353,93 416,96 419,159 482,162 485,225" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" fill="transparent"/>
57
+ </svg>
58
+ <svg class="dce-mn-vibrate-off" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke="#fff" fill="#fff">
59
+ <path d="M60,180 180,60 452,332 332,452Z" stroke-width="16" stroke-linejoin="round" fill="transparent"/>
60
+ <path d="M67,247 70,310 133,313 136,376 199,379 202,442 265,445" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" fill="transparent"/>
61
+ <path d="M27,287 30,350 93,353 96,416 159,419 162,482 225,485" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" fill="transparent"/>
62
+ <path d="M300,122 480,122" stroke-width="16" stroke-linecap="round"/>
63
+ <path d="M390,32 390,212" stroke-width="16" stroke-linecap="round"/>
64
+ </svg>
65
+ </div>
66
+ <div class="dce-mn-resolution-box" title="camera settings">720P</div>
67
+ <div class="dce-mn-zoom">- <span>1.0X</span> -</div>
68
+ <div class="dce-mn-toast"></div>
69
+ <div class="dce-mn-camera-close" style="display:none;" title="close">
70
+ <svg viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#fff">
71
+ <defs>
72
+ <mask id="dce-mn-camera-close-mask">
73
+ <rect width="512" height="512" fill="#fff"/>
74
+ <path d="M128,128 384,384" stroke-width="60" stroke="#000"/>
75
+ <path d="M384,128 128,384" stroke-width="60" stroke="#000"/>
76
+ </mask>
77
+ </defs>
78
+ <circle cx="256" cy="256" r="256" mask="url(#dce-mn-camera-close-mask)"/>
79
+ </svg>
80
+ </div>
81
+ <div class="dce-mn-take-photo" style="display:none;" title="take photo"></div>
82
+ <div class="dce-mn-camera-switch" title="switch camera">
83
+ <svg viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" stroke="#fff" fill="#fff">
84
+ <defs>
85
+ <mask id="dce-mn-camera-switch-mask">
86
+ <rect width="512" height="512" fill="#fff"/>
87
+ <path d="M512,148 256,148" stroke-width="80" stroke="#000"/>
88
+ <path d="M0,364 256,364" stroke-width="80" stroke="#000"/>
89
+ </mask>
90
+ </defs>
91
+ <circle cx="256" cy="256" r="235" stroke-width="40" fill="transparent" mask="url(#dce-mn-camera-switch-mask)"/>
92
+ <path d="M450,108 300,108 400,70Z" stroke-width="0"/>
93
+ <path d="M62,404 212,404 112,442Z" stroke-width="0"/>
94
+ </svg>
95
+ </div>
96
+ <svg class="dce-mn-msg-poweredby" viewBox="0 0 94 17">
97
+ <path d="M0.9,14V4.3h2.3c0.6,0,1,0.1,1.4,0.3c0.3,0.2,0.6,0.5,0.7,0.9s0.2,0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0.6,0.1,0.7c0.1,0.1,0.2,0.2,0.5,0.2c0.1,0,0.2,0,0.2,0s0.2,0,0.3,0V14c-0.1,0-0.2,0-0.4,0.1
167
+ C92.9,14.1,92.8,14.1,92.7,14.1z" />
168
+ </svg>
169
+ <div class="dce-mn-camera-and-resolution-settings">
170
+ <div class="dce-mn-cameras">
171
+ <div class="dce-mn-camera-option" data-device-id="">example camera</div>
172
+ </div>
173
+ <div class="dce-mn-camera-and-resolution-bar"></div>
174
+ <div class="dce-mn-resolutions">
175
+ <div class="dce-mn-resolution-option" data-width="640" data-height="480">480P</div>
176
+ <div class="dce-mn-resolution-option" data-width="1080" data-height="720">720P</div>
177
+ <div class="dce-mn-resolution-option" data-width="1920" data-height="1080">1080P</div>
178
+ <div class="dce-mn-resolution-option" data-width="2560" data-height="1440">2K</div>
179
+ <div class="dce-mn-resolution-option" data-width="3840" data-height="2160">4K</div>
180
+ </div>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ <style>
185
+ @keyframes dce-rotate {
186
+ from { transform: rotate(0turn); }
187
+ to { transform: rotate(1turn); }
188
+ }
189
+ @keyframes dce-scanlight {
190
+ from { top: 0; }
191
+ to { top: 97%; }
192
+ }
193
+
194
+ .dce-macro-use-mobile-native-like-ui{width:100%;height:100%;position:absolute;font-family:Arial,Helvetica,sans-serif;pointer-events:none;user-select:none;}
195
+
196
+ .dce-mn-torch-auto,.dce-mn-torch-on,.dce-mn-torch-off
197
+ {position:absolute;height:max(3vmin,24px);left:12px;top:12px;padding:max(0.5vmin,4px);box-sizing:border-box;border-radius:max(1.5vmin,12px);background:rgba(100,100,100,0.5);cursor:pointer;pointer-events:initial;}
198
+
199
+ .dce-mn-beep-on,.dce-mn-beep-off
200
+ {position:absolute;height:max(3vmin,24px);left:calc(48px + max(3vmin,24px));padding:max(0.5vmin,4px);box-sizing:border-box;top:12px;border-radius:max(1.5vmin,12px);background:rgba(100,100,100,0.5);cursor:pointer;pointer-events:initial;}
201
+
202
+ .dce-mn-vibrate-on,.dce-mn-vibrate-off
203
+ {position:absolute;height:max(3vmin,24px);left:calc(84px + max(6vmin,48px));padding:max(0.25vmin,2px);box-sizing:border-box;top:12px;border-radius:max(1.5vmin,12px);background:rgba(100,100,100,0.5);cursor:pointer;pointer-events:initial;}
204
+
205
+ .dce-mn-resolution-box{position:absolute;width:max(5vmin,40px);right:12px;top:12px;font-size:max(1.25vmin,10px);line-height:max(2vmin,16px);padding:max(0.5vmin,4px);box-sizing:border-box;text-align:center;color:#fff;border-radius:max(0.75vmin,6px);background:rgba(100,100,100,0.5);cursor:pointer;pointer-events:initial;}
206
+
207
+ .dce-mn-zoom{position:absolute;font-size:max(1vmin,8px);line-height:max(3vmin,24px);left:50%;bottom:max(12.5vmin,100px);transform:translateX(-50%);color:#fff;}
208
+ .dce-mn-zoom span{width:max(3vmin,24px);border-radius:max(1.5vmin,12px);text-align:center;background:rgba(100,100,100,0.5);display:inline-block;}
209
+ .dce-mn-toast{position:absolute;font-size:max(1.25vmin,10px);line-height:max(3vmin,24px);padding:0 max(0.5vmin,4px);left:50%;bottom:max(12.5vmin,100px);transform:translateX(-50%);color:#fff;border-radius:max(0.5vmin,4px);background:rgba(100,100,100,0.5);}
210
+
211
+ .dce-mn-camera-close>svg{position:absolute;height:max(4vmin,32px);left:16px;bottom:32px;padding:max(0.5vmin,4px);border-radius:max(2.5vmin,20px);background:rgba(100,100,100,0.5);cursor:pointer;pointer-events:initial;}
212
+ .dce-mn-take-photo{position:absolute;width:max(7vmin,56px);height:max(7vmin,56px);border:max(0.5vmin,4px) solid #fff;left:50%;border-radius:max(3.5vmin,28px);box-sizing:border-box;bottom:max(4vmin,32px);transform:translateX(-50%);cursor:pointer;pointer-events:initial;}
213
+ .dce-mn-camera-switch>svg{position:absolute;height:max(4vmin,32px);right:16px;bottom:32px;padding:max(0.5vmin,4px);border-radius:max(2.5vmin,20px);background:rgba(100,100,100,0.5);cursor:pointer;pointer-events:initial;}
214
+
215
+ .dce-mn-msg-poweredby{position:absolute;height:max(2.125vmin,17px);left:50%;bottom:4px;transform:translateX(-50%);fill:#fff;}
216
+
217
+ .dce-mn-camera-and-resolution-settings{position:absolute;top:calc(24px + max(3vmin,24px));right:0;background:rgba(100,100,100,0.5);display:flex;pointer-events:initial;}
218
+ .dce-mn-camera-option{font-size:max(1.25vmin,10px);line-height:max(2vmin,16px);padding:max(0.5vmin,4px);margin:12px;box-sizing:border-box;text-align:center;color:#fff;border-radius:max(0.75vmin,6px);background:rgba(100,100,100,0.5);cursor:pointer;}
219
+ .dce-mn-camera-and-resolution-bar{width:1px;align-self:stretch;background:rgba(100,100,100,0.5);}
220
+ .dce-mn-resolution-option{width:max(5vmin,40px);font-size:max(1.25vmin,10px);line-height:max(2vmin,16px);padding:max(0.5vmin,4px);margin:12px;box-sizing:border-box;text-align:center;color:#fff;border-radius:max(0.75vmin,6px);background:rgba(100,100,100,0.5);cursor:pointer;}
221
+ </style>
222
+ </template>
package/package.json CHANGED
@@ -1,78 +1,79 @@
1
- {
2
- "name": "dynamsoft-barcode-reader-bundle",
3
- "version": "11.4.3000",
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
- "main": "dist/dbr.bundle.js",
6
- "module": "dist/dbr.bundle.esm.js",
7
- "exports": {
8
- "import": {
9
- "types": "./dist/dbr.bundle.d.ts",
10
- "default": "./dist/dbr.bundle.esm.js"
11
- },
12
- "require": {
13
- "types": "./dist/dbr.bundle.d.ts",
14
- "default": "./dist/dbr.bundle.js"
15
- }
16
- },
17
- "sideEffects": true,
18
- "types": "dist/dbr.bundle.d.ts",
19
- "type": "module",
20
- "files": [
21
- "/dist",
22
- "LEGAL.txt",
23
- "LICENSE",
24
- "samples.url"
25
- ],
26
- "scripts": {
27
- "test": "echo \"Error: no test specified\" && exit 1",
28
- "build": "rollup -c --environment BUILD:production",
29
- "build-dev": "rollup -c --environment BUILD:development",
30
- "build-core": "cd ../CORE && npm run build-bundle -- DBR CORE && cd ../DBR_BUNDLE && npm run build-dev",
31
- "build-cvr": "cd ../CVR && npm run build-bundle -- DBR CVR && cd ../DBR_BUNDLE && npm run build-dev",
32
- "build-dbr": "cd ../DBR && npm run build-bundle -- DBR DBR && cd ../DBR_BUNDLE && npm run build-dev",
33
- "build-dce": "cd ../DCE && npm run build-bundle -- DBR DCE && cd ../DBR_BUNDLE && npm run build-dev",
34
- "build-dcp": "cd ../DCP && npm run build-bundle -- DBR DCP && cd ../DBR_BUNDLE && npm run build-dev",
35
- "build-license": "cd ../LICENSE && npm run build-bundle -- DBR LICENSE && cd ../DBR_BUNDLE && npm run build-dev",
36
- "build-utility": "cd ../UTILITY && npm run build-bundle -- DBR UTILITY && cd ../DBR_BUNDLE && npm run build-dev",
37
- "update:readme": "updateReadme --package=dynamsoft-barcode-reader-bundle --version=latest --branch=preview --html --rtu",
38
- "updateLink:npm": "updateLink --source=npm",
39
- "updateLink:zip": "updateLink --source=zip",
40
- "updateLink:github": "updateLink --source=github",
41
- "update:prod": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=production --tag=latest",
42
- "update:beta": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=beta --tag=beta",
43
- "update:iv": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=internalVersion --tag=iv",
44
- "update:dev": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=development --tag=latest",
45
- "makeZip": "makeZip --package=dynamsoft-barcode-reader-bundle --version=auto --sampleBranch=_dev --structure=old --otherPkgs=dynamsoft-capture-vision-std dynamsoft-image-processing dynamsoft-core dynamsoft-license dynamsoft-capture-vision-router dynamsoft-utility dynamsoft-camera-enhancer dynamsoft-barcode-reader",
46
- "easyPublish": "npm run update:dev && npm run build && npm publish"
47
- },
48
- "keywords": [
49
- "HTML5 barcode",
50
- "JavaScript barcode",
51
- "Web barcode",
52
- "barcode",
53
- "PDF417",
54
- "QRCode",
55
- "Aztec Code",
56
- "WebAssembly",
57
- "SDK",
58
- "Linear barcode",
59
- "1D barcode"
60
- ],
61
- "author": {
62
- "name": "Dynamsoft",
63
- "url": "https://www.dynamsoft.com",
64
- "email": "support@dynamsoft.com"
65
- },
66
- "license": "SEE LICENSE IN LICENSE",
67
- "repository": {
68
- "type": "git",
69
- "url": "git+https://github.com/dynamsoft/barcode-reader-javascript.git"
70
- },
71
- "publishConfig": {
72
- "registry": "https://registry.npmjs.org/",
73
- "tag": "latest"
74
- },
75
- "overrides": {
76
- "dynamsoft-core": "$dynamsoft-core"
77
- }
78
- }
1
+ {
2
+ "name": "dynamsoft-barcode-reader-bundle",
3
+ "version": "11.6.2000",
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
+ "main": "dist/dbr.bundle.js",
6
+ "module": "dist/dbr.bundle.esm.js",
7
+ "exports": {
8
+ "import": {
9
+ "types": "./dist/dbr.bundle.d.ts",
10
+ "default": "./dist/dbr.bundle.esm.js"
11
+ },
12
+ "require": {
13
+ "types": "./dist/dbr.bundle.d.ts",
14
+ "default": "./dist/dbr.bundle.js"
15
+ }
16
+ },
17
+ "sideEffects": true,
18
+ "types": "dist/dbr.bundle.d.ts",
19
+ "type": "module",
20
+ "files": [
21
+ "/dist",
22
+ "LEGAL.txt",
23
+ "LICENSE",
24
+ "samples.url"
25
+ ],
26
+ "scripts": {
27
+ "test": "echo \"Error: no test specified\" && exit 1",
28
+ "build": "rollup -c --environment BUILD:production",
29
+ "build-dev": "rollup -c --environment BUILD:development",
30
+ "build-core": "cd ../CORE && npm run build-bundle -- DBR CORE && cd ../DBR_BUNDLE && npm run build-dev",
31
+ "build-cvr": "cd ../CVR && npm run build-bundle -- DBR CVR && cd ../DBR_BUNDLE && npm run build-dev",
32
+ "build-dbr": "cd ../DBR && npm run build-bundle -- DBR DBR && cd ../DBR_BUNDLE && npm run build-dev",
33
+ "build-dce": "cd ../DCE && npm run build-bundle -- DBR DCE && cd ../DBR_BUNDLE && npm run build-dev",
34
+ "build-dcp": "cd ../DCP && npm run build-bundle -- DBR DCP && cd ../DBR_BUNDLE && npm run build-dev",
35
+ "build-license": "cd ../LICENSE && npm run build-bundle -- DBR LICENSE && cd ../DBR_BUNDLE && npm run build-dev",
36
+ "build-utility": "cd ../UTILITY && npm run build-bundle -- DBR UTILITY && cd ../DBR_BUNDLE && npm run build-dev",
37
+ "build-dip": "cd ../DIP && npm run build-bundle -- DCV DIP && cd ../DCV_BUNDLE && npm run build-dev",
38
+ "update:readme": "updateReadme --package=dynamsoft-barcode-reader-bundle --version=latest --branch=preview --html --rtu",
39
+ "updateLink:npm": "updateLink --source=npm",
40
+ "updateLink:zip": "updateLink --source=zip",
41
+ "updateLink:github": "updateLink --source=github",
42
+ "update:prod": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=production --tag=latest",
43
+ "update:beta": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=beta --tag=beta",
44
+ "update:iv": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=internalVersion --tag=iv",
45
+ "update:dev": "updatePackage --package=dynamsoft-barcode-reader-bundle --version=auto --env=development --tag=latest",
46
+ "makeZip": "makeZip --package=dynamsoft-barcode-reader-bundle --version=auto --sampleBranch=_dev --structure=old --otherPkgs=dynamsoft-capture-vision-std dynamsoft-image-processing dynamsoft-core dynamsoft-license dynamsoft-capture-vision-router dynamsoft-utility dynamsoft-camera-enhancer dynamsoft-barcode-reader",
47
+ "easyPublish": "npm run update:dev && npm run build && npm publish"
48
+ },
49
+ "keywords": [
50
+ "HTML5 barcode",
51
+ "JavaScript barcode",
52
+ "Web barcode",
53
+ "barcode",
54
+ "PDF417",
55
+ "QRCode",
56
+ "Aztec Code",
57
+ "WebAssembly",
58
+ "SDK",
59
+ "Linear barcode",
60
+ "1D barcode"
61
+ ],
62
+ "author": {
63
+ "name": "Dynamsoft",
64
+ "url": "https://www.dynamsoft.com",
65
+ "email": "support@dynamsoft.com"
66
+ },
67
+ "license": "SEE LICENSE IN LICENSE",
68
+ "repository": {
69
+ "type": "git",
70
+ "url": "git+https://github.com/dynamsoft/barcode-reader-javascript.git"
71
+ },
72
+ "publishConfig": {
73
+ "registry": "https://registry.npmjs.org/",
74
+ "tag": "latest"
75
+ },
76
+ "overrides": {
77
+ "dynamsoft-core": "$dynamsoft-core"
78
+ }
79
+ }
package/samples.url CHANGED
@@ -1,2 +1,2 @@
1
1
  [InternetShortcut]
2
- URL=https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.4.30
2
+ URL=https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.6.20