grpc-code-gen
Advanced tools
Comparing version 6.0.7 to 6.0.8
@@ -73,3 +73,3 @@ "use strict"; | ||
url = '', method = '', headers = {}, | ||
metadata: callmetadata = {} | ||
metadata: callmetadata = {}, traceId = '' | ||
}: any = option || {} | ||
@@ -84,3 +84,3 @@ | ||
'request:', JSON.stringify(request), | ||
'trace.id', headers['trace-id'] | ||
'trace.id', headers['trace-id'] || traceId || metadata.traceId || '' | ||
); | ||
@@ -87,0 +87,0 @@ } |
{ | ||
"name": "grpc-code-gen", | ||
"version": "6.0.7", | ||
"version": "6.0.8", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/yunkeCN/grpc-code-gen.git", |
@@ -76,3 +76,3 @@ import { fileTip, getImportPath, tslintDisable } from "./utils"; | ||
url = '', method = '', headers = {}, | ||
metadata: callmetadata = {} | ||
metadata: callmetadata = {}, traceId = '' | ||
}: any = option || {} | ||
@@ -87,3 +87,3 @@ | ||
'request:', JSON.stringify(request), | ||
'trace.id', headers['trace-id'] | ||
'trace.id', headers['trace-id'] || traceId || metadata.traceId || '' | ||
); | ||
@@ -90,0 +90,0 @@ } |
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
98415