diff --git a/lib/proxies/iot.rest.js b/lib/proxies/iot.rest.js index ef2ee70..db63569 100644 --- a/lib/proxies/iot.rest.js +++ b/lib/proxies/iot.rest.js @@ -116,6 +116,7 @@ IoTKitRestCloud.prototype.activation = function (data, callback) { var secret = { }; if (!err && response && response.deviceToken && response.domainId) { secret.deviceToken = response.deviceToken; + secret.refreshToken = response.refreshToken; secret.accountId = response.domainId; secret.status = 0; } else { diff --git a/package.json b/package.json index ff8a252..c482464 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@open-iot-service-platform/oisp-sdk-js", - "version": "1.1.2", + "version": "1.1.3", "description": "OISP SDK for Node.js", "main": "index.js", "scripts": {