googlecontacts
Advanced tools
Comparing version 0.0.5 to 0.0.6
11
index.js
@@ -37,12 +37,3 @@ /** | ||
this.auth.on(GoogleClientLogin.events.error, function(e) { | ||
switch(e.message) { | ||
case GoogleClientLogin.errors.loginFailed: | ||
throw new Error('Login Failed') | ||
break; | ||
case GoogleClientLogin.errors.tokenMissing: | ||
case GoogleClientLogin.errors.captchaMissing: | ||
throw new Error('You must pass the both captcha token and the captcha') | ||
break; | ||
} | ||
throw new Error('Unknown error'); | ||
throw new Error('Login error'); | ||
}); | ||
@@ -49,0 +40,0 @@ }; |
@@ -9,3 +9,3 @@ { | ||
"description": "Node.js client for Google Contacts", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"homepage": "", | ||
@@ -12,0 +12,0 @@ "repository": { |
2174
37