@cadenza.io/service 2.17.31 → 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/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +10 -1
- package/dist/browser/index.mjs.map +1 -1
- package/dist/index.js +6 -0
- 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/browser/index.mjs
CHANGED
|
@@ -5838,7 +5838,10 @@ var DatabaseController = class _DatabaseController {
|
|
|
5838
5838
|
import { v4 as uuid4 } from "uuid";
|
|
5839
5839
|
|
|
5840
5840
|
// src/graph/controllers/GraphSyncController.ts
|
|
5841
|
-
import {
|
|
5841
|
+
import {
|
|
5842
|
+
GraphContext as GraphContext4,
|
|
5843
|
+
META_ACTOR_SESSION_STATE_PERSIST_INTENT as META_ACTOR_SESSION_STATE_PERSIST_INTENT2
|
|
5844
|
+
} from "@cadenza.io/core";
|
|
5842
5845
|
var ACTOR_TASK_METADATA = /* @__PURE__ */ Symbol.for("@cadenza.io/core/actor-task-meta");
|
|
5843
5846
|
function getActorTaskRuntimeMetadata(taskFunction) {
|
|
5844
5847
|
if (typeof taskFunction !== "function") {
|
|
@@ -5903,6 +5906,9 @@ function resolveSyncServiceName(task) {
|
|
|
5903
5906
|
const registryServiceName = typeof CadenzaService.serviceRegistry.serviceName === "string" ? CadenzaService.serviceRegistry.serviceName.trim() : "";
|
|
5904
5907
|
return taskServiceName || registryServiceName || void 0;
|
|
5905
5908
|
}
|
|
5909
|
+
function isLocalOnlySyncIntent(intentName) {
|
|
5910
|
+
return intentName === META_ACTOR_SESSION_STATE_PERSIST_INTENT2;
|
|
5911
|
+
}
|
|
5906
5912
|
function buildIntentRegistryData(intent) {
|
|
5907
5913
|
const name = String(intent?.name ?? "").trim();
|
|
5908
5914
|
if (!name) {
|
|
@@ -6701,6 +6707,9 @@ var GraphSyncController = class _GraphSyncController {
|
|
|
6701
6707
|
task.__invalidMetaIntentWarnings = task.__invalidMetaIntentWarnings ?? /* @__PURE__ */ new Set();
|
|
6702
6708
|
for (const intent of task.handlesIntents) {
|
|
6703
6709
|
if (task.__registeredIntents.has(intent)) continue;
|
|
6710
|
+
if (isLocalOnlySyncIntent(intent)) {
|
|
6711
|
+
continue;
|
|
6712
|
+
}
|
|
6704
6713
|
if (isMetaIntentName(intent) && !task.isMeta) {
|
|
6705
6714
|
if (!task.__invalidMetaIntentWarnings.has(intent)) {
|
|
6706
6715
|
task.__invalidMetaIntentWarnings.add(intent);
|