@ekyc_qoobiss/qbs-ect-cmp 2.1.20 → 2.1.21
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 +23 -11
- package/dist/collection/components/flow/end-redirect/end-redirect.js +7 -5
- package/dist/collection/components/flow/landing-validation/landing-validation.js +11 -5
- package/dist/collection/components/identification-component/identification-component.js +4 -0
- package/dist/esm/agreement-check_18.entry.js +23 -11
- package/dist/qbs-ect-cmp/{p-b5795b90.entry.js → p-f192de30.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
|
@@ -5333,11 +5333,13 @@ const EndRedirect = class {
|
|
|
5333
5333
|
async componentDidLoad() {
|
|
5334
5334
|
Events.init(window);
|
|
5335
5335
|
Events.flowCompleted();
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5336
|
+
if (state.environment !== 'DEMO') {
|
|
5337
|
+
try {
|
|
5338
|
+
await this.apiCall.AddStep(FlowSteps.End);
|
|
5339
|
+
}
|
|
5340
|
+
catch (e) {
|
|
5341
|
+
this.apiErrorEvent.emit(e);
|
|
5342
|
+
}
|
|
5341
5343
|
}
|
|
5342
5344
|
}
|
|
5343
5345
|
render() {
|
|
@@ -6180,7 +6182,7 @@ function v4(options, buf, offset) {
|
|
|
6180
6182
|
}
|
|
6181
6183
|
|
|
6182
6184
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6183
|
-
const version$1 = "2.1.
|
|
6185
|
+
const version$1 = "2.1.21";
|
|
6184
6186
|
const description = "Person Identification Component";
|
|
6185
6187
|
const main = "./dist/index.cjs.js";
|
|
6186
6188
|
const module$1 = "./dist/index.js";
|
|
@@ -6439,6 +6441,10 @@ const IdentificationComponent = class {
|
|
|
6439
6441
|
if (state.initialised) {
|
|
6440
6442
|
return;
|
|
6441
6443
|
}
|
|
6444
|
+
if (state.environment == 'DEMO') {
|
|
6445
|
+
state.initialised = true;
|
|
6446
|
+
return;
|
|
6447
|
+
}
|
|
6442
6448
|
try {
|
|
6443
6449
|
if (state.debug)
|
|
6444
6450
|
this.apiCall.AddLog(this.logInit);
|
|
@@ -6539,11 +6545,13 @@ const LandingValidation = class {
|
|
|
6539
6545
|
async componentDidLoad() {
|
|
6540
6546
|
Events.init(window);
|
|
6541
6547
|
Events.flowStarted();
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6548
|
+
if (state.environment !== 'DEMO') {
|
|
6549
|
+
try {
|
|
6550
|
+
await this.apiCall.AddStep(FlowSteps.Landing);
|
|
6551
|
+
}
|
|
6552
|
+
catch (e) {
|
|
6553
|
+
this.apiErrorEvent.emit(e);
|
|
6554
|
+
}
|
|
6547
6555
|
}
|
|
6548
6556
|
}
|
|
6549
6557
|
async initRequest() {
|
|
@@ -6557,6 +6565,10 @@ const LandingValidation = class {
|
|
|
6557
6565
|
async startFlow() {
|
|
6558
6566
|
if (state.initialised) {
|
|
6559
6567
|
this.buttonDisabled = true;
|
|
6568
|
+
if (state.environment === 'DEMO') {
|
|
6569
|
+
state.flowStatus = FlowStatus.COMPLETE;
|
|
6570
|
+
return;
|
|
6571
|
+
}
|
|
6560
6572
|
if (!(await Cameras.InitCameras(this.device))) {
|
|
6561
6573
|
if (this.device.isIos)
|
|
6562
6574
|
sessionStorage.setItem(SessionKeys.RefreshDoneKey, 'false');
|
|
@@ -13,11 +13,13 @@ export class EndRedirect {
|
|
|
13
13
|
async componentDidLoad() {
|
|
14
14
|
Events.init(window);
|
|
15
15
|
Events.flowCompleted();
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
if (store.environment !== 'DEMO') {
|
|
17
|
+
try {
|
|
18
|
+
await this.apiCall.AddStep(FlowSteps.End);
|
|
19
|
+
}
|
|
20
|
+
catch (e) {
|
|
21
|
+
this.apiErrorEvent.emit(e);
|
|
22
|
+
}
|
|
21
23
|
}
|
|
22
24
|
}
|
|
23
25
|
render() {
|
|
@@ -25,11 +25,13 @@ export class LandingValidation {
|
|
|
25
25
|
async componentDidLoad() {
|
|
26
26
|
Events.init(window);
|
|
27
27
|
Events.flowStarted();
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
if (store.environment !== 'DEMO') {
|
|
29
|
+
try {
|
|
30
|
+
await this.apiCall.AddStep(FlowSteps.Landing);
|
|
31
|
+
}
|
|
32
|
+
catch (e) {
|
|
33
|
+
this.apiErrorEvent.emit(e);
|
|
34
|
+
}
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
37
|
async initRequest() {
|
|
@@ -43,6 +45,10 @@ export class LandingValidation {
|
|
|
43
45
|
async startFlow() {
|
|
44
46
|
if (store.initialised) {
|
|
45
47
|
this.buttonDisabled = true;
|
|
48
|
+
if (store.environment === 'DEMO') {
|
|
49
|
+
store.flowStatus = FlowStatus.COMPLETE;
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
46
52
|
if (!(await Cameras.InitCameras(this.device))) {
|
|
47
53
|
if (this.device.isIos)
|
|
48
54
|
sessionStorage.setItem(SessionKeys.RefreshDoneKey, 'false');
|
|
@@ -5329,11 +5329,13 @@ const EndRedirect = class {
|
|
|
5329
5329
|
async componentDidLoad() {
|
|
5330
5330
|
Events.init(window);
|
|
5331
5331
|
Events.flowCompleted();
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5332
|
+
if (state.environment !== 'DEMO') {
|
|
5333
|
+
try {
|
|
5334
|
+
await this.apiCall.AddStep(FlowSteps.End);
|
|
5335
|
+
}
|
|
5336
|
+
catch (e) {
|
|
5337
|
+
this.apiErrorEvent.emit(e);
|
|
5338
|
+
}
|
|
5337
5339
|
}
|
|
5338
5340
|
}
|
|
5339
5341
|
render() {
|
|
@@ -6176,7 +6178,7 @@ function v4(options, buf, offset) {
|
|
|
6176
6178
|
}
|
|
6177
6179
|
|
|
6178
6180
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6179
|
-
const version$1 = "2.1.
|
|
6181
|
+
const version$1 = "2.1.21";
|
|
6180
6182
|
const description = "Person Identification Component";
|
|
6181
6183
|
const main = "./dist/index.cjs.js";
|
|
6182
6184
|
const module = "./dist/index.js";
|
|
@@ -6435,6 +6437,10 @@ const IdentificationComponent = class {
|
|
|
6435
6437
|
if (state.initialised) {
|
|
6436
6438
|
return;
|
|
6437
6439
|
}
|
|
6440
|
+
if (state.environment == 'DEMO') {
|
|
6441
|
+
state.initialised = true;
|
|
6442
|
+
return;
|
|
6443
|
+
}
|
|
6438
6444
|
try {
|
|
6439
6445
|
if (state.debug)
|
|
6440
6446
|
this.apiCall.AddLog(this.logInit);
|
|
@@ -6535,11 +6541,13 @@ const LandingValidation = class {
|
|
|
6535
6541
|
async componentDidLoad() {
|
|
6536
6542
|
Events.init(window);
|
|
6537
6543
|
Events.flowStarted();
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6544
|
+
if (state.environment !== 'DEMO') {
|
|
6545
|
+
try {
|
|
6546
|
+
await this.apiCall.AddStep(FlowSteps.Landing);
|
|
6547
|
+
}
|
|
6548
|
+
catch (e) {
|
|
6549
|
+
this.apiErrorEvent.emit(e);
|
|
6550
|
+
}
|
|
6543
6551
|
}
|
|
6544
6552
|
}
|
|
6545
6553
|
async initRequest() {
|
|
@@ -6553,6 +6561,10 @@ const LandingValidation = class {
|
|
|
6553
6561
|
async startFlow() {
|
|
6554
6562
|
if (state.initialised) {
|
|
6555
6563
|
this.buttonDisabled = true;
|
|
6564
|
+
if (state.environment === 'DEMO') {
|
|
6565
|
+
state.flowStatus = FlowStatus.COMPLETE;
|
|
6566
|
+
return;
|
|
6567
|
+
}
|
|
6556
6568
|
if (!(await Cameras.InitCameras(this.device))) {
|
|
6557
6569
|
if (this.device.isIos)
|
|
6558
6570
|
sessionStorage.setItem(SessionKeys.RefreshDoneKey, 'false');
|