dynamsoft-camera-enhancer
Advanced tools
Comparing version 3.3.9 to 3.3.10-beta-202402031834
@@ -10,4 +10,6 @@ import { PlayCallbackInfo } from '../interface/playcallbackinfo'; | ||
import { Warning } from '../interface/warning'; | ||
declare type PixelFormat = "grey" | "grey32" | "rgba" | "rbga" | "grba" | "gbra" | "brga" | "bgra"; | ||
export default class CameraEnhancer implements ImageSource { | ||
import { DrawingLayer } from "./drawinglayer"; | ||
import { DrawingStyle } from "../interface/drawingstyle"; | ||
type PixelFormat = "grey" | "grey32" | "rgba" | "rbga" | "grba" | "gbra" | "brga" | "bgra"; | ||
export declare class CameraEnhancer implements ImageSource { | ||
private static _jsVersion; | ||
@@ -206,2 +208,6 @@ private static _jsEditVersion; | ||
videoSrc: string | MediaStream | MediaSource | Blob; | ||
/** | ||
* Sets or returns the the maximum time allowed for opening a selected camera. | ||
* @defaultValue `4000` | ||
*/ | ||
cameraOpenTimeout: number; | ||
@@ -1023,11 +1029,11 @@ /** @ignore */ | ||
private _updateDrawingLayersSize; | ||
_createDrawingLayer(drawingLayerId?: number): import("./drawinglayer").default; | ||
_createDrawingLayer(drawingLayerId?: number): DrawingLayer; | ||
deleteDrawingLayer(drawingLayerId: number): void; | ||
createDrawingLayer(): import("./drawinglayer").default; | ||
getDrawingLayer(drawingLayerId: number): import("./drawinglayer").default; | ||
getDrawingLayers(): import("./drawinglayer").default[]; | ||
createDrawingLayer(): DrawingLayer; | ||
getDrawingLayer(drawingLayerId: number): DrawingLayer; | ||
getDrawingLayers(): Array<DrawingLayer>; | ||
getSelectedDrawingItems(): any[]; | ||
createDrawingStyle(styleDefinition: any): number; | ||
getDrawingStyle(styleId: number): import("..").DrawingStyle; | ||
getDrawingStyles(): import("..").DrawingStyle[]; | ||
getDrawingStyle(styleId: number): DrawingStyle; | ||
getDrawingStyles(): Array<DrawingStyle>; | ||
updateDrawingStyle(styleId: number, styleDefinition: any): void; | ||
@@ -1079,2 +1085,1 @@ clearDrawingLayers(): void; | ||
export {}; | ||
//# sourceMappingURL=cameraenhancer.d.ts.map |
@@ -102,2 +102,1 @@ export declare class Controler { | ||
} | ||
//# sourceMappingURL=controler.d.ts.map |
@@ -47,2 +47,1 @@ import { Note } from '../../interface/Note'; | ||
} | ||
//# sourceMappingURL=drawingitem.d.ts.map |
@@ -5,2 +5,1 @@ import { DrawingItem } from "./drawingitem"; | ||
} | ||
//# sourceMappingURL=dt_arc.d.ts.map |
@@ -8,2 +8,1 @@ import { DrawingItem } from "./drawingitem"; | ||
} | ||
//# sourceMappingURL=dt_group.d.ts.map |
@@ -8,2 +8,1 @@ import { DrawingItem } from "./drawingitem"; | ||
} | ||
//# sourceMappingURL=dt_image.d.ts.map |
@@ -8,2 +8,1 @@ import { DT_Polygon } from "./dt_polygon"; | ||
} | ||
//# sourceMappingURL=dt_line.d.ts.map |
@@ -12,2 +12,1 @@ import { fabric } from "dm-fabric"; | ||
} | ||
//# sourceMappingURL=dt_polygon.d.ts.map |
@@ -5,2 +5,1 @@ import { DrawingItem } from "./drawingitem"; | ||
} | ||
//# sourceMappingURL=dt_rect.d.ts.map |
@@ -8,2 +8,1 @@ import { DrawingItem } from "./drawingitem"; | ||
} | ||
//# sourceMappingURL=dt_text.d.ts.map |
@@ -9,2 +9,1 @@ export { DrawingItem } from './drawingitem'; | ||
export { DT_Group } from './dt_group'; | ||
//# sourceMappingURL=index.d.ts.map |
import { fabric } from "dm-fabric"; | ||
import { DrawingItem } from "./drawingItem"; | ||
import { DrawingStyle } from "../interface/drawingstyle"; | ||
export default class DrawingLayer { | ||
export declare class DrawingLayer { | ||
fabricCanvas: fabric.Canvas; | ||
@@ -71,2 +71,1 @@ private id; | ||
} | ||
//# sourceMappingURL=drawinglayer.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import DrawingLayer from "./drawinglayer"; | ||
import { DrawingLayer } from "./drawinglayer"; | ||
import { DrawingStyle } from "../interface/drawingstyle"; | ||
@@ -31,2 +31,1 @@ export declare class DrawingLayersManager { | ||
} | ||
//# sourceMappingURL=drawinglayermanager.d.ts.map |
@@ -11,2 +11,1 @@ export declare enum EnumPixelFormat { | ||
} | ||
//# sourceMappingURL=enumPixelFormat.d.ts.map |
@@ -1,4 +0,6 @@ | ||
import CameraEnhancer from "./class/cameraenhancer"; | ||
import { CameraEnhancer } from "./class/cameraenhancer"; | ||
import { DT_Arc, DT_Polygon, DT_Rect, DT_Image, DT_Text, DT_Line, DT_Group } from "./class/drawingItem"; | ||
import { DrawingLayer } from "./class/drawinglayer"; | ||
import { PlayCallbackInfo } from "./interface/playcallbackinfo"; | ||
import { VideoDeviceInfo } from "./interface/videodeviceinfo"; | ||
import { Region } from "./interface/region"; | ||
@@ -20,3 +22,2 @@ import { DCEFrame } from "./interface/DCEFrame"; | ||
}; | ||
export { CameraEnhancer, DrawingItem, PlayCallbackInfo, Region, DCEFrame, Area, Point, DrawingStyle, Warning, DrawingItemEvent }; | ||
//# sourceMappingURL=index.d.ts.map | ||
export { CameraEnhancer, DrawingItem, type DrawingLayer, PlayCallbackInfo, VideoDeviceInfo, Region, DCEFrame, Area, Point, DrawingStyle, Warning, DrawingItemEvent }; |
@@ -21,2 +21,1 @@ export interface Area { | ||
} | ||
//# sourceMappingURL=Area.d.ts.map |
@@ -27,2 +27,1 @@ import { Region } from './region'; | ||
} | ||
//# sourceMappingURL=DCEFrame.d.ts.map |
@@ -9,2 +9,1 @@ import { DrawingItem } from "../class/drawingItem"; | ||
} | ||
//# sourceMappingURL=DrawingItemEvent.d.ts.map |
@@ -10,2 +10,1 @@ export interface DrawingStyle { | ||
} | ||
//# sourceMappingURL=drawingstyle.d.ts.map |
@@ -8,2 +8,1 @@ export interface DSImage { | ||
} | ||
//# sourceMappingURL=dsimage.d.ts.map |
@@ -5,2 +5,1 @@ import { DSImage } from "./dsimage"; | ||
} | ||
//# sourceMappingURL=imagesource.d.ts.map |
@@ -5,2 +5,1 @@ export interface Note { | ||
} | ||
//# sourceMappingURL=Note.d.ts.map |
@@ -6,2 +6,1 @@ export interface PlayCallbackInfo { | ||
} | ||
//# sourceMappingURL=playcallbackinfo.d.ts.map |
@@ -5,2 +5,1 @@ export interface Point { | ||
} | ||
//# sourceMappingURL=point.d.ts.map |
@@ -8,2 +8,1 @@ export interface Region { | ||
} | ||
//# sourceMappingURL=region.d.ts.map |
@@ -7,2 +7,1 @@ export interface VideoDeviceInfo { | ||
} | ||
//# sourceMappingURL=videodeviceinfo.d.ts.map |
@@ -5,2 +5,1 @@ export interface Warning { | ||
} | ||
//# sourceMappingURL=warning.d.ts.map |
@@ -12,2 +12,1 @@ export declare class Matrix3 { | ||
} | ||
//# sourceMappingURL=Matrix3.d.ts.map |
{ | ||
"name": "dynamsoft-camera-enhancer", | ||
"version": "3.3.9", | ||
"version": "3.3.10-beta-202402031834", | ||
"description": "Allow your website to easily control cameras on desktop and mobile devices.", | ||
@@ -23,3 +23,3 @@ "private": false, | ||
"registry": "https://registry.npmjs.org/", | ||
"tag": "v3-latest" | ||
"tag": "beta" | ||
}, | ||
@@ -50,3 +50,3 @@ "author": { | ||
"build:doc": "typedoc", | ||
"update:readme": "updateReadme --package=dynamsoft-camera-enhancer --version=auto --branch=3.3.9", | ||
"update:readme": "updateReadme --package=dynamsoft-camera-enhancer --version=auto --html", | ||
"update:prod": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=production --tag=v3-latest", | ||
@@ -73,31 +73,23 @@ "update:beta": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=beta --tag=beta", | ||
"/dist/**/*.d.ts", | ||
"/Api Reference.url", | ||
"/legal.txt", | ||
"/API Reference.url", | ||
"/LEGAL.txt", | ||
"/samples.url" | ||
], | ||
"devDependencies": { | ||
"@babel/core": "7.15.8", | ||
"@babel/preset-env": "7.15.8", | ||
"@dynamsoft/rd2-scripts": "^0.0.78", | ||
"@rollup/plugin-babel": "5.3.0", | ||
"@dynamsoft/rd2-scripts": "^0.1.15", | ||
"@rollup/plugin-node-resolve": "^13.3.0", | ||
"@rollup/plugin-replace": "3.0.0", | ||
"@rollup/plugin-typescript": "8.3.0", | ||
"@rollup/plugin-replace": "^5.0.5", | ||
"@rollup/plugin-terser": "^0.4.4", | ||
"@rollup/plugin-typescript": "^11.1.6", | ||
"@scannerproxy/browser-info": "^1.0.7", | ||
"@scannerproxy/curscript-path": "^1.0.3", | ||
"@types/node": "16.11.2", | ||
"@types/node": "^20.4.2", | ||
"detect-browser-node-ssr": "^2.0.0", | ||
"highlight.js": "^9.15.6", | ||
"rollup": "^2.58.0", | ||
"rollup-plugin-terser": "7.0.2", | ||
"showdown": "^1.9.0", | ||
"tslib": "2.3.1", | ||
"typedoc": "0.22.6", | ||
"typedoc-plugin-missing-exports": "0.22.3", | ||
"typescript": "4.3.5" | ||
"tslib": "^2.6.2", | ||
"typescript": "^4.9.5" | ||
}, | ||
"dependencies": { | ||
"dm-fabric": "^5.1.17", | ||
"mutable-promise": "^1.1.13" | ||
"dm-fabric": "^5.1.17" | ||
} | ||
} |
@@ -50,3 +50,3 @@ # Dynamsoft Camera Enhancer for Your Website | ||
> 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.9/dist/dce.js](https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.9/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.10/dist/dce.js](https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.10/dist/dce.js) | ||
@@ -78,3 +78,3 @@ #### Host the SDK yourself | ||
```html | ||
<script src="/dynamsoft-camera-enhancer-js-3.3.9/dist/dce.js"></script> | ||
<script src="/dynamsoft-camera-enhancer-js-3.3.10/dist/dce.js"></script> | ||
``` | ||
@@ -81,0 +81,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
12
5583
2
1177714
3
- Removedmutable-promise@^1.1.13
- Removedmutable-promise@1.1.15(transitive)