Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koa-opentracing

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-opentracing - npm Package Compare versions

Comparing version 1.3.6 to 1.3.7

24

global.d.ts

@@ -40,15 +40,17 @@ // Type definitions for koa-opentracing 1.3

declare class HTTPCarrier implements koaOpentracing.Carrier {
inject(spanContext: koaOpentracing.SpanContext): koaOpentracing.spanContextCarrier
extract(header: Object): koaOpentracing.spanContextCarrier
}
declare namespace global {
class HTTPCarrier implements koaOpentracing.Carrier {
inject(spanContext: koaOpentracing.SpanContext): koaOpentracing.spanContextCarrier
extract(header: Object): koaOpentracing.spanContextCarrier
}
declare class ConstSampler implements koaOpentracing.Sampler {
constructor(decision: Boolean)
isSampled(ctx: Koa.Context): Boolean
}
class ConstSampler implements koaOpentracing.Sampler {
constructor(decision: Boolean)
isSampled(ctx: Koa.Context): Boolean
}
declare class ZipkinLogger implements koaOpentracing.Logger {
constructor(opt: koaOpentracing.ZipkinLoggerOptions)
log(span: koaOpentracing.Span): void
class ZipkinLogger implements koaOpentracing.Logger {
constructor(opt: koaOpentracing.ZipkinLoggerOptions)
log(span: koaOpentracing.Span): void
}
}

@@ -55,0 +57,0 @@

@@ -5,3 +5,3 @@ {

"types": "global.d.ts",
"version": "1.3.6",
"version": "1.3.7",
"repository": "https://github.com/teambition/koa-opentracing.git",

@@ -8,0 +8,0 @@ "author": "cnwangjie",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc