santoid-sdk 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarcloud-scan/sonarcloud-scan.log +263 -0
- package/CHANGELOG.md +4 -0
- package/README.md +201 -102
- package/api/ApiFaceMatchService.d.ts +3 -4
- package/api/ApiOcrService.d.ts +1 -0
- package/api/ApiTypificationService.d.ts +1 -1
- package/browser/index.js +1 -1
- package/client/core/commons/BaseCoreService.d.ts +3 -2
- package/client/core/commons/BaseCoreService.js +12 -6
- package/client/core/methods/faceMatch/Service.d.ts +0 -1
- package/client/core/methods/faceMatch/Service.js +0 -4
- package/client/core/methods/faceMatch/index.d.ts +1 -1
- package/client/core/methods/faceMatch/index.js +2 -2
- package/client/core/methods/ocr/Service.d.ts +3 -5
- package/client/core/methods/ocr/Service.js +0 -4
- package/client/core/methods/ocr/index.d.ts +1 -1
- package/client/core/methods/ocr/index.js +2 -2
- package/client/core/methods/typification/Service.d.ts +0 -1
- package/client/core/methods/typification/Service.js +0 -4
- package/client/core/methods/typification/index.d.ts +1 -1
- package/client/core/methods/typification/index.js +2 -3
- package/client/core/utils/types.d.ts +5 -1
- package/client/liveness/utils/getNextFrame.d.ts +4 -1
- package/client/liveness/utils/getNextFrame.js +3 -2
- package/package.json +1 -1
- package/server/core/methods/faceMatch/Service.d.ts +1 -1
- package/server/core/methods/ocr/Service.d.ts +1 -1
- package/server/core/methods/typification/Service.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FaceMatchService, type TFaceMatchServiceOptions } from '../../../../client/core/methods/faceMatch/Service';
|
|
2
|
-
export type TNodeFaceMatchServiceOptions<TMediaType> = Omit<TFaceMatchServiceOptions<TMediaType>, 'onStart'> & {
|
|
2
|
+
export type TNodeFaceMatchServiceOptions<TMediaType> = Omit<TFaceMatchServiceOptions<TMediaType>, 'onStart' | 'onCameraStart' | 'onCameraStop'> & {
|
|
3
3
|
onStart?: () => void | Promise<void>;
|
|
4
4
|
};
|
|
5
5
|
export declare class NodeFaceMatchService<TFrameType, TMediaType> extends FaceMatchService<TFrameType, TMediaType> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OcrService, type TOcrServiceOptions } from '../../../../client/core/methods/ocr/Service';
|
|
2
|
-
export type TNodeOcrServiceOptions<TMediaType> = Omit<TOcrServiceOptions<TMediaType>, 'onStart'> & {
|
|
2
|
+
export type TNodeOcrServiceOptions<TMediaType> = Omit<TOcrServiceOptions<TMediaType>, 'onStart' | 'onCameraStart' | 'onCameraStop'> & {
|
|
3
3
|
onStart?: () => void | Promise<void>;
|
|
4
4
|
};
|
|
5
5
|
export declare class NodeOcrService<TFrameType, TMediaType> extends OcrService<TFrameType, TMediaType> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypificationService, type TTypificationServiceOptions } from '../../../../client/core/methods/typification/Service';
|
|
2
|
-
export type TNodeTypificationServiceOptions<TMediaType> = Omit<TTypificationServiceOptions<TMediaType>, 'onStart'> & {
|
|
2
|
+
export type TNodeTypificationServiceOptions<TMediaType> = Omit<TTypificationServiceOptions<TMediaType>, 'onStart' | 'onCameraStart' | 'onCameraStop'> & {
|
|
3
3
|
onStart?: () => void | Promise<void>;
|
|
4
4
|
};
|
|
5
5
|
export declare class NodeTypificationService<TFrameType, TMediaType> extends TypificationService<TFrameType, TMediaType> {
|