yodata-client-js
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -19,3 +19,3 @@ { | ||
}, | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"main": "yodata.client.js", | ||
@@ -22,0 +22,0 @@ "private": false, |
@@ -55,3 +55,7 @@ (function() { | ||
callback(err, typeof body === 'object' ? body : JSON.parse(body)); | ||
if (err) { | ||
callback(err, null); | ||
} else { | ||
callback(null, typeof body === 'object' ? body : JSON.parse(body)); | ||
} | ||
}); | ||
@@ -106,3 +110,7 @@ | ||
callback(err, JSON.parse(body)); | ||
if (err) { | ||
callback(err, null); | ||
} else { | ||
callback(null, typeof body === 'object' ? body : JSON.parse(body)); | ||
} | ||
}); | ||
@@ -109,0 +117,0 @@ } |
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
16391
224