@camera.ui/camera-ui-wasm-motion
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -1,2 +0,2 @@ | ||
import type { CameraDevice, CameraStorage, PluginAPI, PluginLogger } from '@camera.ui/types'; | ||
import type { CameraDevice, CameraStorage, LoggerService, PluginAPI } from '@camera.ui/types'; | ||
import type { CameraStorageValues } from './types.js'; | ||
@@ -19,3 +19,3 @@ export declare class CameraDetector { | ||
private memoryBuffer; | ||
constructor(cameraDevice: CameraDevice, api: PluginAPI, logger: PluginLogger); | ||
constructor(cameraDevice: CameraDevice, api: PluginAPI, logger: LoggerService); | ||
start(): Promise<void>; | ||
@@ -22,0 +22,0 @@ private setupMemory; |
@@ -1,8 +0,8 @@ | ||
import type { BasePlugin, CameraDevice, FormSubmitResponse, PluginAPI, PluginLogger } from '@camera.ui/types'; | ||
import type { BasePlugin, CameraDevice, FormSubmitResponse, LoggerService, PluginAPI } from '@camera.ui/types'; | ||
export default class WASMMotion implements BasePlugin { | ||
logger: PluginLogger; | ||
logger: LoggerService; | ||
api: PluginAPI; | ||
private cameras; | ||
private detectors; | ||
constructor(logger: PluginLogger, api: PluginAPI); | ||
constructor(logger: LoggerService, api: PluginAPI); | ||
configureCameras(cameras: CameraDevice[]): void; | ||
@@ -9,0 +9,0 @@ onFormSubmit(actionId: string, payload: any): Promise<FormSubmitResponse | void>; |
{ | ||
"displayName": "WASM Motion", | ||
"name": "@camera.ui/camera-ui-wasm-motion", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "camera.ui wasm motion detection plugin", | ||
@@ -19,3 +19,3 @@ "author": "seydx (https://github.com/seydx/camera.ui)", | ||
"devDependencies": { | ||
"@camera.ui/types": "^0.0.70", | ||
"@camera.ui/types": "^0.0.71", | ||
"@rushstack/eslint-patch": "^1.10.4", | ||
@@ -25,7 +25,7 @@ "@types/fs-extra": "^11.0.4", | ||
"@types/ws": "^8.5.12", | ||
"@typescript-eslint/eslint-plugin": "^8.4.0", | ||
"@typescript-eslint/parser": "^8.4.0", | ||
"@typescript-eslint/eslint-plugin": "^8.5.0", | ||
"@typescript-eslint/parser": "^8.5.0", | ||
"assemblyscript": "^0.27.29", | ||
"assemblyscript-prettier": "^3.0.1", | ||
"concurrently": "^8.2.2", | ||
"concurrently": "^9.0.0", | ||
"copyfiles": "^2.4.1", | ||
@@ -40,3 +40,3 @@ "eslint": "8.57.0", | ||
"sharp": "^0.33.5", | ||
"typescript": "^5.5.4", | ||
"typescript": "^5.6.2", | ||
"updates": "^16.4.0" | ||
@@ -48,3 +48,3 @@ }, | ||
"engines": { | ||
"camera.ui": ">=0.0.30-alpha.1", | ||
"camera.ui": ">=0.0.31-alpha.0", | ||
"node": ">=18.12.0" | ||
@@ -51,0 +51,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
56178