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

node-red-contrib-ifttt

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-ifttt - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

5

nodes/ifttt.js
var request = require('request');
var IFTT_CONNECTION_TIMEOUT_MS = 20000;

@@ -29,2 +30,3 @@ module.exports = function (RED) {

method: 'POST',
timeout: IFTTT_CONNECTION_TIMEOUT_MS,
json: iftttPayload

@@ -39,3 +41,4 @@ }, function (error, response, body) {

} catch (e) {
errorMessage = (body.hasOwnProperty('errors')) ? body.errors[0].message : body;
node.error("IFTTT Read error");
errorMessage = e;
}

@@ -42,0 +45,0 @@ node.status({fill: 'red', shape: 'dot', text: 'Error!'});

2

package.json
{
"name": "node-red-contrib-ifttt",
"version": "0.2.0",
"version": "0.3.0",
"description": "A node-red node to connect to ifttt Maker channel",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/diegopamio/node-red-ifttt",

Sorry, the diff of this file is not supported yet

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