Skip to content

Commit e1a46f8

Browse files
authored
Merge pull request #238 from Dynamsoft/_dev
update to 10.4.3100
2 parents f847f70 + 49c6384 commit e1a46f8

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 dynamsoft-barcode-reader-bundle@10.4.2002 -E
64+
npm install dynamsoft-barcode-reader-bundle@10.4.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 support@dynamsoft.com.
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 support@dynamsoft.com.
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 support@dynamsoft.com.
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 support@dynamsoft.com.
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/dynamsoft-barcode-reader-bundle@10.4.2002/dist/dbr.bundle.min.js"></script>
286+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.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 support@dynamsoft.com.
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 support@dynamsoft.com.
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/dynamsoft-barcode-reader-bundle@10.4.2002/dist/dbr.bundle.min.js"></script>
30+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@10.4.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 support@dynamsoft.com.
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 support@dynamsoft.com.
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 dynamsoft-capture-vision-std@1.4.10 -E
5252
npm install dynamsoft-image-processing@2.4.20 -E
53-
npm install dynamsoft-barcode-reader-bundle@10.4.2002 -E
53+
npm install dynamsoft-barcode-reader-bundle@10.4.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 support@dynamsoft.com.
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 support@dynamsoft.com.
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 support@dynamsoft.com.
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 support@dynamsoft.com.
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
}

0 commit comments

Comments
 (0)