@ekyc_qoobiss/qbs-ect-cmp 3.5.5 → 3.5.7
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/dist/cjs/agreement-check_18.cjs.entry.js +7 -3
- package/dist/collection/components/flow/id-double-side/id-double-side.js +2 -0
- package/dist/collection/components/flow/id-single-side/id-single-side.js +1 -0
- package/dist/collection/components/flow/user-liveness/user-liveness.js +2 -1
- package/dist/collection/libs/FaceML5Detector/FaceML5Detector.js +1 -1
- package/dist/esm/agreement-check_18.entry.js +7 -3
- package/dist/qbs-ect-cmp/{p-e9c2fd16.entry.js → p-aee9d26a.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
|
@@ -2700,7 +2700,7 @@ class FaceML5Detector {
|
|
|
2700
2700
|
// this.validFaceFoundAgain = true;
|
|
2701
2701
|
// //this.stream.changeFacePose();
|
|
2702
2702
|
// }
|
|
2703
|
-
if (this.requestedFacePose) {
|
|
2703
|
+
if (this.requestedFacePose !== null) {
|
|
2704
2704
|
await delay(3000);
|
|
2705
2705
|
this.validFacePose = true;
|
|
2706
2706
|
this.validFaceFoundAgain = true;
|
|
@@ -6103,6 +6103,7 @@ const IdDoubleSide = class {
|
|
|
6103
6103
|
let idPhoto = event.detail;
|
|
6104
6104
|
if (idPhoto.length == 0 || idPhoto.size == 0) {
|
|
6105
6105
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6106
|
+
this.triggerErrorFlow();
|
|
6106
6107
|
return;
|
|
6107
6108
|
}
|
|
6108
6109
|
try {
|
|
@@ -6117,6 +6118,7 @@ const IdDoubleSide = class {
|
|
|
6117
6118
|
let idPhoto = event.detail;
|
|
6118
6119
|
if (idPhoto.length == 0 || idPhoto.size == 0) {
|
|
6119
6120
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6121
|
+
this.triggerErrorFlow();
|
|
6120
6122
|
return;
|
|
6121
6123
|
}
|
|
6122
6124
|
try {
|
|
@@ -6289,6 +6291,7 @@ const IdSingleSide = class {
|
|
|
6289
6291
|
let idRecording = event.detail;
|
|
6290
6292
|
if (idRecording.length == 0 || idRecording.size == 0) {
|
|
6291
6293
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
|
|
6294
|
+
this.showTimeout = true;
|
|
6292
6295
|
return;
|
|
6293
6296
|
}
|
|
6294
6297
|
let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -6434,7 +6437,7 @@ function v4(options, buf, offset) {
|
|
|
6434
6437
|
}
|
|
6435
6438
|
|
|
6436
6439
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6437
|
-
const version$1 = "3.5.
|
|
6440
|
+
const version$1 = "3.5.7";
|
|
6438
6441
|
const description = "Person Identification Component";
|
|
6439
6442
|
const main = "./dist/index.cjs.js";
|
|
6440
6443
|
const module$1 = "./dist/index.js";
|
|
@@ -10108,7 +10111,7 @@ const UserLiveness = class {
|
|
|
10108
10111
|
let selfiePhoto = event.detail;
|
|
10109
10112
|
if (selfiePhoto.length == 0 || selfiePhoto.size == 0) {
|
|
10110
10113
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty selfie', blobData: selfiePhoto }, getLogMessage());
|
|
10111
|
-
this.
|
|
10114
|
+
this.triggerErrorFlow();
|
|
10112
10115
|
return;
|
|
10113
10116
|
}
|
|
10114
10117
|
try {
|
|
@@ -10123,6 +10126,7 @@ const UserLiveness = class {
|
|
|
10123
10126
|
let selfieRecording = event.detail;
|
|
10124
10127
|
if (selfieRecording.length == 0 || selfieRecording.size == 0) {
|
|
10125
10128
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: selfieRecording }, getLogMessage());
|
|
10129
|
+
this.triggerErrorFlow();
|
|
10126
10130
|
return;
|
|
10127
10131
|
}
|
|
10128
10132
|
let mimeType = selfieRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -62,6 +62,7 @@ export class IdDoubleSide {
|
|
|
62
62
|
let idPhoto = event.detail;
|
|
63
63
|
if (idPhoto.length == 0 || idPhoto.size == 0) {
|
|
64
64
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
65
|
+
this.triggerErrorFlow();
|
|
65
66
|
return;
|
|
66
67
|
}
|
|
67
68
|
try {
|
|
@@ -76,6 +77,7 @@ export class IdDoubleSide {
|
|
|
76
77
|
let idPhoto = event.detail;
|
|
77
78
|
if (idPhoto.length == 0 || idPhoto.size == 0) {
|
|
78
79
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
80
|
+
this.triggerErrorFlow();
|
|
79
81
|
return;
|
|
80
82
|
}
|
|
81
83
|
try {
|
|
@@ -56,6 +56,7 @@ export class IdSingleSide {
|
|
|
56
56
|
let idRecording = event.detail;
|
|
57
57
|
if (idRecording.length == 0 || idRecording.size == 0) {
|
|
58
58
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
|
|
59
|
+
this.showTimeout = true;
|
|
59
60
|
return;
|
|
60
61
|
}
|
|
61
62
|
let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -42,7 +42,7 @@ export class UserLiveness {
|
|
|
42
42
|
let selfiePhoto = event.detail;
|
|
43
43
|
if (selfiePhoto.length == 0 || selfiePhoto.size == 0) {
|
|
44
44
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty selfie', blobData: selfiePhoto }, getLogMessage());
|
|
45
|
-
this.
|
|
45
|
+
this.triggerErrorFlow();
|
|
46
46
|
return;
|
|
47
47
|
}
|
|
48
48
|
try {
|
|
@@ -57,6 +57,7 @@ export class UserLiveness {
|
|
|
57
57
|
let selfieRecording = event.detail;
|
|
58
58
|
if (selfieRecording.length == 0 || selfieRecording.size == 0) {
|
|
59
59
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: selfieRecording }, getLogMessage());
|
|
60
|
+
this.triggerErrorFlow();
|
|
60
61
|
return;
|
|
61
62
|
}
|
|
62
63
|
let mimeType = selfieRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -207,7 +207,7 @@ export class FaceML5Detector {
|
|
|
207
207
|
// this.validFaceFoundAgain = true;
|
|
208
208
|
// //this.stream.changeFacePose();
|
|
209
209
|
// }
|
|
210
|
-
if (this.requestedFacePose) {
|
|
210
|
+
if (this.requestedFacePose !== null) {
|
|
211
211
|
await delay(3000);
|
|
212
212
|
this.validFacePose = true;
|
|
213
213
|
this.validFaceFoundAgain = true;
|
|
@@ -2696,7 +2696,7 @@ class FaceML5Detector {
|
|
|
2696
2696
|
// this.validFaceFoundAgain = true;
|
|
2697
2697
|
// //this.stream.changeFacePose();
|
|
2698
2698
|
// }
|
|
2699
|
-
if (this.requestedFacePose) {
|
|
2699
|
+
if (this.requestedFacePose !== null) {
|
|
2700
2700
|
await delay(3000);
|
|
2701
2701
|
this.validFacePose = true;
|
|
2702
2702
|
this.validFaceFoundAgain = true;
|
|
@@ -6099,6 +6099,7 @@ const IdDoubleSide = class {
|
|
|
6099
6099
|
let idPhoto = event.detail;
|
|
6100
6100
|
if (idPhoto.length == 0 || idPhoto.size == 0) {
|
|
6101
6101
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6102
|
+
this.triggerErrorFlow();
|
|
6102
6103
|
return;
|
|
6103
6104
|
}
|
|
6104
6105
|
try {
|
|
@@ -6113,6 +6114,7 @@ const IdDoubleSide = class {
|
|
|
6113
6114
|
let idPhoto = event.detail;
|
|
6114
6115
|
if (idPhoto.length == 0 || idPhoto.size == 0) {
|
|
6115
6116
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6117
|
+
this.triggerErrorFlow();
|
|
6116
6118
|
return;
|
|
6117
6119
|
}
|
|
6118
6120
|
try {
|
|
@@ -6285,6 +6287,7 @@ const IdSingleSide = class {
|
|
|
6285
6287
|
let idRecording = event.detail;
|
|
6286
6288
|
if (idRecording.length == 0 || idRecording.size == 0) {
|
|
6287
6289
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
|
|
6290
|
+
this.showTimeout = true;
|
|
6288
6291
|
return;
|
|
6289
6292
|
}
|
|
6290
6293
|
let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -6430,7 +6433,7 @@ function v4(options, buf, offset) {
|
|
|
6430
6433
|
}
|
|
6431
6434
|
|
|
6432
6435
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6433
|
-
const version$1 = "3.5.
|
|
6436
|
+
const version$1 = "3.5.7";
|
|
6434
6437
|
const description = "Person Identification Component";
|
|
6435
6438
|
const main = "./dist/index.cjs.js";
|
|
6436
6439
|
const module = "./dist/index.js";
|
|
@@ -10104,7 +10107,7 @@ const UserLiveness = class {
|
|
|
10104
10107
|
let selfiePhoto = event.detail;
|
|
10105
10108
|
if (selfiePhoto.length == 0 || selfiePhoto.size == 0) {
|
|
10106
10109
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty selfie', blobData: selfiePhoto }, getLogMessage());
|
|
10107
|
-
this.
|
|
10110
|
+
this.triggerErrorFlow();
|
|
10108
10111
|
return;
|
|
10109
10112
|
}
|
|
10110
10113
|
try {
|
|
@@ -10119,6 +10122,7 @@ const UserLiveness = class {
|
|
|
10119
10122
|
let selfieRecording = event.detail;
|
|
10120
10123
|
if (selfieRecording.length == 0 || selfieRecording.size == 0) {
|
|
10121
10124
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: selfieRecording }, getLogMessage());
|
|
10125
|
+
this.triggerErrorFlow();
|
|
10122
10126
|
return;
|
|
10123
10127
|
}
|
|
10124
10128
|
let mimeType = selfieRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|