@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.js
CHANGED
|
@@ -6186,9 +6186,13 @@ function buildActorRegistrationData(actor) {
|
|
|
6186
6186
|
};
|
|
6187
6187
|
}
|
|
6188
6188
|
function resolveSyncServiceName(task) {
|
|
6189
|
+
const ownerServiceName = typeof task?.ownerServiceName === "string" ? task.ownerServiceName.trim() : "";
|
|
6189
6190
|
const taskServiceName = typeof task?.serviceName === "string" ? task.serviceName.trim() : "";
|
|
6190
|
-
const registryServiceName = typeof
|
|
6191
|
-
|
|
6191
|
+
const registryServiceName = typeof ServiceRegistry.instance.serviceName === "string" ? ServiceRegistry.instance.serviceName.trim() : "";
|
|
6192
|
+
if (task?.isDeputy) {
|
|
6193
|
+
return ownerServiceName || registryServiceName || taskServiceName || void 0;
|
|
6194
|
+
}
|
|
6195
|
+
return ownerServiceName || taskServiceName || registryServiceName || void 0;
|
|
6192
6196
|
}
|
|
6193
6197
|
function isLocalOnlySyncIntent(intentName) {
|
|
6194
6198
|
return intentName === import_core4.META_ACTOR_SESSION_STATE_PERSIST_INTENT;
|