@ejfdelgado/ejflab-back 1.6.5 → 1.7.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 +2 -3
- package/srv/SocketIOCall.mjs +6 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ejfdelgado/ejflab-back",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.7.0",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "git+https://github.com/ejfdelgado/ejflab-back.git"
|
@@ -9,7 +9,6 @@
|
|
9
9
|
"scripts": {
|
10
10
|
"mylogin": "npm login",
|
11
11
|
"mypublish": "npm install && npm publish --access=public",
|
12
|
-
"diff": "unset GTK_PATH && git difftool",
|
13
12
|
"clean": "rm -rf node_modules && npm cache clean --force && rm package-lock.json && npm install"
|
14
13
|
},
|
15
14
|
"engines": {
|
@@ -19,7 +18,7 @@
|
|
19
18
|
"license": "ISC",
|
20
19
|
"private": false,
|
21
20
|
"dependencies": {
|
22
|
-
"@ejfdelgado/ejflab-common": "1.
|
21
|
+
"@ejfdelgado/ejflab-common": "1.6.0",
|
23
22
|
"@google-cloud/compute": "^4.7.0",
|
24
23
|
"@google-cloud/firestore": "^7.9.0",
|
25
24
|
"@google-cloud/storage": "^7.11.3",
|
package/srv/SocketIOCall.mjs
CHANGED
@@ -30,6 +30,7 @@ import { ChatSetSawProcessor } from "./callprocessors/ChatSetSawProcessor.mjs";
|
|
30
30
|
import { MilvusSrv } from "./MilvusSrv.mjs";
|
31
31
|
import { MongoSrv } from "./MongoSrv.mjs";
|
32
32
|
import { MinioSrv } from "./MinioSrv.mjs";
|
33
|
+
import { PostgresSrv } from "./PostgresSrv.mjs";
|
33
34
|
import { OpenVideoChatProcessor } from "./callprocessors/OpenVideoChatProcessor.mjs";
|
34
35
|
import { CloseVideoChatProcessor } from "./callprocessors/CloseVideoChatProcessor.mjs";
|
35
36
|
import { IncludeOtherPeersProcessor } from "./callprocessors/IncludeOtherPeersProcessor.mjs";
|
@@ -71,6 +72,10 @@ export class SocketIOCall {
|
|
71
72
|
return MinioSrv;
|
72
73
|
}
|
73
74
|
|
75
|
+
static getPostgresClient() {
|
76
|
+
return PostgresSrv;
|
77
|
+
}
|
78
|
+
|
74
79
|
static async autoCreateRoomFlowChart(room) {
|
75
80
|
console.log(`autoCreateRoomFlowChart ${room}`);
|
76
81
|
const root_folder = process.env.WORKSPACE;
|
@@ -351,7 +356,7 @@ export class SocketIOCall {
|
|
351
356
|
static handle(io) {
|
352
357
|
SocketIOCall.io = io;
|
353
358
|
SocketIOCall.getFlowChartExec("processors").catch((err) => {
|
354
|
-
console.log("Warning: flowchart capability not configured. "+err.message);
|
359
|
+
console.log("Warning: flowchart capability not configured. " + err.message);
|
355
360
|
});
|
356
361
|
io.on("connection", SocketIOCall.connect);
|
357
362
|
return () => { }
|