Skip to content

Commit 64c503a

Browse files
committedOct 10, 2024
maintain: update to 10.4.2000
1 parent 4a0a6d6 commit 64c503a

38 files changed

+49
-177
lines changed
 

‎hello-world/angular/README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Angular](https://angular.dev/) is one of the most popular and mature JavaScript frameworks. Follow this guide to learn how to implement [Dynamsoft Barcode Reader JavaScript SDK](https://www.dynamsoft.com/barcode-reader/sdk-javascript/) (hereafter called "the library") into an Angular application. Note that in this sample, `TypeScript` is used.
44

5-
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000-beta-202409252259`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000-beta-202409252259).
5+
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000).
66

77
> Note:
88
>
@@ -75,15 +75,7 @@ import { LicenseManager } from 'dynamsoft-license';
7575
import 'dynamsoft-barcode-reader';
7676

7777
// Configures the paths where the .wasm files and other necessary resources for modules are located.
78-
CoreModule.engineResourcePaths = {
79-
std: 'https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/',
80-
dip: 'https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/',
81-
core: 'https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/',
82-
license: 'https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/',
83-
cvr: 'https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/',
84-
dbr: 'https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/',
85-
dce: 'https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/',
86-
};
78+
CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
8779

8880
/** LICENSE ALERT - README
8981
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

‎hello-world/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@angular/platform-browser": "^17.3.0",
1919
"@angular/platform-browser-dynamic": "^17.3.0",
2020
"@angular/router": "^17.3.0",
21-
"dynamsoft-barcode-reader-bundle": "10.4.2000-beta-202409252259",
21+
"dynamsoft-barcode-reader-bundle": "10.4.2000",
2222
"rxjs": "~7.8.0",
2323
"tslib": "^2.3.0",
2424
"zone.js": "~0.14.3"

‎hello-world/angular/src/app/dynamsoft.config.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@ import { LicenseManager } from 'dynamsoft-license';
33
import 'dynamsoft-barcode-reader';
44

55
// Configures the paths where the .wasm files and other necessary resources for modules are located.
6-
CoreModule.engineResourcePaths = {
7-
std: 'https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/',
8-
dip: 'https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/',
9-
core: 'https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/',
10-
license: 'https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/',
11-
cvr: 'https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/',
12-
dbr: 'https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/',
13-
dce: 'https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/',
14-
};
6+
CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
157

168
/** LICENSE ALERT - README
179
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

‎hello-world/blazor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Blazor](https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor) is a framework for building interactive client-side web apps with .NET and C#. Follow this guide to learn how to implement [Dynamsoft Barcode Reader JavaScript SDK](https://www.dynamsoft.com/barcode-reader/sdk-javascript/) (hereafter called "the library") into a Blazor application using [JavaScript Interlop](https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-javascript-from-dotnet?view=aspnetcore-8.0#invoke-js-functions).
44

5-
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000-beta-202409252259`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000-beta-202409252259). We also used .NET 8.0 (version 8.0.8) to develop this sample. To ensure the sample app runs properly, please refer to this guide to update your .NET installation - https://learn.microsoft.com/en-us/dotnet/core/install/upgrade.
5+
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000). We also used .NET 8.0 (version 8.0.8) to develop this sample. To ensure the sample app runs properly, please refer to this guide to update your .NET installation - https://learn.microsoft.com/en-us/dotnet/core/install/upgrade.
66

77
> Note:
88
>
@@ -281,7 +281,7 @@ Inside the `wwwroot\index.html` file, we will initialize the license and necessa
281281
...
282282
<script src="_framework/blazor.webassembly.js"></script>
283283

