apacuana-sdk-core 1.9.0 → 1.10.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.
Files changed (35) hide show
  1. package/coverage/clover.xml +81 -80
  2. package/coverage/coverage-final.json +3 -3
  3. package/coverage/lcov-report/index.html +10 -10
  4. package/coverage/lcov-report/src/api/certs.js.html +190 -7
  5. package/coverage/lcov-report/src/api/faceLiveness.js.html +1 -1
  6. package/coverage/lcov-report/src/api/index.html +10 -10
  7. package/coverage/lcov-report/src/api/revocations.js.html +1 -1
  8. package/coverage/lcov-report/src/api/signatures.js.html +1 -1
  9. package/coverage/lcov-report/src/api/users.js.html +1 -1
  10. package/coverage/lcov-report/src/config/index.html +1 -1
  11. package/coverage/lcov-report/src/config/index.js.html +1 -1
  12. package/coverage/lcov-report/src/errors/index.html +1 -1
  13. package/coverage/lcov-report/src/errors/index.js.html +1 -1
  14. package/coverage/lcov-report/src/index.html +1 -1
  15. package/coverage/lcov-report/src/index.js.html +14 -2
  16. package/coverage/lcov-report/src/success/index.html +1 -1
  17. package/coverage/lcov-report/src/success/index.js.html +1 -1
  18. package/coverage/lcov-report/src/utils/constant.js.html +5 -2
  19. package/coverage/lcov-report/src/utils/helpers.js.html +1 -1
  20. package/coverage/lcov-report/src/utils/httpClient.js.html +1 -1
  21. package/coverage/lcov-report/src/utils/index.html +1 -1
  22. package/coverage/lcov.info +128 -127
  23. package/dist/api/certs.d.ts +2 -0
  24. package/dist/index.js +66 -0
  25. package/dist/index.js.map +1 -1
  26. package/dist/index.mjs +66 -0
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/types/certs.d.ts +16 -0
  29. package/dist/utils/constant.d.ts +5 -4
  30. package/dist/utils/helpers.d.ts +1 -1
  31. package/package.json +1 -1
  32. package/src/api/certs.js +62 -1
  33. package/src/index.js +4 -0
  34. package/src/types/certs.js +9 -0
  35. package/src/utils/constant.js +1 -0
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1762538967201" clover="3.2.0">
3
- <project timestamp="1762538967201" name="All files">
4
- <metrics statements="571" coveredstatements="326" conditionals="398" coveredconditionals="134" methods="95" coveredmethods="49" elements="1064" coveredelements="509" complexity="0" loc="571" ncloc="571" packages="6" files="12" classes="12"/>
2
+ <coverage generated="1763222846972" clover="3.2.0">
3
+ <project timestamp="1763222846972" name="All files">
4
+ <metrics statements="572" coveredstatements="327" conditionals="398" coveredconditionals="134" methods="95" coveredmethods="49" elements="1065" coveredelements="510" complexity="0" loc="572" ncloc="572" 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">
@@ -62,93 +62,94 @@
62
62
  <line num="158" count="0" type="stmt"/>
63
63
  <line num="161" count="0" type="stmt"/>
64
64
  <line num="162" count="0" type="stmt"/>
65
- <line num="165" count="0" type="stmt"/>
65
+ <line num="169" count="0" type="stmt"/>
66
66
  </file>
67
67
  </package>
68
68
  <package name="src.api">
69
- <metrics statements="327" coveredstatements="278" conditionals="181" coveredconditionals="127" methods="49" coveredmethods="46"/>
69
+ <metrics statements="328" coveredstatements="279" 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="80" coveredstatements="72" conditionals="38" coveredconditionals="31" methods="13" coveredmethods="13"/>
72
- <line num="23" count="2" type="stmt"/>
73
- <line num="24" count="1" type="stmt"/>
74
- <line num="25" count="1" type="stmt"/>
75
- <line num="30" count="1" type="stmt"/>
76
- <line num="31" count="1" type="cond" truecount="3" falsecount="1"/>
77
- <line num="32" count="0" type="stmt"/>
78
- <line num="39" count="1" type="stmt"/>
79
- <line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
80
- <line num="43" count="0" type="stmt"/>
71
+ <metrics statements="81" coveredstatements="73" conditionals="38" coveredconditionals="31" methods="13" coveredmethods="13"/>
72
+ <line num="25" count="2" type="stmt"/>
73
+ <line num="26" count="1" type="stmt"/>
74
+ <line num="27" count="1" type="stmt"/>
75
+ <line num="32" count="1" type="stmt"/>
76
+ <line num="33" count="1" type="cond" truecount="3" falsecount="1"/>
77
+ <line num="34" count="0" type="stmt"/>
78
+ <line num="41" count="1" type="stmt"/>
79
+ <line num="44" count="0" type="cond" truecount="0" falsecount="2"/>
81
80
  <line num="45" count="0" type="stmt"/>
