Skip to content

Commit 11427ab

Browse files
committed
update version to 9.0.2
2 parents 9eb6129 + 944a3e7 commit 11427ab

37 files changed

+123
-71
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.DS_Store
22
node_modules
3-
# dist
4-
# build
3+
dist
4+
build
55

66
# local env files
77
.env.local

1.hello-world/1.hello-world.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,18 @@
1111

1212
<body>
1313
Loading...
14-
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/dbr.js"></script>
14+
<script src="https://cdn.jsdelivr.net/npm/[email protected].2/dist/dbr.js"></script>
1515
<script>
1616
/** LICENSE ALERT - README
1717
* To use the library, you need to first specify a license key using the API "license" as shown below.
1818
*/
1919

20-
Dynamsoft.DBR.BarcodeReader.organizationID = "200000";
21-
Dynamsoft.DBR.BarcodeReader.handshakeCode = "200000-dbr_js_samples";
20+
Dynamsoft.DBR.BarcodeReader.license = 'DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9';
2221

2322
/**
2423
* 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.
2524
* 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.
26-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.1&utm_source=github#specify-the-license or contact [email protected].
25+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.2&utm_source=github#specify-the-license or contact [email protected].
2726
* LICENSE ALERT - THE END
2827
*/
2928

1.hello-world/10.read-video-pwa/helloworld-pwa.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,18 @@
1313
<body>
1414
<h1 style="font-size: 1.5em;">Hello World for PWA</h1>
1515
Loading...
16-
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/dbr.js"></script>
16+
<script src="https://cdn.jsdelivr.net/npm/[email protected].2/dist/dbr.js"></script>
1717
<script>
1818
/** LICENSE ALERT - README
1919
* To use the library, you need to first specify a license key using the API "license" as shown below.
2020
*/
2121

22-
Dynamsoft.DBR.BarcodeReader.organizationID = "200000";
23-
Dynamsoft.DBR.BarcodeReader.handshakeCode = "200000-dbr_js_samples";
22+
Dynamsoft.DBR.BarcodeReader.license = 'DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9';
2423

2524
/**
2625
* 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.
2726
* 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.
28-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.1&utm_source=github#specify-the-license or contact [email protected].
27+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.2&utm_source=github#specify-the-license or contact [email protected].
2928
* LICENSE ALERT - THE END
3029
*/
3130

