Skip to content

Commit f163e40

Browse files
jorgevrgsjj22ee
andauthored
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 <[email protected]> Co-authored-by: Jonathan Lee <[email protected]>
1 parent e28c1af commit f163e40

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: sdk_contrib/fastify/lib/index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export * from './plugin';
2+
export { default } from './plugin';

Diff for: sdk_contrib/fastify/lib/plugin.js

+2
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ const xRayFastifyPlugin = async (fastify, opts) => {
1616
};
1717

1818
module.exports = xRayFastifyPlugin;
19+
20+
exports.xRayFastifyPlugin = xRayFastifyPlugin;

0 commit comments

Comments
 (0)