Skip to content

Commit 9a9508c

Browse files
Merge pull request #5 from Dynamsoft/release/v1.1.x/v1.1.1
feat: release v1.1.1
2 parents f107f76 + 3c610e1 commit 9a9508c

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Since the **DDS** library files are published on [npm](https://www.npmjs.com/pac
8484
8585
To use the precompiled script, simply include the following URL in a `<script>` tag:
8686
```html
87-
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/dds.bundle.js"></script>
87+
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/dds.bundle.js"></script>
8888
```
8989
9090
Below is the complete Hello World sample page that uses this precompiled script from a CDN.
@@ -99,7 +99,7 @@ Below is the complete Hello World sample page that uses this precompiled script
9999
<meta charset="utf-8" />
100100
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
101101
<title>Dynamsoft Document Scanner - Hello World</title>
102-
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/dds.bundle.js"></script>
102+
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/dds.bundle.js"></script>
103103
</head>
104104
<body>
105105
<h1 style="font-size: large">Dynamsoft Document Scanner</h1>
@@ -152,7 +152,7 @@ Let’s walk through the code in the Hello World Sample to understand how it wor
152152
<title>Dynamsoft Document Scanner - Hello World</title>
153153
<script src="../dist/dds.bundle.js"></script>
154154
<!--Alternatively, reference the script from CDN
155-
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/dds.bundle.js"></script>
155+
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/dds.bundle.js"></script>
156156
-->
157157
</head>
158158
```
@@ -166,7 +166,7 @@ In this step, DDS is referenced using a relative local path in the `<head>` sect
166166
Alternatively, the script can be referenced from a CDN:
167167
168168
```html
169-
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/dds.bundle.js"></script>
169+
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/dds.bundle.js"></script>
170170
```
171171
172172
**DDS** wraps all its dependency scripts, so a **DDS** project only needs to include **DDS** itself as a single script. No additional dependency scripts are required.
@@ -364,7 +364,7 @@ We previously covered `container` in [Workflow Customization](#workflow-customiz
364364
> If **DDS** performance does not meet your needs in your usage scenario, you may require a customized algorithm template for better results. In this case, please contact our experienced [Technical Support Team](https://www.dynamsoft.com/company/contact/) to discuss your requirements. They will help tailor a suitable template for you, which you can then apply by updating `templateFilePath`.
365365
366366
By default, `cameraEnhancerUIPath` points to a file hosted on the jsDelivr CDN:
367-
[https://cdn.jsdelivr.net/npm/[email protected].0/dist/document-scanner.ui.html](https://cdn.jsdelivr.net/npm/[email protected].0/dist/document-scanner.ui.html).
367+
[https://cdn.jsdelivr.net/npm/[email protected].1/dist/document-scanner.ui.html](https://cdn.jsdelivr.net/npm/[email protected].1/dist/document-scanner.ui.html).
368368
369369
This file defines the UI for `DocumentScannerView`. However, since files on the CDN **cannot be modified directly**, you need to use a **local version** to customize the UI. `cameraEnhancerUIPath` is used to specify the local version.
370370
@@ -621,4 +621,4 @@ Now, all required files will be **served locally** without relying on a CDN.
621621
622622
**DDS** is a fully functional, ready-to-use document scanning SDK with built-in UI layouts. However, to extend its capabilities for multi-page and multi-document processing, as well as advanced editing features, we developed **Mobile Web Capture (MWC)**.
623623
624-
Read on to learn how to use this web-based wrapper SDK in the [MWC Getting Started Guide](https://www.dynamsoft.com/mobile-web-capture/docs/guides/mobile-web-capture.html).
624+
Read on to learn how to use this web-based wrapper SDK in the [MWC Getting Started Guide](https://www.dynamsoft.com/mobile-web-capture/docs/guides/mobile-web-capture.html).

package-lock.json

+6-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dynamsoft-document-scanner",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Dynamsoft Document Scanner (DDS) is a ready-to-use SDK for capturing and enhancing document images with automatic border detection, correction, and customizable workflows.",
55
"files": [
66
"/dist",

src/DocumentScanner.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { getElement, isEmptyObject, shouldCorrectImage } from "./views/utils";
1616

1717
// Default DCE UI path
1818
const DEFAULT_DCE_UI_PATH =
19-
"https://cdn.jsdelivr.net/npm/[email protected].0/dist/document-scanner.ui.html";
19+
"https://cdn.jsdelivr.net/npm/[email protected].1/dist/document-scanner.ui.html";
2020
const DEFAULT_DCV_ENGINE_RESOURCE_PATHS = { rootDirectory: "https://cdn.jsdelivr.net/npm/" };
2121
const DEFAULT_CONTAINER_HEIGHT = "100dvh";
2222

src/views/utils/icons.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export const DDS_ICONS = {
150150
</svg>
151151
`,
152152
downloadPNG: `
153-
<svg id="Layer_2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
153+
<svg id="Layer_2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
154154
<defs>
155155
<style>
156156
.cls-1 {

0 commit comments

Comments
 (0)