284-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000-beta-202409252259/dist/dbr.bundle.min.js"></script>
284+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.min.js"></script>
285285
<script>
286286
/** LICENSE ALERT - README
287287
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

‎hello-world/blazor/hello-world-blazor/BlazorApp/wwwroot/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</div>
2828
<script src="_framework/blazor.webassembly.js"></script>
2929

30-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000-beta-202409252259/dist/dbr.bundle.min.js"></script>
30+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.min.js"></script>
3131
<script>
3232
/** LICENSE ALERT - README
3333
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

‎hello-world/electron/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Electron](https://www.electronjs.org/) is a framework for creating native applications with web technologies. Follow this guide to learn how to implement [Dynamsoft Barcode Reader JavaScript SDK](https://www.dynamsoft.com/barcode-reader/sdk-javascript/) (hereafter called "the library") into an Electron application.
44

5-
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000-beta-202409252259`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000-beta-202409252259).
5+
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000).
66

77
> Note:
88
>

‎hello-world/electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"electron": "^26.4.1"
2222
},
2323
"dependencies": {
24-
"dynamsoft-barcode-reader-bundle": "10.4.2000-beta-202409252259",
24+
"dynamsoft-barcode-reader-bundle": "10.4.2000",
2525
"dynamsoft-capture-vision-std": "1.4.10",
2626
"dynamsoft-image-processing": "2.4.20"
2727
}

‎hello-world/es6.html

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h1>Hello World for ES6 (Decode via Camera)</h1>
2222
CameraView,
2323
CameraEnhancer,
2424
MultiFrameResultCrossFilter,
25-
} from "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000-beta-202409252259/dist/dbr.bundle.mjs";
25+
} from "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.mjs";
2626
/** LICENSE ALERT - README
2727
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.
2828
*/
@@ -36,15 +36,7 @@ <h1>Hello World for ES6 (Decode via Camera)</h1>
3636
* LICENSE ALERT - THE END
3737
*/
3838

39-
CoreModule.engineResourcePaths = {
40-
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/",
41-
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/",
42-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/",
43-
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/",
44-
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/",
45-
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/",
46-
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/",
47-
};
39+
CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
4840

4941
// Optional. Used to load wasm resources in advance, reducing latency between video playing and barcode decoding.
5042
CoreModule.loadWasm(["DBR"]);

