node-red-contrib-ifttt
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -8,6 +8,5 @@ var request = require('request'); | ||
RED.nodes.createNode(this,n); | ||
this.key = n.key; | ||
} | ||
RED.nodes.registerType("ifttt-key",IftttKeyNode); | ||
RED.nodes.registerType("ifttt-key",IftttKeyNode, {credentials: {key: {type: 'text'}}}); | ||
@@ -19,3 +18,3 @@ // This is the output node. | ||
node.config = config; | ||
node.key = RED.nodes.getNode(config.key.key); | ||
node.key = RED.nodes.getNode(config.key).credentials.key; | ||
this.on('input', function(msg) { | ||
@@ -43,3 +42,3 @@ node.status({fill:"blue",shape:"dot",text:"Sending..."}); | ||
}; |
{ | ||
"name": "node-red-contrib-ifttt", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5136
36