@cinema-platform/common 1.1.1 → 1.1.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function InjectGrpcClient(name: string):
|
|
1
|
+
export declare function InjectGrpcClient(name: string): PropertyDecorator & ParameterDecorator;
|
|
@@ -4,5 +4,5 @@ exports.InjectGrpcClient = InjectGrpcClient;
|
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
|
5
5
|
const grpc_constants_1 = require("../constants/grpc.constants");
|
|
6
6
|
function InjectGrpcClient(name) {
|
|
7
|
-
(0, common_1.Inject)(`${grpc_constants_1.GRPC_CLIENT_PREFIX}_${name}`);
|
|
7
|
+
return (0, common_1.Inject)(`${grpc_constants_1.GRPC_CLIENT_PREFIX}_${name}`);
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinema-platform/common",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Core shared components for Cinema Platform microservices ecosystem",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -19,9 +19,10 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@cinema-platform/contracts": "^1.1.3",
|
|
22
|
-
"@nestjs/common": "^11.
|
|
22
|
+
"@nestjs/common": "^11.2.1",
|
|
23
23
|
"@nestjs/config": "^12.0.0",
|
|
24
|
-
"@nestjs/
|
|
24
|
+
"@nestjs/core": "11.2.1",
|
|
25
|
+
"@nestjs/microservices": "^11.2.1"
|
|
25
26
|
},
|
|
26
27
|
"scripts": {
|
|
27
28
|
"build": "tsc -p tsconfig.build.json",
|