@cadenza.io/service 1.10.7 → 1.10.9
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/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -635,7 +635,14 @@ var ServiceRegistry = class _ServiceRegistry {
|
|
|
635
635
|
}).doOn("meta.socket.status_check_requested");
|
|
636
636
|
this.insertServiceTask = CadenzaService.createCadenzaDBInsertTask(
|
|
637
637
|
"service",
|
|
638
|
-
{
|
|
638
|
+
{
|
|
639
|
+
onConflict: {
|
|
640
|
+
target: ["name"],
|
|
641
|
+
action: {
|
|
642
|
+
do: "nothing"
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
},
|
|
639
646
|
{
|
|
640
647
|
// validateInputContext: true,
|
|
641
648
|
inputSchema: {
|
|
@@ -1406,6 +1413,7 @@ var SocketController = class _SocketController {
|
|
|
1406
1413
|
}
|
|
1407
1414
|
next2();
|
|
1408
1415
|
});
|
|
1416
|
+
next();
|
|
1409
1417
|
});
|
|
1410
1418
|
console.log("SocketServer: Setup complete");
|
|
1411
1419
|
} catch (err) {
|
|
@@ -1429,6 +1437,7 @@ var SocketController = class _SocketController {
|
|
|
1429
1437
|
ws.on(
|
|
1430
1438
|
"delegation",
|
|
1431
1439
|
(ctx2, callback) => {
|
|
1440
|
+
console.log("Received socket delegation request", ctx2);
|
|
1432
1441
|
const deputyExecId = ctx2.__metadata.__deputyExecId;
|
|
1433
1442
|
CadenzaService.createEphemeralMetaTask(
|
|
1434
1443
|
"Resolve delegation",
|