@cadenza.io/service 1.10.8 → 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 +9 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -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: {
|
|
@@ -1430,6 +1437,7 @@ var SocketController = class _SocketController {
|
|
|
1430
1437
|
ws.on(
|
|
1431
1438
|
"delegation",
|
|
1432
1439
|
(ctx2, callback) => {
|
|
1440
|
+
console.log("Received socket delegation request", ctx2);
|
|
1433
1441
|
const deputyExecId = ctx2.__metadata.__deputyExecId;
|
|
1434
1442
|
CadenzaService.createEphemeralMetaTask(
|
|
1435
1443
|
"Resolve delegation",
|