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 2.1.0 to 2.1.1

6

container/container-controller.js

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

}
return this.connection.get('/containers/container/' + id).then(function (data) {
return this.connection.get('/containers/containers/' + id).then(function (data) {
return {

@@ -41,3 +41,3 @@ id: data.id,

var result = [];
return this.connection.get('/containers/container/nearme/' + latitude + '/' + longitude).then(function (data) {
return this.connection.get('/containers/containers/nearme/' + latitude + '/' + longitude).then(function (data) {
return data.map(function (datum) {

@@ -61,2 +61,2 @@ result.push({

exports.default = ContainerController;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb250YWluZXIvY29udGFpbmVyLWNvbnRyb2xsZXIuanMiXSwibmFtZXMiOlsiQ29udGFpbmVyQ29udHJvbGxlciIsImNvbm5lY3Rpb24iLCJFcnJvciIsImdldENvbnRhaW5lciIsImlkIiwiUHJvbWlzZSIsInJlamVjdCIsImdldCIsInRoZW4iLCJkYXRhIiwiZmlsbExldmVsIiwibGF0aXR1ZGUiLCJsb25naXR1ZGUiLCJsYXN0VXBkYXRlZCIsImdldENvbnRhaW5lcnNOZWFyTWUiLCJyZXN1bHQiLCJtYXAiLCJwdXNoIiwiZGF0dW0iXSwibWFwcGluZ3MiOiI7Ozs7QUFBQTs7Ozs7Ozs7SUFFcUJBLG1CO0FBQ25CLCtCQUFZQyxVQUFaLEVBQXdCO0FBQUE7O0FBQ3RCLFFBQUksRUFBRUEsMENBQUYsQ0FBSixFQUF5QztBQUN2QyxZQUFNLElBQUlDLEtBQUosQ0FBVSx1REFBVixDQUFOO0FBQ0Q7QUFDRCxTQUFLRCxVQUFMLEdBQWtCQ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GUsIGxvbmdpdHVkZSkge1xuICAgIGNvbnN0IHJlc3VsdCA9IFtdO1xuICAgIHJldHVybiB0aGlzLmNvbm5lY3Rpb24uZ2V0KCcvY29udGFpbmVycy9jb250YWluZXIvbmVhcm1lLycgKyBsYXRpdHVkZSArICcvJyArIGxvbmdpdHVkZSlcbiAgICAgIC50aGVuKGRhdGEgPT4gZGF0YS5tYXAoZGF0dW0gPT4ge1xuICAgICAgICByZXN1bHQucHVzaCh7XG4gICAgICAgICAgaWQ6IGRhdHVtLmlkLFxuICAgICAgICAgIGZpbGxMZXZlbDogZGF0dW0uZmlsbExldmVsLFxuICAgICAgICAgIGxhdGl0dWRlOiBkYXR1bS5sYXRpdHVkZSxcbiAgICAgICAgICBsb25naXR1ZGU6IGRhdHVtLmxvbmdpdHVkZSxcbiAgICAgICAgICBsYXN0VXBkYXRlZDogZGF0dW0ubGFzdFVwZGF0ZWRcbiAgICAgICAgfSk7XG4gICAgICB9KSlcbiAgICAgIC50aGVuKCgpID0+IHJlc3VsdCk7XG4gIH1cbn1cbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb250YWluZXIvY29udGFpbmVyLWNvbnRyb2xsZXIuanMiXSwibmFtZXMiOlsiQ29udGFpbmVyQ29udHJvbGxlciIsImNvbm5lY3Rpb24iLCJFcnJvciIsImdldENvbnRhaW5lciIsImlkIiwiUHJvbWlzZSIsInJlamVjdCIsImdldCIsInRoZW4iLCJkYXRhIiwiZmlsbExldmVsIiwibGF0aXR1ZGUiLCJsb25naXR1ZGUiLCJsYXN0VXBkYXRlZCIsImdldENvbnRhaW5lcnNOZWFyTWUiLCJyZXN1bHQiLCJtYXAiLCJwdXNoIiwiZGF0dW0iXSwibWFwcGluZ3MiOiI7Ozs7QUFBQTs7Ozs7Ozs7SUFFcUJBLG1CO0FBQ25CLCtCQUFZQyxVQUFaLEVBQXdCO0FBQUE7O0F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YS5sb25naXR1ZGUsXG4gICAgICAgIGxhc3RVcGRhdGVkOiBkYXRhLmxhc3RVcGRhdGVkXG4gICAgICB9KSk7XG4gIH1cblxuICBnZXRDb250YWluZXJzTmVhck1lKGxhdGl0dWRlLCBsb25naXR1ZGUpIHtcbiAgICBjb25zdCByZXN1bHQgPSBbXTtcbiAgICByZXR1cm4gdGhpcy5jb25uZWN0aW9uLmdldCgnL2NvbnRhaW5lcnMvY29udGFpbmVycy9uZWFybWUvJyArIGxhdGl0dWRlICsgJy8nICsgbG9uZ2l0dWRlKVxuICAgICAgLnRoZW4oZGF0YSA9PiBkYXRhLm1hcChkYXR1bSA9PiB7XG4gICAgICAgIHJlc3VsdC5wdXNoKHtcbiAgICAgICAgICBpZDogZGF0dW0uaWQsXG4gICAgICAgICAgZmlsbExldmVsOiBkYXR1bS5maWxsTGV2ZWwsXG4gICAgICAgICAgbGF0aXR1ZGU6IGRhdHVtLmxhdGl0dWRlLFxuICAgICAgICAgIGxvbmdpdHVkZTogZGF0dW0ubG9uZ2l0dWRlLFxuICAgICAgICAgIGxhc3RVcGRhdGVkOiBkYXR1bS5sYXN0VXBkYXRlZFxuICAgICAgICB9KTtcbiAgICAgIH0pKVxuICAgICAgLnRoZW4oKCkgPT4gcmVzdWx0KTtcbiAgfVxufVxuIl19
{
"name": "iot-js-sdk",
"version": "2.1.0",
"version": "2.1.1",
"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