‎hello-world/hello-world.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h1>Hello World (Decode via Camera)</h1>
1414
<div id="camera-view-container" style="width: 100%; height: 80vh"></div>
1515
Results:<br />
1616
<div id="results" style="width: 100%; height: 10vh; overflow: auto; white-space: pre-wrap"></div>
17-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000-beta-202409252259/dist/dbr.bundle.js"></script>
17+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.js"></script>
1818
<script>
1919
/** LICENSE ALERT - README
2020
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

‎hello-world/next/README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Next.js](https://nextjs.org/) is a react framework that enables functionalities such as server-side rendering and generating static websites for react-based web applications. Follow this guide to learn how to implement [Dynamsoft Barcode Reader JavaScript SDK](https://www.dynamsoft.com/barcode-reader/sdk-javascript/) (hereafter called "the library") into a Next.js application. Note that in this sample, `TypeScript` is used.
44

5-
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000-beta-202409252259`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000-beta-202409252259).
5+
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000).
66

77
> Note:
88
>
@@ -73,15 +73,7 @@ import { LicenseManager } from "dynamsoft-license";
7373
import "dynamsoft-barcode-reader";
7474

7575
// Configures the paths where the .wasm files and other necessary resources for modules are located.
76-
CoreModule.engineResourcePaths = {
77-
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/",
78-
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/",
79-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/",
80-
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/",
81-
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/",
82-
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/",
83-
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/",
84-
};
76+
CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
8577

8678
/** LICENSE ALERT - README
8779
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

‎hello-world/next/dynamsoft.config.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@ import { LicenseManager } from "dynamsoft-license";
33
import "dynamsoft-barcode-reader";
44

55
// Configures the paths where the .wasm files and other necessary resources for modules are located.
6-
CoreModule.engineResourcePaths = {
7-
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/",
8-
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/",
9-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/",
10-
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/",
11-
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/",
12-
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/",
13-
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/",
14-
};
6+
CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
157

168
/** LICENSE ALERT - README
179
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

‎hello-world/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"react": "^18",
1313
"react-dom": "^18",
1414
"next": "14.2.3",
15-
"dynamsoft-barcode-reader-bundle": "10.4.2000-beta-202409252259"
15+
"dynamsoft-barcode-reader-bundle": "10.4.2000"
1616
},
1717
"devDependencies": {
1818
"typescript": "^5",

‎hello-world/nuxt/README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Nuxt](https://nuxtjs.org/) is a higher-level framework that builds on top of [Vue](https://vuejs.org/). Check out the following guide on how to implement [Dynamsoft Barcode Reader JavaScript SDK](https://www.dynamsoft.com/barcode-reader/sdk-javascript/) (hereafter called "the library") into a Nuxt application. Note that in this sample `TypeScript` is used.
44

5-
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000-beta-202409252259`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000-beta-202409252259).
5+
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000).
66

77
> Note:
88
>
@@ -61,15 +61,7 @@ import { LicenseManager } from "dynamsoft-license";
6161
import "dynamsoft-barcode-reader";
6262

6363
// Configures the paths where the .wasm files and other necessary resources for modules are located.
64-
CoreModule.engineResourcePaths = {
65-
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/",
66-
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/",
67-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/",
68-
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/",
69-
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/",
70-
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/",
71-
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/",
72-
};
64+
CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
7365

7466
/** LICENSE ALERT - README
7567
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

‎hello-world/nuxt/dynamsoft.config.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@ import { LicenseManager } from "dynamsoft-license";
33
import "dynamsoft-barcode-reader";
44

55
// Configures the paths where the .wasm files and other necessary resources for modules are located.
6-
CoreModule.engineResourcePaths = {
7-
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/",
8-
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/",
9-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/",
10-
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/",
11-
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/",
12-
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/",
13-
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/",
14-
};
6+
CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
157

168
/** LICENSE ALERT - README
179
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

‎hello-world/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"nuxt": "3.2.3"
1414
},
1515
"dependencies": {
16-
"dynamsoft-barcode-reader-bundle": "10.4.2000-beta-202409252259"
16+
"dynamsoft-barcode-reader-bundle": "10.4.2000"
1717
}
1818
}

‎hello-world/pwa/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[PWA](https://web.dev/progressive-web-apps/) is short for Progressive Web Apps, which are web applications designed to mimic the functionality and user experience of platform-specific (native) applications. Follow this guide to learn how to implement [Dynamsoft Barcode Reader JavaScript SDK](https://www.dynamsoft.com/barcode-reader/sdk-javascript/) (hereafter called "the library") into a PWA application.
44

5-
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000-beta-202409252259](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000-beta-202409252259.
5+
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000.
66

77
> Note:
88
>
@@ -37,7 +37,7 @@ We will try to turn our basic "Hello World" sample into a PWA. Follow these step
3737
<br />
3838
Results:
3939
<div id="results" style="width: 100%; height: 10vh; overflow: auto"></div>
40-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000-beta-202409252259/dist/dbr.bundle.min.js"></script>
40+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.min.js"></script>
4141
<script>
4242
if (location.protocol === "file:") {
4343
const message = `The page is opened via file:// and our SDKs may not work properly. Please open the page via https:// or host it on "http://localhost/".`;

‎hello-world/pwa/helloworld-pwa.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h1>Hello World for PWA</h1>
2323
<br />
2424
Results:
2525
<div id="results" style="width: 100%; height: 10vh; overflow: auto"></div>
26-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000-beta-202409252259/dist/dbr.bundle.min.js"></script>
26+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.2000/dist/dbr.bundle.min.js"></script>
2727
<script>
2828
/** LICENSE ALERT - README
2929
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

‎hello-world/react-hooks/README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[React](https://reactjs.org/) is a JavaScript library meant explicitly for creating interactive UIs. Follow this guide to learn how to implement [Dynamsoft Barcode Reader JavaScript SDK](https://www.dynamsoft.com/barcode-reader/sdk-javascript/) (hereafter called "the library") into a React application. Note that in this sample we will use `TypeScript` and [Hooks](https://reactjs.org/docs/hooks-intro.html). Also, there is another sample `react` defining components as classes in React.
44

5-
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000-beta-202409252259](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000-beta-202409252259.
5+
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.2000](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2000.
66

77
> Note:
88
>
@@ -58,15 +58,7 @@ import { LicenseManager } from "dynamsoft-license";
5858
import "dynamsoft-barcode-reader";
5959

6060
// Configures the paths where the .wasm files and other necessary resources for modules are located.
61-
CoreModule.engineResourcePaths = {
62-
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/",
63-
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/",
64-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/",
65-
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/",
66-
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/",
67-
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/",
68-
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/",
69-
};
61+
CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
7062

7163
/** LICENSE ALERT - README
7264
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

‎hello-world/react-hooks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@types/node": "^16.18.99",
1111
"@types/react": "^18.3.3",
1212
"@types/react-dom": "^18.3.0",
13-
"dynamsoft-barcode-reader-bundle": "10.4.2000-beta-202409252259",
13+
"dynamsoft-barcode-reader-bundle": "10.4.2000",
1414
"react": "^18.3.1",
1515
"react-dom": "^18.3.1",
1616
"react-scripts": "5.0.1",

‎hello-world/react-hooks/src/dynamsoft.config.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@ import { LicenseManager } from "dynamsoft-license";
33
import "dynamsoft-barcode-reader";
44

55
// Configures the paths where the .wasm files and other necessary resources for modules are located.
6-
CoreModule.engineResourcePaths = {
7-
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/",
8-
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/",
9-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/",
10-
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/",
11-
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/",
12-
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/",
13-
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/",
14-
};
6+
CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
157

168
/** LICENSE ALERT - README
179
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.

0 commit comments

Comments
 (0)