grpc-code-gen
Advanced tools
Comparing version 3.4.3 to 3.4.4
@@ -395,2 +395,3 @@ "use strict"; | ||
if (!/^\\$/.test(key)) { | ||
const origin = Service.prototype[key]; | ||
Service.prototype[key] = promisify(function(request: any, options: any, callback: any){ | ||
@@ -404,3 +405,3 @@ if (typeof callback !== 'undefined') { | ||
return Service.prototype[key](request, options, callback); | ||
return origin(request, options, callback); | ||
}); | ||
@@ -407,0 +408,0 @@ } |
{ | ||
"name": "grpc-code-gen", | ||
"version": "3.4.3", | ||
"version": "3.4.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/yunkeCN/grpc-code-gen.git", |
@@ -469,2 +469,3 @@ import * as fs from 'fs-extra'; | ||
if (!/^\\$/.test(key)) { | ||
const origin = Service.prototype[key]; | ||
Service.prototype[key] = promisify(function(request: any, options: any, callback: any){ | ||
@@ -478,3 +479,3 @@ if (typeof callback !== 'undefined') { | ||
return Service.prototype[key](request, options, callback); | ||
return origin(request, options, callback); | ||
}); | ||
@@ -481,0 +482,0 @@ } |
Sorry, the diff of this file is not supported yet
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
120813
1795