Comparing version 0.0.6 to 0.1.0
@@ -72,2 +72,3 @@ var querystring = require('querystring'); | ||
token.access_token = result.access_token; | ||
token.refresh_token = result.refresh_token; | ||
client.emit('tokenRefresh'); | ||
@@ -103,6 +104,3 @@ client.getFeed(url, params, callback); | ||
}, function(err, result) { | ||
if(!err && result && result.access_token) { | ||
token.access_token | ||
result.refresh_token = token.refresh_token; | ||
} else { | ||
if(err || !result || !result.access_token) { | ||
console.error('err', err); | ||
@@ -109,0 +107,0 @@ console.error('result', result); |
{ | ||
"name": "gdata-js", | ||
"description": "Simple OAuth 2.0 GData API client", | ||
"version": "0.0.6", | ||
"version": "0.1.0", | ||
"author": "Simon Murtha-Smith <simon@murtha-smith.com>", | ||
@@ -6,0 +6,0 @@ "keywords": ["google", "gdata"], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7709
162