diff --git a/oauth-interceptor.js b/oauth-interceptor.js index 5a85c4f..4ce45cf 100644 --- a/oauth-interceptor.js +++ b/oauth-interceptor.js @@ -134,4 +134,5 @@ function createOAuthInterceptor (options) { } } +module.exports = createOAuthInterceptor module.exports.createOAuthInterceptor = createOAuthInterceptor diff --git a/package.json b/package.json index d3bdcc1..d510d33 100644 --- a/package.json +++ b/package.json @@ -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": {