@ejfdelgado/ejflab-common 1.2.3 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ejfdelgado/ejflab-common",
3
3
  "type": "commonjs",
4
- "version": "1.2.3",
4
+ "version": "1.3.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ejfdelgado/ejflab-common.git"
@@ -112,6 +112,7 @@ class StepProcess extends StepBasic {
112
112
  }
113
113
 
114
114
  const room = this.context.getRoom();
115
+ const dbData = SimpleObj.getValue(this.context.data, `args.db`, null);
115
116
  //console.log(`StepProcess processorName:${processorName} processorInstance:${processorInstance} processorMethod:${processorMethod} in room ${room}`);
116
117
  this.messageUID = IdGen.num2ord(new Date().getTime());
117
118
  this.pendingCall = `${room}-${this.id}-${this.messageUID}`;
@@ -126,8 +127,10 @@ class StepProcess extends StepBasic {
126
127
  processorMethod,
127
128
  id: this.pendingCall,
128
129
  data: this.configuration[instanceNumber],
129
- room
130
+ room,
131
+ dbData
130
132
  };
133
+ //console.log("dbData="+JSON.stringify(dbData));
131
134
 
132
135
  if (channel == "websocket") {
133
136
  if (this.context.io) {