dcl-catalyst-client 14.0.9 → 15.0.1

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 (39) hide show
  1. package/.github/dependabot.yml +2 -0
  2. package/.github/workflows/build-and-publish.yml +23 -0
  3. package/coverage/clover.xml +298 -274
  4. package/coverage/coverage-final.json +14 -13
  5. package/coverage/lcov-report/favicon.png +0 -0
  6. package/coverage/lcov-report/index.html +29 -29
  7. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  8. package/coverage/lcov.info +532 -476
  9. package/dist/CatalystClient.d.ts +5 -5
  10. package/dist/CatalystClient.js +3 -6
  11. package/dist/CatalystClient.js.map +1 -1
  12. package/dist/ContentAPI.d.ts +3 -4
  13. package/dist/ContentClient.d.ts +3 -3
  14. package/dist/ContentClient.js +22 -28
  15. package/dist/ContentClient.js.map +1 -1
  16. package/dist/LambdasAPI.d.ts +8 -8
  17. package/dist/LambdasClient.d.ts +4 -3
  18. package/dist/LambdasClient.js +20 -22
  19. package/dist/LambdasClient.js.map +1 -1
  20. package/dist/index.js +5 -1
  21. package/dist/index.js.map +1 -1
  22. package/dist/utils/CatalystClientBuilder.js +1 -1
  23. package/dist/utils/DeploymentBuilder.d.ts +2 -2
  24. package/dist/utils/DeploymentBuilder.js +5 -1
  25. package/dist/utils/DeploymentBuilder.js.map +1 -1
  26. package/dist/utils/Helper.d.ts +8 -7
  27. package/dist/utils/Helper.js +19 -7
  28. package/dist/utils/Helper.js.map +1 -1
  29. package/dist/utils/catalystList.d.ts +1 -1
  30. package/dist/utils/catalystList.js +1 -1
  31. package/dist/utils/fetcher.d.ts +11 -0
  32. package/dist/utils/fetcher.js +57 -0
  33. package/dist/utils/fetcher.js.map +1 -0
  34. package/dist/utils/index.d.ts +2 -1
  35. package/dist/utils/index.js +7 -4
  36. package/dist/utils/index.js.map +1 -1
  37. package/package.json +6 -4
  38. package/.github/workflows/build-and-test.yml +0 -30
  39. package/.github/workflows/release-and-publish.yml +0 -59
@@ -1,171 +1,174 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1674660049387" clover="3.2.0">
3
- <project timestamp="1674660049387" name="All files">
4
- <metrics statements="461" coveredstatements="366" conditionals="188" coveredconditionals="113" methods="134" coveredmethods="92" elements="783" coveredelements="571" complexity="0" loc="461" ncloc="461" packages="3" files="14" classes="14"/>
2
+ <coverage generated="1681484153611" clover="3.2.0">
3
+ <project timestamp="1681484153611" name="All files">
4
+ <metrics statements="482" coveredstatements="388" conditionals="200" coveredconditionals="120" methods="141" coveredmethods="100" elements="823" coveredelements="608" complexity="0" loc="482" ncloc="482" packages="3" files="15" classes="15"/>
5
5
  <package name="src">
6
- <metrics statements="132" coveredstatements="97" conditionals="56" coveredconditionals="37" methods="55" coveredmethods="27"/>
6
+ <metrics statements="135" coveredstatements="104" conditionals="54" coveredconditionals="35" methods="58" coveredmethods="31"/>
7
7
  <file name="CatalystClient.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/CatalystClient.ts">
8
- <metrics statements="32" coveredstatements="6" conditionals="3" coveredconditionals="0" methods="23" coveredmethods="0"/>
9
- <line num="2" count="3" type="stmt"/>
10
- <line num="4" count="3" type="stmt"/>
11
- <line num="6" count="3" type="stmt"/>
12
- <line num="7" count="3" type="stmt"/>
13
- <line num="9" count="3" type="stmt"/>
14
- <line num="16" count="3" type="stmt"/>
15
- <line num="22" count="0" type="stmt"/>
16
- <line num="23" count="0" type="cond" truecount="0" falsecount="2"/>
17
- <line num="28" count="0" type="stmt"/>
18
- <line num="33" count="0" type="stmt"/>
19
- <line num="40" count="0" type="stmt"/>
20
- <line num="44" count="0" type="stmt"/>
21
- <line num="49" count="0" type="stmt"/>
22
- <line num="53" count="0" type="stmt"/>
23
- <line num="57" count="0" type="stmt"/>
24
- <line num="61" count="0" type="stmt"/>
25
- <line num="65" count="0" type="stmt"/>
26
- <line num="69" count="0" type="stmt"/>
27
- <line num="73" count="0" type="stmt"/>
28
- <line num="77" count="0" type="stmt"/>
29
- <line num="85" count="0" type="stmt"/>
30
- <line num="94" count="0" type="stmt"/>
31
- <line num="98" count="0" type="stmt"/>
32
- <line num="106" count="0" type="stmt"/>
33
- <line num="115" count="0" type="stmt"/>
34
- <line num="119" count="0" type="stmt"/>
35
- <line num="123" count="0" type="stmt"/>
36
- <line num="127" count="0" type="stmt"/>
37
- <line num="131" count="0" type="stmt"/>
38
- <line num="135" count="0" type="stmt"/>
39
- <line num="139" count="0" type="stmt"/>
40
- <line num="143" count="0" type="stmt"/>
8
+ <metrics statements="31" coveredstatements="9" conditionals="3" coveredconditionals="1" methods="23" coveredmethods="1"/>
9
+ <line num="4" count="5" type="stmt"/>
10
+ <line num="6" count="5" type="stmt"/>
11
+ <line num="7" count="5" type="stmt"/>
12
+ <line num="17" count="5" type="stmt"/>
13
+ <line num="25" count="5" type="stmt"/>
14
+ <line num="31" count="1" type="stmt"/>
15
+ <line num="32" count="1" type="cond" truecount="1" falsecount="1"/>
16
+ <line num="35" count="1" type="stmt"/>
17
+ <line num="40" count="1" type="stmt"/>
18
+ <line num="47" count="0" type="stmt"/>
19
+ <line num="51" count="0" type="stmt"/>
20
+ <line num="56" count="0" type="stmt"/>
21
+ <line num="60" count="0" type="stmt"/>
22
+ <line num="64" count="0" type="stmt"/>
23
+ <line num="68" count="0" type="stmt"/>
24
+ <line num="72" count="0" type="stmt"/>
25
+ <line num="76" count="0" type="stmt"/>
26
+ <line num="80" count="0" type="stmt"/>
27
+ <line num="84" count="0" type="stmt"/>
28
+ <line num="92" count="0" type="stmt"/>
29
+ <line num="101" count="0" type="stmt"/>
30
+ <line num="105" count="0" type="stmt"/>
31
+ <line num="113" count="0" type="stmt"/>
32
+ <line num="122" count="0" type="stmt"/>
33
+ <line num="126" count="0" type="stmt"/>
34
+ <line num="130" count="0" type="stmt"/>
35
+ <line num="134" count="0" type="stmt"/>
36
+ <line num="138" count="0" type="stmt"/>
37
+ <line num="142" count="0" type="stmt"/>
38
+ <line num="146" count="0" type="stmt"/>
39
+ <line num="150" count="0" type="stmt"/>
41
40
  </file>
