mirror of
https://github.com/KevinMidboe/moviedb.git
synced 2025-10-29 17:50:25 +00:00
Release 0.1.7
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
0.1.7 / 2014-07-27
|
||||
==================
|
||||
|
||||
* Added Multi endpoint
|
||||
* Error handling
|
||||
* Movie credits endpoint
|
||||
|
||||
|
||||
0.1.6 / 2014-07-08
|
||||
==================
|
||||
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user