@cadenza.io/service 2.17.76 → 2.17.77
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 +4 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +4 -2
- package/dist/browser/index.mjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -1312,11 +1312,13 @@ var ServiceRegistry = class _ServiceRegistry {
|
|
|
1312
1312
|
},
|
|
1313
1313
|
"Tracks remote dependency instances for runtime heartbeat monitoring."
|
|
1314
1314
|
).doOn("meta.service_registry.dependee_registered");
|
|
1315
|
+
const normalizeServiceInstancesFromSync = (ctx) => this.normalizeServiceInstancesFromSync(ctx);
|
|
1315
1316
|
CadenzaService.createMetaTask("Split service instances", function* (ctx) {
|
|
1316
|
-
|
|
1317
|
+
const serviceInstances = normalizeServiceInstancesFromSync(ctx);
|
|
1318
|
+
if (serviceInstances.length === 0) {
|
|
1317
1319
|
return;
|
|
1318
1320
|
}
|
|
1319
|
-
for (const serviceInstance of
|
|
1321
|
+
for (const serviceInstance of serviceInstances) {
|
|
1320
1322
|
yield { serviceInstance };
|
|
1321
1323
|
}
|
|
1322
1324
|
}).doOn(
|