@cadenza.io/service 2.17.30 → 2.17.32

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.
@@ -3546,6 +3546,7 @@ var RestController = class _RestController {
3546
3546
  "Declare browser network",
3547
3547
  (ctx, emit) => {
3548
3548
  emit("meta.service_registry.instance_registration_requested", {
3549
+ ...ctx,
3549
3550
  data: {
3550
3551
  uuid: ctx.__serviceInstanceId,
3551
3552
  process_pid: 1,
@@ -3566,8 +3567,7 @@ var RestController = class _RestController {
3566
3567
  is_blocked: false,
3567
3568
  health: {}
3568
3569
  },
3569
- __transportData: [],
3570
- ...ctx
3570
+ __transportData: []
3571
3571
  });
3572
3572
  return true;
3573
3573
  },
@@ -5954,6 +5954,9 @@ function resolveSyncServiceName(task) {
5954
5954
  const registryServiceName = typeof CadenzaService.serviceRegistry.serviceName === "string" ? CadenzaService.serviceRegistry.serviceName.trim() : "";
5955
5955
  return taskServiceName || registryServiceName || void 0;
5956
5956
  }
5957
+ function isLocalOnlySyncIntent(intentName) {
5958
+ return intentName === import_core5.META_ACTOR_SESSION_STATE_PERSIST_INTENT;
5959
+ }
5957
5960
  function buildIntentRegistryData(intent) {
5958
5961
  const name = String(intent?.name ?? "").trim();
5959
5962
  if (!name) {
@@ -6752,6 +6755,9 @@ var GraphSyncController = class _GraphSyncController {
6752
6755
  task.__invalidMetaIntentWarnings = task.__invalidMetaIntentWarnings ?? /* @__PURE__ */ new Set();
6753
6756
  for (const intent of task.handlesIntents) {
6754
6757
  if (task.__registeredIntents.has(intent)) continue;
6758
+ if (isLocalOnlySyncIntent(intent)) {
6759
+ continue;
6760
+ }
6755
6761
  if (isMetaIntentName(intent) && !task.isMeta) {
6756
6762
  if (!task.__invalidMetaIntentWarnings.has(intent)) {
6757
6763
  task.__invalidMetaIntentWarnings.add(intent);