Skip to content

Commit 7088511

Browse files
authored
Merge pull request #238 from Dynamsoft/_dev
update to 10.4.3100
2 parents 8affe83 + a00bbb3 commit 7088511

Some content is hidden

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

43 files changed

+86
-86
lines changed

hello-world/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The Hello World Sample Set
22

3-
As you have already gone through the [user guide](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002#hello-world---simplest-implementation), you may have come across some basic "Hello World" code that can help you create a simple web application using our SDK quickly.
3+
As you have already gone through the [user guide](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100#hello-world---simplest-implementation), you may have come across some basic "Hello World" code that can help you create a simple web application using our SDK quickly.
44

55
In this set of samples, we will revisit the "Hello World" code and show how to implement it using some popular frameworks, such as Angular, React, and Vue.
66

hello-world/angular/README.md

Lines changed: 3 additions & 3 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.2002`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2002).
5+
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.3100`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.3100).
66

77
> Note:
88
>
@@ -61,7 +61,7 @@ Below is the configuration used for this sample.
6161

6262
```cmd
6363
cd my-app
64-
npm install [email protected].2002 -E
64+
npm install [email protected].3100 -E
6565
```
6666

6767
## Start to implement
@@ -86,7 +86,7 @@ LicenseManager.initLicense('DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9', true);
8686
/**
8787
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=samples&product=dbr&package=js to get your own trial license good for 30 days.
8888
* 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.
89-
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
89+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
9090
* LICENSE ALERT - THE END
9191
*/
9292

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.2002",
21+
"dynamsoft-barcode-reader-bundle": "10.4.3100",
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ LicenseManager.initLicense('DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9', {
1616
/**
1717
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=samples&product=dbr&package=js to get your own trial license good for 30 days.
1818
* 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.
19-
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
19+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
2020
* LICENSE ALERT - THE END
2121
*/
2222

hello-world/blazor/README.md

Lines changed: 3 additions & 3 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.2002`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2002). 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.3100`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.3100). 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
>
@@ -283,7 +283,7 @@ Inside the `wwwroot\index.html` file, we will initialize the license and necessa
283283
...
284284
<script src="_framework/blazor.webassembly.js"></script>
285285

286-
<script src="https://cdn.jsdelivr.net/npm/[email protected].2002/dist/dbr.bundle.min.js"></script>
286+
<script src="https://cdn.jsdelivr.net/npm/[email protected].3100/dist/dbr.bundle.min.js"></script>
287287
<script>
288288
/** LICENSE ALERT - README
289289
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.
@@ -293,7 +293,7 @@ Inside the `wwwroot\index.html` file, we will initialize the license and necessa
293293
/**
294294
* 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.
295295
* 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.
296-
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
296+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
297297
* LICENSE ALERT - THE END
298298
*/
299299

hello-world/blazor/hello-world-blazor/BlazorApp/wwwroot/decodeImage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ window.startImageDecode = async () => {
99
try {
1010
for (let file of files) {
1111
cvRouter = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
12-
// Decode selected image with 'ReadBarcodes_SpeedFirst' template.
13-
const result = await cvRouter.capture(file, "ReadBarcodes_SpeedFirst");
12+
// Decode selected image with 'ReadBarcodes_ReadRateFirst' template.
13+
const result = await cvRouter.capture(file, "ReadBarcodes_ReadRateFirst");
1414
if (files.length > 1) {
1515
resultsContainer.innerText += `\nFile: ${file.name}\n`;
1616
}

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

Lines changed: 2 additions & 2 deletions
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/[email protected].2002/dist/dbr.bundle.min.js"></script>
30+
<script src="https://cdn.jsdelivr.net/npm/[email protected].3100/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.
@@ -38,7 +38,7 @@
3838
/**
3939
* 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.
4040
* 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.
41-
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
41+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
4242
* LICENSE ALERT - THE END
4343
*/
4444

hello-world/electron/README.md

Lines changed: 3 additions & 3 deletions
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.2002`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2002).
5+
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.3100`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.3100).
66

77
> Note:
88
>
@@ -50,7 +50,7 @@ npm init
5050
npm install electron --save-dev
5151
npm install [email protected] -E
5252
npm install [email protected] -E
53-
npm install [email protected].2002 -E
53+
npm install [email protected].3100 -E
5454
```
5555

5656
## Start to implement
@@ -163,7 +163,7 @@ Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMD
163163
/**
164164
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=samples&product=dbr&package=js to get your own trial license good for 30 days.
165165
* 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.
166-
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
166+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
167167
* LICENSE ALERT - THE END
168168
*/
169169

hello-world/electron/action.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMD
2020
/**
2121
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=samples&product=dbr&package=js to get your own trial license good for 30 days.
2222
* 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.
23-
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
23+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
2424
* LICENSE ALERT - THE END
2525
*/
2626

hello-world/electron/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"electron": "^26.4.1"
2222
},
2323
"dependencies": {
24-
"dynamsoft-barcode-reader-bundle": "10.4.2002",
25-
"dynamsoft-capture-vision-std": "1.4.10",
26-
"dynamsoft-image-processing": "2.4.20"
24+
"dynamsoft-barcode-reader-bundle": "10.4.3100",
25+
"dynamsoft-capture-vision-std": "1.4.21",
26+
"dynamsoft-image-processing": "2.4.31"
2727
}
2828
}

hello-world/es6.html

Lines changed: 2 additions & 2 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/[email protected].2002/dist/dbr.bundle.mjs";
25+
} from "https://cdn.jsdelivr.net/npm/[email protected].3100/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
*/
@@ -32,7 +32,7 @@ <h1>Hello World for ES6 (Decode via Camera)</h1>
3232
/**
3333
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=samples&product=dbr&package=js to get your own trial license good for 30 days.
3434
* 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.
35-
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
35+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
3636
* LICENSE ALERT - THE END
3737
*/
3838

hello-world/hello-world.html

Lines changed: 2 additions & 2 deletions
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/[email protected].2002/dist/dbr.bundle.js"></script>
17+
<script src="https://cdn.jsdelivr.net/npm/[email protected].3100/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.
@@ -25,7 +25,7 @@ <h1>Hello World (Decode via Camera)</h1>
2525
/**
2626
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=samples&product=dbr&package=js to get your own trial license good for 30 days.
2727
* 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/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
28+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
2929
* LICENSE ALERT - THE END
3030
*/
3131

hello-world/native-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"license": "ISC",
1212
"description": "",
1313
"dependencies": {
14-
"dynamsoft-barcode-reader-bundle": "10.4.2002"
14+
"dynamsoft-barcode-reader-bundle": "10.4.3100"
1515
},
1616
"devDependencies": {
1717
"@rollup/plugin-node-resolve": "^15.3.0",

hello-world/next/README.md

Lines changed: 3 additions & 3 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.2002`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2002).
5+
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.3100`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.3100).
66

77
> Note:
88
>
@@ -59,7 +59,7 @@ Below is the configuration used for this sample.
5959

6060
```cmd
6161
cd my-app
62-
npm install [email protected].2002 -E
62+
npm install [email protected].3100 -E
6363
```
6464

6565
## Start to implement
@@ -86,7 +86,7 @@ LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", {
8686
/**
8787
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=samples&product=dbr&package=js to get your own trial license good for 30 days.
8888
* 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.
89-
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
89+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
9090
* LICENSE ALERT - THE END
9191
*/
9292

hello-world/next/dynamsoft.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", {
1616
/**
1717
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=samples&product=dbr&package=js to get your own trial license good for 30 days.
1818
* 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.
19-
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
19+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
2020
* LICENSE ALERT - THE END
2121
*/
2222

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.2002"
15+
"dynamsoft-barcode-reader-bundle": "10.4.3100"
1616
},
1717
"devDependencies": {
1818
"typescript": "^5",

hello-world/nuxt/README.md

Lines changed: 3 additions & 3 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.2002`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.2002).
5+
In this guide, we will be using [`dynamsoft-barcode-reader-bundle 10.4.3100`](https://www.npmjs.com/package/dynamsoft-barcode-reader-bundle/v/10.4.3100).
66

77
> Note:
88
>
@@ -47,7 +47,7 @@ You will be asked to configure quite a few things for the application during the
4747

4848
```cmd
4949
cd my-app
50-
npm install [email protected].2002 -E
50+
npm install [email protected].3100 -E
5151
```
5252

5353
## Start to implement
@@ -74,7 +74,7 @@ LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", {
7474
/**
7575
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=samples&product=dbr&package=js to get your own trial license good for 30 days.
7676
* 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.
77-
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2002&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
77+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.3100&cVer=true#specify-the-license&utm_source=samples or contact [email protected].
7878
* LICENSE ALERT - THE END
7979
*/
8080

0 commit comments

Comments
 (0)