@grpc/proto-loader
Advanced tools
Comparing version 0.6.0-pre5 to 0.6.0-pre6
@@ -458,3 +458,3 @@ #!/usr/bin/env node | ||
// Client streaming | ||
formatter.writeLine(`${methodName}(call: grpc.ServerReadableStream<${requestType}>, callback: grpc.SendUnaryData<${responseType}>): void;`); | ||
formatter.writeLine(`${methodName}(call: grpc.ServerReadableStream<${requestType}>, callback: grpc.sendUnaryData<${responseType}>): void;`); | ||
} | ||
@@ -465,7 +465,7 @@ } | ||
// Server streaming | ||
formatter.writeLine(`${methodName}(call: grpc.ServerWriteableStream<${requestType}, ${responseType}>): void;`); | ||
formatter.writeLine(`${methodName}(call: grpc.ServerWritableStream<${requestType}, ${responseType}>): void;`); | ||
} | ||
else { | ||
// Unary | ||
formatter.writeLine(`${methodName}(call: grpc.ServerUnaryCall<${requestType}>, callback: grpc.SendUnaryData<${responseType}>): void;`); | ||
formatter.writeLine(`${methodName}(call: grpc.ServerUnaryCall<${requestType}, ${responseType}>, callback: grpc.sendUnaryData<${responseType}>): void;`); | ||
} | ||
@@ -472,0 +472,0 @@ } |
{ | ||
"name": "@grpc/proto-loader", | ||
"version": "0.6.0-pre5", | ||
"version": "0.6.0-pre6", | ||
"author": "Google Inc.", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57207