node-red-contrib-ifttt
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -19,6 +19,10 @@ var request = require('request'); | ||
node.status({fill: 'blue', shape: 'dot', text: 'Sending...'}); | ||
request.post('https://maker.ifttt.com/trigger/' + node.config.eventName + '/with/key/' + node.key.credentials.key, { | ||
value1: msg.payload.value1, | ||
value2: msg.payload.value2, | ||
value3: msg.payload.value3 | ||
request({ | ||
uri: 'https://maker.ifttt.com/trigger/' + node.config.eventName + '/with/key/' + node.key.credentials.key, | ||
method: 'POST', | ||
json: { | ||
value1: msg.payload.value1, | ||
value2: msg.payload.value2, | ||
value3: msg.payload.value3 | ||
} | ||
}, function (error, response, body) { | ||
@@ -25,0 +29,0 @@ if (!error && response.statusCode === 200) { |
{ | ||
"name": "node-red-contrib-ifttt", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"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
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
12805
6
38
1
47
1