@tscircuit/core 0.0.392 → 0.0.393

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2672,6 +2672,8 @@ var Port = class extends PrimitiveComponent2 {
2672
2672
  let bestDisplayPinLabel = void 0;
2673
2673
  for (const portHint of sourcePort?.port_hints ?? []) {
2674
2674
  if (portHint.match(/^(pin)?\d+$/)) continue;
2675
+ if (portHint.match(/^(left|right)/) && !sourcePort?.name.match(/^(left|right)/))
2676
+ continue;
2675
2677
  bestDisplayPinLabel = portHint;
2676
2678
  }
2677
2679
  const schematic_port = db.schematic_port.insert({
@@ -8018,7 +8020,7 @@ import { identity as identity4 } from "transformation-matrix";
8018
8020
  var package_default = {
8019
8021
  name: "@tscircuit/core",
8020
8022
  type: "module",
8021
- version: "0.0.391",
8023
+ version: "0.0.392",
8022
8024
  types: "dist/index.d.ts",
8023
8025
  main: "dist/index.js",
8024
8026
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.392",
4
+ "version": "0.0.393",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",