From 972c29782804b01194d3f4992c74e6417c5df333 Mon Sep 17 00:00:00 2001 From: Jorge Vargas Date: Wed, 18 Sep 2024 15:54:48 -0500 Subject: [PATCH 1/2] fix(aws-xray-sdk-fastify): add missing export default --- sdk_contrib/fastify/lib/index.d.ts | 2 ++ sdk_contrib/fastify/lib/plugin.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sdk_contrib/fastify/lib/index.d.ts b/sdk_contrib/fastify/lib/index.d.ts index 1110b645..0936566f 100644 --- a/sdk_contrib/fastify/lib/index.d.ts +++ b/sdk_contrib/fastify/lib/index.d.ts @@ -1 +1,3 @@ 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..01f50846 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; \ No newline at end of file From 7817186f9a4bab8b440ef6c2ffd16cc0ac828238 Mon Sep 17 00:00:00 2001 From: Jorge Vargas Date: Wed, 18 Sep 2024 15:56:45 -0500 Subject: [PATCH 2/2] chore(aws-xray-sdk-fastify): update spaces --- sdk_contrib/fastify/lib/index.d.ts | 1 - sdk_contrib/fastify/lib/plugin.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk_contrib/fastify/lib/index.d.ts b/sdk_contrib/fastify/lib/index.d.ts index 0936566f..eb59f632 100644 --- a/sdk_contrib/fastify/lib/index.d.ts +++ b/sdk_contrib/fastify/lib/index.d.ts @@ -1,3 +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 01f50846..8edc2083 100644 --- a/sdk_contrib/fastify/lib/plugin.js +++ b/sdk_contrib/fastify/lib/plugin.js @@ -17,4 +17,4 @@ const xRayFastifyPlugin = async (fastify, opts) => { module.exports = xRayFastifyPlugin; -exports.xRayFastifyPlugin = xRayFastifyPlugin; \ No newline at end of file +exports.xRayFastifyPlugin = xRayFastifyPlugin;