42
41
  <file name="CatalystsList.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/CatalystsList.ts">
43
42
  <metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
44
- <line num="2" count="4" type="stmt"/>
43
+ <line num="2" count="6" type="stmt"/>
45
44
  </file>
46
45
  <file name="ContentClient.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/ContentClient.ts">
47
- <metrics statements="65" coveredstatements="56" conditionals="46" coveredconditionals="31" methods="20" coveredmethods="15"/>
48
- <line num="1" count="4" type="stmt"/>
49
- <line num="3" count="4" type="stmt"/>
50
- <line num="4" count="4" type="stmt"/>
51
- <line num="6" count="4" type="stmt"/>
52
- <line num="7" count="4" type="stmt"/>
53
- <line num="15" count="4" type="stmt"/>
54
- <line num="21" count="15" type="stmt"/>
55
- <line num="22" count="15" type="cond" truecount="2" falsecount="0"/>
56
- <line num="27" count="15" type="cond" truecount="2" falsecount="0"/>
57
- <line num="37" count="1" type="cond" truecount="1" falsecount="1"/>
58
- <line num="38" count="1" type="stmt"/>
59
- <line num="55" count="1" type="cond" truecount="1" falsecount="1"/>
60
- <line num="56" count="1" type="stmt"/>
61
- <line num="67" count="2" type="stmt"/>
46
+ <metrics statements="69" coveredstatements="60" conditionals="44" coveredconditionals="28" methods="20" coveredmethods="15"/>
47
+ <line num="1" count="6" type="stmt"/>
48
+ <line num="3" count="6" type="stmt"/>
49
+ <line num="4" count="6" type="stmt"/>
50
+ <line num="6" count="6" type="stmt"/>
51
+ <line num="7" count="6" type="stmt"/>
52
+ <line num="8" count="6" type="stmt"/>
53
+ <line num="16" count="6" type="stmt"/>
54
+ <line num="22" count="17" type="stmt"/>
55
+ <line num="23" count="17" type="cond" truecount="2" falsecount="0"/>
56
+ <line num="24" count="17" type="cond" truecount="2" falsecount="0"/>
57
+ <line num="36" count="1" type="cond" truecount="1" falsecount="1"/>
58
+ <line num="37" count="1" type="stmt"/>
59
+ <line num="54" count="1" type="cond" truecount="1" falsecount="1"/>
60
+ <line num="55" count="1" type="stmt"/>
61
+ <line num="66" count="2" type="stmt"/>
62
+ <line num="68" count="2" type="stmt"/>
62
63
  <line num="69" count="2" type="stmt"/>
63
64
  <line num="70" count="2" type="stmt"/>
64
- <line num="71" count="2" type="stmt"/>
65
+ <line num="72" count="2" type="stmt"/>
65
66
  <line num="73" count="2" type="stmt"/>
66
- <line num="74" count="2" type="stmt"/>
67
- <line num="75" count="4" type="cond" truecount="2" falsecount="1"/>
68
- <line num="76" count="4" type="cond" truecount="1" falsecount="1"/>
69
- <line num="78" count="4" type="cond" truecount="2" falsecount="0"/>
70
- <line num="81" count="0" type="stmt"/>
71
- <line num="86" count="2" type="stmt"/>
72
- <line num="90" count="0" type="stmt"/>
73
- <line num="92" count="0" type="cond" truecount="0" falsecount="2"/>
67
+ <line num="74" count="4" type="cond" truecount="2" falsecount="1"/>
68
+ <line num="75" count="4" type="cond" truecount="1" falsecount="1"/>
69
+ <line num="77" count="4" type="cond" truecount="2" falsecount="0"/>
70
+ <line num="80" count="0" type="stmt"/>
71
+ <line num="85" count="2" type="stmt"/>
72
+ <line num="89" count="0" type="stmt"/>
73
+ <line num="91" count="0" type="cond" truecount="0" falsecount="2"/>
74
74
  <line num="96" count="0" type="stmt"/>
