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.7.0 to 0.8.0

16

dist/routes/gateways.js

@@ -11,4 +11,18 @@ "use strict";

var baseUrl = "/v3/hardware/gateways";
module.exports = function (instance) {
return _objectSpread({}, methods(instance, "/v3/hardware/gateways"));
return _objectSpread(_objectSpread({}, methods(instance, baseUrl)), {}, {
firmware: {
find: function find(firmWareId) {
var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
return instance.get("".concat(baseUrl, "/").concat(firmWareId, "/firmware"), config);
},
upload: function upload(id) {
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
return instance.put("".concat(baseUrl, "/").concat(id, "/firmware"), data, config);
}
}
});
};

2

package.json
{
"name": "@ifings/api-client",
"description": "iFings API client",
"version": "0.7.0",
"version": "0.8.0",
"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