1.hello-world/11.read-video-requirejs.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,24 @@ <h1 style="font-size: 1.5em;">Hello World for RequireJS</h1>
1313
Loading...
1414
<script src="https://cdn.jsdelivr.net/npm/[email protected]/require.js"></script>
1515
<script>
16-
requirejs(['https://cdn.jsdelivr.net/npm/[email protected].1/dist/dbr.js'], function({
16+
requirejs(['https://cdn.jsdelivr.net/npm/[email protected].2/dist/dbr.js'], function({
1717
BarcodeReader,
1818
BarcodeScanner
1919
}) {
2020
/** LICENSE ALERT - README
2121
* To use the library, you need to first specify a license key using the API "license" as shown below.
2222
*/
2323

24-
BarcodeReader.organizationID = "200000";
25-
BarcodeReader.handshakeCode = "200000-dbr_js_samples";
24+
BarcodeReader.license = 'DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9';
2625

2726
/**
2827
* 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.
2928
* 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.
30-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.1&utm_source=github#specify-the-license or contact [email protected].
29+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.2&utm_source=github#specify-the-license or contact [email protected].
3130
* LICENSE ALERT - THE END
3231
*/
3332

34-
BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/[email protected].1/dist/";
33+
BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/[email protected].2/dist/";
3534
let pScanner = null;
3635
(async function() {
3736
try {

1.hello-world/12.read-video-es6.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,21 @@
1313
<h1 style="font-size: 1.5em;">Hello World for ES6</h1>
1414
Loading...
1515
<script type="module">
16-
import { BarcodeReader, BarcodeScanner } from 'https://cdn.jsdelivr.net/npm/[email protected].1/dist/dbr.mjs';
16+
import { BarcodeReader, BarcodeScanner } from 'https://cdn.jsdelivr.net/npm/[email protected].2/dist/dbr.mjs';
1717
/** LICENSE ALERT - README
1818
* To use the library, you need to first specify a license key using the API "license" as shown below.
1919
*/
2020

21-
BarcodeReader.organizationID = "200000";
22-
BarcodeReader.handshakeCode = "200000-dbr_js_samples";
21+
BarcodeReader.license = 'DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9';
2322

2423
/**
2524
* 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.
2625
* 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.
27-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.1&utm_source=github#specify-the-license or contact [email protected].
26+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.2&utm_source=github#specify-the-license or contact [email protected].
2827
* LICENSE ALERT - THE END
2928
*/
3029

31-
BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/[email protected].1/dist/";
30+
BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/[email protected].2/dist/";
3231

3332
let pScanner = null;
3433
(async () => {

1.hello-world/2.read-an-image.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,18 @@ <h1 style="font-size: 1.5em;">Read Barcode from Images</h1>
2929
border: solid 1px gray;
3030
}
3131
</style>
32-
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/dbr.js"></script>
32+
<script src="https://cdn.jsdelivr.net/npm/[email protected].2/dist/dbr.js"></script>
3333
<script>
3434
/** LICENSE ALERT - README
3535
* To use the library, you need to first specify a license key using the API "license" as shown below.
3636
*/
3737

38-
Dynamsoft.DBR.BarcodeReader.organizationID = "200000";
39-
Dynamsoft.DBR.BarcodeReader.handshakeCode = "200000-dbr_js_samples";
38+
Dynamsoft.DBR.BarcodeReader.license = 'DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9';
4039

4140
/**
4241
* 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.
4342
* 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.
44-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.1&utm_source=github#specify-the-license or contact [email protected].
43+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.2&utm_source=github#specify-the-license or contact [email protected].
4544
* LICENSE ALERT - THE END
4645
*/
4746

1.hello-world/3.read-video-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@angular/platform-browser": "~11.2.5",
2020
"@angular/platform-browser-dynamic": "~11.2.5",
2121
"@angular/router": "~11.2.5",
22-
"dynamsoft-javascript-barcode": "9.0.1",
22+
"dynamsoft-javascript-barcode": "9.0.2",
2323
"rxjs": "~6.6.0",
2424
"tslib": "^2.0.0",
2525
"zone.js": "~0.11.3"

1.hello-world/3.read-video-angular/src/app/dbr.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ BarcodeReader.handshakeCode = "200000-dbr_js_samples";
1010
/**
1111
* 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.
1212
* 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.
13-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.1&utm_source=github#specify-the-license or contact [email protected].
13+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.0.2&utm_source=github#specify-the-license or contact [email protected].
1414
* LICENSE ALERT - THE END
1515
*/
1616

17-
BarcodeReader.engineResourcePath = 'https://cdn.jsdelivr.net/npm/[email protected].1/dist/';
17+
BarcodeReader.engineResourcePath = 'https://cdn.jsdelivr.net/npm/[email protected].2/dist/';

1.hello-world/4.read-video-react/.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# testing
1010
/coverage
1111

12-
# production(keep for demoing purpose)
13-
# /build
12+
# production
13+
# /build (keep for demoing purpose)
1414

1515
# misc
1616
.DS_Store

1.hello-world/4.read-video-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"@testing-library/jest-dom": "^5.11.4",
88
"@testing-library/react": "^11.1.0",
99
"@testing-library/user-event": "^12.1.10",
10-
"dynamsoft-javascript-barcode": "9.0.1",
10+
"dynamsoft-javascript-barcode": "9.0.2",
1111
"react": "^17.0.1",
1212
"react-dom": "^17.0.1",
1313
"react-scripts": "4.0.3",

0 commit comments

Comments
 (0)