75
- <line num="100" count="0" type="stmt"/>
76
- <line num="104" count="1" type="stmt"/>
77
- <line num="106" count="1" type="stmt"/>
75
+ <line num="99" count="0" type="stmt"/>
76
+ <line num="103" count="1" type="stmt"/>
77
+ <line num="105" count="1" type="cond" truecount="1" falsecount="1"/>
78
+ <line num="110" count="1" type="stmt"/>
78
79
  <line num="114" count="3" type="cond" truecount="1" falsecount="0"/>
79
80
  <line num="115" count="1" type="stmt"/>
80
- <line num="118" count="2" type="stmt"/>
81
- <line num="132" count="4" type="cond" truecount="1" falsecount="0"/>
82
- <line num="133" count="1" type="stmt"/>
83
- <line num="136" count="3" type="stmt"/>
84
- <line num="150" count="2" type="stmt"/>
85
- <line num="151" count="2" type="cond" truecount="1" falsecount="0"/>
86
- <line num="152" count="1" type="stmt"/>
87
- <line num="154" count="1" type="stmt"/>
88
- <line num="158" count="2" type="cond" truecount="2" falsecount="2"/>
89
- <line num="159" count="2" type="cond" truecount="4" falsecount="2"/>
90
- <line num="161" count="2" type="stmt"/>
91
- <line num="163" count="4" type="stmt"/>
92
- <line num="164" count="4" type="cond" truecount="2" falsecount="0"/>
93
- <line num="168" count="4" type="cond" truecount="1" falsecount="0"/>
94
- <line num="169" count="1" type="stmt"/>
95
- <line num="171" count="3" type="stmt"/>
96
- <line num="179" count="4" type="cond" truecount="1" falsecount="0"/>
97
- <line num="180" count="1" type="stmt"/>
98
- <line num="183" count="3" type="stmt"/>
99
- <line num="194" count="0" type="stmt"/>
100
- <line num="199" count="2" type="stmt"/>
101
- <line num="201" count="2" type="stmt"/>
102
- <line num="203" count="2" type="stmt"/>
103
- <line num="225" count="4" type="stmt"/>
104
- <line num="226" count="4" type="stmt"/>
105
- <line num="227" count="4" type="stmt"/>
106
- <line num="233" count="4" type="stmt"/>
107
- <line num="235" count="12" type="stmt"/>
108
- <line num="238" count="0" type="stmt"/>
81
+ <line num="118" count="2" type="cond" truecount="1" falsecount="1"/>
82
+ <line num="124" count="2" type="stmt"/>
83
+ <line num="128" count="4" type="cond" truecount="1" falsecount="0"/>
84
+ <line num="129" count="1" type="stmt"/>
85
+ <line num="132" count="3" type="cond" truecount="1" falsecount="1"/>
86
+ <line num="138" count="3" type="stmt"/>
87
+ <line num="142" count="2" type="stmt"/>
88
+ <line num="143" count="2" type="cond" truecount="1" falsecount="0"/>
89
+ <line num="144" count="1" type="stmt"/>
90
+ <line num="146" count="1" type="stmt"/>
91
+ <line num="150" count="2" type="cond" truecount="2" falsecount="2"/>
92
+ <line num="151" count="2" type="cond" truecount="4" falsecount="2"/>
93
+ <line num="153" count="2" type="stmt"/>
94
+ <line num="155" count="4" type="stmt"/>
95
+ <line num="156" count="4" type="cond" truecount="2" falsecount="0"/>
96
+ <line num="160" count="4" type="cond" truecount="1" falsecount="0"/>
97
+ <line num="161" count="1" type="stmt"/>
98
+ <line num="163" count="3" type="stmt"/>
99
+ <line num="171" count="4" type="cond" truecount="1" falsecount="0"/>
100
+ <line num="172" count="1" type="stmt"/>
101
+ <line num="175" count="3" type="stmt"/>
102
+ <line num="186" count="0" type="stmt"/>
103
+ <line num="191" count="2" type="stmt"/>
104
+ <line num="193" count="2" type="stmt"/>
105
+ <line num="195" count="2" type="stmt"/>
106
+ <line num="217" count="6" type="stmt"/>
107
+ <line num="218" count="6" type="stmt"/>
108
+ <line num="219" count="6" type="stmt"/>
109
+ <line num="225" count="6" type="stmt"/>
110
+ <line num="227" count="18" type="stmt"/>
111
+ <line num="230" count="0" type="stmt"/>
112
+ <line num="234" count="0" type="stmt"/>
113
+ <line num="239" count="2" type="cond" truecount="1" falsecount="0"/>
114
+ <line num="240" count="2" type="stmt"/>
109
115
  <line num="242" count="0" type="stmt"/>
110
- <line num="247" count="2" type="cond" truecount="1" falsecount="0"/>
111
- <line num="248" count="2" type="stmt"/>
112
- <line num="250" count="0" type="stmt"/>
113
116
  </file>
114
117
  <file name="LambdasClient.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/LambdasClient.ts">
