@innovatrics/dot-magnifeye-liveness
Advanced tools
Comparing version 6.2.1 to 7.0.0
@@ -17,3 +17,3 @@ import type { FaceCameraProps, FaceComponentData } from './faceTypes'; | ||
} | ||
export type MagnifEyeLivenessProps = Pick<FaceCameraProps, 'wasmDirectoryPath' | 'onError' | 'sessionToken' | 'styleTarget' | 'licensePath'> & { | ||
export type MagnifEyeLivenessProps = Pick<FaceCameraProps, 'assetsDirectoryPath' | 'onError' | 'sessionToken' | 'styleTarget'> & { | ||
onComplete: MagnifEyeLivenessCallback; | ||
@@ -20,0 +20,0 @@ }; |
{ | ||
"name": "@innovatrics/dot-magnifeye-liveness", | ||
"private": false, | ||
"version": "6.2.1", | ||
"version": "7.0.0", | ||
"license": "Innovatrics proprietary license", | ||
@@ -22,6 +22,6 @@ "types": "common/src/types/magnifEyeTypes.d.ts", | ||
"dev": "vite", | ||
"build": "tsc && vite build && pnpm build:types", | ||
"build": "tsc && LIB=magnifeye vite build && pnpm build:types", | ||
"build:pack": "pnpm build && cd dist && pnpm pack --pack-destination ../", | ||
"build:types": "tsc --project tsconfig.production.json && tsc-alias -p tsc-alias.json", | ||
"build:watch": "vite build --watch", | ||
"build:watch": "pnpm build --watch", | ||
"preview": "vite preview", | ||
@@ -35,6 +35,6 @@ "lint": "eslint \"src/**/*.{ts,tsx}\" --max-warnings 0", | ||
"@preact/signals": "^1.3.0", | ||
"comlink": "^4.4.1", | ||
"preact": "^10.22.1", | ||
"preact-custom-element": "^4.3.0", | ||
"styled-components": "^6.1.11", | ||
"vite-plugin-filter-replace": "^0.1.13" | ||
"styled-components": "^6.1.11" | ||
}, | ||
@@ -41,0 +41,0 @@ "exports": { |
@@ -27,9 +27,8 @@ type CustomEvents<K extends string> = { | ||
export type BaseCameraProps = { | ||
assetsDirectoryPath?: string; | ||
cameraFacing?: FacingModeValues; | ||
captureMode?: CaptureModeValues; | ||
licensePath?: string; | ||
onError: (e: Error) => void; | ||
sessionToken?: string; | ||
styleTarget?: HTMLElement; | ||
wasmDirectoryPath?: string; | ||
}; | ||
@@ -36,0 +35,0 @@ export type ImageParameters = { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
32
17673
2322314
22
+ Addedcomlink@^4.4.1
+ Addedcomlink@4.4.2(transitive)
- Removedvite-plugin-filter-replace@^0.1.13
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removedmagic-string@0.30.17(transitive)
- Removedvite-plugin-filter-replace@0.1.14(transitive)