@betsys-nestjs/grpc
Advanced tools
Comparing version 1.0.0 to 1.0.1
import { GrpcOptions } from '@nestjs/microservices'; | ||
import { LoggerService, LogLevel } from '@nestjs/common'; | ||
import { GrpcApplicationInterface } from './grpc-application.interface'; | ||
@@ -10,2 +11,3 @@ export declare class GrpcBuilder { | ||
* @param grpcOptions List of options to initialize microservice + health option to prepare grpc endpoint for health checking | ||
* @param logger Defines whether to use logger for hybrid application or not | ||
* | ||
@@ -17,3 +19,3 @@ * @returns A promise that, when resolved, | ||
health: boolean; | ||
}): Promise<GrpcApplicationInterface>; | ||
}, logger?: false | LoggerService | LogLevel[] | undefined): Promise<GrpcApplicationInterface>; | ||
} |
{ | ||
"name": "@betsys-nestjs/grpc", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Library for bootstrapping grpc hybrid application and health checking of grpc", | ||
@@ -12,3 +12,3 @@ "main": "./dist/index.min.cjs", | ||
"scripts": { | ||
"build": "rollup -c && tsc-alias -p tsconfig.lib.json", | ||
"build": "rollup -c && tsc-alias -p tsconfig.lib.json && cp src/client/health/health.proto dist", | ||
"test": "jest" | ||
@@ -27,3 +27,4 @@ }, | ||
"rxjs": "7.1.0", | ||
"@nestjs/testing": "^9.0.0" | ||
"@nestjs/testing": "^9.0.0", | ||
"@grpc/grpc-js": "^1.8.0" | ||
}, | ||
@@ -35,3 +36,4 @@ "peerDependencies": { | ||
"@nestjs/terminus": "^9.0.0", | ||
"rxjs": "7.1.0" | ||
"rxjs": "7.1.0", | ||
"@grpc/grpc-js": "^1.8.0" | ||
}, | ||
@@ -38,0 +40,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
9731
14
94
7
7