diff --git a/Readme.md b/Readme.md index f111b0b..96da511 100644 --- a/Readme.md +++ b/Readme.md @@ -10,6 +10,7 @@ at express-auth (http://github.com/ciaranj/express-auth) Change History ============== +* 0.7.5 - Added in a main.js to simplify the require'ing of OAuth * 0.7.4 - Minor change to add an error listener to the OAuth client (thanks troyk) * 0.7.3 - OAuth 2 now sends a Content-Length Http header to keep nginx happy :) * 0.7.2 - Fixes some broken unit tests! diff --git a/main.js b/main.js new file mode 100644 index 0000000..dbd938a --- /dev/null +++ b/main.js @@ -0,0 +1,2 @@ +exports.OAuth = require("./lib/oauth").OAuth; +exports.OAuth2 = require("./lib/oauth2").OAuth2; \ No newline at end of file diff --git a/package.json b/package.json index abb6ea8..8bcd76d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name" : "oauth" -, "version" : "0.7.4" +, "version" : "0.7.5" , "directories" : { "lib" : "./lib" } +, "main" : "main.js" , "author" : "Ciaran Jessup" } \ No newline at end of file