@lad-tech/nsc-toolkit 1.6.0 → 1.7.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.
- package/CHANGELOG.md +3 -3
- package/coverage/clover.xml +108 -105
- package/coverage/coverage-final.json +3 -3
- package/coverage/lcov-report/index.html +19 -19
- package/coverage/lcov.info +190 -185
- package/dist/Client.js +1 -1
- package/dist/Client.js.map +1 -1
- package/dist/Service.js +9 -0
- package/dist/Service.js.map +1 -1
- package/dist/types/Service.d.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
## [1.7.1](https://github.com/lad-tech/nsc-toolkit/compare/v1.7.0...v1.7.1) (2023-02-14)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* fix consumer settings ([5195bd5](https://github.com/lad-tech/nsc-toolkit/commit/5195bd547916e231555f0cc21a1cf284cfe4cd43))
|
package/coverage/clover.xml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1676394007140" clover="3.2.0">
|
|
3
|
+
<project timestamp="1676394007140" name="All files">
|
|
4
|
+
<metrics statements="533" coveredstatements="454" conditionals="282" coveredconditionals="200" methods="94" coveredmethods="85" elements="909" coveredelements="739" complexity="0" loc="533" ncloc="533" packages="3" files="11" classes="11"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="505" coveredstatements="426" conditionals="282" coveredconditionals="200" methods="86" coveredmethods="77"/>
|
|
7
7
|
<file name="Client.ts" path="/home/runner/work/nsc-toolkit/nsc-toolkit/src/Client.ts">
|
|
8
8
|
<metrics statements="132" coveredstatements="123" conditionals="98" coveredconditionals="81" methods="18" coveredmethods="17"/>
|
|
9
9
|
<line num="1" count="2" type="stmt"/>
|
|
@@ -148,19 +148,19 @@
|
|
|
148
148
|
<line num="1" count="3" type="stmt"/>
|
|
149
149
|
<line num="2" count="3" type="stmt"/>
|
|
150
150
|
<line num="6" count="3" type="stmt"/>
|
|
151
|
-
<line num="7" count="
|
|
152
|
-
<line num="8" count="
|
|
153
|
-
<line num="9" count="
|
|
154
|
-
<line num="12" count="
|
|
155
|
-
<line num="13" count="
|
|
151
|
+
<line num="7" count="19" type="stmt"/>
|
|
152
|
+
<line num="8" count="19" type="stmt"/>
|
|
153
|
+
<line num="9" count="19" type="stmt"/>
|
|
154
|
+
<line num="12" count="19" type="stmt"/>
|
|
155
|
+
<line num="13" count="19" type="stmt"/>
|
|
156
156
|
<line num="17" count="3" type="stmt"/>
|
|
157
157
|
<line num="18" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
158
158
|
<line num="19" count="1" type="stmt"/>
|
|
159
159
|
<line num="21" count="2" type="stmt"/>
|
|
160
|
-
<line num="25" count="
|
|
161
|
-
<line num="26" count="
|
|
160
|
+
<line num="25" count="14" type="stmt"/>
|
|
161
|
+
<line num="26" count="14" type="cond" truecount="3" falsecount="0"/>
|
|
162
162
|
<line num="27" count="2" type="stmt"/>
|
|
163
|
-
<line num="29" count="
|
|
163
|
+
<line num="29" count="12" type="stmt"/>
|
|
164
164
|
<line num="36" count="24" type="cond" truecount="1" falsecount="0"/>
|
|
165
165
|
<line num="37" count="18" type="stmt"/>
|
|
166
166
|
<line num="42" count="14" type="stmt"/>
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
<line num="61" count="3" type="stmt"/>
|
|
178
178
|
</file>
|
|
179
179
|
<file name="Service.ts" path="/home/runner/work/nsc-toolkit/nsc-toolkit/src/Service.ts">
|
|
180
|
-
<metrics statements="
|
|
180
|
+
<metrics statements="266" coveredstatements="205" conditionals="130" coveredconditionals="82" methods="47" coveredmethods="39"/>
|
|
181
181
|
<line num="1" count="2" type="stmt"/>
|
|
182
182
|
<line num="2" count="2" type="stmt"/>
|
|
183
183
|
<line num="4" count="2" type="stmt"/>
|
|
@@ -195,15 +195,15 @@
|
|
|
195
195
|
<line num="17" count="2" type="stmt"/>
|
|
196
196
|
<line num="18" count="2" type="stmt"/>
|
|
197
197
|
<line num="20" count="2" type="stmt"/>
|
|
198
|
-
<line num="21" count="
|
|
199
|
-
<line num="27" count="
|
|
200
|
-
<line num="28" count="
|
|
201
|
-
<line num="29" count="
|
|
202
|
-
<line num="31" count="
|
|
203
|
-
<line num="32" count="
|
|
204
|
-
<line num="34" count="
|
|
205
|
-
<line num="35" count="
|
|
206
|
-
<line num="36" count="
|
|
198
|
+
<line num="21" count="9" type="stmt"/>
|
|
199
|
+
<line num="27" count="9" type="stmt"/>
|
|
200
|
+
<line num="28" count="9" type="stmt"/>
|
|
201
|
+
<line num="29" count="9" type="stmt"/>
|
|
202
|
+
<line num="31" count="9" type="stmt"/>
|
|
203
|
+
<line num="32" count="9" type="stmt"/>
|
|
204
|
+
<line num="34" count="9" type="stmt"/>
|
|
205
|
+
<line num="35" count="9" type="stmt"/>
|
|
206
|
+
<line num="36" count="9" type="cond" truecount="1" falsecount="0"/>
|
|
207
207
|
<line num="37" count="2" type="stmt"/>
|
|
208
208
|
<line num="38" count="2" type="stmt"/>
|
|
209
209
|
<line num="39" count="4" type="stmt"/>
|
|
@@ -217,11 +217,11 @@
|
|
|
217
217
|
<line num="54" count="0" type="stmt"/>
|
|
218
218
|
<line num="56" count="0" type="stmt"/>
|
|
219
219
|
<line num="58" count="4" type="stmt"/>
|
|
220
|
-
<line num="61" count="
|
|
221
|
-
<line num="68" count="
|
|
222
|
-
<line num="73" count="
|
|
223
|
-
<line num="76" count="
|
|
224
|
-
<line num="77" count="
|
|
220
|
+
<line num="61" count="9" type="stmt"/>
|
|
221
|
+
<line num="68" count="9" type="stmt"/>
|
|
222
|
+
<line num="73" count="9" type="stmt"/>
|
|
223
|
+
<line num="76" count="9" type="stmt"/>
|
|
224
|
+
<line num="77" count="9" type="stmt"/>
|
|
225
225
|
<line num="90" count="2" type="stmt"/>
|
|
226
226
|
<line num="91" count="2" type="stmt"/>
|
|
227
227
|
<line num="92" count="2" type="stmt"/>
|
|
@@ -341,9 +341,9 @@
|
|
|
341
341
|
<line num="327" count="0" type="stmt"/>
|
|
342
342
|
<line num="328" count="0" type="stmt"/>
|
|
343
343
|
<line num="329" count="0" type="stmt"/>
|
|
344
|
-
<line num="337" count="
|
|
345
|
-
<line num="338" count="
|
|
346
|
-
<line num="339" count="
|
|
344
|
+
<line num="337" count="11" type="stmt"/>
|
|
345
|
+
<line num="338" count="11" type="stmt"/>
|
|
346
|
+
<line num="339" count="11" type="stmt"/>
|
|
347
347
|
<line num="340" count="6" type="cond" truecount="4" falsecount="1"/>
|
|
348
348
|
<line num="341" count="3" type="stmt"/>
|
|
349
349
|
<line num="342" count="3" type="stmt"/>
|
|
@@ -356,91 +356,94 @@
|
|
|
356
356
|
<line num="352" count="3" type="stmt"/>
|
|
357
357
|
<line num="353" count="3" type="stmt"/>
|
|
358
358
|
<line num="355" count="0" type="stmt"/>
|
|
359
|
-
<line num="360" count="
|
|
359
|
+
<line num="360" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
360
360
|
<line num="361" count="3" type="stmt"/>
|
|
361
|
-
<line num="364" count="
|
|
362
|
-
<line num="365" count="
|
|
363
|
-
<line num="
|
|
364
|
-
<line num="368" count="
|
|
365
|
-
<line num="
|
|
366
|
-
<line num="
|
|
367
|
-
<line num="
|
|
368
|
-
<line num="380" count="0" type="
|
|
369
|
-
<line num="
|
|
370
|
-
<line num="
|
|
371
|
-
<line num="
|
|
372
|
-
<line num="393" count="1" type="
|
|
373
|
-
<line num="394" count="1" type="
|
|
361
|
+
<line num="364" count="11" type="stmt"/>
|
|
362
|
+
<line num="365" count="11" type="stmt"/>
|
|
363
|
+
<line num="366" count="11" type="stmt"/>
|
|
364
|
+
<line num="368" count="11" type="cond" truecount="5" falsecount="0"/>
|
|
365
|
+
<line num="369" count="4" type="stmt"/>
|
|
366
|
+
<line num="375" count="4" type="stmt"/>
|
|
367
|
+
<line num="378" count="11" type="stmt"/>
|
|
368
|
+
<line num="380" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
369
|
+
<line num="381" count="0" type="stmt"/>
|
|
370
|
+
<line num="383" count="0" type="stmt"/>
|
|
371
|
+
<line num="385" count="0" type="stmt"/>
|
|
372
|
+
<line num="393" count="1" type="stmt"/>
|
|
373
|
+
<line num="394" count="1" type="cond" truecount="5" falsecount="1"/>
|
|
374
374
|
<line num="395" count="1" type="stmt"/>
|
|
375
|
-
<line num="
|
|
376
|
-
<line num="398" count="
|
|
375
|
+
<line num="396" count="1" type="stmt"/>
|
|
376
|
+
<line num="398" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
377
377
|
<line num="399" count="0" type="stmt"/>
|
|
378
378
|
<line num="400" count="0" type="stmt"/>
|
|
379
|
-
<line num="
|
|
380
|
-
<line num="404" count="
|
|
381
|
-
<line num="405" count="0" type="
|
|
382
|
-
<line num="406" count="0" type="
|
|
383
|
-
<line num="
|
|
384
|
-
<line num="411" count="1" type="
|
|
379
|
+
<line num="401" count="0" type="stmt"/>
|
|
380
|
+
<line num="404" count="1" type="cond" truecount="6" falsecount="3"/>
|
|
381
|
+
<line num="405" count="0" type="stmt"/>
|
|
382
|
+
<line num="406" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
383
|
+
<line num="407" count="0" type="stmt"/>
|
|
384
|
+
<line num="411" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
385
385
|
<line num="412" count="1" type="stmt"/>
|
|
386
386
|
<line num="413" count="1" type="stmt"/>
|
|
387
|
-
<line num="
|
|
388
|
-
<line num="
|
|
389
|
-
<line num="
|
|
390
|
-
<line num="
|
|
391
|
-
<line num="431" count="
|
|
387
|
+
<line num="414" count="1" type="stmt"/>
|
|
388
|
+
<line num="417" count="0" type="stmt"/>
|
|
389
|
+
<line num="420" count="1" type="stmt"/>
|
|
390
|
+
<line num="424" count="1" type="stmt"/>
|
|
391
|
+
<line num="431" count="33" type="stmt"/>
|
|
392
392
|
<line num="432" count="0" type="stmt"/>
|
|
393
|
-
<line num="
|
|
394
|
-
<line num="441" count="
|
|
393
|
+
<line num="433" count="0" type="stmt"/>
|
|
394
|
+
<line num="441" count="22" type="stmt"/>
|
|
395
395
|
<line num="442" count="0" type="stmt"/>
|
|
396
|
-
<line num="
|
|
397
|
-
<line num="451" count="
|
|
398
|
-
<line num="452" count="
|
|
399
|
-
<line num="453" count="
|
|
400
|
-
<line num="454" count="
|
|
401
|
-
<line num="
|
|
402
|
-
<line num="462" count="
|
|
403
|
-
<line num="
|
|
404
|
-
<line num="465" count="
|
|
405
|
-
<line num="466" count="
|
|
406
|
-
<line num="467" count="
|
|
407
|
-
<line num="468" count="
|
|
408
|
-
<line num="
|
|
409
|
-
<line num="
|
|
410
|
-
<line num="
|
|
411
|
-
<line num="
|
|
412
|
-
<line num="
|
|
413
|
-
<line num="
|
|
414
|
-
<line num="
|
|
415
|
-
<line num="
|
|
416
|
-
<line num="
|
|
417
|
-
<line num="
|
|
418
|
-
<line num="
|
|
419
|
-
<line num="
|
|
420
|
-
<line num="
|
|
421
|
-
<line num="
|
|
422
|
-
<line num="
|
|
423
|
-
<line num="
|
|
424
|
-
<line num="
|
|
425
|
-
<line num="
|
|
426
|
-
<line num="
|
|
427
|
-
<line num="509" count="0" type="stmt"/>
|
|
428
|
-
<line num="511" count="6" type="stmt"/>
|
|
429
|
-
<line num="512" count="9" type="cond" truecount="5" falsecount="1"/>
|
|
430
|
-
<line num="513" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
431
|
-
<line num="514" count="3" type="stmt"/>
|
|
396
|
+
<line num="443" count="0" type="stmt"/>
|
|
397
|
+
<line num="451" count="11" type="stmt"/>
|
|
398
|
+
<line num="452" count="11" type="stmt"/>
|
|
399
|
+
<line num="453" count="11" type="stmt"/>
|
|
400
|
+
<line num="454" count="11" type="stmt"/>
|
|
401
|
+
<line num="455" count="11" type="stmt"/>
|
|
402
|
+
<line num="462" count="11" type="cond" truecount="3" falsecount="0"/>
|
|
403
|
+
<line num="463" count="2" type="stmt"/>
|
|
404
|
+
<line num="465" count="9" type="stmt"/>
|
|
405
|
+
<line num="466" count="9" type="stmt"/>
|
|
406
|
+
<line num="467" count="1" type="cond" truecount="3" falsecount="0"/>
|
|
407
|
+
<line num="468" count="1" type="stmt"/>
|
|
408
|
+
<line num="469" count="1" type="stmt"/>
|
|
409
|
+
<line num="471" count="0" type="stmt"/>
|
|
410
|
+
<line num="474" count="9" type="stmt"/>
|
|
411
|
+
<line num="481" count="11" type="stmt"/>
|
|
412
|
+
<line num="482" count="0" type="stmt"/>
|
|
413
|
+
<line num="490" count="3" type="stmt"/>
|
|
414
|
+
<line num="494" count="3" type="stmt"/>
|
|
415
|
+
<line num="495" count="3" type="stmt"/>
|
|
416
|
+
<line num="496" count="3" type="stmt"/>
|
|
417
|
+
<line num="497" count="3" type="stmt"/>
|
|
418
|
+
<line num="498" count="3" type="stmt"/>
|
|
419
|
+
<line num="500" count="3" type="cond" truecount="0" falsecount="1"/>
|
|
420
|
+
<line num="501" count="0" type="stmt"/>
|
|
421
|
+
<line num="502" count="0" type="stmt"/>
|
|
422
|
+
<line num="505" count="3" type="cond" truecount="0" falsecount="1"/>
|
|
423
|
+
<line num="506" count="0" type="stmt"/>
|
|
424
|
+
<line num="507" count="0" type="stmt"/>
|
|
425
|
+
<line num="509" count="3" type="stmt"/>
|
|
426
|
+
<line num="512" count="3" type="stmt"/>
|
|
432
427
|
<line num="516" count="3" type="stmt"/>
|
|
433
|
-
<line num="
|
|
428
|
+
<line num="517" count="3" type="stmt"/>
|
|
429
|
+
<line num="518" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
434
430
|
<line num="519" count="0" type="stmt"/>
|
|
435
|
-
<line num="521" count="
|
|
436
|
-
<line num="
|
|
437
|
-
<line num="
|
|
438
|
-
<line num="
|
|
439
|
-
<line num="
|
|
440
|
-
<line num="
|
|
441
|
-
<line num="
|
|
442
|
-
<line num="
|
|
443
|
-
<line num="
|
|
431
|
+
<line num="521" count="6" type="stmt"/>
|
|
432
|
+
<line num="522" count="9" type="cond" truecount="5" falsecount="1"/>
|
|
433
|
+
<line num="523" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
434
|
+
<line num="524" count="3" type="stmt"/>
|
|
435
|
+
<line num="526" count="3" type="stmt"/>
|
|
436
|
+
<line num="528" count="3" type="cond" truecount="0" falsecount="1"/>
|
|
437
|
+
<line num="529" count="0" type="stmt"/>
|
|
438
|
+
<line num="531" count="3" type="stmt"/>
|
|
439
|
+
<line num="535" count="0" type="stmt"/>
|
|
440
|
+
<line num="542" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
441
|
+
<line num="543" count="4" type="stmt"/>
|
|
442
|
+
<line num="544" count="4" type="stmt"/>
|
|
443
|
+
<line num="545" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
444
|
+
<line num="546" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
445
|
+
<line num="547" count="1" type="stmt"/>
|
|
446
|
+
<line num="554" count="3" type="stmt"/>
|
|
444
447
|
</file>
|
|
445
448
|
<file name="StreamManager.ts" path="/home/runner/work/nsc-toolkit/nsc-toolkit/src/StreamManager.ts">
|
|
446
449
|
<metrics statements="50" coveredstatements="42" conditionals="41" coveredconditionals="25" methods="9" coveredmethods="9"/>
|