apacuana-sdk-core 0.15.0 → 0.16.0

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.
@@ -835,7 +835,7 @@ export const requestCertificate = async (params) => {
835
835
  <div class='footer quiet pad2 space-top1 center small'>
836
836
  Code coverage generated by
837
837
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
838
- at 2025-09-25T16:14:42.985Z
838
+ at 2025-10-01T15:14:10.379Z
839
839
  </div>
840
840
  <script src="../../prettify.js"></script>
841
841
  <script>
@@ -508,7 +508,7 @@ export const validateFaceLiveness = async ({ sessionId }) =&gt; {
508
508
  <div class='footer quiet pad2 space-top1 center small'>
509
509
  Code coverage generated by
510
510
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
511
- at 2025-09-25T16:14:42.985Z
511
+ at 2025-10-01T15:14:10.379Z
512
512
  </div>
513
513
  <script src="../../prettify.js"></script>
514
514
  <script>
@@ -161,7 +161,7 @@
161
161
  <div class='footer quiet pad2 space-top1 center small'>
162
162
  Code coverage generated by
163
163
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
164
- at 2025-09-25T16:14:42.985Z
164
+ at 2025-10-01T15:14:10.379Z
165
165
  </div>
166
166
  <script src="../../prettify.js"></script>
167
167
  <script>
@@ -397,7 +397,7 @@ export const getRevocationReasons = async () =&gt; {
397
397
  <div class='footer quiet pad2 space-top1 center small'>
398
398
  Code coverage generated by
399
399
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
400
- at 2025-09-25T16:14:42.985Z
400
+ at 2025-10-01T15:14:10.379Z
401
401
  </div>
402
402
  <script src="../../prettify.js"></script>
403
403
  <script>
@@ -1405,7 +1405,7 @@ export const deleteSignatureVariant = async () =&gt; {
1405
1405
  <div class='footer quiet pad2 space-top1 center small'>
1406
1406
  Code coverage generated by
1407
1407
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1408
- at 2025-09-25T16:14:42.985Z
1408
+ at 2025-10-01T15:14:10.379Z
1409
1409
  </div>
1410
1410
  <script src="../../prettify.js"></script>
1411
1411
  <script>
@@ -433,7 +433,7 @@ export const createApacuanaUser = <span class="fstat-no" title="function not cov
433
433
  <div class='footer quiet pad2 space-top1 center small'>
434
434
  Code coverage generated by
435
435
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
436
- at 2025-09-25T16:14:42.985Z
436
+ at 2025-10-01T15:14:10.379Z
437
437
  </div>
438
438
  <script src="../../prettify.js"></script>
439
439
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2025-09-25T16:14:42.985Z
104
+ at 2025-10-01T15:14:10.379Z
105
105
  </div>
106
106
  <script src="../../prettify.js"></script>
107
107
  <script>
@@ -241,7 +241,7 @@ export const close = <span class="fstat-no" title="function not covered" >()</sp
241
241
  <div class='footer quiet pad2 space-top1 center small'>
242
242
  Code coverage generated by
243
243
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
244
- at 2025-09-25T16:14:42.985Z
244
+ at 2025-10-01T15:14:10.379Z
245
245
  </div>
246
246
  <script src="../../prettify.js"></script>
247
247
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2025-09-25T16:14:42.985Z
104
+ at 2025-10-01T15:14:10.379Z
105
105
  </div>
106
106
  <script src="../../prettify.js"></script>
107
107
  <script>
@@ -133,7 +133,7 @@ export default ApacuanaAPIError;
133
133
  <div class='footer quiet pad2 space-top1 center small'>
134
134
  Code coverage generated by
135
135
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
136
- at 2025-09-25T16:14:42.985Z
136
+ at 2025-10-01T15:14:10.379Z
137
137
  </div>
138
138
  <script src="../../prettify.js"></script>
139
139
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2025-09-25T16:14:42.985Z
104
+ at 2025-10-01T15:14:10.379Z
105
105
  </div>
106
106
  <script src="../prettify.js"></script>
107
107
  <script>
@@ -577,7 +577,7 @@ export default apacuana;
577
577
  <div class='footer quiet pad2 space-top1 center small'>
578
578
  Code coverage generated by
579
579
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
580
- at 2025-09-25T16:14:42.985Z
580
+ at 2025-10-01T15:14:10.379Z
581
581
  </div>
582
582
  <script src="../prettify.js"></script>
583
583
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2025-09-25T16:14:42.985Z
104
+ at 2025-10-01T15:14:10.379Z
105
105
  </div>
106
106
  <script src="../../prettify.js"></script>
107
107
  <script>
@@ -91,7 +91,7 @@
91
91
  <div class='footer quiet pad2 space-top1 center small'>
92
92
  Code coverage generated by
93
93
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
94
- at 2025-09-25T16:14:42.985Z
94
+ at 2025-10-01T15:14:10.379Z
95
95
  </div>
96
96
  <script src="../../prettify.js"></script>
97
97
  <script>
@@ -241,7 +241,7 @@ export const INTEGRATION_TYPE = {
241
241
  <div class='footer quiet pad2 space-top1 center small'>
242
242
  Code coverage generated by
243
243
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
244
- at 2025-09-25T16:14:42.985Z
244
+ at 2025-10-01T15:14:10.379Z
245
245
  </div>
246
246
  <script src="../../prettify.js"></script>
247
247
  <script>
@@ -32,7 +32,7 @@
32
32
  <div class='fl pad1y space-right2'>
33
33
  <span class="strong">0% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>0/136</span>
35
+ <span class='fraction'>0/134</span>
36
36
  </div>
37
37
 
38
38
 
@@ -787,7 +787,7 @@ const getCertificateStatus = <span class="fstat-no" title="function not covered"
787
787
  userData?.certificatestatus !== STATUS_CERTIFICATE.revoque
788
788
  )
789
789
  <span class="cstat-no" title="statement not covered" > return STATUS_CERTIFICATE.certificate_another_device;</span>
790
- <span class="cstat-no" title="statement not covered" > if (userData?.requestscert?.pending &amp;&amp; userData?.certificationId)</span>
790
+ <span class="cstat-no" title="statement not covered" > if (userData?.requestscert?.pending)</span>
791
791
  <span class="cstat-no" title="statement not covered" > return STATUS_CERTIFICATE.request_revoque;</span>
792
792
  <span class="cstat-no" title="statement not covered" > if (</span>
793
793
  !userData?.cangenerate &amp;&amp;
@@ -1108,7 +1108,7 @@ export default {
1108
1108
  <div class='footer quiet pad2 space-top1 center small'>
1109
1109
  Code coverage generated by
1110
1110
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1111
- at 2025-09-25T16:14:42.985Z
1111
+ at 2025-10-01T15:14:10.379Z
1112
1112
  </div>
1113
1113
  <script src="../../prettify.js"></script>
1114
1114
  <script>
@@ -607,7 +607,7 @@ export const httpRequest = <span class="fstat-no" title="function not covered" >
607
607
  <div class='footer quiet pad2 space-top1 center small'>
608
608
  Code coverage generated by
609
609
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
610
- at 2025-09-25T16:14:42.985Z
610
+ at 2025-10-01T15:14:10.379Z
611
611
  </div>
612
612
  <script src="../../prettify.js"></script>
613
613
  <script>
@@ -32,7 +32,7 @@
32
32
  <div class='fl pad1y space-right2'>
33
33
  <span class="strong">0% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>0/185</span>
35
+ <span class='fraction'>0/183</span>
36
36
  </div>
37
37
 
38
38
 
@@ -101,7 +101,7 @@
101
101
  <td data-value="9.52" class="pct low">9.52%</td>
102
102
  <td data-value="105" class="abs low">10/105</td>
103
103
  <td data-value="0" class="pct low">0%</td>
104
- <td data-value="136" class="abs low">0/136</td>
104
+ <td data-value="134" class="abs low">0/134</td>
105
105
  <td data-value="0" class="pct low">0%</td>
106
106
  <td data-value="14" class="abs low">0/14</td>
107
107
  <td data-value="9.7" class="pct low">9.7%</td>
@@ -131,7 +131,7 @@
131
131
  <div class='footer quiet pad2 space-top1 center small'>
132
132
  Code coverage generated by
133
133
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
134
- at 2025-09-25T16:14:42.985Z
134
+ at 2025-10-01T15:14:10.379Z
135
135
  </div>
136
136
  <script src="../../prettify.js"></script>
137
137
  <script>
@@ -1003,124 +1003,122 @@ BRDA:26,6,3,0
1003
1003
  BRDA:26,6,4,0
1004
1004
  BRDA:33,7,0,0
1005
1005
  BRDA:33,7,1,0
1006
- BRDA:33,8,0,0
1007
- BRDA:33,8,1,0
1008
- BRDA:35,9,0,0
1009
- BRDA:35,9,1,0
1010
- BRDA:36,10,0,0
1011
- BRDA:36,10,1,0
1012
- BRDA:40,11,0,0
1013
- BRDA:40,11,1,0
1014
- BRDA:41,12,0,0
1015
- BRDA:41,12,1,0
1016
- BRDA:59,13,0,0
1006
+ BRDA:35,8,0,0
1007
+ BRDA:35,8,1,0
1008
+ BRDA:36,9,0,0
1009
+ BRDA:36,9,1,0
1010
+ BRDA:40,10,0,0
1011
+ BRDA:40,10,1,0
1012
+ BRDA:41,11,0,0
1013
+ BRDA:41,11,1,0
1014
+ BRDA:59,12,0,0
1015
+ BRDA:76,13,0,0
1016
+ BRDA:76,13,1,0
1017
1017
  BRDA:76,14,0,0
1018
1018
  BRDA:76,14,1,0
1019
- BRDA:76,15,0,0
1020
- BRDA:76,15,1,0
1021
- BRDA:79,16,0,0
1022
- BRDA:79,16,1,0
1023
- BRDA:90,17,0,0
1024
- BRDA:90,17,1,0
1025
- BRDA:91,18,0,0
1026
- BRDA:91,18,1,0
1027
- BRDA:102,19,0,0
1028
- BRDA:102,19,1,0
1029
- BRDA:103,20,0,0
1030
- BRDA:103,20,1,0
1031
- BRDA:103,20,2,0
1032
- BRDA:111,21,0,0
1033
- BRDA:111,21,1,0
1034
- BRDA:112,22,0,0
1035
- BRDA:112,22,1,0
1036
- BRDA:112,22,2,0
1019
+ BRDA:79,15,0,0
1020
+ BRDA:79,15,1,0
1021
+ BRDA:90,16,0,0
1022
+ BRDA:90,16,1,0
1023
+ BRDA:91,17,0,0
1024
+ BRDA:91,17,1,0
1025
+ BRDA:102,18,0,0
1026
+ BRDA:102,18,1,0
1027
+ BRDA:103,19,0,0
1028
+ BRDA:103,19,1,0
1029
+ BRDA:103,19,2,0
1030
+ BRDA:111,20,0,0
1031
+ BRDA:111,20,1,0
1032
+ BRDA:112,21,0,0
1033
+ BRDA:112,21,1,0
1034
+ BRDA:112,21,2,0
1035
+ BRDA:120,22,0,0
1036
+ BRDA:120,22,1,0
1037
1037
  BRDA:120,23,0,0
1038
1038
  BRDA:120,23,1,0
1039
- BRDA:120,24,0,0
1040
- BRDA:120,24,1,0
1039
+ BRDA:128,24,0,0
1040
+ BRDA:128,24,1,0
1041
1041
  BRDA:128,25,0,0
1042
1042
  BRDA:128,25,1,0
1043
- BRDA:128,26,0,0
1044
- BRDA:128,26,1,0
1045
- BRDA:137,27,0,0
1046
- BRDA:137,27,1,0
1047
- BRDA:138,28,0,0
1048
- BRDA:138,28,1,0
1043
+ BRDA:137,26,0,0
1044
+ BRDA:137,26,1,0
1045
+ BRDA:138,27,0,0
1046
+ BRDA:138,27,1,0
1047
+ BRDA:148,28,0,0
1048
+ BRDA:148,28,1,0
1049
1049
  BRDA:148,29,0,0
1050
1050
  BRDA:148,29,1,0
1051
- BRDA:148,30,0,0
1052
- BRDA:148,30,1,0
1053
- BRDA:156,31,0,0
1054
- BRDA:156,31,1,0
1055
- BRDA:157,32,0,0
1056
- BRDA:157,32,1,0
1051
+ BRDA:156,30,0,0
1052
+ BRDA:156,30,1,0
1053
+ BRDA:157,31,0,0
1054
+ BRDA:157,31,1,0
1055
+ BRDA:168,32,0,0
1056
+ BRDA:168,32,1,0
1057
1057
  BRDA:168,33,0,0
1058
1058
  BRDA:168,33,1,0
1059
- BRDA:168,34,0,0
1060
- BRDA:168,34,1,0
1059
+ BRDA:178,34,0,0
1060
+ BRDA:178,34,1,0
1061
1061
  BRDA:178,35,0,0
1062
1062
  BRDA:178,35,1,0
1063
- BRDA:178,36,0,0
1064
- BRDA:178,36,1,0
1065
- BRDA:178,36,2,0
1063
+ BRDA:178,35,2,0
1064
+ BRDA:188,36,0,0
1065
+ BRDA:188,36,1,0
1066
1066
  BRDA:188,37,0,0
1067
1067
  BRDA:188,37,1,0
1068
- BRDA:188,38,0,0
1069
- BRDA:188,38,1,0
1070
- BRDA:188,38,2,0
1071
- BRDA:201,39,0,0
1072
- BRDA:201,39,1,0
1073
- BRDA:203,40,0,0
1074
- BRDA:203,40,1,0
1075
- BRDA:205,41,0,0
1076
- BRDA:205,41,1,0
1077
- BRDA:214,42,0,0
1078
- BRDA:214,42,1,0
1079
- BRDA:215,43,0,0
1080
- BRDA:215,43,1,0
1081
- BRDA:215,43,2,0
1082
- BRDA:215,43,3,0
1083
- BRDA:215,43,4,0
1084
- BRDA:231,44,0,0
1085
- BRDA:231,44,1,0
1086
- BRDA:232,45,0,0
1087
- BRDA:232,45,1,0
1088
- BRDA:232,45,2,0
1089
- BRDA:243,46,0,0
1090
- BRDA:243,46,1,0
1091
- BRDA:244,47,0,0
1092
- BRDA:244,47,1,0
1093
- BRDA:256,48,0,0
1094
- BRDA:256,48,1,0
1095
- BRDA:257,49,0,0
1096
- BRDA:257,49,1,0
1097
- BRDA:257,49,2,0
1098
- BRDA:257,49,3,0
1099
- BRDA:257,49,4,0
1068
+ BRDA:188,37,2,0
1069
+ BRDA:201,38,0,0
1070
+ BRDA:201,38,1,0
1071
+ BRDA:203,39,0,0
1072
+ BRDA:203,39,1,0
1073
+ BRDA:205,40,0,0
1074
+ BRDA:205,40,1,0
1075
+ BRDA:214,41,0,0
1076
+ BRDA:214,41,1,0
1077
+ BRDA:215,42,0,0
1078
+ BRDA:215,42,1,0
1079
+ BRDA:215,42,2,0
1080
+ BRDA:215,42,3,0
1081
+ BRDA:215,42,4,0
1082
+ BRDA:231,43,0,0
1083
+ BRDA:231,43,1,0
1084
+ BRDA:232,44,0,0
1085
+ BRDA:232,44,1,0
1086
+ BRDA:232,44,2,0
1087
+ BRDA:243,45,0,0
1088
+ BRDA:243,45,1,0
1089
+ BRDA:244,46,0,0
1090
+ BRDA:244,46,1,0
1091
+ BRDA:256,47,0,0
1092
+ BRDA:256,47,1,0
1093
+ BRDA:257,48,0,0
1094
+ BRDA:257,48,1,0
1095
+ BRDA:257,48,2,0
1096
+ BRDA:257,48,3,0
1097
+ BRDA:257,48,4,0
1098
+ BRDA:272,49,0,0
1099
+ BRDA:272,49,1,0
1100
1100
  BRDA:272,50,0,0
1101
1101
  BRDA:272,50,1,0
1102
- BRDA:272,51,0,0
1103
- BRDA:272,51,1,0
1102
+ BRDA:282,51,0,0
1103
+ BRDA:282,51,1,0
1104
1104
  BRDA:282,52,0,0
1105
1105
  BRDA:282,52,1,0
1106
- BRDA:282,53,0,0
1107
- BRDA:282,53,1,0
1108
- BRDA:282,53,2,0
1109
- BRDA:290,54,0,0
1110
- BRDA:290,54,1,0
1106
+ BRDA:282,52,2,0
1107
+ BRDA:290,53,0,0
1108
+ BRDA:290,53,1,0
1109
+ BRDA:298,54,0,0
1110
+ BRDA:298,54,1,0
1111
1111
  BRDA:298,55,0,0
1112
1112
  BRDA:298,55,1,0
1113
- BRDA:298,56,0,0
1114
- BRDA:298,56,1,0
1113
+ BRDA:306,56,0,0
1114
+ BRDA:306,56,1,0
1115
1115
  BRDA:306,57,0,0
1116
1116
  BRDA:306,57,1,0
1117
- BRDA:306,58,0,0
1118
- BRDA:306,58,1,0
1117
+ BRDA:328,58,0,0
1118
+ BRDA:328,58,1,0
1119
1119
  BRDA:328,59,0,0
1120
1120
  BRDA:328,59,1,0
1121
- BRDA:328,60,0,0
1122
- BRDA:328,60,1,0
1123
- BRF:136
1121
+ BRF:134
1124
1122
  BRH:0
1125
1123
  end_of_record
1126
1124
  TN:
package/dist/index.js CHANGED
@@ -32861,7 +32861,7 @@ var getCertificateStatus = function getCertificateStatus(userData, certificateIn
32861
32861
  if ((userData === null || userData === void 0 || (_userData$verificatio = userData.verificationstatus) === null || _userData$verificatio === void 0 ? void 0 : _userData$verificatio.id) !== VERIFICATION_STATUS.APPROVED) return STATUS_CERTIFICATE.request;
32862
32862
  if (!(userData !== null && userData !== void 0 && userData.certificationId) && (userData === null || userData === void 0 || (_userData$requestscer = userData.requestscert) === null || _userData$requestscer === void 0 ? void 0 : _userData$requestscer.requests.length) === 0) return STATUS_CERTIFICATE.request_cert;
32863
32863
  if (userData !== null && userData !== void 0 && userData.certificationId && !(userData !== null && userData !== void 0 && userData.cangenerate) && !(userData !== null && userData !== void 0 && (_userData$requestscer2 = userData.requestscert) !== null && _userData$requestscer2 !== void 0 && _userData$requestscer2.pending) && !certificateInDevice && (userData === null || userData === void 0 ? void 0 : userData.certificatestatus) !== STATUS_CERTIFICATE.revoque) return STATUS_CERTIFICATE.certificate_another_device;
32864
- if (userData !== null && userData !== void 0 && (_userData$requestscer3 = userData.requestscert) !== null && _userData$requestscer3 !== void 0 && _userData$requestscer3.pending && userData !== null && userData !== void 0 && userData.certificationId) return STATUS_CERTIFICATE.request_revoque;
32864
+ if (userData !== null && userData !== void 0 && (_userData$requestscer3 = userData.requestscert) !== null && _userData$requestscer3 !== void 0 && _userData$requestscer3.pending) return STATUS_CERTIFICATE.request_revoque;
32865
32865
  if (!(userData !== null && userData !== void 0 && userData.cangenerate) && (userData === null || userData === void 0 ? void 0 : userData.certificatestatus) === STATUS_CERTIFICATE.revoque) return STATUS_CERTIFICATE.revoque;
32866
32866
  if (userData !== null && userData !== void 0 && userData.cangenerate) return STATUS_CERTIFICATE.generate;
32867
32867
  if (userData !== null && userData !== void 0 && userData.certificationId) return STATUS_CERTIFICATE.current;