@authme/id-recognition 2.8.41 → 2.8.42
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/index.cjs
CHANGED
|
@@ -115,8 +115,8 @@ class IdCardAntiFraudService extends engine.AuthmeEngineModuleBase {
|
|
|
115
115
|
const stageStrList = stageList.map(x => x.split('_')[1]);
|
|
116
116
|
return this.engine.run(this.moduleName, 'setStage', stageStrList);
|
|
117
117
|
}
|
|
118
|
-
getCardMatchROI() {
|
|
119
|
-
return this.engine.run(this.moduleName, 'getCardMatchROI');
|
|
118
|
+
getCardMatchROI(config) {
|
|
119
|
+
return this.engine.run(this.moduleName, 'getCardMatchROI', config);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
class MRZService extends engine.AuthmeEngineModuleBase {
|
|
@@ -404,8 +404,8 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
404
404
|
};
|
|
405
405
|
|
|
406
406
|
var name = "authme/sdk";
|
|
407
|
-
var version$1 = "2.8.
|
|
408
|
-
var date = "2026-
|
|
407
|
+
var version$1 = "2.8.42";
|
|
408
|
+
var date = "2026-02-03T09:36:05+0000";
|
|
409
409
|
var packageInfo = {
|
|
410
410
|
name: name,
|
|
411
411
|
version: version$1,
|
package/index.js
CHANGED
|
@@ -112,8 +112,8 @@ class IdCardAntiFraudService extends AuthmeEngineModuleBase {
|
|
|
112
112
|
const stageStrList = stageList.map(x => x.split('_')[1]);
|
|
113
113
|
return this.engine.run(this.moduleName, 'setStage', stageStrList);
|
|
114
114
|
}
|
|
115
|
-
getCardMatchROI() {
|
|
116
|
-
return this.engine.run(this.moduleName, 'getCardMatchROI');
|
|
115
|
+
getCardMatchROI(config) {
|
|
116
|
+
return this.engine.run(this.moduleName, 'getCardMatchROI', config);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
class MRZService extends AuthmeEngineModuleBase {
|
|
@@ -401,8 +401,8 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
401
401
|
};
|
|
402
402
|
|
|
403
403
|
var name = "authme/sdk";
|
|
404
|
-
var version$1 = "2.8.
|
|
405
|
-
var date = "2026-
|
|
404
|
+
var version$1 = "2.8.42";
|
|
405
|
+
var date = "2026-02-03T09:36:05+0000";
|
|
406
406
|
var packageInfo = {
|
|
407
407
|
name: name,
|
|
408
408
|
version: version$1,
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authme/id-recognition",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.42",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"core-js": "^3.6.0",
|
|
6
|
-
"@authme/core": "2.8.
|
|
7
|
-
"@authme/engine": "2.8.
|
|
8
|
-
"@authme/util": "2.8.
|
|
6
|
+
"@authme/core": "2.8.42",
|
|
7
|
+
"@authme/engine": "2.8.42",
|
|
8
|
+
"@authme/util": "2.8.42"
|
|
9
9
|
},
|
|
10
10
|
"module": "./index.js",
|
|
11
11
|
"main": "./index.cjs",
|
|
@@ -15,7 +15,9 @@ export interface Point {
|
|
|
15
15
|
export declare class IdCardAntiFraudService extends AuthmeEngineModuleBase<IDCardAntiFraudResult> {
|
|
16
16
|
constructor(engine: MlEngine);
|
|
17
17
|
setStage(stageList: EAuthMeIDCardAntiFraudStage[]): Promise<unknown>;
|
|
18
|
-
getCardMatchROI(
|
|
18
|
+
getCardMatchROI(config?: {
|
|
19
|
+
stage: string;
|
|
20
|
+
}): Promise<Point[]>;
|
|
19
21
|
}
|
|
20
22
|
export declare class MRZService<T extends PassportResult | ResidentCardResult> extends AuthmeEngineModuleBase<T> {
|
|
21
23
|
private type;
|