@ejfdelgado/ejflab-common 1.11.3 → 1.12.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
|
@@ -120,7 +120,8 @@ class StepProcess extends StepBasic {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
const room = this.context.getRoom();
|
|
123
|
-
const dbData = SimpleObj.getValue(this.context.data, `args.db`,
|
|
123
|
+
const dbData = SimpleObj.getValue(this.context.data, `args.db`, {});
|
|
124
|
+
const general = SimpleObj.getValue(this.context.data, `args.general`, {});
|
|
124
125
|
//console.log(`StepProcess processorName:${processorName} processorInstance:${processorInstance} processorMethod:${processorMethod} in room ${room}`);
|
|
125
126
|
this.messageUID = IdGen.num2ord(new Date().getTime());
|
|
126
127
|
this.pendingCall = `${room}-${this.id}-${this.messageUID}`;
|
|
@@ -136,7 +137,8 @@ class StepProcess extends StepBasic {
|
|
|
136
137
|
id: this.pendingCall,
|
|
137
138
|
data: this.configuration[instanceNumber],
|
|
138
139
|
room,
|
|
139
|
-
dbData
|
|
140
|
+
dbData,
|
|
141
|
+
general
|
|
140
142
|
};
|
|
141
143
|
//console.log("dbData="+JSON.stringify(dbData));
|
|
142
144
|
|