Skip to content

Commit fc90035

Browse files
update to internal commit 95745eb6
1 parent 5ca5b86 commit fc90035

File tree

2 files changed

+27
-43
lines changed

2 files changed

+27
-43
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: 20 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -215,26 +215,14 @@ If the test doesn't go as expected, you can [contact us](https://www.dynamsoft.c
215215
216216
To utilize the SDK, the initial step involves including the corresponding resource files:
217217
218-
* `core.js` encompasses common classes, interfaces, and enumerations that are shared across all Dynamsoft SDKs.
218+
* `core.js` encompasses common classes, interfaces, and enumerations shared across all Dynamsoft SDKs.
219219
* `license.js` introduces the `LicenseManager` class, which manages the licensing for all Dynamsoft SDKs.
220-
* `utility.js` encompasses auxiliary classes that are shared among all Dynamsoft SDKs.
221-
* `dbr.js` defines interfaces and enumerations specifically tailored to the barcode reader module.
220+
* `utility.js` encompasses auxiliary classes shared among all Dynamsoft SDKs.
221+
* `dbr.js` defines interfaces and enumerations tailored to the barcode reader module.
222222
* `cvr.js` introduces the `CaptureVisionRouter` class, which governs the entire image processing workflow.
223223
* `dce.js` comprises classes that offer camera support and basic user interface functionalities.
224224
225-
For simplification, starting from version 10.0.21, we introduced `dbr.bundle.js`. Including this file is equivalent to incorporating all six packages.
226-
227-
* [email protected]/dist/core.js
228-
* [email protected]/dist/license.js
229-
* [email protected]/dist/utility.js
230-
* [email protected]/dist/dbr.js
231-
* [email protected]/dist/cvr.js
232-
* [email protected]/dist/dce.js
233-
234-
Equivalent to
235-
* [email protected]/dist/dbr.bundle.js
236-
237-
In the following chapters, we will use `dbr.bundle.js`.
225+
To simplify things, starting from version 10.0.21, we introduced `dbr.bundle.js`, which combines all six of the above files. In the following chapters, we will use `dbr.bundle.js`.
238226
239227
#### Use a public CDN
240228
@@ -268,19 +256,23 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
268256
yarn add [email protected] -E
269257
```
270258
271-
In frameworks you need to [specify the engineResourcePaths](#specify-the-location-of-the-engine-files-optional).
259+
NOTE that in frameworks, you need to [specify the engineResourcePaths](#specify-the-location-of-the-engine-files-optional).
272260
273261
#### Host the SDK yourself (optional)
274262
275263
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.
276264
277-
Options to download the SDK:
265+
There are two options for downloading the SDK, and the usage for each is slightly different
278266
279267
- From the website
280268
281269
[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"}
282270
283-
The resources are located at path `dynamsoft/distributables/<pkg>@<version>`.
271+
The resources are located at path `dynamsoft/distributables/<pkg>@<version>`, you can typically include it like this:
272+
273+
```html
274+
<script src="dynamsoft/distributables/[email protected]/dist/dbr.bundle.js"></script>
275+
```
284276
285277
- npm
286278
@@ -290,21 +282,13 @@ Options to download the SDK:
290282
291283
292284
```
293-
The resources are located at path `node_modules/<pkg>`, without `@<version>`.
294285
295-
Depending on how you downloaded the SDK and how you intend to use it, you can typically include it like this
296-
297-
- From the website
298-
299-
```html
300-
<script src="dynamsoft/distributables/[email protected]/dist/dbr.bundle.js"></script>
301-
```
302-
303-
- From node_modules
286+
The resources are located at the path `node_modules/<pkg>`, without `@<version>`, so the script would be like:
304287
305288
```html
306289
<script src="node_modules/dynamsoft-barcode-reader-bundle/dist/dbr.bundle.js"></script>
307290
```
291+
308292
Since `@<version>` are missing, you need to [specify the engineResourcePaths](#specify-the-location-of-the-engine-files-optional).
309293
310294
*Note*:
@@ -349,13 +333,13 @@ The purpose is to tell the SDK where to find the engine files (\*.worker.js, \*.
349333
```javascript
350334
//The following code uses the jsDelivr CDN, feel free to change it to your own location of these files
351335
Object.assign(Dynamsoft.Core.CoreModule.engineResourcePaths, {
352-
std: "https://cdn.jsdelivr.net/npm/[email protected].0/dist/",
353-
dip: "https://cdn.jsdelivr.net/npm/[email protected].10/dist/",
354-
core: "https://cdn.jsdelivr.net/npm/[email protected].10/dist/",
355-
license: "https://cdn.jsdelivr.net/npm/[email protected].10/dist/",
356-
cvr: "https://cdn.jsdelivr.net/npm/[email protected].10/dist/",
336+
std: "https://cdn.jsdelivr.net/npm/[email protected].10/dist/",
337+
dip: "https://cdn.jsdelivr.net/npm/[email protected].30/dist/",
338+
core: "https://cdn.jsdelivr.net/npm/[email protected].30/dist/",
339+
license: "https://cdn.jsdelivr.net/npm/[email protected].21/dist/",
340+
cvr: "https://cdn.jsdelivr.net/npm/[email protected].30/dist/",
357341
dbr: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
358-
dce: "https://cdn.jsdelivr.net/npm/[email protected].2/dist/"
342+
dce: "https://cdn.jsdelivr.net/npm/[email protected].3/dist/"
359343
});
360344
```
361345

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

747731
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)
748-
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)
732+
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)