From 171b6d4599e8221ed305989b72ee16dcd44bd924 Mon Sep 17 00:00:00 2001 From: ciaranj Date: Sun, 18 Jul 2010 21:26:22 +0100 Subject: [PATCH] Bumping version to 0.7.5, adding a top-level main file to ease npm inclusion. --- Readme.md | 1 + main.js | 2 ++ package.json | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 main.js 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