115
- <metrics statements="27" coveredstatements="27" conditionals="7" coveredconditionals="6" methods="12" coveredmethods="12"/>
116
- <line num="1" count="3" type="stmt"/>
117
- <line num="11" count="3" type="stmt"/>
118
- <line num="24" count="3" type="stmt"/>
119
- <line num="29" count="16" type="stmt"/>
120
- <line num="30" count="16" type="cond" truecount="2" falsecount="0"/>
121
- <line num="38" count="2" type="cond" truecount="1" falsecount="0"/>
122
- <line num="39" count="1" type="stmt"/>
123
- <line num="42" count="1" type="cond" truecount="1" falsecount="1"/>
124
- <line num="48" count="1" type="stmt"/>
125
- <line num="52" count="2" type="stmt"/>
126
- <line num="53" count="2" type="cond" truecount="1" falsecount="0"/>
127
- <line num="54" count="1" type="stmt"/>
128
- <line num="57" count="1" type="stmt"/>
129
- <line num="73" count="2" type="stmt"/>
130
- <line num="88" count="1" type="stmt"/>
131
- <line num="92" count="1" type="stmt"/>
132
- <line num="102" count="2" type="stmt"/>
133
- <line num="103" count="2" type="cond" truecount="1" falsecount="0"/>
134
- <line num="104" count="1" type="stmt"/>
135
- <line num="107" count="1" type="stmt"/>
136
- <line num="123" count="2" type="stmt"/>
137
- <line num="138" count="1" type="stmt"/>
138
- <line num="142" count="1" type="stmt"/>
139
- <line num="152" count="1" type="stmt"/>
140
- <line num="156" count="1" type="stmt"/>
141
- <line num="160" count="1" type="stmt"/>
142
- <line num="164" count="1" type="stmt"/>
118
+ <metrics statements="27" coveredstatements="27" conditionals="7" coveredconditionals="6" methods="15" coveredmethods="15"/>
119
+ <line num="11" count="5" type="stmt"/>
120
+ <line num="20" count="5" type="stmt"/>
121
+ <line num="27" count="5" type="stmt"/>
122
+ <line num="32" count="18" type="stmt"/>
123
+ <line num="33" count="18" type="cond" truecount="2" falsecount="0"/>
124
+ <line num="39" count="2" type="cond" truecount="1" falsecount="0"/>
125
+ <line num="40" count="1" type="stmt"/>
126
+ <line num="43" count="1" type="cond" truecount="1" falsecount="1"/>
127
+ <line num="49" count="1" type="stmt"/>
128
+ <line num="53" count="2" type="stmt"/>
129
+ <line num="54" count="2" type="cond" truecount="1" falsecount="0"/>
130
+ <line num="55" count="1" type="stmt"/>
131
+ <line num="58" count="1" type="stmt"/>
132
+ <line num="74" count="2" type="stmt"/>
133
+ <line num="89" count="1" type="stmt"/>
134
+ <line num="93" count="1" type="stmt"/>
135
+ <line num="103" count="2" type="stmt"/>
136
+ <line num="104" count="2" type="cond" truecount="1" falsecount="0"/>
137
+ <line num="105" count="1" type="stmt"/>
138
+ <line num="108" count="1" type="stmt"/>
139
+ <line num="124" count="2" type="stmt"/>
140
+ <line num="139" count="1" type="stmt"/>
141
+ <line num="143" count="1" type="stmt"/>
142
+ <line num="153" count="1" type="stmt"/>
143
+ <line num="157" count="1" type="stmt"/>
144
+ <line num="161" count="1" type="stmt"/>
145
+ <line num="165" count="1" type="stmt"/>
143
146
  </file>
144
147
  <file name="index.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/index.ts">
145
148
  <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
146
- <line num="1" count="2" type="stmt"/>
147
- <line num="2" count="2" type="stmt"/>
148
- <line num="3" count="2" type="stmt"/>
149
- <line num="4" count="2" type="stmt"/>
150
- <line num="5" count="2" type="stmt"/>
151
- <line num="6" count="2" type="stmt"/>
152
- <line num="7" count="2" type="stmt"/>
149
+ <line num="1" count="3" type="stmt"/>
150
+ <line num="2" count="3" type="stmt"/>
151
+ <line num="3" count="3" type="stmt"/>
152
+ <line num="4" count="3" type="stmt"/>
153
+ <line num="5" count="3" type="stmt"/>
154
+ <line num="6" count="3" type="stmt"/>
155
+ <line num="7" count="3" type="stmt"/>
153
156
  </file>
154
157
  </package>
155
158
  <package name="src.utils">
156
- <metrics statements="281" coveredstatements="221" conditionals="132" coveredconditionals="76" methods="68" coveredmethods="54"/>
159
+ <metrics statements="299" coveredstatements="236" conditionals="146" coveredconditionals="85" methods="72" coveredmethods="58"/>
157
160
  <file name="CatalystClientBuilder.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/utils/CatalystClientBuilder.ts">
158
161
  <metrics statements="27" coveredstatements="25" conditionals="3" coveredconditionals="3" methods="5" coveredmethods="5"/>
159
- <line num="1" count="4" type="stmt"/>
160
- <line num="2" count="4" type="stmt"/>
161
- <line num="3" count="4" type="stmt"/>
162
- <line num="4" count="4" type="stmt"/>
163
- <line num="5" count="4" type="stmt"/>
164
- <line num="6" count="4" type="stmt"/>
165
- <line num="8" count="4" type="stmt"/>
162
+ <line num="1" count="6" type="stmt"/>
163
+ <line num="2" count="6" type="stmt"/>
164
+ <line num="3" count="6" type="stmt"/>
165
+ <line num="4" count="6" type="stmt"/>
166
+ <line num="5" count="6" type="stmt"/>
167
+ <line num="6" count="6" type="stmt"/>
168
+ <line num="8" count="6" type="stmt"/>
166
169
  <line num="11" count="1" type="stmt"/>
