apacuana-sdk-core 1.2.0 → 1.6.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 (30) hide show
  1. package/coverage/clover.xml +79 -78
  2. package/coverage/coverage-final.json +2 -2
  3. package/coverage/lcov-report/index.html +11 -11
  4. package/coverage/lcov-report/src/api/certs.js.html +16 -10
  5. package/coverage/lcov-report/src/api/faceLiveness.js.html +1 -1
  6. package/coverage/lcov-report/src/api/index.html +11 -11
  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 +3 -3
  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 +1 -1
  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 +2 -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 +122 -121
  23. package/dist/index.js +225 -204
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.mjs +225 -204
  26. package/dist/index.mjs.map +1 -1
  27. package/package.json +1 -1
  28. package/src/api/certs.js +5 -3
  29. package/src/utils/constant.js +1 -1
  30. package/tests/api/certs.test.js +38 -14
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1762233502554" clover="3.2.0">
3
- <project timestamp="1762233502554" name="All files">
4
- <metrics statements="568" coveredstatements="325" conditionals="393" coveredconditionals="134" methods="95" coveredmethods="49" elements="1056" coveredelements="508" complexity="0" loc="568" ncloc="568" packages="6" files="12" classes="12"/>
2
+ <coverage generated="1762240835738" clover="3.2.0">
3
+ <project timestamp="1762240835738" name="All files">
4
+ <metrics statements="569" coveredstatements="326" conditionals="393" coveredconditionals="134" methods="95" coveredmethods="49" elements="1057" coveredelements="509" complexity="0" loc="569" ncloc="569" 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,88 +66,89 @@
66
66
  </file>
67
67
  </package>
68
68
  <package name="src.api">
69
- <metrics statements="326" coveredstatements="277" conditionals="181" coveredconditionals="127" methods="49" coveredmethods="46"/>
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="79" coveredstatements="71" conditionals="38" coveredconditionals="31" methods="13" coveredmethods="13"/>
72
- <line num="22" count="2" type="stmt"/>
73
- <line num="23" count="1" type="stmt"/>
71
+ <metrics statements="80" coveredstatements="72" conditionals="38" coveredconditionals="31" methods="13" coveredmethods="13"/>
72
+ <line num="23" count="2" type="stmt"/>
74
73
  <line num="24" count="1" type="stmt"/>
75
- <line num="29" count="1" type="stmt"/>
76
- <line num="30" count="1" type="cond" truecount="3" falsecount="1"/>
77
- <line num="31" count="0" type="stmt"/>
78
- <line num="38" count="1" type="stmt"/>
79
- <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
80
- <line num="42" count="0" type="stmt"/>
81
- <line num="44" count="0" type="stmt"/>
82
- <line num="48" count="2" type="stmt"/>
83
- <line num="49" count="1" type="stmt"/>
84
- <line num="63" count="2" type="stmt"/>
85
- <line num="64" count="3" 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"/>
81
+ <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"/>
86
85
  <line num="65" count="3" type="stmt"/>
87
- <line num="66" count="3" type="cond" truecount="2" falsecount="0"/>
88
- <line num="67" count="1" type="stmt"/>
89
- <line num="69" count="2" type="cond" truecount="2" falsecount="0"/>
90
- <line num="70" count="1" type="stmt"/>
91
- <line num="73" count="1" type="stmt"/>
92
- <line num="85" count="2" type="cond" truecount="0" falsecount="1"/>
93
- <line num="86" count="1" 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"/>
94
93
  <line num="87" count="1" type="stmt"/>
95
- <line num="92" count="1" type="stmt"/>
96
- <line num="93" count="1" type="stmt"/>
94
+ <line num="88" count="1" type="stmt"/>
95
+ <line num="89" count="1" type="stmt"/>
96
+ <line num="90" count="1" type="stmt"/>
97
97
  <line num="95" count="1" type="stmt"/>
98
- <line num="98" count="2" type="stmt"/>
99
- <line num="99" count="1" type="stmt"/>
100
- <line num="100" count="1" type="stmt"/>
101
- <line num="106" count="1" type="stmt"/>
102
- <line num="108" count="0" type="cond" truecount="0" falsecount="2"/>
103
- <line num="109" count="0" type="stmt"/>
98
+ <line num="97" count="1" type="stmt"/>
99
+ <line num="100" count="2" type="stmt"/>
100
+ <line num="101" count="1" type="stmt"/>
101
+ <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
104
  <line num="111" count="0" type="stmt"/>
