Comparing version 0.0.15 to 0.0.16
@@ -26,3 +26,2 @@ | ||
OAuth.generateTokens(url).then(function(response){ | ||
var result_obj = crmclient.parseAndConstructObject(response); | ||
@@ -29,0 +28,0 @@ |
@@ -317,3 +317,5 @@ | ||
} | ||
if(!body.expires_in_sec){ | ||
body.expires_in = body.expires_in*1000; | ||
} | ||
resultObj.expires_in = body.expires_in+current_time; | ||
@@ -320,0 +322,0 @@ } |
{ | ||
"_from": "zcrmsdk", | ||
"_id": "zcrmsdk@0.0.15", | ||
"_inBundle": false, | ||
"_integrity": "sha512-nZw9j7ShxnP1HliHxavAHb9Mq2cIdVvWvIL3xNaIvm64/s6ARZAt14sHL71La3OS6MIzx5oxiSnvUgRhJHN9KQ==", | ||
"_location": "/zcrmsdk", | ||
"_phantomChildren": {}, | ||
"_requested": { | ||
"type": "tag", | ||
"registry": true, | ||
"raw": "zcrmsdk", | ||
"name": "zcrmsdk", | ||
"escapedName": "zcrmsdk", | ||
"rawSpec": "", | ||
"saveSpec": null, | ||
"fetchSpec": "latest" | ||
}, | ||
"_requiredBy": [ | ||
"#USER", | ||
"/" | ||
], | ||
"_resolved": "https://registry.npmjs.org/zcrmsdk/-/zcrmsdk-0.0.13.tgz", | ||
"_shasum": "99f7ebde1b6155690ecb2f032a35fbd4ecaf1774", | ||
"_spec": "zcrmsdk", | ||
"_where": "/Volumes/Official/PUBLISH_NOde/PUBLISHING_DIRECTORY", | ||
"author": { | ||
"name": "Zoho CRM API Team", | ||
"url": "support@zohocrm.com" | ||
}, | ||
"bundleDependencies": false, | ||
"name": "zcrmsdk", | ||
"version": "0.0.16", | ||
"description": "Node SDK for Zoho CRM", | ||
"main": "lib/js/ZCRMRestClient", | ||
"dependencies": { | ||
"fs": "0.0.1-security", | ||
"mysql": "^2.15.0", | ||
"mysql": "^2.17.1", | ||
"properties-reader": "0.0.16", | ||
"querystring": "^0.2.0", | ||
"request": "^2.81.0" | ||
"request": "^2.88.0" | ||
}, | ||
"deprecated": false, | ||
"description": "Node SDK for Zoho CRM", | ||
"keywords": [ | ||
@@ -47,5 +20,3 @@ "Node", | ||
], | ||
"main": "lib/js/ZCRMRestClient", | ||
"name": "zcrmsdk", | ||
"version": "0.0.15" | ||
"author": "Zoho CRM API Team (support@zohocrm.com)" | ||
} |
@@ -83,3 +83,9 @@ ##Node JS SDK for Zoho CRM | ||
user_identifier can be set in two ways . | ||
1.Mentioning it in api.user_identifier in configuration.properties file | ||
2.Can be set via code using set setUserIdentifier. | ||
If user_identifier is not set via both the ways then default value 'zcrm_default_user' will be set by the sdk itself . | ||
##Token Storage Mechanism | ||
@@ -86,0 +92,0 @@ |
722
268
36240
Updatedmysql@^2.17.1
Updatedrequest@^2.88.0