167
170
  <line num="14" count="1" type="stmt"/>
168
- <line num="20" count="4" type="stmt"/>
171
+ <line num="20" count="6" type="stmt"/>
169
172
  <line num="21" count="2" type="stmt"/>
170
173
  <line num="26" count="2" type="cond" truecount="2" falsecount="0"/>
171
174
  <line num="27" count="1" type="stmt"/>
@@ -186,11 +189,11 @@
186
189
  </file>
187
190
  <file name="DeploymentBuilder.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/utils/DeploymentBuilder.ts">
188
191
  <metrics statements="63" coveredstatements="34" conditionals="55" coveredconditionals="27" methods="16" coveredmethods="8"/>
189
- <line num="1" count="5" type="stmt"/>
190
- <line num="2" count="5" type="stmt"/>
191
- <line num="3" count="5" type="stmt"/>
192
- <line num="4" count="5" type="stmt"/>
193
- <line num="6" count="5" type="stmt"/>
192
+ <line num="1" count="7" type="stmt"/>
193
+ <line num="2" count="7" type="stmt"/>
194
+ <line num="3" count="7" type="stmt"/>
195
+ <line num="4" count="7" type="stmt"/>
196
+ <line num="6" count="7" type="stmt"/>
194
197
  <line num="24" count="7" type="cond" truecount="1" falsecount="0"/>
195
198
  <line num="26" count="6" type="stmt"/>
196
199
  <line num="37" count="6" type="cond" truecount="1" falsecount="0"/>
@@ -252,13 +255,13 @@
252
255
  </file>
253
256
  <file name="Environment.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/utils/Environment.ts">
254
257
  <metrics statements="1" coveredstatements="1" conditionals="2" coveredconditionals="1" methods="0" coveredmethods="0"/>
255
- <line num="1" count="5" type="cond" truecount="1" falsecount="1"/>
258
+ <line num="1" count="6" type="cond" truecount="1" falsecount="1"/>
256
259
  </file>
257
260
  <file name="Helper.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/utils/Helper.ts">
258
- <metrics statements="142" coveredstatements="123" conditionals="57" coveredconditionals="35" methods="35" coveredmethods="33"/>
259
- <line num="1" count="5" type="stmt"/>
260
- <line num="3" count="5" type="stmt"/>
261
- <line num="5" count="5" type="cond" truecount="0" falsecount="1"/>
261
+ <metrics statements="145" coveredstatements="126" conditionals="65" coveredconditionals="41" methods="36" coveredmethods="34"/>
262
+ <line num="2" count="6" type="stmt"/>
263
+ <line num="3" count="6" type="stmt"/>
264
+ <line num="5" count="6" type="cond" truecount="0" falsecount="1"/>
262
265
  <line num="6" count="2" type="stmt"/>
263
266
  <line num="7" count="0" type="cond" truecount="0" falsecount="4"/>
264
267
  <line num="8" count="0" type="stmt"/>
@@ -274,138 +277,141 @@
274
277
  <line num="20" count="0" type="stmt"/>
275
278
  <line num="23" count="2" type="stmt"/>
276
279
  <line num="27" count="19" type="stmt"/>
277
- <line num="33" count="5" type="stmt"/>
278
- <line num="34" count="5" type="stmt"/>
280
+ <line num="33" count="6" type="stmt"/>
281
+ <line num="34" count="6" type="stmt"/>
279
282
  <line num="43" count="9" type="cond" truecount="1" falsecount="1"/>
280
283
  <line num="46" count="9" type="stmt"/>
281
284
  <line num="48" count="9" type="stmt"/>
282
285
  <line num="49" count="9" type="stmt"/>
283
286
  <line num="51" count="9" type="stmt"/>
284
- <line num="54" count="10" type="cond" truecount="2" falsecount="0"/>
285
- <line num="58" count="9" type="stmt"/>
286
- <line num="61" count="5" type="stmt"/>
287
- <line num="66" count="5" type="stmt"/>
288
- <line num="76" count="3" type="cond" truecount="1" falsecount="1"/>
289
- <line num="79" count="3" type="stmt"/>
290
- <line num="82" count="3" type="stmt"/>
291
- <line num="85" count="3" type="stmt"/>
292
- <line num="86" count="3" type="stmt"/>
293
- <line num="87" count="3" type="cond" truecount="2" falsecount="0"/>
287
+ <line num="56" count="10" type="cond" truecount="2" falsecount="0"/>
288
+ <line num="60" count="9" type="stmt"/>
289
+ <line num="63" count="6" type="stmt"/>
290
+ <line num="68" count="6" type="stmt"/>
291
+ <line num="78" count="3" type="cond" truecount="1" falsecount="1"/>
292
+ <line num="81" count="3" type="stmt"/>
293
+ <line num="84" count="3" type="stmt"/>
294
+ <line num="87" count="3" type="stmt"/>
294
295
  <line num="88" count="3" type="stmt"/>
295
296
  <line num="89" count="3" type="cond" truecount="2" falsecount="0"/>
296
- <line num="90" count="4" type="stmt"/>
297
- <line num="93" count="4" type="stmt"/>
298
- <line num="94" count="4" type="stmt"/>
299
- <line num="95" count="6" type="stmt"/>
297
+ <line num="90" count="3" type="stmt"/>
298
+ <line num="91" count="3" type="cond" truecount="2" falsecount="0"/>
299
+ <line num="92" count="4" type="stmt"/>
300
+ <line num="95" count="4" type="stmt"/>
300
301
  <line num="96" count="4" type="stmt"/>
