@tscircuit/core 0.0.2130 → 0.0.2131
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 +10 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -118378,7 +118378,7 @@ var RoutingPhasePreparationError = class extends Error {
|
|
|
118378
118378
|
var package_default = {
|
|
118379
118379
|
name: "@tscircuit/core",
|
|
118380
118380
|
type: "module",
|
|
118381
|
-
version: "0.0.
|
|
118381
|
+
version: "0.0.2130",
|
|
118382
118382
|
types: "dist/index.d.ts",
|
|
118383
118383
|
main: "dist/index.js",
|
|
118384
118384
|
module: "dist/index.js",
|
|
@@ -120796,6 +120796,15 @@ var Group5 = class extends NormalComponent {
|
|
|
120796
120796
|
traces = await routingPromise;
|
|
120797
120797
|
}
|
|
120798
120798
|
let transformedSimpleRouteJson = precomputedOutputSimpleRouteJson ?? autorouter?.getOutputSimpleRouteJson?.();
|
|
120799
|
+
if (localAutorouterStrategy.preserveOutputTraces && transformedSimpleRouteJson?.traces) {
|
|
120800
|
+
transformedSimpleRouteJson = {
|
|
120801
|
+
...transformedSimpleRouteJson,
|
|
120802
|
+
traces: getAccumulatedPcbTracesWithStageOutputReplacements({
|
|
120803
|
+
accumulatedPcbTraces: simpleRouteJson.traces ?? [],
|
|
120804
|
+
stageOutputPcbTraces: transformedSimpleRouteJson.traces
|
|
120805
|
+
})
|
|
120806
|
+
};
|
|
120807
|
+
}
|
|
120799
120808
|
if (transformedSimpleRouteJson && !usesPreviousStageOutput && ["fanout", "single_layer_fanout", "dogbone"].includes(
|
|
120800
120809
|
phaseAutorouterConfig.preset ?? ""
|
|
120801
120810
|
) && routingPhasePlan.routingPcbGroupId) {
|