Comparing version 0.0.3 to 0.0.4
@@ -73,3 +73,3 @@ | ||
var api_headers = {}; | ||
var encoding =""; | ||
var encoding ="utf8"; | ||
var req_body = null; | ||
@@ -76,0 +76,0 @@ var formData = null; |
@@ -12,4 +12,5 @@ | ||
var version = "v2"; | ||
var mysql_username = "root"; | ||
var mysql_password = ""; | ||
var ZCRMRestClient = function(){}; | ||
@@ -42,2 +43,7 @@ | ||
mysql_username = config_properties.get('mysql.username')?config_properties.get('mysql.username'):mysql_username; | ||
mysql_password = config_properties.get('mysql.password')?config_properties.get('mysql.password'):mysql_password; | ||
if(config_properties.get('crm.api.user_identifier')){ | ||
@@ -58,2 +64,3 @@ | ||
ZCRMRestClient.setIAMUrl(iam_url); | ||
@@ -270,2 +277,11 @@ resolve(); | ||
} | ||
ZCRMRestClient.getMySQLUserName = function(){ | ||
return mysql_username; | ||
} | ||
ZCRMRestClient.getMYSQLPassword = function(){ | ||
return mysql_password; | ||
} | ||
ZCRMRestClient.parseAndConstructObject = function(response){ | ||
@@ -272,0 +288,0 @@ |
{ | ||
"name": "zcrmsdk", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Node SDK for Zoho CRM", | ||
@@ -5,0 +5,0 @@ "main": "lib/js/ZCRMRestClient", |
34705
697