Socket
Socket
Sign inDemoInstall

syntex-automation

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

syntex-automation - npm Package Compare versions

Comparing version 1.0.2-b1 to 1.0.2-b2

12

main.js

@@ -22,12 +22,12 @@ const EventEmitter = require('events'), request = require('request');

sendToAutomationServer(values);
sendToAutomationServer(reciever.id, reciever.letters, values);
}
sendToAutomationServer(values)
sendToAutomationServer(id, letters, values)
{
var url = 'http://localhost:1777/update-automation', first = true;
var url = 'http://localhost:1777/update-automation?id=' + id + '&letters=' + letters;
for(const value in Object.keys(values))
for(const value of Object.keys(values))
{
url += (first ? '?' : '&') + value + '=' + values[value];
url += '&' + value + '=' + values[value];
}

@@ -40,3 +40,3 @@

};
request(theRequest, () => {});

@@ -43,0 +43,0 @@ }

{
"name": "syntex-automation",
"version": "1.0.2-b1",
"version": "1.0.2-b2",
"description": "An automation system for your smart home",

@@ -5,0 +5,0 @@ "main": "main.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