apacuana-sdk-core 1.13.0 → 1.17.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.
- package/coverage/clover.xml +123 -121
- package/coverage/coverage-final.json +3 -3
- package/coverage/lcov-report/index.html +18 -18
- package/coverage/lcov-report/src/api/certs.js.html +6 -18
- package/coverage/lcov-report/src/api/faceLiveness.js.html +1 -1
- package/coverage/lcov-report/src/api/index.html +10 -10
- package/coverage/lcov-report/src/api/revocations.js.html +1 -1
- package/coverage/lcov-report/src/api/signatures.js.html +1 -1
- package/coverage/lcov-report/src/api/users.js.html +1 -1
- package/coverage/lcov-report/src/config/index.html +1 -1
- package/coverage/lcov-report/src/config/index.js.html +1 -1
- package/coverage/lcov-report/src/errors/index.html +1 -1
- package/coverage/lcov-report/src/errors/index.js.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.js.html +1 -1
- package/coverage/lcov-report/src/success/index.html +1 -1
- package/coverage/lcov-report/src/success/index.js.html +1 -1
- package/coverage/lcov-report/src/utils/constant.js.html +7 -4
- package/coverage/lcov-report/src/utils/helpers.js.html +36 -9
- package/coverage/lcov-report/src/utils/httpClient.js.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +12 -12
- package/coverage/lcov.info +256 -247
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/dist/utils/constant.d.ts +1 -1
- package/package.json +1 -1
- package/src/api/certs.js +0 -4
- package/src/utils/constant.js +3 -2
- package/src/utils/helpers.js +11 -2
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1764042994248" clover="3.2.0">
|
|
3
|
+
<project timestamp="1764042994248" name="All files">
|
|
4
|
+
<metrics statements="580" coveredstatements="326" conditionals="424" coveredconditionals="134" methods="95" coveredmethods="49" elements="1099" coveredelements="509" complexity="0" loc="580" ncloc="580" packages="6" files="12" classes="12"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="57" coveredstatements="15" conditionals="15" coveredconditionals="3" methods="20" coveredmethods="1"/>
|
|
7
7
|
<file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/index.js">
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
</file>
|
|
67
67
|
</package>
|
|
68
68
|
<package name="src.api">
|
|
69
|
-
<metrics statements="
|
|
69
|
+
<metrics statements="327" coveredstatements="278" conditionals="181" coveredconditionals="127" methods="49" coveredmethods="46"/>
|
|
70
70
|
<file name="certs.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/certs.js">
|
|
71
|
-
<metrics statements="
|
|
71
|
+
<metrics statements="80" coveredstatements="72" conditionals="38" coveredconditionals="31" methods="13" coveredmethods="13"/>
|
|
72
72
|
<line num="25" count="2" type="stmt"/>
|
|
73
73
|
<line num="26" count="1" type="stmt"/>
|
|
74
74
|
<line num="27" count="1" type="stmt"/>
|
|
@@ -96,60 +96,59 @@
|
|
|
96
96
|
<line num="92" count="1" type="stmt"/>
|
|
97
97
|
<line num="97" count="1" type="stmt"/>
|
|
98
98
|
<line num="98" count="1" type="stmt"/>
|
|
99
|
+
<line num="101" count="2" type="stmt"/>
|
|
99
100
|
<line num="102" count="1" type="stmt"/>
|
|
100
|
-
<line num="
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
103
|
-
<line num="
|
|
104
|
-
<line num="
|
|
105
|
-
<line num="
|
|
106
|
-
<line num="
|
|
107
|
-
<line num="
|
|
108
|
-
<line num="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="
|
|
113
|
-
<line num="141" count="
|
|
114
|
-
<line num="
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="
|
|
117
|
-
<line num="
|
|
118
|
-
<line num="
|
|
119
|
-
<line num="
|
|
120
|
-
<line num="
|
|
121
|
-
<line num="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="
|
|
127
|
-
<line num="
|
|
128
|
-
<line num="
|
|
129
|
-
<line num="
|
|
130
|
-
<line num="
|
|
131
|
-
<line num="
|
|
132
|
-
<line num="197" count="
|
|
133
|
-
<line num="
|
|
134
|
-
<line num="
|
|
135
|
-
<line num="
|
|
136
|
-
<line num="
|
|
137
|
-
<line num="
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
140
|
-
<line num="
|
|
141
|
-
<line num="
|
|
142
|
-
<line num="
|
|
143
|
-
<line num="
|
|
144
|
-
<line num="
|
|
145
|
-
<line num="
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="
|
|
148
|
-
<line num="
|
|
149
|
-
<line num="
|
|
150
|
-
<line num="255" count="
|
|
151
|
-
<line num="256" count="1" type="stmt"/>
|
|
152
|
-
<line num="259" count="1" type="stmt"/>
|
|
101
|
+
<line num="103" count="1" type="stmt"/>
|
|
102
|
+
<line num="109" count="1" type="stmt"/>
|
|
103
|
+
<line num="111" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
104
|
+
<line num="112" count="0" type="stmt"/>
|
|
105
|
+
<line num="114" count="0" type="stmt"/>
|
|
106
|
+
<line num="118" count="2" type="stmt"/>
|
|
107
|
+
<line num="119" count="1" type="stmt"/>
|
|
108
|
+
<line num="132" count="2" type="stmt"/>
|
|
109
|
+
<line num="133" count="3" type="stmt"/>
|
|
110
|
+
<line num="134" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
111
|
+
<line num="135" count="1" type="stmt"/>
|
|
112
|
+
<line num="137" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
113
|
+
<line num="138" count="1" type="stmt"/>
|
|
114
|
+
<line num="141" count="1" type="stmt"/>
|
|
115
|
+
<line num="148" count="2" type="stmt"/>
|
|
116
|
+
<line num="149" count="2" type="stmt"/>
|
|
117
|
+
<line num="150" count="2" type="stmt"/>
|
|
118
|
+
<line num="156" count="1" type="stmt"/>
|
|
119
|
+
<line num="158" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
120
|
+
<line num="159" count="0" type="stmt"/>
|
|
121
|
+
<line num="161" count="1" type="stmt"/>
|
|
122
|
+
<line num="165" count="2" type="stmt"/>
|
|
123
|
+
<line num="166" count="1" type="stmt"/>
|
|
124
|
+
<line num="181" count="2" type="stmt"/>
|
|
125
|
+
<line num="182" count="7" type="cond" truecount="4" falsecount="0"/>
|
|
126
|
+
<line num="183" count="3" type="stmt"/>
|
|
127
|
+
<line num="187" count="4" type="stmt"/>
|
|
128
|
+
<line num="189" count="4" type="stmt"/>
|
|
129
|
+
<line num="190" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
130
|
+
<line num="191" count="2" type="stmt"/>
|
|
131
|
+
<line num="193" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
132
|
+
<line num="194" count="1" type="stmt"/>
|
|
133
|
+
<line num="197" count="1" type="stmt"/>
|
|
134
|
+
<line num="204" count="2" type="stmt"/>
|
|
135
|
+
<line num="205" count="3" type="stmt"/>
|
|
136
|
+
<line num="206" count="3" type="stmt"/>
|
|
137
|
+
<line num="212" count="1" type="stmt"/>
|
|
138
|
+
<line num="214" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
139
|
+
<line num="215" count="1" type="stmt"/>
|
|
140
|
+
<line num="217" count="1" type="stmt"/>
|
|
141
|
+
<line num="221" count="2" type="stmt"/>
|
|
142
|
+
<line num="222" count="1" type="stmt"/>
|
|
143
|
+
<line num="236" count="2" type="stmt"/>
|
|
144
|
+
<line num="237" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
145
|
+
<line num="242" count="3" type="stmt"/>
|
|
146
|
+
<line num="247" count="5" type="stmt"/>
|
|
147
|
+
<line num="248" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
148
|
+
<line num="249" count="3" type="stmt"/>
|
|
149
|
+
<line num="251" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
150
|
+
<line num="252" count="1" type="stmt"/>
|
|
151
|
+
<line num="255" count="1" type="stmt"/>
|
|
153
152
|
</file>
|
|
154
153
|
<file name="faceLiveness.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/faceLiveness.js">
|
|
155
154
|
<metrics statements="46" coveredstatements="44" conditionals="21" coveredconditionals="19" methods="6" coveredmethods="6"/>
|
|
@@ -453,16 +452,16 @@
|
|
|
453
452
|
</file>
|
|
454
453
|
</package>
|
|
455
454
|
<package name="src.utils">
|
|
456
|
-
<metrics statements="
|
|
455
|
+
<metrics statements="173" coveredstatements="17" conditionals="214" coveredconditionals="0" methods="21" coveredmethods="0"/>
|
|
457
456
|
<file name="constant.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/constant.js">
|
|
458
457
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
459
458
|
<line num="1" count="9" type="stmt"/>
|
|
460
459
|
<line num="13" count="9" type="stmt"/>
|
|
461
|
-
<line num="
|
|
462
|
-
<line num="
|
|
460
|
+
<line num="51" count="9" type="stmt"/>
|
|
461
|
+
<line num="56" count="9" type="stmt"/>
|
|
463
462
|
</file>
|
|
464
463
|
<file name="helpers.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/helpers.js">
|
|
465
|
-
<metrics statements="
|
|
464
|
+
<metrics statements="117" coveredstatements="10" conditionals="165" coveredconditionals="0" methods="14" coveredmethods="0"/>
|
|
466
465
|
<line num="10" count="2" type="stmt"/>
|
|
467
466
|
<line num="12" count="2" type="stmt"/>
|
|
468
467
|
<line num="17" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -513,70 +512,73 @@
|
|
|
513
512
|
<line num="130" count="0" type="stmt"/>
|
|
514
513
|
<line num="137" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
515
514
|
<line num="142" count="0" type="stmt"/>
|
|
516
|
-
<line num="
|
|
517
|
-
<line num="
|
|
518
|
-
<line num="
|
|
519
|
-
<line num="
|
|
520
|
-
<line num="
|
|
521
|
-
<line num="163" count="0" type="
|
|
522
|
-
<line num="
|
|
523
|
-
<line num="171" count="0" type="cond" truecount="0" falsecount="
|
|
524
|
-
<line num="
|
|
525
|
-
<line num="
|
|
526
|
-
<line num="
|
|
527
|
-
<line num="
|
|
528
|
-
<line num="
|
|
529
|
-
<line num="
|
|
530
|
-
<line num="
|
|
515
|
+
<line num="144" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
516
|
+
<line num="149" count="0" type="stmt"/>
|
|
517
|
+
<line num="151" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
518
|
+
<line num="157" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
519
|
+
<line num="158" count="0" type="stmt"/>
|
|
520
|
+
<line num="163" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
521
|
+
<line num="164" count="0" type="stmt"/>
|
|
522
|
+
<line num="171" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
523
|
+
<line num="172" count="0" type="stmt"/>
|
|
524
|
+
<line num="179" count="0" type="stmt"/>
|
|
525
|
+
<line num="180" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
526
|
+
<line num="184" count="0" type="stmt"/>
|
|
527
|
+
<line num="191" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
528
|
+
<line num="192" count="0" type="stmt"/>
|
|
529
|
+
<line num="199" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
531
530
|
<line num="203" count="0" type="stmt"/>
|
|
532
|
-
<line num="
|
|
533
|
-
<line num="
|
|
534
|
-
<line num="
|
|
535
|
-
<line num="
|
|
536
|
-
<line num="
|
|
537
|
-
<line num="
|
|
538
|
-
<line num="
|
|
539
|
-
<line num="
|
|
540
|
-
<line num="243" count="0" type="
|
|
531
|
+
<line num="210" count="0" type="stmt"/>
|
|
532
|
+
<line num="211" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
533
|
+
<line num="212" count="0" type="stmt"/>
|
|
534
|
+
<line num="221" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
535
|
+
<line num="222" count="0" type="stmt"/>
|
|
536
|
+
<line num="231" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
537
|
+
<line num="232" count="0" type="stmt"/>
|
|
538
|
+
<line num="242" count="0" type="stmt"/>
|
|
539
|
+
<line num="243" count="0" type="stmt"/>
|
|
541
540
|
<line num="244" count="0" type="stmt"/>
|
|
542
|
-
<line num="
|
|
543
|
-
<line num="
|
|
544
|
-
<line num="
|
|
545
|
-
<line num="
|
|
546
|
-
<line num="
|
|
547
|
-
<line num="255" count="2" type="stmt"/>
|
|
541
|
+
<line num="246" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
542
|
+
<line num="252" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
543
|
+
<line num="253" count="0" type="stmt"/>
|
|
544
|
+
<line num="254" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
545
|
+
<line num="255" count="0" type="stmt"/>
|
|
548
546
|
<line num="256" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
549
|
-
<line num="
|
|
550
|
-
<line num="
|
|
551
|
-
<line num="
|
|
552
|
-
<line num="
|
|
553
|
-
<line num="
|
|
554
|
-
<line num="
|
|
555
|
-
<line num="
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="
|
|
558
|
-
<line num="
|
|
559
|
-
<line num="
|
|
560
|
-
<line num="
|
|
561
|
-
<line num="
|
|
562
|
-
<line num="
|
|
563
|
-
<line num="
|
|
564
|
-
<line num="
|
|
565
|
-
<line num="
|
|
566
|
-
<line num="
|
|
567
|
-
<line num="
|
|
568
|
-
<line num="
|
|
569
|
-
<line num="
|
|
570
|
-
<line num="
|
|
571
|
-
<line num="
|
|
572
|
-
<line num="
|
|
573
|
-
<line num="
|
|
547
|
+
<line num="257" count="0" type="stmt"/>
|
|
548
|
+
<line num="261" count="0" type="stmt"/>
|
|
549
|
+
<line num="264" count="2" type="stmt"/>
|
|
550
|
+
<line num="265" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
551
|
+
<line num="272" count="0" type="stmt"/>
|
|
552
|
+
<line num="281" count="2" type="stmt"/>
|
|
553
|
+
<line num="282" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
554
|
+
<line num="287" count="0" type="stmt"/>
|
|
555
|
+
<line num="294" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
556
|
+
<line num="298" count="0" type="stmt"/>
|
|
557
|
+
<line num="306" count="2" type="stmt"/>
|
|
558
|
+
<line num="307" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
559
|
+
<line num="314" count="0" type="stmt"/>
|
|
560
|
+
<line num="322" count="2" type="stmt"/>
|
|
561
|
+
<line num="323" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
562
|
+
<line num="324" count="0" type="stmt"/>
|
|
563
|
+
<line num="331" count="0" type="stmt"/>
|
|
564
|
+
<line num="333" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
565
|
+
<line num="334" count="0" type="stmt"/>
|
|
566
|
+
<line num="341" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
567
|
+
<line num="342" count="0" type="stmt"/>
|
|
568
|
+
<line num="349" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
569
|
+
<line num="350" count="0" type="stmt"/>
|
|
570
|
+
<line num="357" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
571
|
+
<line num="358" count="0" type="stmt"/>
|
|
572
|
+
<line num="365" count="0" type="stmt"/>
|
|
573
|
+
<line num="366" count="0" type="stmt"/>
|
|
574
574
|
<line num="369" count="0" type="stmt"/>
|
|
575
|
-
<line num="
|
|
576
|
-
<line num="372" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
577
|
-
<line num="374" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
578
|
-
<line num="375" count="0" type="stmt"/>
|
|
575
|
+
<line num="377" count="0" type="stmt"/>
|
|
579
576
|
<line num="378" count="0" type="stmt"/>
|
|
577
|
+
<line num="379" count="0" type="stmt"/>
|
|
578
|
+
<line num="381" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
579
|
+
<line num="383" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
580
|
+
<line num="384" count="0" type="stmt"/>
|
|
581
|
+
<line num="387" count="0" type="stmt"/>
|
|
580
582
|
</file>
|
|
581
583
|
<file name="httpClient.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/httpClient.js">
|
|
582
584
|
<metrics statements="52" coveredstatements="3" conditionals="49" coveredconditionals="0" methods="7" coveredmethods="0"/>
|