@cadenza.io/service 2.17.66 → 2.17.67
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 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +6 -2
- package/dist/browser/index.mjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8749,9 +8749,13 @@ function buildActorRegistrationData(actor) {
|
|
|
8749
8749
|
};
|
|
8750
8750
|
}
|
|
8751
8751
|
function resolveSyncServiceName(task) {
|
|
8752
|
+
const ownerServiceName = typeof task?.ownerServiceName === "string" ? task.ownerServiceName.trim() : "";
|
|
8752
8753
|
const taskServiceName = typeof task?.serviceName === "string" ? task.serviceName.trim() : "";
|
|
8753
|
-
const registryServiceName = typeof
|
|
8754
|
-
|
|
8754
|
+
const registryServiceName = typeof ServiceRegistry.instance.serviceName === "string" ? ServiceRegistry.instance.serviceName.trim() : "";
|
|
8755
|
+
if (task?.isDeputy) {
|
|
8756
|
+
return ownerServiceName || registryServiceName || taskServiceName || void 0;
|
|
8757
|
+
}
|
|
8758
|
+
return ownerServiceName || taskServiceName || registryServiceName || void 0;
|
|
8755
8759
|
}
|
|
8756
8760
|
function isLocalOnlySyncIntent(intentName) {
|
|
8757
8761
|
return intentName === import_core4.META_ACTOR_SESSION_STATE_PERSIST_INTENT;
|