@ejfdelgado/ejflab-common 1.2.2 → 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.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/ejfdelgado/ejflab-common.git"
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
"description": "",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"mylogin": "npm login",
|
|
12
|
-
"mypublish": "npm publish --access=public"
|
|
12
|
+
"mypublish": "npm publish --access=public",
|
|
13
|
+
"diff": "unset GTK_PATH && git difftool",
|
|
14
|
+
"clean": "rm -rf node_modules && npm cache clean --force && rm package-lock.json && npm install"
|
|
13
15
|
},
|
|
14
16
|
"engines": {
|
|
15
17
|
"node": ">=14.0.0"
|
|
@@ -28,4 +30,4 @@
|
|
|
28
30
|
"node-rsa": "^1.1.1",
|
|
29
31
|
"phin": "^3.7.1"
|
|
30
32
|
}
|
|
31
|
-
}
|
|
33
|
+
}
|
|
@@ -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) {
|