@lad-tech/nsc-toolkit 1.12.0 → 1.12.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 (29) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/coverage/clover.xml +116 -114
  3. package/coverage/coverage-final.json +1 -1
  4. package/coverage/lcov-report/examples/LogicService/adapters/AuthToolkit.ts.html +1 -1
  5. package/coverage/lcov-report/examples/LogicService/adapters/Configurator.ts.html +1 -1
  6. package/coverage/lcov-report/examples/LogicService/adapters/Repository.ts.html +1 -1
  7. package/coverage/lcov-report/examples/LogicService/adapters/index.html +1 -1
  8. package/coverage/lcov-report/examples/LogicService/adapters/index.ts.html +1 -1
  9. package/coverage/lcov-report/examples/LogicService/index.html +1 -1
  10. package/coverage/lcov-report/examples/LogicService/index.ts.html +1 -1
  11. package/coverage/lcov-report/examples/LogicService/inversion.types.ts.html +1 -1
  12. package/coverage/lcov-report/examples/LogicService/methods/GetUser.ts.html +1 -1
  13. package/coverage/lcov-report/examples/LogicService/methods/GetUserV2.ts.html +1 -1
  14. package/coverage/lcov-report/examples/LogicService/methods/RegisterNewUser.ts.html +1 -1
  15. package/coverage/lcov-report/examples/LogicService/methods/WeirdSum.ts.html +1 -1
  16. package/coverage/lcov-report/examples/LogicService/methods/index.html +1 -1
  17. package/coverage/lcov-report/examples/LogicService/service.ts.html +1 -1
  18. package/coverage/lcov-report/examples/MathService/index.html +1 -1
  19. package/coverage/lcov-report/examples/MathService/index.ts.html +1 -1
  20. package/coverage/lcov-report/examples/MathService/methods/Fibonacci.ts.html +1 -1
  21. package/coverage/lcov-report/examples/MathService/methods/Sum.ts.html +1 -1
  22. package/coverage/lcov-report/examples/MathService/methods/SumStream.ts.html +1 -1
  23. package/coverage/lcov-report/examples/MathService/methods/index.html +1 -1
  24. package/coverage/lcov-report/examples/MathService/service.ts.html +1 -1
  25. package/coverage/lcov-report/index.html +10 -10
  26. package/coverage/lcov.info +225 -223
  27. package/dist/Client.js +7 -1
  28. package/dist/Client.js.map +1 -1
  29. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- # [1.12.0](https://github.com/lad-tech/nsc-toolkit/compare/v1.11.2...v1.12.0) (2023-07-18)
1
+ ## [1.12.1](https://github.com/lad-tech/nsc-toolkit/compare/v1.12.0...v1.12.1) (2023-08-07)
2
2
 
3
3
 
