@ekyc_qoobiss/qbs-ect-cmp 3.5.4 → 3.5.6
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 +12 -5
- package/dist/collection/components/common/id-back-capture/id-back-capture.js +1 -1
- package/dist/collection/components/common/id-capture/id-capture.js +1 -1
- package/dist/collection/components/common/selfie-capture/selfie-capture.js +2 -2
- package/dist/collection/components/flow/id-double-side/id-double-side.js +3 -0
- package/dist/collection/components/flow/id-single-side/id-single-side.js +2 -0
- package/dist/collection/components/flow/user-liveness/user-liveness.js +2 -0
- package/dist/esm/agreement-check_18.entry.js +12 -5
- package/dist/qbs-ect-cmp/{p-1761e09b.entry.js → p-db3f3757.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
|
@@ -5855,8 +5855,8 @@ const IdBackCapture = class {
|
|
|
5855
5855
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.BackStraight];
|
|
5856
5856
|
this.demoVideo.play();
|
|
5857
5857
|
await delay(IdCaptureValues.VideoLenght);
|
|
5858
|
-
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
5859
5858
|
this.showDemo = false;
|
|
5859
|
+
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
5860
5860
|
this.openCamera();
|
|
5861
5861
|
}
|
|
5862
5862
|
async openCamera() {
|
|
@@ -5972,8 +5972,8 @@ const IdCapture = class {
|
|
|
5972
5972
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Straight];
|
|
5973
5973
|
this.demoVideo.play();
|
|
5974
5974
|
await delay(IdCaptureValues.VideoLenght);
|
|
5975
|
-
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
5976
5975
|
this.showDemo = false;
|
|
5976
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
5977
5977
|
this.openCamera();
|
|
5978
5978
|
}
|
|
5979
5979
|
async openCamera() {
|
|
@@ -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 {
|
|
@@ -6131,6 +6133,7 @@ const IdDoubleSide = class {
|
|
|
6131
6133
|
let idRecording = event.detail;
|
|
6132
6134
|
if (idRecording.length == 0 || idRecording.size == 0) {
|
|
6133
6135
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
|
|
6136
|
+
this.triggerErrorFlow();
|
|
6134
6137
|
return;
|
|
6135
6138
|
}
|
|
6136
6139
|
let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -6269,6 +6272,7 @@ const IdSingleSide = class {
|
|
|
6269
6272
|
let idPhoto = event.detail;
|
|
6270
6273
|
if (idPhoto.length == 0 || idPhoto.size == 0) {
|
|
6271
6274
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6275
|
+
this.showTimeout = true;
|
|
6272
6276
|
return;
|
|
6273
6277
|
}
|
|
6274
6278
|
try {
|
|
@@ -6287,6 +6291,7 @@ const IdSingleSide = class {
|
|
|
6287
6291
|
let idRecording = event.detail;
|
|
6288
6292
|
if (idRecording.length == 0 || idRecording.size == 0) {
|
|
6289
6293
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
|
|
6294
|
+
this.showTimeout = true;
|
|
6290
6295
|
return;
|
|
6291
6296
|
}
|
|
6292
6297
|
let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -6432,7 +6437,7 @@ function v4(options, buf, offset) {
|
|
|
6432
6437
|
}
|
|
6433
6438
|
|
|
6434
6439
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6435
|
-
const version$1 = "3.5.
|
|
6440
|
+
const version$1 = "3.5.6";
|
|
6436
6441
|
const description = "Person Identification Component";
|
|
6437
6442
|
const main = "./dist/index.cjs.js";
|
|
6438
6443
|
const module$1 = "./dist/index.js";
|
|
@@ -9872,8 +9877,8 @@ const SelfieCapture = class {
|
|
|
9872
9877
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[event.detail];
|
|
9873
9878
|
this.demoVideo.play();
|
|
9874
9879
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
9875
|
-
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
9876
9880
|
this.demoEnded = true;
|
|
9881
|
+
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
9877
9882
|
}
|
|
9878
9883
|
}
|
|
9879
9884
|
eventVideoStarted(event) {
|
|
@@ -9895,8 +9900,8 @@ const SelfieCapture = class {
|
|
|
9895
9900
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[FacePose.Main];
|
|
9896
9901
|
this.demoVideo.play();
|
|
9897
9902
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
9898
|
-
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9899
9903
|
this.demoEnded = true;
|
|
9904
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9900
9905
|
this.openCamera();
|
|
9901
9906
|
}
|
|
9902
9907
|
async openCamera() {
|
|
@@ -10106,6 +10111,7 @@ const UserLiveness = class {
|
|
|
10106
10111
|
let selfiePhoto = event.detail;
|
|
10107
10112
|
if (selfiePhoto.length == 0 || selfiePhoto.size == 0) {
|
|
10108
10113
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty selfie', blobData: selfiePhoto }, getLogMessage());
|
|
10114
|
+
this.triggerErrorFlow();
|
|
10109
10115
|
return;
|
|
10110
10116
|
}
|
|
10111
10117
|
try {
|
|
@@ -10120,6 +10126,7 @@ const UserLiveness = class {
|
|
|
10120
10126
|
let selfieRecording = event.detail;
|
|
10121
10127
|
if (selfieRecording.length == 0 || selfieRecording.size == 0) {
|
|
10122
10128
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: selfieRecording }, getLogMessage());
|
|
10129
|
+
this.triggerErrorFlow();
|
|
10123
10130
|
return;
|
|
10124
10131
|
}
|
|
10125
10132
|
let mimeType = selfieRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -60,8 +60,8 @@ export class IdBackCapture {
|
|
|
60
60
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.BackStraight];
|
|
61
61
|
this.demoVideo.play();
|
|
62
62
|
await delay(IdCaptureValues.VideoLenght);
|
|
63
|
-
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
64
63
|
this.showDemo = false;
|
|
64
|
+
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
65
65
|
this.openCamera();
|
|
66
66
|
}
|
|
67
67
|
async openCamera() {
|
|
@@ -56,8 +56,8 @@ export class IdCapture {
|
|
|
56
56
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Straight];
|
|
57
57
|
this.demoVideo.play();
|
|
58
58
|
await delay(IdCaptureValues.VideoLenght);
|
|
59
|
-
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
60
59
|
this.showDemo = false;
|
|
60
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
61
61
|
this.openCamera();
|
|
62
62
|
}
|
|
63
63
|
async openCamera() {
|
|
@@ -43,8 +43,8 @@ export class SelfieCapture {
|
|
|
43
43
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[event.detail];
|
|
44
44
|
this.demoVideo.play();
|
|
45
45
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
46
|
-
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
47
46
|
this.demoEnded = true;
|
|
47
|
+
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
eventVideoStarted(event) {
|
|
@@ -66,8 +66,8 @@ export class SelfieCapture {
|
|
|
66
66
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[FacePose.Main];
|
|
67
67
|
this.demoVideo.play();
|
|
68
68
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
69
|
-
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
70
69
|
this.demoEnded = true;
|
|
70
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
71
71
|
this.openCamera();
|
|
72
72
|
}
|
|
73
73
|
async openCamera() {
|
|
@@ -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 {
|
|
@@ -90,6 +92,7 @@ export class IdDoubleSide {
|
|
|
90
92
|
let idRecording = event.detail;
|
|
91
93
|
if (idRecording.length == 0 || idRecording.size == 0) {
|
|
92
94
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
|
|
95
|
+
this.triggerErrorFlow();
|
|
93
96
|
return;
|
|
94
97
|
}
|
|
95
98
|
let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -37,6 +37,7 @@ export class IdSingleSide {
|
|
|
37
37
|
let idPhoto = event.detail;
|
|
38
38
|
if (idPhoto.length == 0 || idPhoto.size == 0) {
|
|
39
39
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
40
|
+
this.showTimeout = true;
|
|
40
41
|
return;
|
|
41
42
|
}
|
|
42
43
|
try {
|
|
@@ -55,6 +56,7 @@ export class IdSingleSide {
|
|
|
55
56
|
let idRecording = event.detail;
|
|
56
57
|
if (idRecording.length == 0 || idRecording.size == 0) {
|
|
57
58
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
|
|
59
|
+
this.showTimeout = true;
|
|
58
60
|
return;
|
|
59
61
|
}
|
|
60
62
|
let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -42,6 +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.triggerErrorFlow();
|
|
45
46
|
return;
|
|
46
47
|
}
|
|
47
48
|
try {
|
|
@@ -56,6 +57,7 @@ export class UserLiveness {
|
|
|
56
57
|
let selfieRecording = event.detail;
|
|
57
58
|
if (selfieRecording.length == 0 || selfieRecording.size == 0) {
|
|
58
59
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: selfieRecording }, getLogMessage());
|
|
60
|
+
this.triggerErrorFlow();
|
|
59
61
|
return;
|
|
60
62
|
}
|
|
61
63
|
let mimeType = selfieRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -5851,8 +5851,8 @@ const IdBackCapture = class {
|
|
|
5851
5851
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.BackStraight];
|
|
5852
5852
|
this.demoVideo.play();
|
|
5853
5853
|
await delay(IdCaptureValues.VideoLenght);
|
|
5854
|
-
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
5855
5854
|
this.showDemo = false;
|
|
5855
|
+
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
5856
5856
|
this.openCamera();
|
|
5857
5857
|
}
|
|
5858
5858
|
async openCamera() {
|
|
@@ -5968,8 +5968,8 @@ const IdCapture = class {
|
|
|
5968
5968
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Straight];
|
|
5969
5969
|
this.demoVideo.play();
|
|
5970
5970
|
await delay(IdCaptureValues.VideoLenght);
|
|
5971
|
-
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
5972
5971
|
this.showDemo = false;
|
|
5972
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
5973
5973
|
this.openCamera();
|
|
5974
5974
|
}
|
|
5975
5975
|
async openCamera() {
|
|
@@ -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 {
|
|
@@ -6127,6 +6129,7 @@ const IdDoubleSide = class {
|
|
|
6127
6129
|
let idRecording = event.detail;
|
|
6128
6130
|
if (idRecording.length == 0 || idRecording.size == 0) {
|
|
6129
6131
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
|
|
6132
|
+
this.triggerErrorFlow();
|
|
6130
6133
|
return;
|
|
6131
6134
|
}
|
|
6132
6135
|
let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -6265,6 +6268,7 @@ const IdSingleSide = class {
|
|
|
6265
6268
|
let idPhoto = event.detail;
|
|
6266
6269
|
if (idPhoto.length == 0 || idPhoto.size == 0) {
|
|
6267
6270
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6271
|
+
this.showTimeout = true;
|
|
6268
6272
|
return;
|
|
6269
6273
|
}
|
|
6270
6274
|
try {
|
|
@@ -6283,6 +6287,7 @@ const IdSingleSide = class {
|
|
|
6283
6287
|
let idRecording = event.detail;
|
|
6284
6288
|
if (idRecording.length == 0 || idRecording.size == 0) {
|
|
6285
6289
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
|
|
6290
|
+
this.showTimeout = true;
|
|
6286
6291
|
return;
|
|
6287
6292
|
}
|
|
6288
6293
|
let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|
|
@@ -6428,7 +6433,7 @@ function v4(options, buf, offset) {
|
|
|
6428
6433
|
}
|
|
6429
6434
|
|
|
6430
6435
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6431
|
-
const version$1 = "3.5.
|
|
6436
|
+
const version$1 = "3.5.6";
|
|
6432
6437
|
const description = "Person Identification Component";
|
|
6433
6438
|
const main = "./dist/index.cjs.js";
|
|
6434
6439
|
const module = "./dist/index.js";
|
|
@@ -9868,8 +9873,8 @@ const SelfieCapture = class {
|
|
|
9868
9873
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[event.detail];
|
|
9869
9874
|
this.demoVideo.play();
|
|
9870
9875
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
9871
|
-
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
9872
9876
|
this.demoEnded = true;
|
|
9877
|
+
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
9873
9878
|
}
|
|
9874
9879
|
}
|
|
9875
9880
|
eventVideoStarted(event) {
|
|
@@ -9891,8 +9896,8 @@ const SelfieCapture = class {
|
|
|
9891
9896
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[FacePose.Main];
|
|
9892
9897
|
this.demoVideo.play();
|
|
9893
9898
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
9894
|
-
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9895
9899
|
this.demoEnded = true;
|
|
9900
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9896
9901
|
this.openCamera();
|
|
9897
9902
|
}
|
|
9898
9903
|
async openCamera() {
|
|
@@ -10102,6 +10107,7 @@ const UserLiveness = class {
|
|
|
10102
10107
|
let selfiePhoto = event.detail;
|
|
10103
10108
|
if (selfiePhoto.length == 0 || selfiePhoto.size == 0) {
|
|
10104
10109
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty selfie', blobData: selfiePhoto }, getLogMessage());
|
|
10110
|
+
this.triggerErrorFlow();
|
|
10105
10111
|
return;
|
|
10106
10112
|
}
|
|
10107
10113
|
try {
|
|
@@ -10116,6 +10122,7 @@ const UserLiveness = class {
|
|
|
10116
10122
|
let selfieRecording = event.detail;
|
|
10117
10123
|
if (selfieRecording.length == 0 || selfieRecording.size == 0) {
|
|
10118
10124
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: selfieRecording }, getLogMessage());
|
|
10125
|
+
this.triggerErrorFlow();
|
|
10119
10126
|
return;
|
|
10120
10127
|
}
|
|
10121
10128
|
let mimeType = selfieRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
|