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

iot-js-sdk

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iot-js-sdk - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

4

container/container-controller.js

@@ -83,3 +83,3 @@ 'use strict';

};
return this.connection.post(data, '/containers/subscribe');
return this.connection.post(JSON.stringify(data), '/containers/subscribe');
};

@@ -91,2 +91,2 @@

exports.default = ContainerController;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb250YWluZXIvY29udGFpbmVyLWNvbnRyb2xsZXIuanMiXSwibmFtZXMiOlsiQ29udGFpbmVyQ29udHJvbGxlciIsImNvbm5lY3Rpb24iLCJFcnJvciIsImdldENvbnRhaW5lciIsImlkIiwiUHJvbWlzZSIsInJlamVjdCIsImdldCIsInRoZW4iLCJkYXRhIiwiZmlsbExldmVsIiwibGF0aXR1ZGUiLCJsb25naXR1ZGUiLCJsYXN0VXBkYXRlZCIsImdldENvbnRhaW5lcnNOZWFyTWUiLCJyZXN1bHQiLCJtYXAiLCJwdXNoIiwiZGF0dW0iLCJnZXRBbGxDb250YWluZXJzIiwic3Vic2NyaWJlVG9Db250YWluZXIiLCJjb250YWluZXJJZCIsImVtYWlsIiwicG9zdCJdLCJtYXBwaW5ncyI6Ijs7OztBQUFBOzs7Ozs7OztJQUVxQkEsbUI7QUFDbkIsK0JBQVlDLFVBQVosRUFBd0I7QUFBQTs7QUFDdEIsUUFBSSxFQUFFQSwwQ0FBRixDQUFKLEVBQXlDO0FBQ3ZDLFlBQU0sSUFBSUMsS0FBSixDQUFVLHVEQUFWLENBQU47QUFDRDtBQUNELFNBQUtELFVBQUwsR0FBa0JBLFVBQWxCO0FBQ0Q7O2dDQUVERSxZLHlCQUFhQyxFLEVBQUk7QU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nJvcignY29udGFpbmVySWQgcGFyYW1ldGVyIG9mIHR5cGUgXCJzdHJpbmdcIiBpcyByZXF1aXJlZCcpKTtcbiAgICB9XG4gICAgaWYgKHR5cGVvZiBlbWFpbCAhPT0gJ3N0cmluZycpIHtcbiAgICAgIHJldHVybiBQcm9taXNlLnJlamVjdChuZXcgRXJyb3IoJ2VtYWlsIHBhcmFtZXRlciBvZiB0eXBlIFwic3RyaW5nXCIgaXMgcmVxdWlyZWQnKSk7XG4gICAgfVxuICAgIGNvbnN0IGRhdGEgPVxuICAgICAge1xuICAgICAgICBpZDogY29udGFpbmVySWQsXG4gICAgICAgIGVtYWlsXG4gICAgICB9O1xuICAgIHJldHVybiB0aGlzLmNvbm5lY3Rpb24ucG9zdChkYXRhLCAnL2NvbnRhaW5lcnMvc3Vic2NyaWJlJyk7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb250YWluZXIvY29udGFpbmVyLWNvbnRyb2xsZXIuanMiXSwibmFtZXMiOlsiQ29udGFpbmVyQ29udHJvbGxlciIsImNvbm5lY3Rpb24iLCJFcnJvciIsImdldENvbnRhaW5lciIsImlkIiwiUHJvbWlzZSIsInJlamVjdCIsImdldCIsInRoZW4iLCJkYXRhIiwiZmlsbExldmVsIiwibGF0aXR1ZGUiLCJsb25naXR1ZGUiLCJsYXN0VXBkYXRlZCIsImdldENvbnRhaW5lcnNOZWFyTWUiLCJyZXN1bHQiLCJtYXAiLCJwdXNoIiwiZGF0dW0iLCJnZXRBbGxDb250YWluZXJzIiwic3Vic2NyaWJlVG9Db250YWluZXIiLCJjb250YWluZXJJZCIsImVtYWlsIiwicG9zdCIsIkpTT04iLCJzdHJpbmdpZnkiXSwibWFwcGluZ3MiOiI7Ozs7QUFBQTs7Ozs7Ozs7SUFFcUJBLG1CO0FBQ25CLCtCQUFZQyxVQUFaLEVBQXdCO0FBQU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0ubGFzdFVwZGF0ZWRcbiAgICAgICAgfSk7XG4gICAgICB9KSlcbiAgICAgIC50aGVuKCgpID0+IHJlc3VsdCk7XG4gIH1cblxuICBzdWJzY3JpYmVUb0NvbnRhaW5lcihjb250YWluZXJJZCwgZW1haWwpIHtcbiAgICBpZiAodHlwZW9mIGNvbnRhaW5lcklkICE9PSAnc3RyaW5nJykge1xuICAgICAgcmV0dXJuIFByb21pc2UucmVqZWN0KG5ldyBFcnJvcignY29udGFpbmVySWQgcGFyYW1ldGVyIG9mIHR5cGUgXCJzdHJpbmdcIiBpcyByZXF1aXJlZCcpKTtcbiAgICB9XG4gICAgaWYgKHR5cGVvZiBlbWFpbCAhPT0gJ3N0cmluZycpIHtcbiAgICAgIHJldHVybiBQcm9taXNlLnJlamVjdChuZXcgRXJyb3IoJ2VtYWlsIHBhcmFtZXRlciBvZiB0eXBlIFwic3RyaW5nXCIgaXMgcmVxdWlyZWQnKSk7XG4gICAgfVxuICAgIGNvbnN0IGRhdGEgPVxuICAgICAge1xuICAgICAgICBpZDogY29udGFpbmVySWQsXG4gICAgICAgIGVtYWlsXG4gICAgICB9O1xuICAgIHJldHVybiB0aGlzLmNvbm5lY3Rpb24ucG9zdChKU09OLnN0cmluZ2lmeShkYXRhKSwgJy9jb250YWluZXJzL3N1YnNjcmliZScpO1xuICB9XG59XG4iXX0=
{
"name": "iot-js-sdk",
"version": "3.1.1",
"version": "3.1.2",
"description": "IoT JavaScript SDK",

@@ -5,0 +5,0 @@ "main": "src/index.js",

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