@highlight-run/node
Advanced tools
Comparing version 3.9.7 to 3.10.0
# @highlight-run/node | ||
## 3.10.0 | ||
### Minor Changes | ||
- 236afe0: support span naming in runwithheaders and set a default span name for route middlewares | ||
## 3.9.7 | ||
@@ -4,0 +10,0 @@ |
@@ -52,3 +52,3 @@ import { Attributes, Context, Span as OtelSpan, SpanOptions } from '@opentelemetry/api'; | ||
parseHeaders(headers: Headers | IncomingHttpHeaders): HighlightContext; | ||
runWithHeaders<T>(headers: Headers | IncomingHttpHeaders, cb: (span: OtelSpan) => T | Promise<T>): Promise<T>; | ||
runWithHeaders<T>(name: string, headers: Headers | IncomingHttpHeaders, cb: (span: OtelSpan) => T | Promise<T>, options?: SpanOptions): Promise<T>; | ||
startWithHeaders<T>(spanName: string, headers: Headers | IncomingHttpHeaders, options?: SpanOptions): { | ||
@@ -58,5 +58,4 @@ span: OtelSpan; | ||
}; | ||
startActiveSpan(name: string, options?: SpanOptions): Promise<OtelSpan>; | ||
} | ||
export {}; | ||
//# sourceMappingURL=client.d.ts.map |
@@ -13,4 +13,4 @@ import { Attributes, Context, Span as OtelSpan, SpanOptions } from '@opentelemetry/api'; | ||
parseHeaders: (headers: Headers | IncomingHttpHeaders) => HighlightContext; | ||
runWithHeaders: <T>(headers: Headers | IncomingHttpHeaders, cb: (span: OtelSpan) => T | Promise<T>) => Promise<T>; | ||
startWithHeaders: (name: string, headers: Headers | IncomingHttpHeaders, options: SpanOptions) => { | ||
runWithHeaders: <T>(name: string, headers: Headers | IncomingHttpHeaders, cb: (span: OtelSpan) => T | Promise<T>, options?: SpanOptions) => Promise<T>; | ||
startWithHeaders: (name: string, headers: Headers | IncomingHttpHeaders, options?: SpanOptions) => { | ||
span: OtelSpan; | ||
@@ -30,3 +30,2 @@ ctx: Context; | ||
setAttributes: (attributes: ResourceAttributes) => void; | ||
startActiveSpan: (name: string, options: SpanOptions) => Promise<OtelSpan>; | ||
_debug: (...data: any[]) => void; | ||
@@ -33,0 +32,0 @@ } |
{ | ||
"name": "@highlight-run/node", | ||
"version": "3.9.7", | ||
"version": "3.10.0", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
19448423
16792