105
- <line num="115" count="2" type="stmt"/>
106
- <line num="116" count="1" type="stmt"/>
107
- <line num="129" count="2" type="stmt"/>
108
- <line num="130" count="3" type="stmt"/>
109
- <line num="131" count="3" type="cond" truecount="2" falsecount="0"/>
110
- <line num="132" count="1" type="stmt"/>
111
- <line num="134" count="2" type="cond" truecount="2" falsecount="0"/>
112
- <line num="135" count="1" type="stmt"/>
113
- <line num="138" count="1" type="stmt"/>
114
- <line num="145" count="2" type="stmt"/>
115
- <line num="146" count="2" 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"/>
116
115
  <line num="147" count="2" type="stmt"/>
117
- <line num="153" count="1" type="stmt"/>
118
- <line num="155" count="1" type="cond" truecount="1" falsecount="1"/>
119
- <line num="156" count="0" type="stmt"/>
120
- <line num="158" count="1" type="stmt"/>
121
- <line num="162" count="2" type="stmt"/>
122
- <line num="163" count="1" type="stmt"/>
123
- <line num="178" count="2" type="stmt"/>
124
- <line num="179" count="7" type="cond" truecount="4" falsecount="0"/>
125
- <line num="180" count="3" type="stmt"/>
126
- <line num="184" count="4" 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"/>
121
+ <line num="160" count="1" type="stmt"/>
122
+ <line num="164" count="2" type="stmt"/>
123
+ <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
127
  <line num="186" count="4" type="stmt"/>
128
- <line num="187" count="4" type="cond" truecount="2" falsecount="0"/>
129
- <line num="188" count="2" type="stmt"/>
130
- <line num="190" count="2" type="cond" truecount="2" falsecount="0"/>
131
- <line num="191" count="1" type="stmt"/>
132
- <line num="194" count="1" type="stmt"/>
133
- <line num="201" count="2" type="stmt"/>
134
- <line num="202" count="3" type="stmt"/>
135
- <line num="203" count="3" type="stmt"/>
136
- <line num="209" count="1" type="stmt"/>
137
- <line num="211" count="2" type="cond" truecount="2" falsecount="0"/>
138
- <line num="212" count="1" 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
139
  <line num="214" count="1" type="stmt"/>
140
- <line num="218" count="2" type="stmt"/>
141
- <line num="219" count="1" type="stmt"/>
142
- <line num="233" count="2" type="stmt"/>
143
- <line num="234" count="8" type="cond" truecount="2" falsecount="0"/>
144
- <line num="239" count="3" type="stmt"/>
145
- <line num="244" count="5" type="stmt"/>
146
- <line num="245" count="5" type="cond" truecount="2" falsecount="0"/>
147
- <line num="246" count="3" type="stmt"/>
148
- <line num="248" count="2" type="cond" truecount="2" falsecount="0"/>
149
- <line num="249" count="1" type="stmt"/>
150
- <line num="252" count="1" type="stmt"/>
140
+ <line num="216" count="1" type="stmt"/>
141
+ <line num="220" count="2" type="stmt"/>
142
+ <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"/>
151
152
  </file>
152
153
  <file name="faceLiveness.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/faceLiveness.js">
153
154
  <metrics statements="46" coveredstatements="44" conditionals="21" coveredconditionals="19" methods="6" coveredmethods="6"/>
@@ -379,7 +380,7 @@
379
380
  </file>
380
381
  <file name="users.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/users.js">
381
382
  <metrics statements="28" coveredstatements="14" conditionals="29" coveredconditionals="11" methods="3" coveredmethods="1"/>
382
- <line num="27" count="1" type="stmt"/>
383
+ <line num="27" count="2" type="stmt"/>
383
384
  <line num="28" count="5" type="stmt"/>
384
385
  <line num="30" count="5" type="cond" truecount="4" falsecount="0"/>
385
386
  <line num="31" count="1" type="stmt"/>
@@ -392,7 +393,7 @@
392
393
  <line num="63" count="3" type="cond" truecount="2" falsecount="0"/>
393
394
  <line num="64" count="2" type="stmt"/>
394
395
  <line num="66" count="1" type="stmt"/>
395
- <line num="92" count="1" type="stmt"/>
396
+ <line num="92" count="2" type="stmt"/>
396
397
  <line num="93" count="0" type="stmt"/>
397
398
  <line num="94" count="0" type="stmt"/>
398
399
  <line num="95" count="0" type="stmt"/>