import { v4 as uuidv4 } from 'uuid';
import { AMAZON_REQUEST_TRACING_HEADER } from './middleware';
import { getTracing } from './context';
export const newTracing = () => {
    return uuidv4();
};
export const newAmazonTracingHeader = (ctx) => {
    return { header: AMAZON_REQUEST_TRACING_HEADER, value: `Root=${getTracing(ctx)}` };
};
//# sourceMappingURL=tracing.js.map