Skip to content

Commit 7e1c8ef

Browse files
8.0.0
1 parent ad00003 commit 7e1c8ef

File tree

106 files changed

+1967
-12988
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+1967
-12988
lines changed

README.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ $ npm install dynamsoft-javascript-barcode --save
2525

2626
cdn
2727
```html
28-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.6.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
28+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.0.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
2929
<!-- or -->
30-
<script src="https://unpkg.com/dynamsoft-javascript-barcode@7.6.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
30+
<script src="https://unpkg.com/dynamsoft-javascript-barcode@8.0.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
3131
```
3232

3333
[Download zip](https://www.dynamsoft.com/Downloads/Dynamic-Barcode-Reader-Download.aspx?edition=js)
@@ -38,7 +38,7 @@ cdn
3838
<!DOCTYPE html>
3939
<html>
4040
<body>
41-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.6.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
41+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.0.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
4242
<script>
4343
let scanner = null;
4444
(async()=>{
@@ -209,7 +209,7 @@ Create an HTML file with the following content. Deploy this to your web server a
209209
<html>
210210
<body>
211211
<!-- Please visit https://www.dynamsoft.com/CustomerPortal/Portal/TrialLicense.aspx to get a trial license. -->
212-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.6.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
212+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.0.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
213213
<script>
214214
let scanner = null;
215215
(async()=>{
@@ -268,13 +268,13 @@ Now, take a look at the sample code. You can find that there is nothing but two
268268
* The following script includes the core library in the application via a [jsDelivr](https://www.jsdelivr.com/) CDN
269269

270270
```javascript
271-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.6.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
271+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.0.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
272272
```
273273

274274
The same can be done with other CDNs like `unpkg`
275275

276276
```javascript
277-
<script src="https://unpkg.com/dynamsoft-javascript-barcode@7.6.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
277+
<script src="https://unpkg.com/dynamsoft-javascript-barcode@8.0.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
278278
```
279279

280280
> **NOTE**: : Since we do change the library a bit in each release, to make sure your application doesn't get interrupted by automatic updates, use a specific version in your production environment, as shown above. Using a general major version like `@7` is not recommended.
@@ -382,6 +382,9 @@ As you can see in the code, there are three categories of configurations.
382382

383383
e.g.
384384
```js
385+
await barcodeScanner.updateRuntimeSettings("single");
386+
```
387+
```js
385388
await barcodeScanner.updateRuntimeSettings("speed");
386389
```
387390
```js
@@ -421,7 +424,7 @@ The following introduces the 3rd way. Check out the following code on how it's d
421424
<video class="dbrScanner-video" playsinline="true"></video>
422425
</div>
423426
<!-- Please visit https://www.dynamsoft.com/CustomerPortal/Portal/TrialLicense.aspx to get a trial license. -->
424-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.6.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
427+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.0.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
425428
<script>
426429
let scanner = null;
427430
(async()=>{
@@ -664,7 +667,7 @@ https://www.dynamsoft.com/Products/Dynamic-Barcode-Reader-News.aspx#javascript
664667
* If you are using a CDN, be sure to change the version number in the URL like this
665668

666669
```javascript
667-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.6.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
670+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.0.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
668671
```
669672

670673
* If you have deployed the library files on your own server, you'll need to replace the old files with the new version. Download the latest version [here](https://www.dynamsoft.com/Downloads/Dynamic-Barcode-Reader-Download.aspx).
@@ -689,17 +692,21 @@ Decoding Video Stream: [BarcodeScanner](https://www.dynamsoft.com/help/Barcode-R
689692

690693
It takes several steps to activate a purchased license, the following steps assume you have already acquired a commercial license from Dynamsoft. If you haven't done so yet, you can purchase a license [here](https://www.dynamsoft.com/Secure/Barcode-Reader-BuyIt.aspx).
691694

692-
* **Step One** : Create a Dynamsoft account
695+
* **Step One** : Log in the [Customer Portal](https://www.dynamsoft.com/customer/license/fullLicense) with your Dynamsoft account
693696

694697
If you don't have an Dynamsoft account, sign up [here](https://www.dynamsoft.com/CustomerPortal/Account/Registration.aspx). Be sure to use the same email that was registered for the purchase.
695698

696-
* **Step Two** : Log into Dynamsoft Customer Portal
699+
* **Step Two** : Find the License
697700

698-
Once logged in, click **Barcode Reader SDK** on the menu bar on the left under **License Center** and you should be able to see your purchased key on the right pane.
701+
Once logged in, click **Full License** under **License** on the left menu bar and you should be able to see your purchased key on the right pane.
699702

700703
* **Step Three** : Activate the License
701704

702-
Under **Status**, click the link **Activate Now** to specify a domain which your license key will be bound to. The domain binding is a security feature to protect your license, although it's optional, it's highly recommended.
705+
Under **Status**, click the button **Activate** to go to the Activation page, click **Activate** again and confirm the activation.
706+
707+
* **Step Four** : Set a Domain
708+
709+
This step is optional but recommended. By setting a domain to your key, you can protect it against usage abuse. To do this, go back to **Full License**, find your License and click **Details**. On the Details page, click **Order Detail** to get to the order details page where you can see a **Set Domain** button. Click it, specify a domain and submit.
703710

704711
> A few examples of the domain
705712
>
@@ -708,16 +715,14 @@ It takes several steps to activate a purchased license, the following steps assu
708715
> demo.dynamsoft.com
709716
>
710717
> \*.dynamsoft.com
711-
>
712-
> \*.dynamsoft.com;\*.yoursite.com
713718
714-
* **Step Four** : Use the License
719+
* **Step Five** : Use the License
715720

716721
You may have noticed that in all the samples above, we have the following line of code
717722

718723
```html
719724
<!-- Please visit https://www.dynamsoft.com/CustomerPortal/Portal/TrialLicense.aspx to get a trial license. -->
720-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.6.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
725+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.0.0/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
721726
```
722727

723728
To use your activated key, you simply need to replace `PRODUCT-KEYS` with it.

dist/dbr-7.6.0.full.wasm

-4.48 MB
Binary file not shown.

0 commit comments

Comments
 (0)