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.0.0 to 3.0.1

3

connection/connection.js

@@ -28,2 +28,3 @@ 'use strict';

var headers = new Headers();
headers.append('Content-Type', 'application/json; charset=utf-8');
headers.append('API_KEY', this.apiKey);

@@ -47,2 +48,2 @@ var options = {

exports.default = Connection;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb25uZWN0aW9uL2Nvbm5lY3Rpb24uanMiXSwibmFtZXMiOlsiQ29ubmVjdGlvbiIsIm9wdGlvbnMiLCJ1cmwiLCJBUElfVVJMIiwiYXBpS2V5IiwiQVBJX0tFWSIsImdldCIsImVuZHBvaW50IiwiaGVhZGVycyIsIkhlYWRlcnMiLCJhcHBlbmQiLCJtZXRob2QiLCJmZXRjaCIsInRoZW4iLCJoYW5kbGVSZXNwb25zZSIsInBvc3QiLCJkYXRhIiwiYm9keSIsInJlc3BvbnNlIiwianNvbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0lBQXFCQSxVO0FBQ25CLHNCQUFZQyxPQUFaLEVBQXFCO0FBQUE7O0FBQ25CLFNBQUtDLEdBQUwsR0FBV0QsUUFBUUUsT0FBbkI7QUFDQSxTQUFLQyxNQUFMLEdBQWNILFFBQVFJLE9BQXRCO0FBQ0Q7O3VCQUVEQyxHLGdCQUFJQyxRLEVBQVU7QUFDWixRQUFNQyxVQUFVLElBQUlDLE9BQUosRUFBaEI7QUFDQUQsWUFBUUUsTUFBUixDQUFlLFNBQWYsRUFBMEIsS0FBS04sTUFBL0I7QUFDQSxRQUFNSCxVQUFVO0FBQ2RVLGNBQVEsS0FETTtBQUVkSDtBQUZjLEtBQWhCO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XMuYXBpS2V5ID0gb3B0aW9ucy5BUElfS0VZO1xuICB9XG5cbiAgZ2V0KGVuZHBvaW50KSB7XG4gICAgY29uc3QgaGVhZGVycyA9IG5ldyBIZWFkZXJzKCk7XG4gICAgaGVhZGVycy5hcHBlbmQoJ0FQSV9LRVknLCB0aGlzLmFwaUtleSk7XG4gICAgY29uc3Qgb3B0aW9ucyA9IHtcbiAgICAgIG1ldGhvZDogJ0dFVCcsXG4gICAgICBoZWFkZXJzXG4gICAgfTtcblxuICAgIHJldHVybiBmZXRjaCh0aGlzLnVybCArIGVuZHBvaW50LCBvcHRpb25zKVxuICAgICAgLnRoZW4odGhpcy5oYW5kbGVSZXNwb25zZSk7XG4gIH1cblxuICBwb3N0KGRhdGEsIGVuZHBvaW50KSB7XG4gICAgY29uc3QgaGVhZGVycyA9IG5ldyBIZWFkZXJzKCk7XG4gICAgaGVhZGVycy5hcHBlbmQoJ0NvbnRlbnQtVHlwZScsXG4gICAgICAnYXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOCcpO1xuICAgIGhlYWRlcnMuYXBwZW5kKCdBUElfS0VZJywgdGhpcy5hcGlLZXkpO1xuICAgIGNvbnN0IG9wdGlvbnMgPSB7XG4gICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgIGJvZHk6IGRhdGEsXG4gICAgICBoZWFkZXJzXG4gICAgfTtcblxuICAgIHJldHVybiBmZXRjaCh0aGlzLnVybCArIGVuZHBvaW50LCBvcHRpb25zKVxuICAgICAgLnRoZW4odGhpcy5oYW5kbGVSZXNwb25zZSk7XG4gIH1cblxuICBoYW5kbGVSZXNwb25zZShyZXNwb25zZSkge1xuICAgIHJldHVybiByZXNwb25zZS5qc29uKCk7XG4gIH1cbn1cbiJdfQ==
{
"name": "iot-js-sdk",
"version": "3.0.0",
"version": "3.0.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