@authme/id-recognition 2.8.8 → 2.8.9
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 +3 -3
- package/index.js +3 -3
- package/package.json +4 -4
package/index.cjs
CHANGED
|
@@ -399,8 +399,8 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
var name = "authme/sdk";
|
|
402
|
-
var version$1 = "2.8.
|
|
403
|
-
var date = "2025-03-
|
|
402
|
+
var version$1 = "2.8.9";
|
|
403
|
+
var date = "2025-03-28T02:24:25+0000";
|
|
404
404
|
var packageInfo = {
|
|
405
405
|
name: name,
|
|
406
406
|
version: version$1,
|
|
@@ -427,7 +427,7 @@ function initScan(type, country, needConfirm, cardTypes) {
|
|
|
427
427
|
}
|
|
428
428
|
};
|
|
429
429
|
const customParameters = util.Storage.getItem('customParameters');
|
|
430
|
-
if (customParameters) {
|
|
430
|
+
if (customParameters !== null) {
|
|
431
431
|
body['customParameters'] = customParameters;
|
|
432
432
|
}
|
|
433
433
|
return core.sendRequest('/api/identity-verification/id-recognition/v3/init-scan', 'POST', {
|
package/index.js
CHANGED
|
@@ -396,8 +396,8 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
var name = "authme/sdk";
|
|
399
|
-
var version$1 = "2.8.
|
|
400
|
-
var date = "2025-03-
|
|
399
|
+
var version$1 = "2.8.9";
|
|
400
|
+
var date = "2025-03-28T02:24:25+0000";
|
|
401
401
|
var packageInfo = {
|
|
402
402
|
name: name,
|
|
403
403
|
version: version$1,
|
|
@@ -424,7 +424,7 @@ function initScan(type, country, needConfirm, cardTypes) {
|
|
|
424
424
|
}
|
|
425
425
|
};
|
|
426
426
|
const customParameters = Storage.getItem('customParameters');
|
|
427
|
-
if (customParameters) {
|
|
427
|
+
if (customParameters !== null) {
|
|
428
428
|
body['customParameters'] = customParameters;
|
|
429
429
|
}
|
|
430
430
|
return sendRequest('/api/identity-verification/id-recognition/v3/init-scan', 'POST', {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authme/id-recognition",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"core-js": "^3.6.0",
|
|
6
|
-
"@authme/core": "2.8.
|
|
7
|
-
"@authme/util": "2.8.
|
|
8
|
-
"@authme/engine": "2.8.
|
|
6
|
+
"@authme/core": "2.8.9",
|
|
7
|
+
"@authme/util": "2.8.9",
|
|
8
|
+
"@authme/engine": "2.8.9"
|
|
9
9
|
},
|
|
10
10
|
"module": "./index.js",
|
|
11
11
|
"main": "./index.cjs",
|