@wiotp/sdk
Advanced tools
Comparing version 0.4.2 to 0.5.0
{ | ||
"name": "@wiotp/sdk", | ||
"version": "0.4.2", | ||
"version": "0.5.0", | ||
"description": "SDK for developing device, gateway, and application clients for IBM Watson IoT Platform", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -72,2 +72,8 @@ /** | ||
updateConnector({id, name, description, serviceId, type, enabled, timezone}) { | ||
return this.apiClient.callApi('PUT', 200, true, ['historianconnectors', id], {id, name, description, serviceId, type, enabled, timezone}) | ||
.catch(err => errors.handleError(err, {})); | ||
} | ||
getConnectors({name, serviceType, enabled, serviceId}) { | ||
@@ -74,0 +80,0 @@ return this.apiClient.callApi('GET', 200, true, ['historianconnectors'], null, { |
129947
2513