@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.
- package/dist/{chunk-TQPDQNUD.js → chunk-7QXN726V.js} +2 -2
- package/dist/{chunk-C7TJMXO4.js → chunk-L64CATKE.js} +10 -2
- package/dist/chunk-L64CATKE.js.map +1 -0
- package/dist/{chunk-2BQTX7QX.js → chunk-PWIT35Z4.js} +21 -12
- package/dist/chunk-PWIT35Z4.js.map +1 -0
- package/dist/{chunk-H4EAELBI.js → chunk-ZLAZ7PLC.js} +5 -2
- package/dist/chunk-ZLAZ7PLC.js.map +1 -0
- package/dist/cli.cjs +11 -0
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +4 -4
- package/dist/index.cjs +29 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -4
- package/dist/neatd.cjs +29 -9
- package/dist/neatd.cjs.map +1 -1
- package/dist/neatd.js +3 -3
- package/dist/{otel-grpc-IBOPDPO3.js → otel-grpc-WXKM7YBW.js} +3 -3
- package/dist/server.cjs +11 -0
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +3 -3
- package/package.json +2 -2
- package/dist/chunk-2BQTX7QX.js.map +0 -1
- package/dist/chunk-C7TJMXO4.js.map +0 -1
- package/dist/chunk-H4EAELBI.js.map +0 -1
- /package/dist/{chunk-TQPDQNUD.js.map → chunk-7QXN726V.js.map} +0 -0
- /package/dist/{otel-grpc-IBOPDPO3.js.map → otel-grpc-WXKM7YBW.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOtlpRequest
|
|
3
|
-
} from "./chunk-
|
|
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-
|
|
141
|
+
//# sourceMappingURL=chunk-7QXN726V.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountBearerAuth,
|
|
3
3
|
readAuthEnv
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
10292
|
+
//# sourceMappingURL=chunk-L64CATKE.js.map
|