301
- <line num="97" count="4" type="cond" truecount="2" falsecount="0"/>
302
- <line num="99" count="0" type="stmt"/>
303
- <line num="104" count="3" type="stmt"/>
304
- <line num="107" count="5" type="stmt"/>
305
- <line num="114" count="14" type="cond" truecount="2" falsecount="0"/>
306
- <line num="117" count="14" type="cond" truecount="0" falsecount="1"/>
307
- <line num="118" count="0" type="stmt"/>
308
- <line num="122" count="19" type="stmt"/>
309
- <line num="128" count="14" type="stmt"/>
310
- <line num="129" count="5" type="stmt"/>
311
- <line num="133" count="14" type="stmt"/>
312
- <line num="134" count="14" type="stmt"/>
313
- <line num="135" count="5" type="stmt"/>
314
- <line num="136" count="5" type="cond" truecount="0" falsecount="1"/>
315
- <line num="137" count="0" type="stmt"/>
316
- <line num="141" count="5" type="stmt"/>
317
- <line num="145" count="14" type="stmt"/>
318
- <line num="146" count="14" type="stmt"/>
302
+ <line num="97" count="6" type="stmt"/>
303
+ <line num="98" count="4" type="stmt"/>
304
+ <line num="99" count="4" type="cond" truecount="2" falsecount="0"/>
305
+ <line num="101" count="0" type="stmt"/>
306
+ <line num="106" count="3" type="stmt"/>
307
+ <line num="109" count="6" type="stmt"/>
308
+ <line num="116" count="14" type="cond" truecount="2" falsecount="0"/>
309
+ <line num="119" count="14" type="cond" truecount="0" falsecount="1"/>
310
+ <line num="120" count="0" type="stmt"/>
311
+ <line num="124" count="19" type="stmt"/>
312
+ <line num="130" count="14" type="stmt"/>
313
+ <line num="131" count="5" type="stmt"/>
314
+ <line num="135" count="14" type="stmt"/>
315
+ <line num="136" count="14" type="stmt"/>
316
+ <line num="137" count="5" type="stmt"/>
317
+ <line num="138" count="5" type="cond" truecount="0" falsecount="1"/>
318
+ <line num="139" count="0" type="stmt"/>
319
+ <line num="143" count="5" type="stmt"/>
319
320
  <line num="147" count="14" type="stmt"/>
321
+ <line num="148" count="14" type="stmt"/>
320
322
  <line num="149" count="14" type="stmt"/>
321
- <line num="151" count="418" type="cond" truecount="1" falsecount="0"/>
322
- <line num="152" count="2" type="stmt"/>
323
- <line num="153" count="2" type="stmt"/>
324
- <line num="156" count="418" type="stmt"/>
325
- <line num="160" count="14" type="stmt"/>
323
+ <line num="151" count="14" type="stmt"/>
324
+ <line num="153" count="418" type="cond" truecount="1" falsecount="0"/>
325
+ <line num="154" count="2" type="stmt"/>
326
+ <line num="155" count="2" type="stmt"/>
327
+ <line num="158" count="418" type="stmt"/>
326
328
  <line num="162" count="14" type="stmt"/>
327
- <line num="165" count="5" type="stmt"/>
328
- <line num="166" count="14" type="stmt"/>
329
- <line num="167" count="16" type="stmt"/>
330
- <line num="170" count="5" type="stmt"/>
331
- <line num="171" count="6" type="cond" truecount="1" falsecount="0"/>
332
- <line num="172" count="2" type="stmt"/>
333
- <line num="174" count="4" type="stmt"/>
334
- <line num="175" count="9" type="stmt"/>
335
- <line num="177" count="9" type="cond" truecount="2" falsecount="0"/>
336
- <line num="180" count="9" type="cond" truecount="2" falsecount="0"/>
337
- <line num="181" count="7" type="stmt"/>
338
- <line num="182" count="6" type="cond" truecount="2" falsecount="0"/>
339
- <line num="183" count="5" type="stmt"/>
340
- <line num="185" count="1" type="stmt"/>
341
- <line num="189" count="8" type="stmt"/>
329
+ <line num="164" count="14" type="stmt"/>
330
+ <line num="167" count="6" type="stmt"/>
331
+ <line num="168" count="14" type="stmt"/>
332
+ <line num="169" count="16" type="stmt"/>
333
+ <line num="172" count="6" type="stmt"/>
334
+ <line num="173" count="6" type="cond" truecount="1" falsecount="0"/>
335
+ <line num="174" count="2" type="stmt"/>
336
+ <line num="176" count="4" type="stmt"/>
337
+ <line num="177" count="9" type="stmt"/>
338
+ <line num="179" count="9" type="cond" truecount="2" falsecount="0"/>
339
+ <line num="182" count="9" type="cond" truecount="2" falsecount="0"/>
340
+ <line num="183" count="7" type="stmt"/>
341
+ <line num="184" count="6" type="cond" truecount="2" falsecount="0"/>
342
+ <line num="185" count="5" type="stmt"/>
343
+ <line num="187" count="1" type="stmt"/>
342
344
  <line num="191" count="8" type="stmt"/>
