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

Commit

Permalink
3.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Cube-J committed Sep 13, 2023
1 parent 9064d32 commit 9e1efba
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Api Reference.url
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[InternetShortcut]
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=3.3.5
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=3.3.6
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
<script src="https://unpkg.com/dynamsoft-camera-enhancer/dist/dce.js"></script>
```

> 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)
> 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)
#### Host the SDK yourself

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

```html
<script src="/dynamsoft-camera-enhancer-js-3.3.5/dist/dce.js"></script>
<script src="/dynamsoft-camera-enhancer-js-3.3.6/dist/dce.js"></script>
```

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

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).
2. Check out the [official samples on Github](https://github.com/Dynamsoft/camera-enhancer-javascript-samples).
3. Learn about the available [APIs](https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/index.html).
3. Learn about the available [APIs](https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/index.html).
4 changes: 2 additions & 2 deletions dist/dce.esm.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dce.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dce.mjs

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions dist/types/class/cameraenhancer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default class CameraEnhancer implements ImageSource {
* })();
* ```
*/
get singleFrameMode(): boolean;
get singleFrameMode(): boolean | "image" | "camera";
/**
* A mode not use video, get a frame from OS camera instead.
* ```js
Expand All @@ -136,13 +136,13 @@ export default class CameraEnhancer implements ImageSource {
* })();
* ```
*/
set singleFrameMode(value: boolean);
set singleFrameMode(value: boolean | "image" | "camera");
private _cvsSingleFrameMode;
private _originalImageData;
private _cvsOriginalImage;
private _imgWidth;
private _imgHeight;
private _singleFrameModeIpt;
private _singleFrameInputContainer;
private _clickIptSingleFrameMode;
/** @ignore */
private styleEls;
Expand Down Expand Up @@ -534,6 +534,8 @@ export default class CameraEnhancer implements ImageSource {
private static playVideo;
private static findBestRearCameraInIOS;
private static findBestRearCamera;
private constructor();
_isSingleFrameModeEnabled(): boolean;
/**
*
* @param deviceId
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dynamsoft-camera-enhancer",
"version": "3.3.5",
"version": "3.3.6",
"description": "Allow your website to easily control cameras on desktop and mobile devices.",
"private": false,
"homepage": "https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/?ver=latest",
Expand Down
2 changes: 1 addition & 1 deletion samples.url
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[InternetShortcut]
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v3.3.5
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v3.3.6

0 comments on commit 9e1efba

Please sign in to comment.