@neat.is/core 0.6.3-dev.20260725 → 0.6.3-dev.20260727

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseOtlpRequest
3
- } from "./chunk-H4EAELBI.js";
3
+ } from "./chunk-ZLAZ7PLC.js";
4
4
 
5
5
  // src/otel-grpc.ts
6
6
  import { fileURLToPath } from "url";
@@ -138,4 +138,4 @@ export {
138
138
  reshapeGrpcRequest,
139
139
  startOtelGrpcReceiver
140
140
  };
141
- //# sourceMappingURL=chunk-TQPDQNUD.js.map
141
+ //# sourceMappingURL=chunk-7QXN726V.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  mountBearerAuth,
3
3
  readAuthEnv
4
- } from "./chunk-H4EAELBI.js";
4
+ } from "./chunk-ZLAZ7PLC.js";
5
5
 
6
6
  // src/graph.ts
7
7
  import GraphDefault from "graphology";
@@ -2245,6 +2245,14 @@ function frontierIdFor(host) {
2245
2245
  function ensureServiceNode(graph, serviceName, env) {
2246
2246
  const id = serviceId(serviceName, env);
2247
2247
  if (graph.hasNode(id)) return id;
2248
+ const wanted = serviceName.toLowerCase();
2249
+ const extractedId = graph.findNode((_nid, attrs) => {
2250
+ if (attrs.type !== NodeType4.ServiceNode) return false;
2251
+ const svc = attrs;
2252
+ if (svc.discoveredVia === "otel") return false;
2253
+ return typeof svc.name === "string" && svc.name.toLowerCase() === wanted;
2254
+ });
2255
+ if (extractedId) return extractedId;
2248
2256
  const node = {
2249
2257
  id,
2250
2258
  type: NodeType4.ServiceNode,
@@ -10281,4 +10289,4 @@ export {
10281
10289
  recordConnectorPoll,
10282
10290
  buildApi
10283
10291
  };
10284
- //# sourceMappingURL=chunk-C7TJMXO4.js.map
10292
+ //# sourceMappingURL=chunk-L64CATKE.js.map