Skip to content

Commit

Permalink
fix(aws-xray-sdk-fastify): add missing export default (#686)
Browse files Browse the repository at this point in the history
* fix(aws-xray-sdk-fastify): add missing export default

* chore(aws-xray-sdk-fastify): update spaces

---------

Co-authored-by: Jorge Vargas <jorge.vargas@zemoga.com>
Co-authored-by: Jonathan Lee <107072447+jj22ee@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 14, 2024
1 parent e28c1af commit f163e40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions sdk_contrib/fastify/lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './plugin';
export { default } from './plugin';
2 changes: 2 additions & 0 deletions sdk_contrib/fastify/lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ const xRayFastifyPlugin = async (fastify, opts) => {
};

module.exports = xRayFastifyPlugin;

exports.xRayFastifyPlugin = xRayFastifyPlugin;

0 comments on commit f163e40

Please sign in to comment.