Skip to content

Commit 8832bca

Browse files
committed
Deploy preview for PR 212 🛫
1 parent 3269e0c commit 8832bca

File tree

38 files changed

+49
-177
lines changed

38 files changed

+49
-177
lines changed

pr-preview/pr-212/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/[email protected]/dist/',
80-
dip: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/',
81-
core: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/',
82-
license: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/',
83-
cvr: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/',
84-
dbr: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/',
85-
dce: 'https://cdn.jsdelivr.net/npm/[email protected]/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.

pr-preview/pr-212/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"

pr-preview/pr-212/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/[email protected]/dist/',
8-
dip: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/',
9-
core: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/',
10-
license: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/',
11-
cvr: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/',
12-
dbr: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/',
13-
dce: 'https://cdn.jsdelivr.net/npm/[email protected]/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.

pr-preview/pr-212/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/[email protected]-beta-202409252259/dist/dbr.bundle.min.js"></script>
284+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/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.

pr-preview/pr-212/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/[email protected]-beta-202409252259/dist/dbr.bundle.min.js"></script>
30+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/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.

pr-preview/pr-212/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
>

pr-preview/pr-212/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
}

pr-preview/pr-212/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/[email protected]-beta-202409252259/dist/dbr.bundle.mjs";
25+
} from "https://cdn.jsdelivr.net/npm/[email protected]/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/[email protected]/dist/",
41-
dip: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
42-
core: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
43-
license: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
44-
cvr: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
45-
dbr: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
46-
dce: "https://cdn.jsdelivr.net/npm/[email protected]/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"]);

pr-preview/pr-212/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/[email protected]-beta-202409252259/dist/dbr.bundle.js"></script>
17+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/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.

pr-preview/pr-212/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/[email protected]/dist/",
78-
dip: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
79-
core: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
80-
license: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
81-
cvr: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
82-
dbr: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
83-
dce: "https://cdn.jsdelivr.net/npm/[email protected]/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.

0 commit comments

Comments
 (0)