82
- <line num="49" count="2" type="stmt"/>
83
- <line num="50" count="1" type="stmt"/>
84
- <line num="64" count="2" type="stmt"/>
85
- <line num="65" count="3" type="stmt"/>
86
- <line num="66" count="3" type="stmt"/>
87
- <line num="67" count="3" type="cond" truecount="2" falsecount="0"/>
88
- <line num="68" count="1" type="stmt"/>
89
- <line num="70" count="2" type="cond" truecount="2" falsecount="0"/>
90
- <line num="71" count="1" type="stmt"/>
91
- <line num="74" count="1" type="stmt"/>
92
- <line num="86" count="2" type="cond" truecount="0" falsecount="1"/>
93
- <line num="87" count="1" type="stmt"/>
94
- <line num="88" count="1" type="stmt"/>
81
+ <line num="47" count="0" type="stmt"/>
82
+ <line num="51" count="2" type="stmt"/>
83
+ <line num="52" count="1" type="stmt"/>
84
+ <line num="66" count="2" type="stmt"/>
85
+ <line num="67" count="3" type="stmt"/>
86
+ <line num="68" count="3" type="stmt"/>
87
+ <line num="69" count="3" type="cond" truecount="2" falsecount="0"/>
88
+ <line num="70" count="1" type="stmt"/>
89
+ <line num="72" count="2" type="cond" truecount="2" falsecount="0"/>
90
+ <line num="73" count="1" type="stmt"/>
91
+ <line num="76" count="1" type="stmt"/>
92
+ <line num="88" count="2" type="cond" truecount="0" falsecount="1"/>
95
93
  <line num="89" count="1" type="stmt"/>
96
94
  <line num="90" count="1" type="stmt"/>
97
- <line num="95" count="1" type="stmt"/>
95
+ <line num="91" count="1" type="stmt"/>
96
+ <line num="92" count="1" type="stmt"/>
98
97
  <line num="97" count="1" type="stmt"/>
99
- <line num="100" count="2" type="stmt"/>
100
- <line num="101" count="1" type="stmt"/>
98
+ <line num="98" count="1" type="stmt"/>
101
99
  <line num="102" count="1" type="stmt"/>
102
- <line num="108" count="1" type="stmt"/>
103
- <line num="110" count="0" type="cond" truecount="0" falsecount="2"/>
104
- <line num="111" count="0" type="stmt"/>
105
- <line num="113" count="0" type="stmt"/>
106
- <line num="117" count="2" type="stmt"/>
107
- <line num="118" count="1" type="stmt"/>
108
- <line num="131" count="2" type="stmt"/>
109
- <line num="132" count="3" type="stmt"/>
110
- <line num="133" count="3" type="cond" truecount="2" falsecount="0"/>
111
- <line num="134" count="1" type="stmt"/>
112
- <line num="136" count="2" type="cond" truecount="2" falsecount="0"/>
113
- <line num="137" count="1" type="stmt"/>
114
- <line num="140" count="1" type="stmt"/>
115
- <line num="147" count="2" type="stmt"/>
116
- <line num="148" count="2" type="stmt"/>
117
- <line num="149" count="2" type="stmt"/>
118
- <line num="155" count="1" type="stmt"/>
119
- <line num="157" count="1" type="cond" truecount="1" falsecount="1"/>
120
- <line num="158" count="0" type="stmt"/>
100
+ <line num="105" count="2" type="stmt"/>
101
+ <line num="106" count="1" type="stmt"/>
102
+ <line num="107" count="1" type="stmt"/>
103
+ <line num="113" count="1" type="stmt"/>
104
+ <line num="115" count="0" type="cond" truecount="0" falsecount="2"/>
105
+ <line num="116" count="0" type="stmt"/>
106
+ <line num="118" count="0" type="stmt"/>
107
+ <line num="122" count="2" type="stmt"/>
108
+ <line num="123" count="1" type="stmt"/>
109
+ <line num="136" count="2" type="stmt"/>
110
+ <line num="137" count="3" type="stmt"/>
111
+ <line num="138" count="3" type="cond" truecount="2" falsecount="0"/>
112
+ <line num="139" count="1" type="stmt"/>
113
+ <line num="141" count="2" type="cond" truecount="2" falsecount="0"/>
114
+ <line num="142" count="1" type="stmt"/>
115
+ <line num="145" count="1" type="stmt"/>
116
+ <line num="152" count="2" type="stmt"/>
117
+ <line num="153" count="2" type="stmt"/>
118
+ <line num="154" count="2" type="stmt"/>
121
119
  <line num="160" count="1" type="stmt"/>