343
- <line num="192" count="3" type="stmt"/>
344
- <line num="195" count="5" type="stmt"/>
345
- <line num="196" count="8" type="cond" truecount="1" falsecount="1"/>
346
- <line num="199" count="5" type="stmt"/>
347
- <line num="200" count="6" type="cond" truecount="1" falsecount="1"/>
348
- <line num="206" count="13" type="cond" truecount="3" falsecount="0"/>
349
- <line num="210" count="5" type="stmt"/>
350
- <line num="212" count="33" type="stmt"/>
351
- <line num="215" count="33" type="cond" truecount="3" falsecount="0"/>
352
- <line num="216" count="1" type="stmt"/>
353
- <line num="220" count="33" type="cond" truecount="1" falsecount="0"/>
354
- <line num="221" count="1" type="stmt"/>
355
- <line num="224" count="33" type="stmt"/>
356
- <line num="248" count="5" type="stmt"/>
357
- <line num="252" count="30" type="stmt"/>
358
- <line num="253" count="30" type="cond" truecount="0" falsecount="1"/>
359
- <line num="254" count="30" type="cond" truecount="1" falsecount="0"/>
360
- <line num="256" count="30" type="stmt"/>
361
- <line num="260" count="836" type="stmt"/>
362
- <line num="264" count="418" type="cond" truecount="0" falsecount="1"/>
363
- <line num="265" count="0" type="stmt"/>
364
- <line num="267" count="418" type="stmt"/>
365
- <line num="268" count="418" type="cond" truecount="2" falsecount="0"/>
366
- <line num="269" count="418" type="stmt"/>
367
- <line num="270" count="418" type="stmt"/>
368
- <line num="271" count="418" type="stmt"/>
369
- <line num="272" count="418" type="stmt"/>
370
- <line num="276" count="10" type="stmt"/>
371
- <line num="277" count="10" type="stmt"/>
372
- <line num="278" count="10" type="stmt"/>
373
- <line num="283" count="5" type="cond" truecount="0" falsecount="1"/>
374
- <line num="284" count="0" type="stmt"/>
375
- <line num="286" count="5" type="stmt"/>
376
- <line num="288" count="6" type="stmt"/>
377
- <line num="290" count="5" type="stmt"/>
378
- <line num="291" count="5" type="stmt"/>
379
- <line num="296" count="0" type="stmt"/>
380
- <line num="297" count="0" type="stmt"/>
381
- <line num="301" count="16" type="stmt"/>
382
- <line num="302" count="16" type="stmt"/>
383
- <line num="303" count="16" type="stmt"/>
384
- <line num="304" count="22" type="stmt"/>
385
- <line num="305" count="426" type="cond" truecount="2" falsecount="0"/>
386
- <line num="306" count="410" type="stmt"/>
387
- <line num="308" count="16" type="stmt"/>
388
- <line num="309" count="16" type="stmt"/>
389
- <line num="313" count="16" type="stmt"/>
390
- <line num="317" count="45" type="stmt"/>
391
- <line num="318" count="45" type="stmt"/>
392
- <line num="319" count="12" type="cond" truecount="1" falsecount="0"/>
393
- <line num="321" count="12" type="stmt"/>
394
- <line num="324" count="45" type="stmt"/>
395
- <line num="325" count="21" type="stmt"/>
396
- <line num="327" count="45" type="stmt"/>
397
- <line num="331" count="16" type="stmt"/>
398
- <line num="335" count="439" type="stmt"/>
399
- <line num="336" count="439" type="stmt"/>
400
- <line num="340" count="444" type="stmt"/>
345
+ <line num="193" count="8" type="stmt"/>
346
+ <line num="194" count="3" type="stmt"/>
347
+ <line num="197" count="6" type="stmt"/>
348
+ <line num="198" count="16" type="cond" truecount="1" falsecount="1"/>
349
+ <line num="201" count="6" type="stmt"/>
350
+ <line num="202" count="14" type="cond" truecount="1" falsecount="1"/>
351
+ <line num="207" count="6" type="stmt"/>
352
+ <line num="208" count="7" type="stmt"/>
353
+ <line num="213" count="7" type="stmt"/>
354
+ <line num="221" count="13" type="cond" truecount="3" falsecount="0"/>
355
+ <line num="225" count="6" type="stmt"/>
356
+ <line num="227" count="38" type="stmt"/>
357
+ <line num="230" count="38" type="cond" truecount="3" falsecount="0"/>
358
+ <line num="231" count="4" type="stmt"/>
359
+ <line num="235" count="38" type="cond" truecount="1" falsecount="0"/>
360
+ <line num="236" count="1" type="stmt"/>
361
+ <line num="239" count="38" type="stmt"/>
362
+ <line num="263" count="6" type="stmt"/>
363
+ <line num="267" count="30" type="stmt"/>
364
+ <line num="268" count="30" type="cond" truecount="0" falsecount="1"/>
365
+ <line num="269" count="30" type="cond" truecount="1" falsecount="0"/>
366
+ <line num="271" count="30" type="stmt"/>
367
+ <line num="275" count="836" type="stmt"/>
368
+ <line num="279" count="418" type="cond" truecount="0" falsecount="1"/>
369
+ <line num="280" count="0" type="stmt"/>
370
+ <line num="282" count="418" type="stmt"/>
371
+ <line num="283" count="418" type="cond" truecount="2" falsecount="0"/>
372
+ <line num="284" count="418" type="stmt"/>
373
+ <line num="285" count="418" type="stmt"/>
374
+ <line num="286" count="418" type="stmt"/>
375
+ <line num="287" count="418" type="stmt"/>
376
+ <line num="291" count="10" type="stmt"/>
377
+ <line num="292" count="10" type="stmt"/>
378
+ <line num="293" count="10" type="stmt"/>
379
+ <line num="298" count="5" type="cond" truecount="0" falsecount="1"/>
380
+ <line num="299" count="0" type="stmt"/>
381
+ <line num="301" count="5" type="stmt"/>
382
+ <line num="303" count="6" type="stmt"/>
383
+ <line num="305" count="5" type="stmt"/>
384
+ <line num="306" count="5" type="stmt"/>
385
+ <line num="311" count="0" type="stmt"/>
386
+ <line num="312" count="0" type="stmt"/>
387
+ <line num="316" count="16" type="stmt"/>
388
+ <line num="317" count="16" type="stmt"/>
389
+ <line num="318" count="16" type="stmt"/>
390
+ <line num="319" count="22" type="stmt"/>
391
+ <line num="320" count="426" type="cond" truecount="2" falsecount="0"/>
392
+ <line num="321" count="410" type="stmt"/>
393
+ <line num="323" count="16" type="stmt"/>
394
+ <line num="324" count="16" type="stmt"/>
395
+ <line num="328" count="16" type="stmt"/>
396
+ <line num="332" count="45" type="stmt"/>
397
+ <line num="333" count="45" type="stmt"/>
398
+ <line num="334" count="12" type="cond" truecount="1" falsecount="0"/>
399
+ <line num="336" count="12" type="stmt"/>
400
+ <line num="339" count="45" type="stmt"/>
401
+ <line num="340" count="21" type="stmt"/>
402
+ <line num="342" count="45" type="stmt"/>
403
+ <line num="346" count="16" type="stmt"/>
404
+ <line num="350" count="439" type="stmt"/>
405
+ <line num="351" count="439" type="stmt"/>
406
+ <line num="355" count="444" type="stmt"/>
401
407
  </file>
