@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.
package/dist/index.js CHANGED
@@ -3602,6 +3602,7 @@ var RestController = class _RestController {
3602
3602
  (ctx, emit) => {
3603
3603
  if (isBrowser || ctx.__isFrontend) {
3604
3604
  emit("meta.service_registry.instance_registration_requested", {
3605
+ ...ctx,
3605
3606
  data: {
3606
3607
  uuid: ctx.__serviceInstanceId,
3607
3608
  process_pid: 1,
@@ -3622,8 +3623,7 @@ var RestController = class _RestController {
3622
3623
  is_blocked: false,
3623
3624
  health: {}
3624
3625
  },
3625
- __transportData: [],
3626
- ...ctx
3626
+ __transportData: []
3627
3627
  });
3628
3628
  return;
3629
3629
  }
@@ -8412,6 +8412,9 @@ function resolveSyncServiceName(task) {
8412
8412
  const registryServiceName = typeof CadenzaService.serviceRegistry.serviceName === "string" ? CadenzaService.serviceRegistry.serviceName.trim() : "";
8413
8413
  return taskServiceName || registryServiceName || void 0;
8414
8414
  }
8415
+ function isLocalOnlySyncIntent(intentName) {
8416
+ return intentName === import_core5.META_ACTOR_SESSION_STATE_PERSIST_INTENT;
8417
+ }
8415
8418
  function buildIntentRegistryData(intent) {
8416
8419
  const name = String(intent?.name ?? "").trim();
8417
8420
  if (!name) {
@@ -9210,6 +9213,9 @@ var GraphSyncController = class _GraphSyncController {
9210
9213
  task.__invalidMetaIntentWarnings = task.__invalidMetaIntentWarnings ?? /* @__PURE__ */ new Set();
9211
9214
  for (const intent of task.handlesIntents) {
9212
9215
  if (task.__registeredIntents.has(intent)) continue;
9216
+ if (isLocalOnlySyncIntent(intent)) {
9217
+ continue;
9218
+ }
9213
9219
  if (isMetaIntentName(intent) && !task.isMeta) {
9214
9220
  if (!task.__invalidMetaIntentWarnings.has(intent)) {
9215
9221
  task.__invalidMetaIntentWarnings.add(intent);