@@ -24,14 +24,14 @@ const supportedReflectionAPIVersions = {
2424 v1alpha : {
2525 priority : 0 ,
2626 serviceName : 'grpc.reflection.v1alpha.ServerReflection' ,
27- client : import ( './reflection_providers/v1alpha/reflection_pb' ) ,
28- service : import ( './reflection_providers/v1alpha/reflection_grpc_pb' ) ,
27+ client : './reflection_providers/v1alpha/reflection_pb' ,
28+ service : './reflection_providers/v1alpha/reflection_grpc_pb' ,
2929 } ,
3030 v1 : {
3131 priority : 1 ,
3232 serviceName : 'grpc.reflection.v1.ServerReflection' ,
33- client : import ( './reflection_providers/v1/reflection_pb' ) ,
34- service : import ( './reflection_providers/v1/reflection_grpc_pb' ) ,
33+ client : './reflection_providers/v1/reflection_pb' ,
34+ service : './reflection_providers/v1/reflection_grpc_pb' ,
3535 } ,
3636} ;
3737
@@ -114,14 +114,11 @@ export class Client {
114114 supportedReflectionAPIVersions [
115115 version as keyof typeof supportedReflectionAPIVersions
116116 ] ;
117- const {
118- service : servicePromise ,
119- client : clientPromise ,
120- } = protocolConfig ;
117+ const { service : servicePath , client : clientPath } = protocolConfig ;
121118
122119 const [ protocolService , protocolClient ] = await Promise . all ( [
123- servicePromise ,
124- clientPromise ,
120+ import ( servicePath ) ,
121+ import ( clientPath ) ,
125122 ] ) ;
126123
127124 const grpcClientForProtocol = new protocolService . ServerReflectionClient (
0 commit comments