@rsdk/core 1.0.10 → 1.0.12
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
CHANGED
|
@@ -3,11 +3,21 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 1.0.12 (2023-05-23)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* remove private dependencies from `peerDependencies` section ([0bce6ff](https://github.com/R-Vision/rsdk/commit/0bce6ffb5b699e2ed1dc9aca77cbdbf085267ff7))
|
|
11
|
+
|
|
12
|
+
## 1.0.11 (2023-05-23)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @rsdk/core
|
|
15
|
+
|
|
6
16
|
## 1.0.10 (2023-05-22)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
|
9
19
|
|
|
10
|
-
* add
|
|
20
|
+
* add "access: public" to new packages ([04d5983](https://github.com/R-Vision/rsdk/commit/04d5983cfa3e97c5d8219e07208a0499a8c6bc83))
|
|
11
21
|
|
|
12
22
|
## 1.0.9 (2023-05-21)
|
|
13
23
|
|
|
@@ -39,11 +39,11 @@ class PlatformTransportModule {
|
|
|
39
39
|
formatters: [
|
|
40
40
|
...transports.map((x) => x.getErrorsFormatter()),
|
|
41
41
|
...(options.plugins?.map((x) => x.errorFormatter?.()) || []),
|
|
42
|
-
].filter((x) => x),
|
|
42
|
+
].filter((x) => Boolean(x)),
|
|
43
43
|
senders: [
|
|
44
44
|
...transports.map((x) => x.getErrorsSender?.()),
|
|
45
45
|
...(options.plugins?.map((x) => x.errorSender?.()) || []),
|
|
46
|
-
].filter((x) => x),
|
|
46
|
+
].filter((x) => Boolean(x)),
|
|
47
47
|
transformers: [
|
|
48
48
|
...(0, lodash_1.flatten)(transports.map((x) => x.getErrorTransformers())),
|
|
49
49
|
...(0, lodash_1.flatten)(options.plugins?.map((x) => x.errorTransformers?.() || [])),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.module.js","sourceRoot":"","sources":["../../src/transport/transport.module.ts"],"names":[],"mappings":";;;AACA,mCAAiC;
|
|
1
|
+
{"version":3,"file":"transport.module.js","sourceRoot":"","sources":["../../src/transport/transport.module.ts"],"names":[],"mappings":";;;AACA,mCAAiC;AAGjC,gEAAgE;AAChE,sCAAyC;AACzC,wCAA2C;AAE3C,oCAA8C;AAE9C,MAAa,uBAAuB;IAClC,MAAM,CAAC,UAAU,CAAC,OAAgC;QAChD,OAAO;YACL,OAAO,EAAE;gBACP,uBAAuB,CAAC,gBAAgB,CAAC,OAAO,CAAC;gBACjD,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC;gBAC5C,uBAAuB,CAAC,sBAAsB,CAAC,OAAO,CAAC;aACxD;YACD,MAAM,EAAE,uBAAuB;SAChC,CAAC;IACJ,CAAC;IAEO,MAAM,CAAC,WAAW,CAAC,OAAgC;QACzD,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,IAAK,EAAY,CAAC;QAEvD,OAAO,uBAAa,CAAC,OAAO,CAAC;YAC3B,WAAW,EAAE,UAAU;iBACpB,MAAM,CAAC,0BAAkB,CAAC;iBAC1B,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,oBAAoB,EAAE,CAAC;SACxC,CAAC,CAAC;IACL,CAAC;IAEO,MAAM,CAAC,gBAAgB,CAC7B,OAAgC;QAEhC,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,IAAK,EAAY,CAAC;QAEvD,OAAO,qBAAY,CAAC,OAAO,CAAC;YAC1B,WAAW,EAAE,UAAU;iBACpB,MAAM,CAAC,0BAAkB,CAAC;iBAC1B,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC;SACvC,CAAC,CAAC;IACL,CAA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|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "Nestjs based microservice chassis",
|
|
5
5
|
"license": "Apache License 2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -21,21 +21,21 @@
|
|
|
21
21
|
"@opentelemetry/sdk-node": "^0.39.1",
|
|
22
22
|
"@opentelemetry/sdk-trace-base": "1.13.0",
|
|
23
23
|
"@opentelemetry/semantic-conventions": "1.13.0",
|
|
24
|
+
"lodash": "^4.17.21",
|
|
24
25
|
"prom-client": "^14.2.0"
|
|
25
26
|
},
|
|
26
27
|
"peerDependencies": {
|
|
27
|
-
"@nestjs/common": "
|
|
28
|
-
"@nestjs/core": "
|
|
29
|
-
"@nestjs/microservices": "
|
|
30
|
-
"@rsdk/autodoc-protocol": "^1.0.
|
|
31
|
-
"@rsdk/common": "^1.0.
|
|
32
|
-
"@rsdk/decorators": "^1.0.
|
|
33
|
-
"@rsdk/logging": "^1.0.
|
|
34
|
-
"@rsdk/metadata": "^1.0.
|
|
28
|
+
"@nestjs/common": "^9.0.0",
|
|
29
|
+
"@nestjs/core": "^9.0.0",
|
|
30
|
+
"@nestjs/microservices": "^9.0.0",
|
|
31
|
+
"@rsdk/autodoc-protocol": "^1.0.12",
|
|
32
|
+
"@rsdk/common": "^1.0.12",
|
|
33
|
+
"@rsdk/decorators": "^1.0.12",
|
|
34
|
+
"@rsdk/logging": "^1.0.12",
|
|
35
|
+
"@rsdk/metadata": "^1.0.12",
|
|
35
36
|
"axios": "^1.1.3",
|
|
36
|
-
"lodash": "^4.17.21",
|
|
37
37
|
"reflect-metadata": "^0.1.13",
|
|
38
38
|
"rxjs": "^7.0.0"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "e2741fe798655b87946330f8db0705e0f7ba2fb2"
|
|
41
41
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DynamicModule } from '@nestjs/common';
|
|
2
2
|
import { flatten } from 'lodash';
|
|
3
3
|
|
|
4
|
+
import type { IErrorsFormatter, IErrorsSender } from '../exceptions.handling';
|
|
4
5
|
import { GlobalExceptionsModule } from '../exceptions.handling';
|
|
5
6
|
import { HealthModule } from '../health';
|
|
6
7
|
import { MetricsModule } from '../metrics';
|
|
@@ -50,11 +51,11 @@ export class PlatformTransportModule {
|
|
|
50
51
|
formatters: [
|
|
51
52
|
...transports.map((x) => x.getErrorsFormatter()),
|
|
52
53
|
...(options.plugins?.map((x) => x.errorFormatter?.()) || []),
|
|
53
|
-
].filter((x) => x),
|
|
54
|
+
].filter((x): x is IErrorsFormatter => Boolean(x)),
|
|
54
55
|
senders: [
|
|
55
56
|
...transports.map((x) => x.getErrorsSender?.()),
|
|
56
57
|
...(options.plugins?.map((x) => x.errorSender?.()) || []),
|
|
57
|
-
].filter((x) => x),
|
|
58
|
+
].filter((x): x is IErrorsSender => Boolean(x)),
|
|
58
59
|
transformers: [
|
|
59
60
|
...flatten(transports.map((x) => x.getErrorTransformers())),
|
|
60
61
|
...flatten(options.plugins?.map((x) => x.errorTransformers?.() || [])),
|