apacuana-sdk-core 1.1.0 → 1.2.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.
@@ -508,7 +508,7 @@ export const validateFaceLiveness = async ({ sessionId }) => {
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-11-03T16:01:42.357Z
511
+ at 2025-11-04T05:18:22.514Z
512
512
  </div>
513
513
  <script src="../../prettify.js"></script>
514
514
  <script>
@@ -23,9 +23,9 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">84.92% </span>
26
+ <span class="strong">84.96% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>276/325</span>
28
+ <span class='fraction'>277/326</span>
29
29
  </div>
30
30
 
31
31
 
@@ -44,9 +44,9 @@
44
44
 
45
45
 
46
46
  <div class='fl pad1y space-right2'>
47
- <span class="strong">84.92% </span>
47
+ <span class="strong">84.96% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>276/325</span>
49
+ <span class='fraction'>277/326</span>
50
50
  </div>
51
51
 
52
52
 
@@ -80,17 +80,17 @@
80
80
  </thead>
81
81
  <tbody><tr>
82
82
  <td class="file high" data-value="certs.js"><a href="certs.js.html">certs.js</a></td>
83
- <td data-value="89.74" class="pic high">
83
+ <td data-value="89.87" class="pic high">
84
84
  <div class="chart"><div class="cover-fill" style="width: 89%"></div><div class="cover-empty" style="width: 11%"></div></div>
85
85
  </td>
86
- <td data-value="89.74" class="pct high">89.74%</td>
87
- <td data-value="78" class="abs high">70/78</td>
86
+ <td data-value="89.87" class="pct high">89.87%</td>
87
+ <td data-value="79" class="abs high">71/79</td>
88
88
  <td data-value="81.57" class="pct high">81.57%</td>
89
89
  <td data-value="38" class="abs high">31/38</td>
90
90
  <td data-value="100" class="pct high">100%</td>
91
91
  <td data-value="13" class="abs high">13/13</td>
92
- <td data-value="89.74" class="pct high">89.74%</td>
93
- <td data-value="78" class="abs high">70/78</td>
92
+ <td data-value="89.87" class="pct high">89.87%</td>
93
+ <td data-value="79" class="abs high">71/79</td>
94
94
  </tr>
95
95
 
96
96
  <tr>
@@ -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-11-03T16:01:42.357Z
164
+ at 2025-11-04T05:18:22.514Z
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-11-03T16:01:42.357Z
400
+ at 2025-11-04T05:18:22.514Z
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-11-03T16:01:42.357Z
1408
+ at 2025-11-04T05:18:22.514Z
1409
1409
  </div>
1410
1410
  <script src="../../prettify.js"></script>
1411
1411
  <script>
@@ -451,7 +451,7 @@ export const createApacuanaUser = <span class="fstat-no" title="function not cov
451
451
  <div class='footer quiet pad2 space-top1 center small'>
452
452
  Code coverage generated by
453
453
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
454
- at 2025-11-03T16:01:42.357Z
454
+ at 2025-11-04T05:18:22.514Z
455
455
  </div>
456
456
  <script src="../../prettify.js"></script>
457
457
  <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-11-03T16:01:42.357Z
104
+ at 2025-11-04T05:18:22.514Z
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-11-03T16:01:42.357Z
244
+ at 2025-11-04T05:18:22.514Z
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-11-03T16:01:42.357Z
104
+ at 2025-11-04T05:18:22.514Z
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-11-03T16:01:42.357Z
136
+ at 2025-11-04T05:18:22.514Z
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-11-03T16:01:42.357Z
104
+ at 2025-11-04T05:18:22.514Z
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-11-03T16:01:42.357Z
580
+ at 2025-11-04T05:18:22.514Z
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-11-03T16:01:42.357Z
104
+ at 2025-11-04T05:18:22.514Z
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-11-03T16:01:42.357Z
94
+ at 2025-11-04T05:18:22.514Z
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-11-03T16:01:42.357Z
244
+ at 2025-11-04T05:18:22.514Z
245
245
  </div>
246
246
  <script src="../../prettify.js"></script>
247
247
  <script>
@@ -1180,7 +1180,7 @@ export default {
1180
1180
  <div class='footer quiet pad2 space-top1 center small'>
1181
1181
  Code coverage generated by
1182
1182
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1183
- at 2025-11-03T16:01:42.357Z
1183
+ at 2025-11-04T05:18:22.514Z
1184
1184
  </div>
1185
1185
  <script src="../../prettify.js"></script>
1186
1186
  <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-11-03T16:01:42.357Z
610
+ at 2025-11-04T05:18:22.514Z
611
611
  </div>
612
612
  <script src="../../prettify.js"></script>
613
613
  <script>
@@ -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-11-03T16:01:42.357Z
134
+ at 2025-11-04T05:18:22.514Z
135
135
  </div>
136
136
  <script src="../../prettify.js"></script>
137
137
  <script>
@@ -125,15 +125,15 @@ FN:22,(anonymous_0)
125
125
  FN:48,(anonymous_1)
126
126
  FN:63,(anonymous_2)
127
127
  FN:85,(anonymous_3)
128
- FN:97,(anonymous_4)
129
- FN:114,(anonymous_5)
130
- FN:128,(anonymous_6)
131
- FN:144,(anonymous_7)
132
- FN:161,(anonymous_8)
133
- FN:177,(anonymous_9)
134
- FN:200,(anonymous_10)
135
- FN:217,(anonymous_11)
136
- FN:232,(anonymous_12)
128
+ FN:98,(anonymous_4)
129
+ FN:115,(anonymous_5)
130
+ FN:129,(anonymous_6)
131
+ FN:145,(anonymous_7)
132
+ FN:162,(anonymous_8)
133
+ FN:178,(anonymous_9)
134
+ FN:201,(anonymous_10)
135
+ FN:218,(anonymous_11)
136
+ FN:233,(anonymous_12)
137
137
  FNF:13
138
138
  FNH:13
139
139
  FNDA:1,(anonymous_0)
@@ -173,62 +173,63 @@ DA:85,2
173
173
  DA:86,1
174
174
  DA:87,1
175
175
  DA:92,1
176
- DA:94,1
177
- DA:97,2
178
- DA:98,1
176
+ DA:93,1
177
+ DA:95,1
178
+ DA:98,2
179
179
  DA:99,1
180
- DA:105,1
181
- DA:107,0
180
+ DA:100,1
181
+ DA:106,1
182
182
  DA:108,0
183
- DA:110,0
184
- DA:114,2
185
- DA:115,1
186
- DA:128,2
187
- DA:129,3
183
+ DA:109,0
184
+ DA:111,0
185
+ DA:115,2
186
+ DA:116,1
187
+ DA:129,2
188
188
  DA:130,3
189
- DA:131,1
190
- DA:133,2
191
- DA:134,1
192
- DA:137,1
193
- DA:144,2
189
+ DA:131,3
190
+ DA:132,1
191
+ DA:134,2
192
+ DA:135,1
193
+ DA:138,1
194
194
  DA:145,2
195
195
  DA:146,2
196
- DA:152,1
197
- DA:154,1
198
- DA:155,0
199
- DA:157,1
200
- DA:161,2
201
- DA:162,1
202
- DA:177,2
203
- DA:178,7
204
- DA:179,3
205
- DA:183,4
206
- DA:185,4
196
+ DA:147,2
197
+ DA:153,1
198
+ DA:155,1
199
+ DA:156,0
200
+ DA:158,1
201
+ DA:162,2
202
+ DA:163,1
203
+ DA:178,2
204
+ DA:179,7
205
+ DA:180,3
206
+ DA:184,4
207
207
  DA:186,4
208
- DA:187,2
209
- DA:189,2
210
- DA:190,1
211
- DA:193,1
212
- DA:200,2
213
- DA:201,3
208
+ DA:187,4
209
+ DA:188,2
210
+ DA:190,2
211
+ DA:191,1
212
+ DA:194,1
213
+ DA:201,2
214
214
  DA:202,3
215
- DA:208,1
216
- DA:210,2
217
- DA:211,1
218
- DA:213,1
219
- DA:217,2
220
- DA:218,1
221
- DA:232,2
222
- DA:233,8
223
- DA:238,3
224
- DA:243,5
215
+ DA:203,3
216
+ DA:209,1
217
+ DA:211,2
218
+ DA:212,1
219
+ DA:214,1
220
+ DA:218,2
221
+ DA:219,1
222
+ DA:233,2
223
+ DA:234,8
224
+ DA:239,3
225
225
  DA:244,5
226
- DA:245,3
227
- DA:247,2
228
- DA:248,1
229
- DA:251,1
230
- LF:78
231
- LH:70
226
+ DA:245,5
227
+ DA:246,3
228
+ DA:248,2
229
+ DA:249,1
230
+ DA:252,1
231
+ LF:79
232
+ LH:71
232
233
  BRDA:30,0,0,0
233
234
  BRDA:30,0,1,1
234
235
  BRDA:30,1,0,1
@@ -240,33 +241,33 @@ BRDA:66,3,1,2
240
241
  BRDA:69,4,0,1
241
242
  BRDA:69,4,1,1
242
243
  BRDA:85,5,0,0
243
- BRDA:107,6,0,0
244
- BRDA:107,6,1,0
245
- BRDA:130,7,0,1
246
- BRDA:130,7,1,2
247
- BRDA:133,8,0,1
248
- BRDA:133,8,1,1
249
- BRDA:154,9,0,0
250
- BRDA:154,9,1,1
251
- BRDA:178,10,0,3
252
- BRDA:178,10,1,4
253
- BRDA:178,11,0,7
254
- BRDA:178,11,1,6
255
- BRDA:186,12,0,2
256
- BRDA:186,12,1,2
257
- BRDA:189,13,0,1
258
- BRDA:189,13,1,1
259
- BRDA:210,14,0,1
260
- BRDA:210,14,1,1
261
- BRDA:233,15,0,3
262
- BRDA:233,15,1,5
263
- BRDA:234,16,0,8
264
- BRDA:234,16,1,7
265
- BRDA:234,16,2,6
266
- BRDA:244,17,0,3
267
- BRDA:244,17,1,2
268
- BRDA:247,18,0,1
269
- BRDA:247,18,1,1
244
+ BRDA:108,6,0,0
245
+ BRDA:108,6,1,0
246
+ BRDA:131,7,0,1
247
+ BRDA:131,7,1,2
248
+ BRDA:134,8,0,1
249
+ BRDA:134,8,1,1
250
+ BRDA:155,9,0,0
251
+ BRDA:155,9,1,1
252
+ BRDA:179,10,0,3
253
+ BRDA:179,10,1,4
254
+ BRDA:179,11,0,7
255
+ BRDA:179,11,1,6
256
+ BRDA:187,12,0,2
257
+ BRDA:187,12,1,2
258
+ BRDA:190,13,0,1
259
+ BRDA:190,13,1,1
260
+ BRDA:211,14,0,1
261
+ BRDA:211,14,1,1
262
+ BRDA:234,15,0,3
263
+ BRDA:234,15,1,5
264
+ BRDA:235,16,0,8
265
+ BRDA:235,16,1,7
266
+ BRDA:235,16,2,6
267
+ BRDA:245,17,0,3
268
+ BRDA:245,17,1,2
269
+ BRDA:248,18,0,1
270
+ BRDA:248,18,1,1
270
271
  BRF:38
271
272
  BRH:31
272
273
  end_of_record
package/dist/index.js CHANGED
@@ -33157,6 +33157,7 @@ var getCertStatus = function getCertStatus() {
33157
33157
  var isCertificateInDevice = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
33158
33158
  var config = getConfig();
33159
33159
  var status = helpers.getCertificateStatus(config.userData, isCertificateInDevice, config.integrationType);
33160
+ console.log(status, "Core sdk");
33160
33161
  var parseStatus = PARSE_STATUS[status];
33161
33162
  return new ApacuanaSuccess({
33162
33163
  status: parseStatus