Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 9e1efba

Browse files
committed
3.3.6
1 parent 9064d32 commit 9e1efba

File tree

8 files changed

+17
-15
lines changed

8 files changed

+17
-15
lines changed

Api Reference.url

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[InternetShortcut]
2-
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=3.3.5
2+
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=3.3.6

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
4747
<script src="https://unpkg.com/dynamsoft-camera-enhancer/dist/dce.js"></script>
4848
```
4949

50-
> In some rare cases, you might not be able to access the CDN. If this happens, you can use [https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.5/dist/dce.js](https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.5/dist/dce.js)
50+
> In some rare cases, you might not be able to access the CDN. If this happens, you can use [https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.6/dist/dce.js](https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.6/dist/dce.js)
5151
5252
#### Host the SDK yourself
5353

@@ -74,7 +74,7 @@ The following shows a few ways to download the SDK.
7474
Depending on how you downloaded the SDK and where you put it. You can typically include it like this:
7575

7676
```html
77-
<script src="/dynamsoft-camera-enhancer-js-3.3.5/dist/dce.js"></script>
77+
<script src="/dynamsoft-camera-enhancer-js-3.3.6/dist/dce.js"></script>
7878
```
7979

8080
or
@@ -261,4 +261,4 @@ Now that you have got the SDK integrated, you can choose to move forward in the
261261

262262
1. Learn how to make use of the [Shape Drawing Feature](https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/user-guide/features/draw-shapes.html).
263263
2. Check out the [official samples on Github](https://github.com/Dynamsoft/camera-enhancer-javascript-samples).
264-
3. Learn about the available [APIs](https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/index.html).
264+
3. Learn about the available [APIs](https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/index.html).

dist/dce.esm.js

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

dist/dce.js

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

dist/dce.mjs

+2-2
Large diffs are not rendered by default.

dist/types/class/cameraenhancer.d.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default class CameraEnhancer implements ImageSource {
124124
* })();
125125
* ```
126126
*/
127-
get singleFrameMode(): boolean;
127+
get singleFrameMode(): boolean | "image" | "camera";
128128
/**
129129
* A mode not use video, get a frame from OS camera instead.
130130
* ```js
@@ -136,13 +136,13 @@ export default class CameraEnhancer implements ImageSource {
136136
* })();
137137
* ```
138138
*/
139-
set singleFrameMode(value: boolean);
139+
set singleFrameMode(value: boolean | "image" | "camera");
140140
private _cvsSingleFrameMode;
141141
private _originalImageData;
142142
private _cvsOriginalImage;
143143
private _imgWidth;
144144
private _imgHeight;
145-
private _singleFrameModeIpt;
145+
private _singleFrameInputContainer;
146146
private _clickIptSingleFrameMode;
147147
/** @ignore */
148148
private styleEls;
@@ -534,6 +534,8 @@ export default class CameraEnhancer implements ImageSource {
534534
private static playVideo;
535535
private static findBestRearCameraInIOS;
536536
private static findBestRearCamera;
537+
private constructor();
538+
_isSingleFrameModeEnabled(): boolean;
537539
/**
538540
*
539541
* @param deviceId

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dynamsoft-camera-enhancer",
3-
"version": "3.3.5",
3+
"version": "3.3.6",
44
"description": "Allow your website to easily control cameras on desktop and mobile devices.",
55
"private": false,
66
"homepage": "https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/?ver=latest",

samples.url

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[InternetShortcut]
2-
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v3.3.5
2+
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v3.3.6

0 commit comments

Comments
 (0)