@join-com/grpc
Advanced tools
Comparing version 2.1.0 to 2.1.1
import * as grpc from '@grpc/grpc-js'; | ||
import { IClientTrace } from './ITrace'; | ||
import { INoDebugLogger } from './ILogger'; | ||
export interface IClientConfig<ServiceImplementationType = grpc.UntypedServiceImplementation> { | ||
serviceDefinition: grpc.ServiceDefinition<ServiceImplementationType>; | ||
export interface ISimplifiedClientConfig<_IgnoreMe = never> { | ||
address: string; | ||
credentials: grpc.ChannelCredentials; | ||
credentials?: grpc.ChannelCredentials; | ||
options?: Partial<grpc.ChannelOptions>; | ||
@@ -12,5 +11,6 @@ trace?: IClientTrace; | ||
} | ||
export declare type ISimplifiedClientConfig<ServiceImplementationType = grpc.UntypedServiceImplementation> = Omit<IClientConfig<ServiceImplementationType>, 'serviceDefinition' | 'credentials'> & { | ||
credentials?: grpc.ChannelCredentials; | ||
}; | ||
export interface IClientConfig<ServiceImplementationType = grpc.UntypedServiceImplementation> extends ISimplifiedClientConfig { | ||
serviceDefinition: grpc.ServiceDefinition<ServiceImplementationType>; | ||
credentials: grpc.ChannelCredentials; | ||
} | ||
//# sourceMappingURL=IClientConfig.d.ts.map |
{ | ||
"name": "@join-com/grpc", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "gRPC library", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
66230