Skip to content

Commit b16bf32

Browse files
author
Cube
authored
Merge pull request #157 from Dynamsoft/_dev
Dev
2 parents 5d3f52b + 7ceac1b commit b16bf32

36 files changed

+659
-663
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A default license is included which allows you to test the sample apps for up to
88

99
## Documentation
1010

11-
For the developer guide and full API reference of Dynamsoft Barcode Reader JavaScript library, please check out the [documentation](https://www.dynamsoft.com/barcode-reader/programming/javascript/?ver=10.0.20&utm_source=sampleReadme).
11+
For the developer guide and full API reference of Dynamsoft Barcode Reader JavaScript library, please check out the [documentation](https://www.dynamsoft.com/barcode-reader/programming/javascript/?ver=10.0.21&utm_source=sampleReadme).
1212

1313
## Support
1414

hello-world/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The Hello World Sample Set
22

3-
As you have already gone through the [user guide](https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20#getting-started---hello-world), you may have come across some basic "Hello World" code that can help you create a simple web application using our SDK quickly.
3+
As you have already gone through the [user guide](https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.21#getting-started---hello-world), you may have come across some basic "Hello World" code that can help you create a simple web application using our SDK quickly.
44

55
In this set of samples, we will revisit the "Hello World" code and show how to implement it using some popular frameworks, such as Angular, React, and Vue.
66

hello-world/angular/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@ LicenseManager.initLicense(
5151
/**
5252
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.
5353
* Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license.
54-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
54+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com.
5555
* LICENSE ALERT - THE END
5656
*/
5757

5858
CoreModule.engineResourcePaths = {
5959
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/",
6060
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/",
61-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/",
62-
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/",
63-
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/",
64-
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/",
61+
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/",
62+
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/",
63+
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/",
64+
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/",
6565
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/"
6666
};
6767

hello-world/angular/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"@angular/platform-browser": "^16.2.0",
1919
"@angular/platform-browser-dynamic": "^16.2.0",
2020
"@angular/router": "^16.2.0",
21-
"dynamsoft-barcode-reader": "10.0.20",
21+
"dynamsoft-barcode-reader": "10.0.21",
2222
"dynamsoft-utility": "1.0.21",
2323
"dynamsoft-camera-enhancer": "4.0.1",
24-
"dynamsoft-capture-vision-router": "2.0.31",
25-
"dynamsoft-core": "3.0.32",
26-
"dynamsoft-license": "3.0.20",
24+
"dynamsoft-capture-vision-router": "2.0.32",
25+
"dynamsoft-core": "3.0.33",
26+
"dynamsoft-license": "3.0.40",
2727
"rxjs": "~7.8.0",
2828
"tslib": "^2.3.0",
2929
"zone.js": "~0.13.0"

hello-world/angular/src/cvr.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ LicenseManager.initLicense(
1313
/**
1414
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.
1515
* Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license.
16-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
16+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com.
1717
* LICENSE ALERT - THE END
1818
*/
1919

2020
CoreModule.engineResourcePaths = {
2121
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/",
2222
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/",
23-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/",
24-
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/",
25-
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/",
26-
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/",
23+
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/",
24+
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/",
25+
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/",
26+
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/",
2727
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/"
2828
};
2929

hello-world/electron/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Dynamsoft.License.LicenseManager.initLicense(
125125
/**
126126
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.
127127
* Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license.
128-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
128+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com.
129129
* LICENSE ALERT - THE END
130130
*/
131131

hello-world/electron/action.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Dynamsoft.License.LicenseManager.initLicense(
99
/**
1010
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.
1111
* Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license.
12-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
12+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com.
1313
* LICENSE ALERT - THE END
1414
*/
1515

hello-world/electron/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"electron": "^26.4.1"
2222
},
2323
"dependencies": {
24-
"dynamsoft-barcode-reader": "10.0.20",
24+
"dynamsoft-barcode-reader": "10.0.21",
2525
"dynamsoft-camera-enhancer": "4.0.1",
26-
"dynamsoft-capture-vision-router": "2.0.31",
26+
"dynamsoft-capture-vision-router": "2.0.32",
2727
"dynamsoft-capture-vision-std": "1.0.0",
28-
"dynamsoft-core": "3.0.32",
28+
"dynamsoft-core": "3.0.33",
2929
"dynamsoft-image-processing": "2.0.30",
30-
"dynamsoft-license": "3.0.20",
30+
"dynamsoft-license": "3.0.40",
3131
"dynamsoft-utility": "1.0.21"
3232
}
3333
}

hello-world/es6.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ <h1>Hello World for ES6 (Decode via Camera)</h1>
3333
<script type="importmap">
3434
{
3535
"imports": {
36-
"dynamsoft-core": "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/core.mjs",
37-
"dynamsoft-license": "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/license.mjs",
36+
"dynamsoft-core": "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/core.mjs",
37+
"dynamsoft-license": "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/license.mjs",
3838
"dynamsoft-utility": "https://cdn.jsdelivr.net/npm/dynamsoft-utility@1.0.21/dist/utility.mjs",
39-
"dynamsoft-barcode-reader": "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/dbr.mjs",
40-
"dynamsoft-capture-vision-router": "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/cvr.mjs",
39+
"dynamsoft-barcode-reader": "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/dbr.mjs",
40+
"dynamsoft-capture-vision-router": "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/cvr.mjs",
4141
"dynamsoft-camera-enhancer": "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/dce.mjs"
4242
}
4343
}
@@ -67,17 +67,17 @@ <h1>Hello World for ES6 (Decode via Camera)</h1>
6767
/**
6868
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.
6969
* Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license.
70-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
70+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com.
7171
* LICENSE ALERT - THE END
7272
*/
7373

7474
CoreModule.engineResourcePaths = {
7575
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/",
7676
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/",
77-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/",
78-
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/",
79-
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/",
80-
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/",
77+
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/",
78+
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/",
79+
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/",
80+
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/",
8181
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/"
8282
};
8383
(async function () {

hello-world/hello-world.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<title>
1616
Dynamsoft Barcode Reader Sample - Hello World (Decode via Camera)
1717
</title>
18-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/core.js"></script>
19-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/license.js"></script>
18+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/core.js"></script>
19+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/license.js"></script>
2020
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-utility@1.0.21/dist/utility.js"></script>
21-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/dbr.js"></script>
22-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/cvr.js"></script>
21+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/dbr.js"></script>
22+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/cvr.js"></script>
2323
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/dce.js"></script>
2424
</head>
2525

@@ -48,7 +48,7 @@ <h1>Hello World (Decode via Camera)</h1>
4848
/**
4949
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.
5050
* Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license.
51-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
51+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com.
5252
* LICENSE ALERT - THE END
5353
*/
5454

0 commit comments

Comments
 (0)