402
408
  <file name="catalystList.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/utils/catalystList.ts">
403
409
  <metrics statements="40" coveredstatements="30" conditionals="15" coveredconditionals="10" methods="10" coveredmethods="7"/>
404
- <line num="1" count="4" type="stmt"/>
405
- <line num="2" count="4" type="stmt"/>
406
- <line num="3" count="4" type="stmt"/>
407
- <line num="12" count="4" type="stmt"/>
408
- <line num="18" count="4" type="stmt"/>
410
+ <line num="1" count="6" type="stmt"/>
411
+ <line num="2" count="6" type="stmt"/>
412
+ <line num="3" count="6" type="stmt"/>
413
+ <line num="12" count="6" type="stmt"/>
414
+ <line num="18" count="6" type="stmt"/>
409
415
  <line num="22" count="5" type="cond" truecount="1" falsecount="1"/>
410
416
  <line num="24" count="0" type="stmt"/>
411
417
  <line num="25" count="5" type="cond" truecount="1" falsecount="1"/>
@@ -444,17 +450,35 @@
444
450
  </file>
445
451
  <file name="common.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/utils/common.ts">
446
452
  <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
447
- <line num="1" count="4" type="stmt"/>
453
+ <line num="1" count="6" type="stmt"/>
448
454
  <line num="2" count="4" type="stmt"/>
449
455
  <line num="3" count="7" type="stmt"/>
450
456
  <line num="4" count="7" type="stmt"/>
451
457
  <line num="6" count="4" type="stmt"/>
452
458
  </file>
459
+ <file name="fetcher.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/utils/fetcher.ts">
460
+ <metrics statements="14" coveredstatements="11" conditionals="6" coveredconditionals="3" methods="4" coveredmethods="3"/>
461
+ <line num="1" count="5" type="stmt"/>
462
+ <line num="17" count="5" type="cond" truecount="1" falsecount="0"/>
463
+ <line num="19" count="2" type="stmt"/>
464
+ <line num="20" count="2" type="cond" truecount="1" falsecount="1"/>
465
+ <line num="22" count="0" type="stmt"/>
466
+ <line num="26" count="2" type="stmt"/>
467
+ <line num="27" count="2" type="stmt"/>
468
+ <line num="29" count="2" type="cond" truecount="1" falsecount="1"/>
469
+ <line num="30" count="2" type="stmt"/>
470
+ <line num="32" count="0" type="stmt"/>
471
+ <line num="33" count="0" type="stmt"/>
472
+ <line num="36" count="2" type="cond" truecount="0" falsecount="1"/>
473
+ <line num="41" count="2" type="stmt"/>
474
+ <line num="44" count="32" type="stmt"/>
475
+ </file>
453
476
  <file name="index.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/utils/index.ts">
454
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
455
- <line num="1" count="2" type="stmt"/>
456
- <line num="2" count="2" type="stmt"/>
457
- <line num="3" count="2" type="stmt"/>
477
+ <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
478
+ <line num="1" count="6" type="stmt"/>
479
+ <line num="2" count="6" type="stmt"/>
480
+ <line num="3" count="6" type="stmt"/>
481
+ <line num="4" count="6" type="stmt"/>
458
482
  </file>
459
483
  </package>
460
484
  <package name="test">
@@ -471,7 +495,7 @@
471
495
  <line num="30" count="1" type="stmt"/>
472
496
  <line num="31" count="2" type="stmt"/>
473
497
  <line num="33" count="2" type="stmt"/>
474
- <line num="34" count="12" type="stmt"/>
498
+ <line num="34" count="13" type="stmt"/>
475
499
  <line num="37" count="2" type="stmt"/>
476
500
  <line num="38" count="2" type="stmt"/>
477
501
  <line num="39" count="2" type="stmt"/>