@tscircuit/core 0.0.1846 → 0.0.1847
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/index.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37451,14 +37451,18 @@ var getDifferentialPairSrjConnectionNamesByCohortOrThrow = ({
|
|
|
37451
37451
|
traceNameOrPortSelector
|
|
37452
37452
|
}) => {
|
|
37453
37453
|
const differentialPairSourceTraceIds = [];
|
|
37454
|
+
const differentialPairSourceNetIds = /* @__PURE__ */ new Set();
|
|
37454
37455
|
for (const sourceTrace of differentialPairSourceTraces) {
|
|
37455
37456
|
if (sourceTrace.subcircuit_connectivity_map_key === traceSubcircuitConnectivityMapKey) {
|
|
37456
37457
|
differentialPairSourceTraceIds.push(sourceTrace.source_trace_id);
|
|
37458
|
+
for (const sourceNetId of sourceTrace.connected_source_net_ids ?? []) {
|
|
37459
|
+
differentialPairSourceNetIds.add(sourceNetId);
|
|
37460
|
+
}
|
|
37457
37461
|
}
|
|
37458
37462
|
}
|
|
37459
37463
|
const matchingSrjConnections = [];
|
|
37460
37464
|
for (const srjConnection of srjConnections) {
|
|
37461
|
-
if (srjConnection.source_trace_id && differentialPairSourceTraceIds.includes(srjConnection.source_trace_id)) {
|
|
37465
|
+
if (differentialPairSourceNetIds.has(srjConnection.name) || srjConnection.source_trace_id && differentialPairSourceTraceIds.includes(srjConnection.source_trace_id)) {
|
|
37462
37466
|
matchingSrjConnections.push(srjConnection);
|
|
37463
37467
|
}
|
|
37464
37468
|
}
|
|
@@ -46506,7 +46510,7 @@ function Group_getRoutingPhasePlans(group) {
|
|
|
46506
46510
|
var package_default = {
|
|
46507
46511
|
name: "@tscircuit/core",
|
|
46508
46512
|
type: "module",
|
|
46509
|
-
version: "0.0.
|
|
46513
|
+
version: "0.0.1846",
|
|
46510
46514
|
types: "dist/index.d.ts",
|
|
46511
46515
|
main: "dist/index.js",
|
|
46512
46516
|
module: "dist/index.js",
|