diff --git a/rls/CSO.Recaptcha.0.0.1.nupkg b/rls/CSO.Recaptcha.0.0.1.nupkg
new file mode 100644
index 0000000..c8a16bd
Binary files /dev/null and b/rls/CSO.Recaptcha.0.0.1.nupkg differ
diff --git a/rls/CSO.Recaptcha.0.0.2.nupkg b/rls/CSO.Recaptcha.0.0.2.nupkg
new file mode 100644
index 0000000..76ed163
Binary files /dev/null and b/rls/CSO.Recaptcha.0.0.2.nupkg differ
diff --git a/src/CSO.Recaptcha/CSO.Recaptcha.csproj b/src/CSO.Recaptcha/CSO.Recaptcha.csproj
index 0bbcb68..ec576ee 100644
--- a/src/CSO.Recaptcha/CSO.Recaptcha.csproj
+++ b/src/CSO.Recaptcha/CSO.Recaptcha.csproj
@@ -12,12 +12,12 @@
CSO.Recaptcha
CSO Recaptcha
Central Statistics Office, Ireland
- 0.0.1
+ 0.0.2
Central Statistics Office, Ireland
False
https://github.com/CSOIreland/CSORecaptcha
- - [INFO] initial release of CSO standalone recaptcha library
+ - [bug fix] removed logobject.instance references.
true
true
diff --git a/src/CSO.Recaptcha/Entities/ReCAPTCHA.cs b/src/CSO.Recaptcha/Entities/ReCAPTCHA.cs
index c2adc2b..b8f38d2 100644
--- a/src/CSO.Recaptcha/Entities/ReCAPTCHA.cs
+++ b/src/CSO.Recaptcha/Entities/ReCAPTCHA.cs
@@ -89,24 +89,24 @@ public static bool Validate(string encodedResponse, IDictionary
var responseObject = JsonConvert.DeserializeObject(responseString, new JsonSerializerSettings { TypeNameHandling = TypeNameHandling.None });
var responseSuccess = (string)responseObject["success"];
- LogObject.Instance.Info("Server Response: " + responseString);
+ LogObject.Info("Server Response: " + responseString);
if (responseSuccess.ToLowerInvariant() == "true")
{
// All good and valid
- LogObject.Instance.Info("Valid Encoded Response: " + encodedResponse);
+ LogObject.Info("Valid Encoded Response: " + encodedResponse);
return true;
}
else
{
// Something went wrong
- LogObject.Instance.Info("Invalid Encoded Response: " + encodedResponse);
+ LogObject.Info("Invalid Encoded Response: " + encodedResponse);
return false;
}
}
catch (Exception e)
{
- LogObject.Instance.Fatal(e);
+ LogObject.Fatal(e);
return false;
}
}