@trash-streamers/common 1.2.2 → 1.2.3
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.
|
@@ -14,7 +14,14 @@ let GrpcClientFactory = class GrpcClientFactory {
|
|
|
14
14
|
createClient(options) {
|
|
15
15
|
return microservices_1.ClientProxyFactory.create({
|
|
16
16
|
transport: microservices_1.Transport.GRPC,
|
|
17
|
-
options
|
|
17
|
+
options: {
|
|
18
|
+
...options,
|
|
19
|
+
loader: {
|
|
20
|
+
keepCase: false,
|
|
21
|
+
enums: String,
|
|
22
|
+
oneofs: true,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
18
25
|
});
|
|
19
26
|
}
|
|
20
27
|
register(token, client) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trash-streamers/common",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Core shared component for Trash-streamers microservice ecosystem",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@nestjs/common": "^11.1.12",
|
|
31
31
|
"@nestjs/config": "^4.0.2",
|
|
32
|
-
"@trash-streamers/contracts": "^1.1.
|
|
32
|
+
"@trash-streamers/contracts": "^1.1.20"
|
|
33
33
|
}
|
|
34
|
-
}
|
|
34
|
+
}
|