@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/browser/index.mjs
CHANGED
|
@@ -6137,9 +6137,13 @@ function buildActorRegistrationData(actor) {
|
|
|
6137
6137
|
};
|
|
6138
6138
|
}
|
|
6139
6139
|
function resolveSyncServiceName(task) {
|
|
6140
|
+
const ownerServiceName = typeof task?.ownerServiceName === "string" ? task.ownerServiceName.trim() : "";
|
|
6140
6141
|
const taskServiceName = typeof task?.serviceName === "string" ? task.serviceName.trim() : "";
|
|
6141
|
-
const registryServiceName = typeof
|
|
6142
|
-
|
|
6142
|
+
const registryServiceName = typeof ServiceRegistry.instance.serviceName === "string" ? ServiceRegistry.instance.serviceName.trim() : "";
|
|
6143
|
+
if (task?.isDeputy) {
|
|
6144
|
+
return ownerServiceName || registryServiceName || taskServiceName || void 0;
|
|
6145
|
+
}
|
|
6146
|
+
return ownerServiceName || taskServiceName || registryServiceName || void 0;
|
|
6143
6147
|
}
|
|
6144
6148
|
function isLocalOnlySyncIntent(intentName) {
|
|
6145
6149
|
return intentName === META_ACTOR_SESSION_STATE_PERSIST_INTENT2;
|