Skip to content

Commit 2a635e0

Browse files
Merge pull request #371 from dynamsoft-docs/preview
update to internal commit 95745eb6
2 parents c28f73f + fc90035 commit 2a635e0

File tree

2 files changed

+22
-26
lines changed

2 files changed

+22
-26
lines changed

programming/javascript/release-notes/js-9.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ permalink: /programming/javascript/release-notes/js-9.html
3939
- Added property `cameraOpenTimeout` to the `BarcodeScanner`, enabling control over the maximum time allowed for opening a selected camera.
4040
- Changed the error message type generated during the autoZoom/autoFocus process from an error to a warning.
4141
- Removed the `PDFReadingMode` property from the interface `RuntimeSettings` and eliminated the `EnumPDFReadingMode` enumeration.
42-
- Updated the internal [Dynamsoft Camera Enhancer v3.3.10](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#3310-02052024) instead of the previous version 3.3.9.
42+
- Updated the internal `Dynamsoft Camera Enhancer` from version 3.3.9 to version [3.3.10](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#3310-02052024).
4343

4444
## 9.6.32 (12/07/2023)
4545

4646
#### Improved
4747

4848
- Remove redundant characters extracted from the PDF417 code on South Carolina driver's licenses.
49-
- Updated the internal [Dynamsoft Camera Enhancer v3.3.9](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#339-12062023) instead of the previous version 3.3.8.
49+
- Updated the internal `Dynamsoft Camera Enhancer` from version 3.3.8 to version [3.3.9](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#339-12062023).
5050

5151
## 9.6.31 (10/12/2023)
5252

5353
#### Improved
5454

5555
- Supported a non-standard PDF417 type used in Navy's driver licenses.
56-
- Updated the internal [Dynamsoft Camera Enhancer v3.3.8](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#338-10122023) instead of the previous version 3.3.6.
56+
- Updated the internal `Dynamsoft Camera Enhancer` from version 3.3.6 to version [3.3.8](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#338-10122023).
5757

5858
## 9.6.30 (09/13/2023)
5959

@@ -65,7 +65,7 @@ permalink: /programming/javascript/release-notes/js-9.html
6565
#### Improved
6666

6767
- Updated the barcode reader algorithm to v9.6.30.
68-
- Updated the internal [Dynamsoft Camera Enhancer version 3.3.6](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#336-09132023).
68+
- Updated the internal `Dynamsoft Camera Enhancer` from version 3.3.5 to version [3.3.6](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#336-09132023).
6969
- Updated the API [`singleFrameMode`](../api-reference/BarcodeScanner.md#singleframemode) to support using the system camera directly without prompting for image source selection on mobile devices.
7070
- Updated the method `close()` so that it automatically clears the highlighting of found barcode symbols.
7171

@@ -77,15 +77,15 @@ permalink: /programming/javascript/release-notes/js-9.html
7777

7878
#### Improved
7979

80-
- Updated [Dynamsoft Camera Enhancer version 3.3.5](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#335-08022023) instead of the previous version 3.3.4.
80+
- Updated the internal `Dynamsoft Camera Enhancer` from version 3.3.4 to version [3.3.5](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#335-08022023).
8181
- Updated API annotations.
8282

8383
## 9.6.20 (04/18/2023)
8484

8585
#### Improved
8686

8787
- Updated the barcode reader algorithm to v9.6.20.
88-
- Updated the internal Dynamsoft Camera Enhancer to v3.3.4.
88+
- Updated the internal `Dynamsoft Camera Enhancer` from version 3.3.1 to version [3.3.4](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#334-04172023).
8989

9090
#### Fixed
9191

@@ -112,7 +112,7 @@ permalink: /programming/javascript/release-notes/js-9.html
112112
#### Improved
113113

114114
- Updated the barcode reader algorithm to v9.6.10.
115-
- Updated the internal Dynamsoft Camera Enhancer to v3.3.1.
115+
- Updated the internal `Dynamsoft Camera Enhancer` to [v3.3.1](https://www.dynamsoft.com/camera-enhancer/docs/web/programming/javascript/release-note/release-notes-3.x.html#331-02202023).
116116
- The method [`decodeBuffer`](../api-reference/BarcodeReader.md#decodebuffer) is updated to accept an additional parameter "orientation" to help specify the orientation of the image data.
117117
- The interface [`LocalizationResult`](../api-reference/interface/LocalizationResult.md) is updated to have a new property "transformationMatrix".
118118
- Three missing errorcodes are added: DBR_PANORAMA_LICENSE_INVALID, DBR_PHARMACODE_LICENSE_INVALID, DBR_IMAGE_ORIENTATION_INVALID. Check the full list at [`EnumErrorCode`](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/enum/EnumErrorCode.html).

programming/javascript/user-guide/index.md

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,17 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
265265
266266
Besides using the public CDN, you can also download the SDK and host its files on your own server or a commercial CDN before including it in your application.
267267
268-
Options to download the SDK:
268+
There are two options for downloading the SDK, and the usage for each is slightly different
269269
270270
- From the website
271271
272272
[Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=10.2.10&utm_source=guide&product=dbr&package=js){:target="_blank"}
273273
274-
The resources are located at path `dynamsoft/distributables/<pkg>@<version>`.
274+
The resources are located at path `dynamsoft/distributables/<pkg>@<version>`, you can typically include it like this:
275+
276+
```html
277+
<script src="dynamsoft/distributables/[email protected]/dist/dbr.bundle.js"></script>
278+
```
275279
276280
- npm
277281
@@ -281,21 +285,13 @@ Options to download the SDK:
281285
282286
283287
```
284-
The resources are located at path `node_modules/<pkg>`, without `@<version>`.
285-
286-
Depending on how you downloaded the SDK and how you intend to use it, you can typically include it like this
287-
288-
- From the website
289-
290-
```html
291-
<script src="dynamsoft/distributables/[email protected]/dist/dbr.bundle.js"></script>
292-
```
293288
294-
- From node_modules
289+
The resources are located at the path `node_modules/<pkg>`, without `@<version>`, so the script would be like:
295290
296291
```html
297292
<script src="node_modules/dynamsoft-barcode-reader-bundle/dist/dbr.bundle.js"></script>
298293
```
294+
299295
Since `@<version>` are missing, you need to [specify the engineResourcePaths](#specify-the-location-of-the-engine-files-optional).
300296
301297
*Note*:
@@ -340,13 +336,13 @@ The purpose is to tell the SDK where to find the engine files (\*.worker.js, \*.
340336
```javascript
341337
//The following code uses the jsDelivr CDN, feel free to change it to your own location of these files
342338
Object.assign(Dynamsoft.Core.CoreModule.engineResourcePaths, {
343-
std: "https://cdn.jsdelivr.net/npm/[email protected].0/dist/",
344-
dip: "https://cdn.jsdelivr.net/npm/[email protected].10/dist/",
345-
core: "https://cdn.jsdelivr.net/npm/[email protected].10/dist/",
346-
license: "https://cdn.jsdelivr.net/npm/[email protected].10/dist/",
347-
cvr: "https://cdn.jsdelivr.net/npm/[email protected].10/dist/",
339+
std: "https://cdn.jsdelivr.net/npm/[email protected].10/dist/",
340+
dip: "https://cdn.jsdelivr.net/npm/[email protected].30/dist/",
341+
core: "https://cdn.jsdelivr.net/npm/[email protected].30/dist/",
342+
license: "https://cdn.jsdelivr.net/npm/[email protected].21/dist/",
343+
cvr: "https://cdn.jsdelivr.net/npm/[email protected].30/dist/",
348344
dbr: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
349-
dce: "https://cdn.jsdelivr.net/npm/[email protected].2/dist/"
345+
dce: "https://cdn.jsdelivr.net/npm/[email protected].3/dist/"
350346
});
351347
```
352348

@@ -736,4 +732,4 @@ Learn about what are included in each release at [https://www.dynamsoft.com/barc
736732
Now that you have got the SDK integrated, you can choose to move forward in the following directions
737733

738734
1. Check out the [Official Samples and Demo](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=10.2.10)
739-
2. Learn about the [APIs of the SDK](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/index.html?ver=10.2.10)
735+
2. Learn about the [APIs of the SDK](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/index.html?ver=10.2.10)

0 commit comments

Comments
 (0)