@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/index.js
CHANGED
|
@@ -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);
|