Skip to content

Commit

Permalink
add default export
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <[email protected]>
  • Loading branch information
mcollina committed Feb 4, 2024
1 parent 2a38cb2 commit e8cebe0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions oauth-interceptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,5 @@ function createOAuthInterceptor (options) {
}
}

module.exports = createOAuthInterceptor
module.exports.createOAuthInterceptor = createOAuthInterceptor
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "undici-oauth-interceptor",
"version": "0.4.0",
"version": "0.4.1",
"description": "Automatically manage OAuth 2.0 access tokens for Undici requests",
"main": "oauth-interceptor.js",
"scripts": {
Expand Down

0 comments on commit e8cebe0

Please sign in to comment.