testaugnitoambientsdk
Advanced tools
Comparing version 2.0.5 to 2.0.6
{ | ||
"name": "testaugnitoambientsdk", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Use this typescript SDK to integrate Augnito’s Ambient Tech within your EMR. To get access credentials or know more about how Augnito Ambient can benefit you, please visit our website and connect with our sales team: https://augnito.ai/", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -36,3 +36,7 @@ "use strict"; | ||
return response.text().then(text => { | ||
console.log(text); | ||
var errorJson = JSON.parse(text); | ||
console.log(errorJson); | ||
if (errorJson) { | ||
throw new Error(errorJson.ErrorMessage); | ||
} | ||
}); | ||
@@ -39,0 +43,0 @@ } |
@@ -27,3 +27,7 @@ import AmbientConfig from "../config/AmbientConfig"; | ||
return response.text().then(text => { | ||
console.log(text); | ||
var errorJson = JSON.parse(text); | ||
console.log(errorJson); | ||
if(errorJson){ | ||
throw new Error(errorJson.ErrorMessage); | ||
} | ||
}); | ||
@@ -30,0 +34,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
62239
1401