@wiotp/sdk
Advanced tools
Comparing version 0.4.1 to 0.4.2
{ | ||
"name": "@wiotp/sdk", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "SDK for developing device, gateway, and application clients for IBM Watson IoT Platform", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -67,4 +67,4 @@ /** | ||
// {name, description, serviceId, timezone, enabled} | ||
createConnector({name, description=undefined, serviceId, timezone='UTC', enabled=true}) { | ||
return this.apiClient.callApi('POST', 201, true, ['historianconnectors'], {name, description, serviceId, timezone, enabled}) | ||
createConnector({name, type, description=undefined, serviceId, timezone='UTC', enabled=true}) { | ||
return this.apiClient.callApi('POST', 201, true, ['historianconnectors'], {name, description, type, serviceId, timezone, enabled}) | ||
.catch(err => errors.handleError(err, {})); | ||
@@ -71,0 +71,0 @@ } |
129667