@ifings/api-client
Advanced tools
Comparing version 0.5.11 to 0.6.0
@@ -13,10 +13,17 @@ "use strict"; | ||
return _objectSpread(_objectSpread({}, methods(instance, "/v3/hardware/sensors")), {}, { | ||
datastreams: { | ||
put: function put(sensorId, datastreamId) { | ||
var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; | ||
var config = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; | ||
return methods(instance, "/v3/hardware/sensors/".concat(sensorId, "/datastreams")).put(datastreamId, data, config); | ||
} | ||
dataStreamMethods: function dataStreamMethods(sensorId) { | ||
var _methods = methods(instance, "/v3/hardware/sensors/".concat(sensorId, "/datastreams")), | ||
put = _methods.put, | ||
create = _methods.create, | ||
deleteMethod = _methods.delete, | ||
find = _methods.find; | ||
return { | ||
put: put, | ||
create: create, | ||
delete: deleteMethod, | ||
find: find | ||
}; | ||
} | ||
}); | ||
}; |
{ | ||
"name": "@ifings/api-client", | ||
"description": "iFings API client", | ||
"version": "0.5.11", | ||
"version": "0.6.0", | ||
"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
44226
349