With the introduction of composer v0.9.0, I noticed very strange behavior with node-red-contrib-composer in node-red. When using the Hyperledger-composer-in node to listen to events from composer, the output now returns excessive junk information along with the information included in the event. Additionally, assets that are referenced/included in the event have some of their properties changed, for example the $class property is changed to $namespace and $type. I am using the basic sample network from the hyperledger github along with this node-red flow: https://pastebin.com/k4Chgs66
[
{
"id": "6541ffea.a8bec8",
"type": "tab",
"label": "Sample Network",
"disabled": false,
"info": ""
},
...
and here is a sample of the output I am getting from the msg object in my console: https://pastebin.com/5EkNe00h
ValidatedResource {
'$modelManager':
ModelManager {
modelFiles:
{ 'org.hyperledger.composer.system':
ModelFile {
modelManager: [Circular],
declarations:
...
Any ideas as to why this is happening? The event notification is working as normal in Composer playground, any reason the node-red output would be different? Thank you for helping out!