@tscircuit/core 0.0.2179 → 0.0.2180
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 +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -110758,6 +110758,7 @@ var getSimpleRouteJsonFromCircuitJson = ({
|
|
|
110758
110758
|
traces: preservedRoutedSubcircuitTraces.length > 0 ? preservedRoutedSubcircuitTraces : void 0,
|
|
110759
110759
|
layerCount: board?.num_layers ?? 2,
|
|
110760
110760
|
allowBlindAndBuriedVias: board?.allow_blind_and_buried_vias ?? false,
|
|
110761
|
+
allowViaInPad: board?.is_via_in_pad_allowed ?? false,
|
|
110761
110762
|
minTraceWidth: Math.min(
|
|
110762
110763
|
defaultTraceWidth,
|
|
110763
110764
|
...allConns.map((c2) => c2.width)
|
|
@@ -119559,7 +119560,7 @@ var RoutingPhasePreparationError = class extends Error {
|
|
|
119559
119560
|
var package_default = {
|
|
119560
119561
|
name: "@tscircuit/core",
|
|
119561
119562
|
type: "module",
|
|
119562
|
-
version: "0.0.
|
|
119563
|
+
version: "0.0.2179",
|
|
119563
119564
|
types: "dist/index.d.ts",
|
|
119564
119565
|
main: "dist/index.js",
|
|
119565
119566
|
module: "dist/index.js",
|
|
@@ -121312,7 +121313,7 @@ var Group5 = class extends NormalComponent {
|
|
|
121312
121313
|
subcircuit_id: this.subcircuit_id,
|
|
121313
121314
|
subcircuitComponent: this
|
|
121314
121315
|
});
|
|
121315
|
-
simpleRouteJson.allowViaInPad = autorouterConfig.allowViaInPad;
|
|
121316
|
+
simpleRouteJson.allowViaInPad = autorouterConfig.allowViaInPad ?? simpleRouteJson.allowViaInPad;
|
|
121316
121317
|
const { autorouting_result: autorouting_result2 } = await fetchWithDebug(
|
|
121317
121318
|
`${serverUrl}/autorouting/solve`,
|
|
121318
121319
|
{
|
|
@@ -121777,7 +121778,7 @@ var Group5 = class extends NormalComponent {
|
|
|
121777
121778
|
simpleRouteJson,
|
|
121778
121779
|
routingPhasePlan.drcTolerances
|
|
121779
121780
|
);
|
|
121780
|
-
simpleRouteJson.allowViaInPad = phaseAutorouterConfig.allowViaInPad;
|
|
121781
|
+
simpleRouteJson.allowViaInPad = phaseAutorouterConfig.allowViaInPad ?? simpleRouteJson.allowViaInPad;
|
|
121781
121782
|
const getPrecomputedRoutingResult = usesPreviousStageOutput ? void 0 : routingPhasePlan.getPrecomputedRoutingResult;
|
|
121782
121783
|
const preflightRoutingCheckPolicy = this.getInheritedProperty("preflightRoutingCheckPolicy") ?? "basic";
|
|
121783
121784
|
if (routingPhasePlan.isImplicitRemainingPhase && phaseStageIndex === 0 && this.getInheritedProperty("routeRemaining") === void 0 && (preflightRoutingCheckPolicy === "basic" || preflightRoutingCheckPolicy === "conservative") && simpleRouteJson.connections.length > 50) {
|