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;