4
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * Add support sync and async methods in adapter ([#62](https://github.com/lad-tech/nsc-toolkit/issues/62)) ([60677e5](https://github.com/lad-tech/nsc-toolkit/commit/60677e5f3c74aa126876429b0eea50cf3a3d9a49))
6
+ * Обработка строковых форматов сообщений ([#63](https://github.com/lad-tech/nsc-toolkit/issues/63)) ([8f89cd7](https://github.com/lad-tech/nsc-toolkit/commit/8f89cd78bd35babd58951103e366dcdcb0dc26fc))
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1689698319326" clover="3.2.0">
3
- <project timestamp="1689698319326" name="All files">
4
- <metrics statements="874" coveredstatements="754" conditionals="330" coveredconditionals="259" methods="199" coveredmethods="149" elements="1403" coveredelements="1162" complexity="0" loc="874" ncloc="874" packages="9" files="35" classes="35"/>
2
+ <coverage generated="1691437158580" clover="3.2.0">
3
+ <project timestamp="1691437158580" name="All files">
4
+ <metrics statements="876" coveredstatements="755" conditionals="330" coveredconditionals="259" methods="199" coveredmethods="149" elements="1405" coveredelements="1163" complexity="0" loc="876" ncloc="876" packages="9" files="35" classes="35"/>
5
5
  <package name="examples.LogicService">
6
6
  <metrics statements="31" coveredstatements="31" conditionals="2" coveredconditionals="1" methods="6" coveredmethods="6"/>
7
7
  <file name="index.ts" path="/home/runner/work/nsc-toolkit/nsc-toolkit/examples/LogicService/index.ts">
@@ -232,9 +232,9 @@
232
232
  </file>
233
233
  </package>
234
234
  <package name="src">
235
- <metrics statements="594" coveredstatements="522" conditionals="316" coveredconditionals="251" methods="105" coveredmethods="98"/>
235
+ <metrics statements="596" coveredstatements="523" conditionals="316" coveredconditionals="251" methods="105" coveredmethods="98"/>
236
236
  <file name="Client.ts" path="/home/runner/work/nsc-toolkit/nsc-toolkit/src/Client.ts">
237
- <metrics statements="136" coveredstatements="126" conditionals="101" coveredconditionals="90" methods="18" coveredmethods="17"/>
237
+ <metrics statements="138" coveredstatements="127" conditionals="101" coveredconditionals="90" methods="18" coveredmethods="17"/>
238
238
  <line num="1" count="4" type="stmt"/>
239
239
  <line num="2" count="4" type="stmt"/>
240
240
  <line num="3" count="4" type="stmt"/>
@@ -255,122 +255,124 @@
255
255
  <line num="43" count="9" type="stmt"/>
256
256
  <line num="44" count="9" type="stmt"/>
257
257
  <line num="52" count="3" type="stmt"/>
258
- <line num="53" count="2" type="stmt"/>
259
258
  <line num="54" count="2" type="stmt"/>
260
- <line num="56" count="2" type="cond" truecount="1" falsecount="0"/>
261
- <line num="57" count="1" type="stmt"/>
262
- <line num="58" count="1" type="stmt"/>
263
- <line num="61" count="2" type="stmt"/>
264
- <line num="69" count="4" type="cond" truecount="0" falsecount="1"/>
265
- <line num="70" count="0" type="stmt"/>
266
- <line num="73" count="4" type="stmt"/>
267
- <line num="75" count="4" type="stmt"/>
268
- <line num="77" count="10" type="stmt"/>
269
- <line num="79" count="10" type="cond" truecount="1" falsecount="0"/>
270
- <line num="80" count="3" type="stmt"/>
271
- <line num="81" count="3" type="stmt"/>
272
- <line num="82" count="3" type="stmt"/>
273
- <line num="84" count="3" type="cond" truecount="3" falsecount="1"/>
274
- <line num="86" count="3" type="cond" truecount="0" falsecount="1"/>
275
- <line num="87" count="0" type="stmt"/>
276
- <line num="90" count="3" type="cond" truecount="4" falsecount="0"/>
277
- <line num="94" count="3" type="cond" truecount="2" falsecount="0"/>
278
- <line num="95" count="1" type="stmt"/>
279
- <line num="101" count="2" type="cond" truecount="4" falsecount="2"/>
280
- <line num="102" count="2" type="stmt"/>
281
- <line num="105" count="3" type="stmt"/>
282
- <line num="106" count="3" type="stmt"/>
283
- <line num="107" count="3" type="stmt"/>
284
- <line num="109" count="0" type="stmt"/>
285
- <line num="114" count="7" type="cond" truecount="1" falsecount="0"/>
286
- <line num="115" count="1" type="stmt"/>
287
- <line num="116" count="1" type="stmt"/>
288
- <line num="117" count="1" type="stmt"/>
289
- <line num="118" count="1" type="cond" truecount="3" falsecount="1"/>
290
- <line num="119" count="1" type="stmt"/>
259
+ <line num="55" count="2" type="stmt"/>
260
+ <line num="57" count="0" type="stmt"/>
261
+ <line num="59" count="2" type="stmt"/>
262
+ <line num="61" count="2" type="cond" truecount="1" falsecount="0"/>
263
+ <line num="62" count="1" type="stmt"/>
264
+ <line num="63" count="1" type="stmt"/>
265
+ <line num="66" count="2" type="stmt"/>
266
+ <line num="74" count="4" type="cond" truecount="0" falsecount="1"/>
267
+ <line num="75" count="0" type="stmt"/>
268
+ <line num="78" count="4" type="stmt"/>
269
+ <line num="80" count="4" type="stmt"/>
270
+ <line num="82" count="10" type="stmt"/>
271
+ <line num="84" count="10" type="cond" truecount="1" falsecount="0"/>
272
+ <line num="85" count="3" type="stmt"/>
273
+ <line num="86" count="3" type="stmt"/>
274
+ <line num="87" count="3" type="stmt"/>
275
+ <line num="89" count="3" type="cond" truecount="3" falsecount="1"/>
276
+ <line num="91" count="3" type="cond" truecount="0" falsecount="1"/>
277
+ <line num="92" count="0" type="stmt"/>
278
+ <line num="95" count="3" type="cond" truecount="4" falsecount="0"/>
279
+ <line num="99" count="3" type="cond" truecount="2" falsecount="0"/>
280
+ <line num="100" count="1" type="stmt"/>
281
+ <line num="106" count="2" type="cond" truecount="4" falsecount="2"/>
282
+ <line num="107" count="2" type="stmt"/>
283
+ <line num="110" count="3" type="stmt"/>
284
+ <line num="111" count="3" type="stmt"/>
285
+ <line num="112" count="3" type="stmt"/>
286
+ <line num="114" count="0" type="stmt"/>
287
+ <line num="119" count="7" type="cond" truecount="1" falsecount="0"/>
291
288
  <line num="120" count="1" type="stmt"/>
292
- <line num="123" count="6" type="stmt"/>
293
- <line num="129" count="2" type="stmt"/>
294
- <line num="130" count="2" type="stmt"/>
295
- <line num="134" count="11" type="stmt"/>
296
- <line num="135" count="11" type="cond" truecount="0" falsecount="1"/>
297
- <line num="136" count="0" type="stmt"/>
289
+ <line num="121" count="1" type="stmt"/>
290
+ <line num="122" count="1" type="stmt"/>
291
+ <line num="123" count="1" type="cond" truecount="3" falsecount="1"/>
292
+ <line num="124" count="1" type="stmt"/>
293
+ <line num="125" count="1" type="stmt"/>
294
+ <line num="128" count="6" type="stmt"/>
295
+ <line num="134" count="2" type="stmt"/>
296
+ <line num="135" count="2" type="stmt"/>
298
297
  <line num="139" count="11" type="stmt"/>
299
- <line num="140" count="11" type="stmt"/>
300
- <line num="141" count="11" type="cond" truecount="1" falsecount="0"/>
301
- <line num="142" count="2" type="stmt"/>
302
- <line num="151" count="17" type="stmt"/>
303
- <line num="152" count="17" type="stmt"/>
304
- <line num="153" count="17" type="stmt"/>
305
- <line num="154" count="17" type="cond" truecount="11" falsecount="0"/>
306
- <line num="155" count="8" type="stmt"/>
307
- <line num="158" count="16" type="stmt"/>
308
- <line num="159" count="16" type="cond" truecount="8" falsecount="0"/>
309
- <line num="160" count="16" type="stmt"/>
310
- <line num="161" count="16" type="stmt"/>
311
- <line num="163" count="16" type="cond" truecount="1" falsecount="0"/>
312
- <line num="164" count="1" type="stmt"/>
313
- <line num="167" count="15" type="stmt"/>
314
- <line num="169" count="15" type="cond" truecount="8" falsecount="0"/>
315
- <line num="170" count="2" type="stmt"/>
316
- <line num="171" count="2" type="stmt"/>
317
- <line num="172" count="2" type="stmt"/>
318
- <line num="173" count="2" type="cond" truecount="1" falsecount="0"/>
319
- <line num="174" count="1" type="stmt"/>
320
- <line num="177" count="0" type="stmt"/>
321
- <line num="180" count="14" type="cond" truecount="6" falsecount="0"/>
322
- <line num="184" count="14" type="cond" truecount="1" falsecount="0"/>
323
- <line num="185" count="1" type="stmt"/>
324
- <line num="188" count="13" type="cond" truecount="11" falsecount="0"/>
325
- <line num="189" count="3" type="stmt"/>
326
- <line num="191" count="12" type="cond" truecount="8" falsecount="0"/>
327
- <line num="192" count="1" type="stmt"/>
328
- <line num="195" count="12" type="stmt"/>
329
- <line num="197" count="4" type="stmt"/>
330
- <line num="198" count="4" type="stmt"/>
331
- <line num="199" count="4" type="stmt"/>
332
- <line num="200" count="4" type="stmt"/>
333
- <line num="202" count="17" type="stmt"/>
334
- <line num="207" count="5" type="stmt"/>
335
- <line num="208" count="5" type="stmt"/>
336
- <line num="211" count="5" type="stmt"/>
337
- <line num="212" count="5" type="cond" truecount="2" falsecount="1"/>
338
- <line num="213" count="0" type="stmt"/>
339
- <line num="215" count="5" type="stmt"/>
340
- <line num="219" count="24" type="stmt"/>
341
- <line num="223" count="9" type="stmt"/>
342
- <line num="224" count="9" type="stmt"/>
343
- <line num="225" count="9" type="stmt"/>
344
- <line num="227" count="0" type="stmt"/>
345
- <line num="237" count="5" type="stmt"/>
346
- <line num="238" count="5" type="stmt"/>
347
- <line num="239" count="5" type="stmt"/>
348
- <line num="240" count="5" type="stmt"/>
298
+ <line num="140" count="11" type="cond" truecount="0" falsecount="1"/>
299
+ <line num="141" count="0" type="stmt"/>
300
+ <line num="144" count="11" type="stmt"/>
301
+ <line num="145" count="11" type="stmt"/>
302
+ <line num="146" count="11" type="cond" truecount="1" falsecount="0"/>
303
+ <line num="147" count="2" type="stmt"/>
304
+ <line num="156" count="17" type="stmt"/>
305
+ <line num="157" count="17" type="stmt"/>
306
+ <line num="158" count="17" type="stmt"/>
307
+ <line num="159" count="17" type="cond" truecount="11" falsecount="0"/>
308
+ <line num="160" count="8" type="stmt"/>
309
+ <line num="163" count="16" type="stmt"/>
310
+ <line num="164" count="16" type="cond" truecount="8" falsecount="0"/>
311
+ <line num="165" count="16" type="stmt"/>
312
+ <line num="166" count="16" type="stmt"/>
313
+ <line num="168" count="16" type="cond" truecount="1" falsecount="0"/>
314
+ <line num="169" count="1" type="stmt"/>
315
+ <line num="172" count="15" type="stmt"/>
316
+ <line num="174" count="15" type="cond" truecount="8" falsecount="0"/>
317
+ <line num="175" count="2" type="stmt"/>
318
+ <line num="176" count="2" type="stmt"/>
319
+ <line num="177" count="2" type="stmt"/>
320
+ <line num="178" count="2" type="cond" truecount="1" falsecount="0"/>
321
+ <line num="179" count="1" type="stmt"/>
322
+ <line num="182" count="0" type="stmt"/>
323
+ <line num="185" count="14" type="cond" truecount="6" falsecount="0"/>
324
+ <line num="189" count="14" type="cond" truecount="1" falsecount="0"/>
325
+ <line num="190" count="1" type="stmt"/>
326
+ <line num="193" count="13" type="cond" truecount="11" falsecount="0"/>
327
+ <line num="194" count="3" type="stmt"/>
328
+ <line num="196" count="12" type="cond" truecount="8" falsecount="0"/>
329
+ <line num="197" count="1" type="stmt"/>
330
+ <line num="200" count="12" type="stmt"/>
331
+ <line num="202" count="4" type="stmt"/>
332
+ <line num="203" count="4" type="stmt"/>
333
+ <line num="204" count="4" type="stmt"/>
334
+ <line num="205" count="4" type="stmt"/>
335
+ <line num="207" count="17" type="stmt"/>
336
+ <line num="212" count="5" type="stmt"/>
337
+ <line num="213" count="5" type="stmt"/>
338
+ <line num="216" count="5" type="stmt"/>
339
+ <line num="217" count="5" type="cond" truecount="2" falsecount="1"/>
340
+ <line num="218" count="0" type="stmt"/>
341
+ <line num="220" count="5" type="stmt"/>
342
+ <line num="224" count="24" type="stmt"/>
343
+ <line num="228" count="9" type="stmt"/>
344
+ <line num="229" count="9" type="stmt"/>
345
+ <line num="230" count="9" type="stmt"/>
346
+ <line num="232" count="0" type="stmt"/>
349
347
  <line num="242" count="5" type="stmt"/>
350
- <line num="246" count="5" type="cond" truecount="1" falsecount="0"/>
351
- <line num="247" count="2" type="stmt"/>
352
- <line num="249" count="5" type="stmt"/>
353
- <line num="259" count="5" type="cond" truecount="7" falsecount="2"/>
354
- <line num="260" count="3" type="stmt"/>
355
- <line num="261" count="3" type="stmt"/>
356
- <line num="264" count="2" type="stmt"/>
357
- <line num="265" count="2" type="stmt"/>
358
- <line num="266" count="2" type="stmt"/>
348
+ <line num="243" count="5" type="stmt"/>
349
+ <line num="244" count="5" type="stmt"/>
350
+ <line num="245" count="5" type="stmt"/>
351
+ <line num="247" count="5" type="stmt"/>
352
+ <line num="251" count="5" type="cond" truecount="1" falsecount="0"/>
353
+ <line num="252" count="2" type="stmt"/>
354
+ <line num="254" count="5" type="stmt"/>
355
+ <line num="264" count="5" type="cond" truecount="7" falsecount="2"/>
356
+ <line num="265" count="3" type="stmt"/>
357
+ <line num="266" count="3" type="stmt"/>
359
358
  <line num="269" count="2" type="stmt"/>
360
359
  <line num="270" count="2" type="stmt"/>
361
360
  <line num="271" count="2" type="stmt"/>
362
- <line num="273" count="0" type="stmt"/>
363
- <line num="278" count="5" type="stmt"/>
364
- <line num="279" count="0" type="stmt"/>
365
- <line num="282" count="5" type="cond" truecount="1" falsecount="0"/>
366
- <line num="283" count="3" type="stmt"/>
367
- <line num="284" count="3" type="stmt"/>
368
- <line num="287" count="2" type="stmt"/>
369
- <line num="288" count="2" type="stmt"/>
370
- <line num="293" count="5" type="cond" truecount="0" falsecount="1"/>
371
- <line num="294" count="0" type="stmt"/>
372
- <line num="296" count="5" type="stmt"/>
373
- <line num="305" count="2" type="cond" truecount="2" falsecount="0"/>
361
+ <line num="274" count="2" type="stmt"/>
362
+ <line num="275" count="2" type="stmt"/>
363
+ <line num="276" count="2" type="stmt"/>
364
+ <line num="278" count="0" type="stmt"/>
365
+ <line num="283" count="5" type="stmt"/>
366
+ <line num="284" count="0" type="stmt"/>
367
+ <line num="287" count="5" type="cond" truecount="1" falsecount="0"/>
368
+ <line num="288" count="3" type="stmt"/>
369
+ <line num="289" count="3" type="stmt"/>
370
+ <line num="292" count="2" type="stmt"/>
371
+ <line num="293" count="2" type="stmt"/>
372
+ <line num="298" count="5" type="cond" truecount="0" falsecount="1"/>
373
+ <line num="299" count="0" type="stmt"/>
374
+ <line num="301" count="5" type="stmt"/>
375
+ <line num="310" count="2" type="cond" truecount="2" falsecount="0"/>
374
376
  </file>
375
377
  <file name="Container.ts" path="/home/runner/work/nsc-toolkit/nsc-toolkit/src/Container.ts">
376
378
  <metrics statements="37" coveredstatements="34" conditionals="12" coveredconditionals="11" methods="12" coveredmethods="11"/>