Release 0.1.7

This commit is contained in:
Dan
2014-07-27 12:10:58 -03:00
parent 976949d443
commit ba1ad544f9
3 changed files with 13 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
0.1.7 / 2014-07-27
==================
* Added Multi endpoint
* Error handling
* Movie credits endpoint
0.1.6 / 2014-07-08
==================

View File

@@ -40,6 +40,8 @@ MovieDB.prototype.requestToken = function(fn){
if(res.ok) self.token = res.body;
else throw res.error;
fn();
}).on('error', function(){
throw res.error;
});
return this;
@@ -91,4 +93,6 @@ var execMethod = function(type, params, endpoint, fn){
if(res.ok) fn(null, res.body);
else fn(res.error, null);
});
req.on('error', fn);
};

View File

@@ -1,7 +1,7 @@
{
"name" : "moviedb"
, "description" : "Library for interacting with themoviedb.com API"
, "version" : "0.1.6"
, "version" : "0.1.7"
, "keywords" : ["themoviedb","api"]
, "directories" : { "lib" : "./lib" }
, "main" : "index.js"