@tscircuit/core 0.0.677 → 0.0.678
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 +5 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9845,10 +9845,12 @@ function createSchematicTraceSolverInputProblem(group) {
|
|
|
9845
9845
|
)) {
|
|
9846
9846
|
if (!net.name) continue;
|
|
9847
9847
|
if (!presentNetIds.has(net.name)) continue;
|
|
9848
|
-
if (net.is_ground || net.name.startsWith("
|
|
9848
|
+
if (net.is_ground || net.name.toLowerCase().startsWith("gnd")) {
|
|
9849
9849
|
netToAllowedOrientations[net.name] = ["y-"];
|
|
9850
|
-
} else if (
|
|
9850
|
+
} else if (net.is_power || net.name.toLowerCase().startsWith("v")) {
|
|
9851
9851
|
netToAllowedOrientations[net.name] = ["y+"];
|
|
9852
|
+
} else {
|
|
9853
|
+
netToAllowedOrientations[net.name] = ["x-", "x+"];
|
|
9852
9854
|
}
|
|
9853
9855
|
}
|
|
9854
9856
|
return netToAllowedOrientations;
|
|
@@ -13911,7 +13913,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
13911
13913
|
var package_default = {
|
|
13912
13914
|
name: "@tscircuit/core",
|
|
13913
13915
|
type: "module",
|
|
13914
|
-
version: "0.0.
|
|
13916
|
+
version: "0.0.677",
|
|
13915
13917
|
types: "dist/index.d.ts",
|
|
13916
13918
|
main: "dist/index.js",
|
|
13917
13919
|
module: "dist/index.js",
|