122
- <line num="164" count="2" type="stmt"/>
120
+ <line num="162" count="1" type="cond" truecount="1" falsecount="1"/>
121
+ <line num="163" count="0" type="stmt"/>
123
122
  <line num="165" count="1" type="stmt"/>
124
- <line num="180" count="2" type="stmt"/>
125
- <line num="181" count="7" type="cond" truecount="4" falsecount="0"/>
126
- <line num="182" count="3" type="stmt"/>
127
- <line num="186" count="4" type="stmt"/>
128
- <line num="188" count="4" type="stmt"/>
129
- <line num="189" count="4" type="cond" truecount="2" falsecount="0"/>
130
- <line num="190" count="2" type="stmt"/>
131
- <line num="192" count="2" type="cond" truecount="2" falsecount="0"/>
132
- <line num="193" count="1" type="stmt"/>
133
- <line num="196" count="1" type="stmt"/>
134
- <line num="203" count="2" type="stmt"/>
135
- <line num="204" count="3" type="stmt"/>
136
- <line num="205" count="3" type="stmt"/>
137
- <line num="211" count="1" type="stmt"/>
138
- <line num="213" count="2" type="cond" truecount="2" falsecount="0"/>
139
- <line num="214" count="1" type="stmt"/>
123
+ <line num="169" count="2" type="stmt"/>
124
+ <line num="170" count="1" type="stmt"/>
125
+ <line num="185" count="2" type="stmt"/>
126
+ <line num="186" count="7" type="cond" truecount="4" falsecount="0"/>
127
+ <line num="187" count="3" type="stmt"/>
128
+ <line num="191" count="4" type="stmt"/>
129
+ <line num="193" count="4" type="stmt"/>
130
+ <line num="194" count="4" type="cond" truecount="2" falsecount="0"/>
131
+ <line num="195" count="2" type="stmt"/>
132
+ <line num="197" count="2" type="cond" truecount="2" falsecount="0"/>
133
+ <line num="198" count="1" type="stmt"/>
134
+ <line num="201" count="1" type="stmt"/>
135
+ <line num="208" count="2" type="stmt"/>
136
+ <line num="209" count="3" type="stmt"/>
137
+ <line num="210" count="3" type="stmt"/>
140
138
  <line num="216" count="1" type="stmt"/>
141
- <line num="220" count="2" type="stmt"/>
139
+ <line num="218" count="2" type="cond" truecount="2" falsecount="0"/>
140
+ <line num="219" count="1" type="stmt"/>
142
141
  <line num="221" count="1" type="stmt"/>
143
- <line num="235" count="2" type="stmt"/>
144
- <line num="236" count="8" type="cond" truecount="2" falsecount="0"/>
145
- <line num="241" count="3" type="stmt"/>
146
- <line num="246" count="5" type="stmt"/>
147
- <line num="247" count="5" type="cond" truecount="2" falsecount="0"/>
148
- <line num="248" count="3" type="stmt"/>
149
- <line num="250" count="2" type="cond" truecount="2" falsecount="0"/>
150
- <line num="251" count="1" type="stmt"/>
151
- <line num="254" count="1" type="stmt"/>
142
+ <line num="225" count="2" type="stmt"/>
143
+ <line num="226" count="1" type="stmt"/>
144
+ <line num="240" count="2" type="stmt"/>
145
+ <line num="241" count="8" type="cond" truecount="2" falsecount="0"/>
146
+ <line num="246" count="3" type="stmt"/>
147
+ <line num="251" count="5" type="stmt"/>
148
+ <line num="252" count="5" type="cond" truecount="2" falsecount="0"/>
149
+ <line num="253" count="3" type="stmt"/>
150
+ <line num="255" count="2" type="cond" truecount="2" falsecount="0"/>
151
+ <line num="256" count="1" type="stmt"/>
152
+ <line num="259" count="1" type="stmt"/>
152
153
  </file>
153
154
  <file name="faceLiveness.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/faceLiveness.js">
154
155
  <metrics statements="46" coveredstatements="44" conditionals="21" coveredconditionals="19" methods="6" coveredmethods="6"/>
@@ -456,9 +457,9 @@
456
457
  <file name="constant.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/constant.js">
457
458
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
458
459
  <line num="1" count="9" type="stmt"/>
459
- <line num="12" count="9" type="stmt"/>
460
- <line num="49" count="9" type="stmt"/>
461
- <line num="54" count="9" type="stmt"/>
460
+ <line num="13" count="9" type="stmt"/>
461
+ <line num="50" count="9" type="stmt"/>
462
+ <line num="55" count="9" type="stmt"/>
462
463
  </file>
463
464
  <file name="helpers.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/helpers.js">
464
465
  <metrics statements="108" coveredstatements="10" conditionals="139" coveredconditionals="0" methods="14" coveredmethods="0"/>