Skip to content

Commit 0634c21

Browse files
committed
update version
1 parent f9c2d14 commit 0634c21

Some content is hidden

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

49 files changed

+146
-146
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A default license is included which allows you to test the sample apps for up to
88

99
## Documentation
1010

11-
For the developer guide and full API reference of Dynamsoft Barcode Reader JavaScript library, please check out the [documentation](https://www.dynamsoft.com/barcode-reader/programming/javascript/?ver=9.6.20&utm_source=sampleReadme).
11+
For the developer guide and full API reference of Dynamsoft Barcode Reader JavaScript library, please check out the [documentation](https://www.dynamsoft.com/barcode-reader/programming/javascript/?ver=10.0.20&utm_source=sampleReadme).
1212

1313
## Support
1414

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/programming/javascript/user-guide/?ver=9.6.20#getting-started---hello-world), 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/programming/javascript/user-guide/?ver=10.0.20#getting-started---hello-world), 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: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ cd my-app
2626
npm install dynamsoft-core
2727
npm install dynamsoft-license
2828
npm install dynamsoft-utility
29-
npm install @dynamsoft/dynamsoft-barcode-reader
29+
npm install dynamsoft-barcode-reader
3030
npm install dynamsoft-capture-vision-router
3131
npm install dynamsoft-camera-enhancer
3232
```
@@ -38,7 +38,7 @@ npm install dynamsoft-camera-enhancer
3838
```typescript
3939
import { CoreModule } from 'dynamsoft-core';
4040
import { LicenseManager } from 'dynamsoft-license';
41-
import '@dynamsoft/dynamsoft-barcode-reader';
41+
import 'dynamsoft-barcode-reader';
4242

4343
/** LICENSE ALERT - README
4444
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.
@@ -51,17 +51,17 @@ LicenseManager.initLicense(
5151
/**
5252
* 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.
5353
* 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.
54-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.6.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
54+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
5555
* LICENSE ALERT - THE END
5656
*/
5757

5858
CoreModule.engineResourcePaths = {
5959
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/",
6060
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/",
61-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.31/dist/",
61+
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/",
6262
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/",
6363
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.30/dist/",
64-
dbr: "https://npm.scannerproxy.com/cdn/@dynamsoft/dynamsoft-barcode-reader@10.0.20-dev-20240115142402/dist/",
64+
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/",
6565
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/"
6666
};
6767

@@ -119,7 +119,7 @@ Results:
119119
```typescript
120120
import { Component, ElementRef, ViewChild } from '@angular/core';
121121
import { EnumCapturedResultItemType } from 'dynamsoft-core'
122-
import { DecodedBarcodesResult } from '@dynamsoft/dynamsoft-barcode-reader';
122+
import { DecodedBarcodesResult } from 'dynamsoft-barcode-reader';
123123
import {
124124
CameraEnhancer,
125125
CameraView,
@@ -254,7 +254,7 @@ export class VideoCaptureComponent {
254254

255255
```typescript
256256
import { Component } from '@angular/core';
257-
import { BarcodeResultItem } from '@dynamsoft/dynamsoft-barcode-reader';
257+
import { BarcodeResultItem } from 'dynamsoft-barcode-reader';
258258
import { CaptureVisionRouter } from 'dynamsoft-capture-vision-router';
259259
import '../../cvr'; // import side effects. The license, engineResourcePath, so on.
260260

hello-world/angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
"@angular/platform-browser": "^16.2.0",
1919
"@angular/platform-browser-dynamic": "^16.2.0",
2020
"@angular/router": "^16.2.0",
21-
"@dynamsoft/dynamsoft-barcode-reader": "10.0.20-dev-20240115142402",
21+
"dynamsoft-barcode-reader": "10.0.20",
2222
"dynamsoft-utility": "1.0.21",
2323
"dynamsoft-camera-enhancer": "4.0.1",
2424
"dynamsoft-capture-vision-router": "2.0.30",
25-
"dynamsoft-core": "3.0.31",
25+
"dynamsoft-core": "3.0.32",
2626
"dynamsoft-license": "3.0.20",
2727
"rxjs": "~7.8.0",
2828
"tslib": "^2.3.0",

hello-world/angular/src/app/image-capture/image-capture.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component } from '@angular/core';
2-
import { BarcodeResultItem } from '@dynamsoft/dynamsoft-barcode-reader';
2+
import { BarcodeResultItem } from 'dynamsoft-barcode-reader';
33
import { CaptureVisionRouter } from 'dynamsoft-capture-vision-router';
44
import '../../cvr'; // import side effects. The license, engineResourcePath, so on.
55

hello-world/angular/src/app/video-capture/video-capture.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component, ElementRef, ViewChild } from '@angular/core';
22
import { EnumCapturedResultItemType } from 'dynamsoft-core'
3-
import { DecodedBarcodesResult } from '@dynamsoft/dynamsoft-barcode-reader';
3+
import { DecodedBarcodesResult } from 'dynamsoft-barcode-reader';
44
import {
55
CameraEnhancer,
66
CameraView,

hello-world/angular/src/cvr.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { CoreModule } from 'dynamsoft-core';
22
import { LicenseManager } from 'dynamsoft-license';
3-
import '@dynamsoft/dynamsoft-barcode-reader';
3+
import 'dynamsoft-barcode-reader';
44

55
/** LICENSE ALERT - README
66
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.
@@ -13,17 +13,17 @@ LicenseManager.initLicense(
1313
/**
1414
* 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.
1515
* 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.
16-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.6.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
16+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
1717
* LICENSE ALERT - THE END
1818
*/
1919

2020
CoreModule.engineResourcePaths = {
2121
std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/",
2222
dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/",
23-
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.31/dist/",
23+
core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/",
2424
license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/",
2525
cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.30/dist/",
26-
dbr: "https://npm.scannerproxy.com/cdn/@dynamsoft/dynamsoft-barcode-reader@10.0.20-dev-20240115142402/dist/",
26+
dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/",
2727
dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/"
2828
};
2929

hello-world/electron/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ npm install dynamsoft-image-processing
2828
npm install dynamsoft-core
2929
npm install dynamsoft-license
3030
npm install dynamsoft-utility
31-
npm install @dynamsoft/dynamsoft-barcode-reader
31+
npm install dynamsoft-barcode-reader
3232
npm install dynamsoft-capture-vision-router
3333
npm install dynamsoft-camera-enhancer
3434
```
@@ -94,7 +94,7 @@ Create the page to be loaded in the created window.
9494
<script src="./node_modules/dynamsoft-core/dist/core.js"></script>
9595
<script src="./node_modules/dynamsoft-license/dist/license.js"></script>
9696
<script src="./node_modules/dynamsoft-utility/dist/utility.js"></script>
97-
<script src="./node_modules/@dynamsoft/dynamsoft-barcode-reader/dist/dbr.js"></script>
97+
<script src="./node_modules/dynamsoft-barcode-reader/dist/dbr.js"></script>
9898
<script src="./node_modules/dynamsoft-capture-vision-router/dist/cvr.js"></script>
9999
<script src="./node_modules/dynamsoft-camera-enhancer/dist/dce.js"></script>
100100
</head>
@@ -125,7 +125,7 @@ Dynamsoft.License.LicenseManager.initLicense(
125125
/**
126126
* 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.
127127
* 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.
128-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.6.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
128+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
129129
* LICENSE ALERT - THE END
130130
*/
131131

@@ -135,7 +135,7 @@ Dynamsoft.Core.CoreModule.engineResourcePaths = {
135135
core: "./node_modules/dynamsoft-core/dist/",
136136
license: "./node_modules/dynamsoft-license/dist/",
137137
cvr: "./node_modules/dynamsoft-capture-vision-router/dist/",
138-
dbr: "./node_modules/@dynamsoft/dynamsoft-barcode-reader/dist/",
138+
dbr: "./node_modules/dynamsoft-barcode-reader/dist/",
139139
dce: "./node_modules/dynamsoft-camera-enhancer/dist/"
140140
};
141141
(async function () {

hello-world/electron/action.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Dynamsoft.License.LicenseManager.initLicense(
99
/**
1010
* 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.
1111
* 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.
12-
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.6.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
12+
* For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20&utm_source=github#specify-the-license or contact support@dynamsoft.com.
1313
* LICENSE ALERT - THE END
1414
*/
1515

@@ -19,7 +19,7 @@ Dynamsoft.Core.CoreModule.engineResourcePaths = {
1919
core: "./node_modules/dynamsoft-core/dist/",
2020
license: "./node_modules/dynamsoft-license/dist/",
2121
cvr: "./node_modules/dynamsoft-capture-vision-router/dist/",
22-
dbr: "./node_modules/@dynamsoft/dynamsoft-barcode-reader/dist/",
22+
dbr: "./node_modules/dynamsoft-barcode-reader/dist/",
2323
dce: "./node_modules/dynamsoft-camera-enhancer/dist/",
2424
};
2525
(async function () {

hello-world/electron/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<script src="./node_modules/dynamsoft-core/dist/core.js"></script>
1010
<script src="./node_modules/dynamsoft-license/dist/license.js"></script>
1111
<script src="./node_modules/dynamsoft-utility/dist/utility.js"></script>
12-
<script src="./node_modules/@dynamsoft/dynamsoft-barcode-reader/dist/dbr.js"></script>
12+
<script src="./node_modules/dynamsoft-barcode-reader/dist/dbr.js"></script>
1313
<script src="./node_modules/dynamsoft-capture-vision-router/dist/cvr.js"></script>
1414
<script src="./node_modules/dynamsoft-camera-enhancer/dist/dce.js"></script>
1515
</head>

0 commit comments

Comments
 (0)