plutin 1.7.4 → 1.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -343,9 +343,10 @@ interface ILogger {
343
343
  }
344
344
 
345
345
  declare class WinstonOtelFastify implements ILogger {
346
- logger: Logger;
346
+ logger: Logger | null;
347
347
  consoleLogger: winston.Logger;
348
348
  level: 'info' | 'error' | 'debug' | 'fatal' | 'warn';
349
+ private otelEnabled;
349
350
  constructor();
350
351
  private bodyIsFastifyRequest;
351
352
  private bodyIsFastifyReply;
@@ -380,6 +381,7 @@ declare class OpenTelemetry {
380
381
  sdk: NodeSDK;
381
382
  constructor(env: Record<string, any>);
382
383
  startSdk(): void;
384
+ shutdown(): Promise<void>;
383
385
  }
384
386
 
385
387
  declare function Span(): MethodDecorator;
package/dist/index.d.ts CHANGED
@@ -343,9 +343,10 @@ interface ILogger {
343
343
  }
344
344
 
345
345
  declare class WinstonOtelFastify implements ILogger {
346
- logger: Logger;
346
+ logger: Logger | null;
347
347
  consoleLogger: winston.Logger;
348
348
  level: 'info' | 'error' | 'debug' | 'fatal' | 'warn';
349
+ private otelEnabled;
349
350
  constructor();
350
351
  private bodyIsFastifyRequest;
351
352
  private bodyIsFastifyReply;
@@ -380,6 +381,7 @@ declare class OpenTelemetry {
380
381
  sdk: NodeSDK;
381
382
  constructor(env: Record<string, any>);
382
383
  startSdk(): void;
384
+ shutdown(): Promise<void>;
383
385
  }
384
386
 
385
387
  declare function Span(): MethodDecorator;