@ekyc_qoobiss/qbs-ect-cmp 3.6.38 → 3.6.39
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_19.cjs.entry.js +13 -12
- package/dist/collection/components/flow/process-id/process-id.js +7 -6
- package/dist/collection/components/flow/user-liveness/user-liveness.js +5 -5
- package/dist/esm/agreement-check_19.entry.js +13 -12
- package/dist/qbs-ect-cmp/{p-3d28b272.entry.js → p-4e3b735b.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/components/flow/user-liveness/user-liveness.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5578,7 +5578,7 @@ function v4(options, buf, offset) {
|
|
|
5578
5578
|
}
|
|
5579
5579
|
|
|
5580
5580
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
5581
|
-
const version$1 = "3.6.
|
|
5581
|
+
const version$1 = "3.6.39";
|
|
5582
5582
|
const description = "Person Identification Component";
|
|
5583
5583
|
const main = "./dist/index.cjs.js";
|
|
5584
5584
|
const module$1 = "./dist/index.js";
|
|
@@ -9081,11 +9081,11 @@ const ProcessId = class {
|
|
|
9081
9081
|
let frontRec = new File([idRecording], this.flow.front.recName + mimeType.extension, { type: mimeType.type });
|
|
9082
9082
|
this.flow.front.recordingDone = await this.uploadRecording(this.flow.front.recType, frontRec);
|
|
9083
9083
|
}
|
|
9084
|
-
else if (this.
|
|
9084
|
+
else if (this.captureStep == IdCaptureFlowStatus.IdBack) {
|
|
9085
9085
|
let backRec = new File([idRecording], this.flow.back.recName + mimeType.extension, { type: mimeType.type });
|
|
9086
9086
|
this.flow.back.recordingDone = await this.uploadRecording(this.flow.back.recType, backRec);
|
|
9087
9087
|
}
|
|
9088
|
-
else if (this.
|
|
9088
|
+
else if (this.captureStep == IdCaptureFlowStatus.Tilt) {
|
|
9089
9089
|
let tiltRec = new File([idRecording], this.flow.tilt.recName + mimeType.extension, { type: mimeType.type });
|
|
9090
9090
|
this.flow.tilt.recordingDone = await this.uploadRecording(this.flow.tilt.recType, tiltRec);
|
|
9091
9091
|
}
|
|
@@ -9138,11 +9138,11 @@ const ProcessId = class {
|
|
|
9138
9138
|
this.flow.front.photoDone = false;
|
|
9139
9139
|
this.flow.front.recordingDone = false;
|
|
9140
9140
|
}
|
|
9141
|
-
if (this.
|
|
9141
|
+
if (this.captureStep == IdCaptureFlowStatus.IdBack) {
|
|
9142
9142
|
this.flow.back.photoDone = false;
|
|
9143
9143
|
this.flow.back.recordingDone = false;
|
|
9144
9144
|
}
|
|
9145
|
-
if (this.
|
|
9145
|
+
if (this.captureStep == IdCaptureFlowStatus.Tilt) {
|
|
9146
9146
|
this.flow.tilt.photoDone = true;
|
|
9147
9147
|
this.flow.tilt.recordingDone = false;
|
|
9148
9148
|
}
|
|
@@ -9165,7 +9165,7 @@ const ProcessId = class {
|
|
|
9165
9165
|
return;
|
|
9166
9166
|
}
|
|
9167
9167
|
}
|
|
9168
|
-
if (this.
|
|
9168
|
+
if (this.captureStep == IdCaptureFlowStatus.IdBack && TranslationUtils.state.hasIdBack) {
|
|
9169
9169
|
if (this.flow.back.photoDone && this.flow.back.recordingDone) {
|
|
9170
9170
|
if (TranslationUtils.state.hasIdTilt) {
|
|
9171
9171
|
this.captureStep = IdCaptureFlowStatus.Tilt;
|
|
@@ -9178,7 +9178,7 @@ const ProcessId = class {
|
|
|
9178
9178
|
return;
|
|
9179
9179
|
}
|
|
9180
9180
|
}
|
|
9181
|
-
if (this.
|
|
9181
|
+
if (this.captureStep == IdCaptureFlowStatus.Tilt && TranslationUtils.state.hasIdTilt) {
|
|
9182
9182
|
if (this.flow.tilt.photoDone && this.flow.tilt.recordingDone) {
|
|
9183
9183
|
this.captureStep = IdCaptureFlowStatus.End;
|
|
9184
9184
|
}
|
|
@@ -9229,6 +9229,7 @@ const ProcessId = class {
|
|
|
9229
9229
|
if (this.captureStep == IdCaptureFlowStatus.Tilt) {
|
|
9230
9230
|
return tiltCapture;
|
|
9231
9231
|
}
|
|
9232
|
+
return index.h("div", null);
|
|
9232
9233
|
}
|
|
9233
9234
|
};
|
|
9234
9235
|
ProcessId.style = processIdCss;
|
|
@@ -9686,7 +9687,7 @@ const UserLiveness = class {
|
|
|
9686
9687
|
else {
|
|
9687
9688
|
this.triggerErrorFlow();
|
|
9688
9689
|
}
|
|
9689
|
-
|
|
9690
|
+
this.endFlow();
|
|
9690
9691
|
}
|
|
9691
9692
|
catch (e) {
|
|
9692
9693
|
if (this.recordingRetryCount < 3) {
|
|
@@ -9699,7 +9700,7 @@ const UserLiveness = class {
|
|
|
9699
9700
|
}
|
|
9700
9701
|
}
|
|
9701
9702
|
async verificationFinished(_event) {
|
|
9702
|
-
|
|
9703
|
+
this.endFlow();
|
|
9703
9704
|
}
|
|
9704
9705
|
async disconnectedCallback() {
|
|
9705
9706
|
await this.baseComponent.finalize();
|
|
@@ -9710,7 +9711,7 @@ const UserLiveness = class {
|
|
|
9710
9711
|
}
|
|
9711
9712
|
this.flow.front.photoDone = await this.baseComponent.apiCall.UploadFileForRequestB64(TranslationUtils.state.requestId, photoType, photoFile);
|
|
9712
9713
|
if (this.flow.front.photoDone) {
|
|
9713
|
-
|
|
9714
|
+
this.endFlow();
|
|
9714
9715
|
}
|
|
9715
9716
|
else {
|
|
9716
9717
|
this.triggerErrorFlow();
|
|
@@ -9729,7 +9730,7 @@ const UserLiveness = class {
|
|
|
9729
9730
|
triggerErrorFlow() {
|
|
9730
9731
|
this.showError = true;
|
|
9731
9732
|
}
|
|
9732
|
-
|
|
9733
|
+
endFlow() {
|
|
9733
9734
|
if (this.captureStep == SelfieFlowStatus.Selfie) {
|
|
9734
9735
|
if (this.flow.front.photoDone && this.flow.front.recordingDone) {
|
|
9735
9736
|
if (TranslationUtils.state.hasSelfieGesture) {
|
|
@@ -9773,7 +9774,7 @@ const UserLiveness = class {
|
|
|
9773
9774
|
if (this.captureStep == SelfieFlowStatus.Gesture) {
|
|
9774
9775
|
return tilt;
|
|
9775
9776
|
}
|
|
9776
|
-
return
|
|
9777
|
+
return index.h("div", null);
|
|
9777
9778
|
}
|
|
9778
9779
|
};
|
|
9779
9780
|
UserLiveness.style = userLivenessCss;
|
|
@@ -123,11 +123,11 @@ export class ProcessId {
|
|
|
123
123
|
let frontRec = new File([idRecording], this.flow.front.recName + mimeType.extension, { type: mimeType.type });
|
|
124
124
|
this.flow.front.recordingDone = await this.uploadRecording(this.flow.front.recType, frontRec);
|
|
125
125
|
}
|
|
126
|
-
else if (this.
|
|
126
|
+
else if (this.captureStep == IdCaptureFlowStatus.IdBack) {
|
|
127
127
|
let backRec = new File([idRecording], this.flow.back.recName + mimeType.extension, { type: mimeType.type });
|
|
128
128
|
this.flow.back.recordingDone = await this.uploadRecording(this.flow.back.recType, backRec);
|
|
129
129
|
}
|
|
130
|
-
else if (this.
|
|
130
|
+
else if (this.captureStep == IdCaptureFlowStatus.Tilt) {
|
|
131
131
|
let tiltRec = new File([idRecording], this.flow.tilt.recName + mimeType.extension, { type: mimeType.type });
|
|
132
132
|
this.flow.tilt.recordingDone = await this.uploadRecording(this.flow.tilt.recType, tiltRec);
|
|
133
133
|
}
|
|
@@ -180,11 +180,11 @@ export class ProcessId {
|
|
|
180
180
|
this.flow.front.photoDone = false;
|
|
181
181
|
this.flow.front.recordingDone = false;
|
|
182
182
|
}
|
|
183
|
-
if (this.
|
|
183
|
+
if (this.captureStep == IdCaptureFlowStatus.IdBack) {
|
|
184
184
|
this.flow.back.photoDone = false;
|
|
185
185
|
this.flow.back.recordingDone = false;
|
|
186
186
|
}
|
|
187
|
-
if (this.
|
|
187
|
+
if (this.captureStep == IdCaptureFlowStatus.Tilt) {
|
|
188
188
|
this.flow.tilt.photoDone = true;
|
|
189
189
|
this.flow.tilt.recordingDone = false;
|
|
190
190
|
}
|
|
@@ -207,7 +207,7 @@ export class ProcessId {
|
|
|
207
207
|
return;
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (this.
|
|
210
|
+
if (this.captureStep == IdCaptureFlowStatus.IdBack && store.hasIdBack) {
|
|
211
211
|
if (this.flow.back.photoDone && this.flow.back.recordingDone) {
|
|
212
212
|
if (store.hasIdTilt) {
|
|
213
213
|
this.captureStep = IdCaptureFlowStatus.Tilt;
|
|
@@ -220,7 +220,7 @@ export class ProcessId {
|
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
if (this.
|
|
223
|
+
if (this.captureStep == IdCaptureFlowStatus.Tilt && store.hasIdTilt) {
|
|
224
224
|
if (this.flow.tilt.photoDone && this.flow.tilt.recordingDone) {
|
|
225
225
|
this.captureStep = IdCaptureFlowStatus.End;
|
|
226
226
|
}
|
|
@@ -271,6 +271,7 @@ export class ProcessId {
|
|
|
271
271
|
if (this.captureStep == IdCaptureFlowStatus.Tilt) {
|
|
272
272
|
return tiltCapture;
|
|
273
273
|
}
|
|
274
|
+
return h("div", null);
|
|
274
275
|
}
|
|
275
276
|
static get is() { return "process-id"; }
|
|
276
277
|
static get originalStyleUrls() {
|
|
@@ -101,7 +101,7 @@ export class UserLiveness {
|
|
|
101
101
|
else {
|
|
102
102
|
this.triggerErrorFlow();
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
this.endFlow();
|
|
105
105
|
}
|
|
106
106
|
catch (e) {
|
|
107
107
|
if (this.recordingRetryCount < 3) {
|
|
@@ -114,7 +114,7 @@ export class UserLiveness {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
async verificationFinished(_event) {
|
|
117
|
-
|
|
117
|
+
this.endFlow();
|
|
118
118
|
}
|
|
119
119
|
async disconnectedCallback() {
|
|
120
120
|
await this.baseComponent.finalize();
|
|
@@ -125,7 +125,7 @@ export class UserLiveness {
|
|
|
125
125
|
}
|
|
126
126
|
this.flow.front.photoDone = await this.baseComponent.apiCall.UploadFileForRequestB64(store.requestId, photoType, photoFile);
|
|
127
127
|
if (this.flow.front.photoDone) {
|
|
128
|
-
|
|
128
|
+
this.endFlow();
|
|
129
129
|
}
|
|
130
130
|
else {
|
|
131
131
|
this.triggerErrorFlow();
|
|
@@ -144,7 +144,7 @@ export class UserLiveness {
|
|
|
144
144
|
triggerErrorFlow() {
|
|
145
145
|
this.showError = true;
|
|
146
146
|
}
|
|
147
|
-
|
|
147
|
+
endFlow() {
|
|
148
148
|
if (this.captureStep == SelfieFlowStatus.Selfie) {
|
|
149
149
|
if (this.flow.front.photoDone && this.flow.front.recordingDone) {
|
|
150
150
|
if (store.hasSelfieGesture) {
|
|
@@ -188,7 +188,7 @@ export class UserLiveness {
|
|
|
188
188
|
if (this.captureStep == SelfieFlowStatus.Gesture) {
|
|
189
189
|
return tilt;
|
|
190
190
|
}
|
|
191
|
-
return
|
|
191
|
+
return h("div", null);
|
|
192
192
|
}
|
|
193
193
|
static get is() { return "user-liveness"; }
|
|
194
194
|
static get originalStyleUrls() {
|
|
@@ -5574,7 +5574,7 @@ function v4(options, buf, offset) {
|
|
|
5574
5574
|
}
|
|
5575
5575
|
|
|
5576
5576
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
5577
|
-
const version$1 = "3.6.
|
|
5577
|
+
const version$1 = "3.6.39";
|
|
5578
5578
|
const description = "Person Identification Component";
|
|
5579
5579
|
const main = "./dist/index.cjs.js";
|
|
5580
5580
|
const module = "./dist/index.js";
|
|
@@ -9077,11 +9077,11 @@ const ProcessId = class {
|
|
|
9077
9077
|
let frontRec = new File([idRecording], this.flow.front.recName + mimeType.extension, { type: mimeType.type });
|
|
9078
9078
|
this.flow.front.recordingDone = await this.uploadRecording(this.flow.front.recType, frontRec);
|
|
9079
9079
|
}
|
|
9080
|
-
else if (this.
|
|
9080
|
+
else if (this.captureStep == IdCaptureFlowStatus.IdBack) {
|
|
9081
9081
|
let backRec = new File([idRecording], this.flow.back.recName + mimeType.extension, { type: mimeType.type });
|
|
9082
9082
|
this.flow.back.recordingDone = await this.uploadRecording(this.flow.back.recType, backRec);
|
|
9083
9083
|
}
|
|
9084
|
-
else if (this.
|
|
9084
|
+
else if (this.captureStep == IdCaptureFlowStatus.Tilt) {
|
|
9085
9085
|
let tiltRec = new File([idRecording], this.flow.tilt.recName + mimeType.extension, { type: mimeType.type });
|
|
9086
9086
|
this.flow.tilt.recordingDone = await this.uploadRecording(this.flow.tilt.recType, tiltRec);
|
|
9087
9087
|
}
|
|
@@ -9134,11 +9134,11 @@ const ProcessId = class {
|
|
|
9134
9134
|
this.flow.front.photoDone = false;
|
|
9135
9135
|
this.flow.front.recordingDone = false;
|
|
9136
9136
|
}
|
|
9137
|
-
if (this.
|
|
9137
|
+
if (this.captureStep == IdCaptureFlowStatus.IdBack) {
|
|
9138
9138
|
this.flow.back.photoDone = false;
|
|
9139
9139
|
this.flow.back.recordingDone = false;
|
|
9140
9140
|
}
|
|
9141
|
-
if (this.
|
|
9141
|
+
if (this.captureStep == IdCaptureFlowStatus.Tilt) {
|
|
9142
9142
|
this.flow.tilt.photoDone = true;
|
|
9143
9143
|
this.flow.tilt.recordingDone = false;
|
|
9144
9144
|
}
|
|
@@ -9161,7 +9161,7 @@ const ProcessId = class {
|
|
|
9161
9161
|
return;
|
|
9162
9162
|
}
|
|
9163
9163
|
}
|
|
9164
|
-
if (this.
|
|
9164
|
+
if (this.captureStep == IdCaptureFlowStatus.IdBack && state.hasIdBack) {
|
|
9165
9165
|
if (this.flow.back.photoDone && this.flow.back.recordingDone) {
|
|
9166
9166
|
if (state.hasIdTilt) {
|
|
9167
9167
|
this.captureStep = IdCaptureFlowStatus.Tilt;
|
|
@@ -9174,7 +9174,7 @@ const ProcessId = class {
|
|
|
9174
9174
|
return;
|
|
9175
9175
|
}
|
|
9176
9176
|
}
|
|
9177
|
-
if (this.
|
|
9177
|
+
if (this.captureStep == IdCaptureFlowStatus.Tilt && state.hasIdTilt) {
|
|
9178
9178
|
if (this.flow.tilt.photoDone && this.flow.tilt.recordingDone) {
|
|
9179
9179
|
this.captureStep = IdCaptureFlowStatus.End;
|
|
9180
9180
|
}
|
|
@@ -9225,6 +9225,7 @@ const ProcessId = class {
|
|
|
9225
9225
|
if (this.captureStep == IdCaptureFlowStatus.Tilt) {
|
|
9226
9226
|
return tiltCapture;
|
|
9227
9227
|
}
|
|
9228
|
+
return h("div", null);
|
|
9228
9229
|
}
|
|
9229
9230
|
};
|
|
9230
9231
|
ProcessId.style = processIdCss;
|
|
@@ -9682,7 +9683,7 @@ const UserLiveness = class {
|
|
|
9682
9683
|
else {
|
|
9683
9684
|
this.triggerErrorFlow();
|
|
9684
9685
|
}
|
|
9685
|
-
|
|
9686
|
+
this.endFlow();
|
|
9686
9687
|
}
|
|
9687
9688
|
catch (e) {
|
|
9688
9689
|
if (this.recordingRetryCount < 3) {
|
|
@@ -9695,7 +9696,7 @@ const UserLiveness = class {
|
|
|
9695
9696
|
}
|
|
9696
9697
|
}
|
|
9697
9698
|
async verificationFinished(_event) {
|
|
9698
|
-
|
|
9699
|
+
this.endFlow();
|
|
9699
9700
|
}
|
|
9700
9701
|
async disconnectedCallback() {
|
|
9701
9702
|
await this.baseComponent.finalize();
|
|
@@ -9706,7 +9707,7 @@ const UserLiveness = class {
|
|
|
9706
9707
|
}
|
|
9707
9708
|
this.flow.front.photoDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, photoType, photoFile);
|
|
9708
9709
|
if (this.flow.front.photoDone) {
|
|
9709
|
-
|
|
9710
|
+
this.endFlow();
|
|
9710
9711
|
}
|
|
9711
9712
|
else {
|
|
9712
9713
|
this.triggerErrorFlow();
|
|
@@ -9725,7 +9726,7 @@ const UserLiveness = class {
|
|
|
9725
9726
|
triggerErrorFlow() {
|
|
9726
9727
|
this.showError = true;
|
|
9727
9728
|
}
|
|
9728
|
-
|
|
9729
|
+
endFlow() {
|
|
9729
9730
|
if (this.captureStep == SelfieFlowStatus.Selfie) {
|
|
9730
9731
|
if (this.flow.front.photoDone && this.flow.front.recordingDone) {
|
|
9731
9732
|
if (state.hasSelfieGesture) {
|
|
@@ -9769,7 +9770,7 @@ const UserLiveness = class {
|
|
|
9769
9770
|
if (this.captureStep == SelfieFlowStatus.Gesture) {
|
|
9770
9771
|
return tilt;
|
|
9771
9772
|
}
|
|
9772
|
-
return
|
|
9773
|
+
return h("div", null);
|
|
9773
9774
|
}
|
|
9774
9775
|
};
|
|
9775
9776
|
UserLiveness.style = userLivenessCss;
|