Stwissel / node-red-contrib-salesforce

A set of Node-RED nodes to interact with Salesforce and Force.com
MIT License
10 stars 17 forks source link

Broken connection fix #45

Closed tempflip closed 5 years ago

tempflip commented 5 years ago

Connection part did not work with node-red v1.0.2 and node.js v12.13.0

Probably it is somehow connected to the event-registration mechanism, because if I move RED.nodes.createNode(node, config) line above the node.on('input', (msg)...., it works just fine.

The another thing I noticed that nforce8 has a bug which affects responses -- so I created a PR; until it's fixed, I use in the package.json a reference to that branch. Once merged, please remove it from package.json !

https://github.com/Stwissel/nforce8/pull/26