From f163e4099772bf065a8b7afacf0400208764b331 Mon Sep 17 00:00:00 2001 From: Jorge Vargas Date: Mon, 14 Oct 2024 16:04:40 -0500 Subject: [PATCH] fix(aws-xray-sdk-fastify): add missing export default (#686) * fix(aws-xray-sdk-fastify): add missing export default * chore(aws-xray-sdk-fastify): update spaces --------- Co-authored-by: Jorge Vargas Co-authored-by: Jonathan Lee <107072447+jj22ee@users.noreply.github.com> --- sdk_contrib/fastify/lib/index.d.ts | 1 + sdk_contrib/fastify/lib/plugin.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sdk_contrib/fastify/lib/index.d.ts b/sdk_contrib/fastify/lib/index.d.ts index 1110b645..eb59f632 100644 --- a/sdk_contrib/fastify/lib/index.d.ts +++ b/sdk_contrib/fastify/lib/index.d.ts @@ -1 +1,2 @@ export * from './plugin'; +export { default } from './plugin'; diff --git a/sdk_contrib/fastify/lib/plugin.js b/sdk_contrib/fastify/lib/plugin.js index be32ed1f..8edc2083 100644 --- a/sdk_contrib/fastify/lib/plugin.js +++ b/sdk_contrib/fastify/lib/plugin.js @@ -16,3 +16,5 @@ const xRayFastifyPlugin = async (fastify, opts) => { }; module.exports = xRayFastifyPlugin; + +exports.xRayFastifyPlugin = xRayFastifyPlugin;