Skip to content
Permalink
Browse files

Merge branch 'master' into migration-0.19

  • Loading branch information...
Klervix committed Jul 16, 2019
2 parents f503279 + 3d402ec commit 8bb4640628873c82e516c1e966b9ba8ee1026589
@@ -1,7 +1,6 @@

<h3 align="center">- Node-RED open-source nodes -</h3>


<h1 align="center">
<a href="https://github.com/NGRP/node-red-contrib-viseo/wiki/Home">
<img src="https://raw.githubusercontent.com/wiki/NGRP/node-red-viseo-bot/img/doc/header.png" alt="VISEO Bot Maker" width="100%">
@@ -54,7 +54,7 @@ <h4>Events handled</h4>
<dt>After reply </dt>
<dd>after the bot replied to the user</dd>
<dt>Before reply </dt>
<dd>juste before the bot to reply to the user</dd>
<dd>just before the bot reply to the user</dd>
</dl>
<h4>Precedence</h4>
@@ -58,7 +58,7 @@ const input = (node, data, config) => {
helper.emitAsyncEvent('reply', node, beforeData, config, (newData) => {
helper.emitAsyncEvent('replied', node, newData, config, () => {})
if (node.prompt) return;
node.send(data)
node.send(data);
});
});
};
@@ -1,6 +1,6 @@
{
"name" : "node-red-contrib-viseo-bot-message",
"version" : "0.5.0-alpha.1",
"version" : "0.5.0-alpha.2",
"description" : "VISEO Bot Maker - Sends messages to the user",
"dependencies" : {
"mustache" : "^2.3.0",
@@ -30,7 +30,8 @@
},
inputs: 1,
outputs: 1,
outputs: 2,
outputLabels: ["stdout", "stderr"],
icon: "xlsx.svg",
align: "left",
paletteLabel: 'XLSX file',
@@ -204,6 +205,12 @@
<p>Manipulate a XLSX file. </p>
<h3>Outputs</h3>
<ol class="node-ports">
<li>Standard output</li>
<li>Standard error</li>
</ol>
<h3>Details</h3>
<p>Properties</p>
<dl class="message-properties">
@@ -88,13 +88,12 @@ async function input(RED, node, data, config) {
}
catch(ex) {
node.warn(ex);
helper.setContextValue(RED, node, data, config.output || "payload" , { "error": ex}, config.outputType);
return node.send(data);
helper.setContextValue(RED, node, data, config.output || "payload" , ex, config.outputType);
return node.send([undefined,data]);
}

helper.setContextValue(RED, node, data, config.output || "payload" , res, config.outputType);
return node.send(data);

return node.send([data, undefined]);
}


@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-viseo-file",
"version": "0.3.0-alpha.4",
"version": "0.3.0-alpha.5",
"description": "VISEO Bot Maker - Manage data with files",
"dependencies": {
"node-red-viseo-helper": "~0.1",

0 comments on commit 8bb4640

Please sign in to comment.
You can’t perform that action at this time.