@lad-tech/nsc-toolkit 1.7.1 → 1.8.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.
- package/CHANGELOG.md +3 -3
- package/README.md +1 -0
- package/coverage/clover.xml +608 -367
- package/coverage/coverage-final.json +21 -7
- package/coverage/lcov-report/examples/LogicService/index.html +131 -0
- package/coverage/lcov-report/examples/LogicService/index.ts.html +133 -0
- package/coverage/lcov-report/examples/LogicService/methods/WeirdSum.ts.html +148 -0
- package/coverage/lcov-report/examples/LogicService/methods/index.html +116 -0
- package/coverage/lcov-report/examples/LogicService/service.ts.html +133 -0
- package/coverage/lcov-report/examples/MathService/index.html +131 -0
- package/coverage/lcov-report/examples/MathService/index.ts.html +151 -0
- package/coverage/lcov-report/examples/MathService/methods/Fibonacci.ts.html +169 -0
- package/coverage/lcov-report/examples/MathService/methods/Sum.ts.html +133 -0
- package/coverage/lcov-report/examples/MathService/methods/SumStream.ts.html +190 -0
- package/coverage/lcov-report/examples/MathService/methods/index.html +146 -0
- package/coverage/lcov-report/examples/MathService/service.ts.html +145 -0
- package/coverage/lcov-report/index.html +94 -19
- package/coverage/lcov.info +1116 -642
- package/dist/Client.js +5 -5
- package/dist/Client.js.map +1 -1
- package/dist/Root.js +8 -2
- package/dist/Root.js.map +1 -1
- package/dist/Service.js +16 -11
- package/dist/Service.js.map +1 -1
- package/dist/StreamManager.js +1 -1
- package/dist/StreamManager.js.map +1 -1
- package/dist/Union/Broker.js +83 -0
- package/dist/Union/Broker.js.map +1 -0
- package/dist/Union/JetStreamClient.js +34 -0
- package/dist/Union/JetStreamClient.js.map +1 -0
- package/dist/Union/JetStreamManager.js +18 -0
- package/dist/Union/JetStreamManager.js.map +1 -0
- package/dist/Union/StreamApi.js +34 -0
- package/dist/Union/StreamApi.js.map +1 -0
- package/dist/Union/Subscription.js +47 -0
- package/dist/Union/Subscription.js.map +1 -0
- package/dist/Union/index.js +18 -0
- package/dist/Union/index.js.map +1 -0
- package/dist/types/Root.d.ts +3 -2
- package/dist/types/Union/Broker.d.ts +27 -0
- package/dist/types/Union/JetStreamClient.d.ts +15 -0
- package/dist/types/Union/JetStreamManager.d.ts +10 -0
- package/dist/types/Union/StreamApi.d.ts +12 -0
- package/dist/types/Union/Subscription.d.ts +20 -0
- package/dist/types/Union/index.d.ts +1 -0
- package/dist/types/interfaces.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
# [1.8.0](https://github.com/lad-tech/nsc-toolkit/compare/v1.7.1...v1.8.0) (2023-05-02)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Features
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* Сборка в монолит ([62efe31](https://github.com/lad-tech/nsc-toolkit/commit/62efe31ac698c05d92ab509c99e1fea4d10898e4))
|
package/README.md
CHANGED
|
@@ -15,6 +15,7 @@ nsc-toolkit (NATS service creator toolkit) - это набор инструме
|
|
|
15
15
|
* Валидация входных и выходных параметров методов сервиса в рантайме на основе [JSON Schema](https://json-schema.org/).
|
|
16
16
|
* Логирование с учетом контекста.
|
|
17
17
|
* Сервисный http маршрут для проб. Поднимается вместе со стартом сервиса. Доступен **GET [host]/healthcheck HTTP/1.1**
|
|
18
|
+
* Возможность собирать микросервисы в монолитном режиме через встроенную реализацию внутреннего брокера. Реализацию этого режима можно найти в папке **examples**. Для сборки проекта в виде микросервисов или монолитном режиме используются разные точки входа.
|
|
18
19
|
|
|
19
20
|
## Схема описания сервиса
|
|
20
21
|
|