@ifings/api-client
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -56,2 +56,8 @@ "use strict"; | ||
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/sensors")).put(sensorId, putData, config); | ||
}, | ||
create: function create(data, config) { | ||
var stackId = data.stackId, | ||
createData = _objectWithoutProperties(data, ["stackId"]); | ||
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/sensors")).create(createData, config); | ||
} | ||
@@ -71,2 +77,8 @@ }, | ||
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/actuators")).put(actuatorId, putData, config); | ||
}, | ||
create: function create(data, config) { | ||
var stackId = data.stackId, | ||
createData = _objectWithoutProperties(data, ["stackId"]); | ||
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/actuators")).create(createData, config); | ||
} | ||
@@ -73,0 +85,0 @@ }, |
{ | ||
"name": "@ifings/api-client", | ||
"description": "iFings API client", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47492
403