From e3baf8b0aba0ee6dcceb3562d5618726ef890945 Mon Sep 17 00:00:00 2001 From: rreddypally <43081643+rreddypally@users.noreply.github.com> Date: Mon, 22 Aug 2022 19:48:15 +1000 Subject: [PATCH] Bug (Tracer): Tracer imports all the components via TracerInterface #1068 --- packages/tracer/src/Tracer.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/tracer/src/Tracer.ts b/packages/tracer/src/Tracer.ts index 9a572f45a3..447345450c 100644 --- a/packages/tracer/src/Tracer.ts +++ b/packages/tracer/src/Tracer.ts @@ -1,10 +1,10 @@ -import { Handler } from 'aws-lambda'; import { AsyncHandler, SyncHandler, Utility } from '@aws-lambda-powertools/commons'; -import { TracerInterface } from '.'; +import { Handler } from 'aws-lambda'; +import { Segment, Subsegment } from 'aws-xray-sdk-core'; import { ConfigServiceInterface, EnvironmentVariablesService } from './config'; -import { HandlerMethodDecorator, TracerOptions, MethodDecorator } from './types'; import { ProviderService, ProviderServiceInterface } from './provider'; -import { Segment, Subsegment } from 'aws-xray-sdk-core'; +import { TracerInterface } from './TracerInterface'; +import { HandlerMethodDecorator, MethodDecorator, TracerOptions } from './types'; /** * ## Intro @@ -823,4 +823,4 @@ class Tracer extends Utility implements TracerInterface { export { Tracer -}; \ No newline at end of file +};