Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ifings/api-client

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ifings/api-client - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

20

dist/routes/stacks.js

@@ -47,11 +47,11 @@ "use strict";

var stackId = data.stackId,
sensorId = data.sensorId;
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/sensors")).delete(sensorId, config);
id = data.id;
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/sensors")).delete(id, config);
},
put: function put(data, config) {
var stackId = data.stackId,
sensorId = data.sensorId,
putData = _objectWithoutProperties(data, ["stackId", "sensorId"]);
id = data.id,
putData = _objectWithoutProperties(data, ["stackId", "id"]);
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/sensors")).put(sensorId, putData, config);
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/sensors")).put(id, putData, config);
},

@@ -68,11 +68,11 @@ create: function create(data, config) {

var stackId = data.stackId,
actuatorId = data.actuatorId;
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/actuators")).delete(actuatorId, config);
id = data.id;
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/actuators")).delete(id, config);
},
put: function put(data, config) {
var stackId = data.stackId,
actuatorId = data.actuatorId,
putData = _objectWithoutProperties(data, ["stackId", "actuatorId"]);
id = data.id,
putData = _objectWithoutProperties(data, ["stackId", "id"]);
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/actuators")).put(actuatorId, putData, config);
return methods(instance, "".concat(baseUrl, "/").concat(stackId, "/actuators")).put(id, putData, config);
},

@@ -79,0 +79,0 @@ create: function create(data, config) {

{
"name": "@ifings/api-client",
"description": "iFings API client",
"version": "0.6.3",
"version": "0.6.4",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc