@tscircuit/core 0.0.669 → 0.0.671

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 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -10265,7 +10265,7 @@ var insertNetLabelsForPortsMissingTrace = ({
10265
10265
  continue;
10266
10266
  }
10267
10267
  const existingAtPort = db.schematic_net_label.list().some((nl) => {
10268
- const samePos = Math.abs(nl.anchor_position.x - sp.center.x) < 1e-6 && Math.abs(nl.anchor_position.y - sp.center.y) < 1e-6;
10268
+ const samePos = Math.abs(nl.anchor_position.x - sp.center.x) < 0.1 && Math.abs(nl.anchor_position.y - sp.center.y) < 0.1;
10269
10269
  if (!samePos) return false;
10270
10270
  if (sourceNet.source_net_id && nl.source_net_id) {
10271
10271
  return nl.source_net_id === sourceNet.source_net_id;
@@ -13862,7 +13862,7 @@ import { identity as identity5 } from "transformation-matrix";
13862
13862
  var package_default = {
13863
13863
  name: "@tscircuit/core",
13864
13864
  type: "module",
13865
- version: "0.0.668",
13865
+ version: "0.0.670",
13866
13866
  types: "dist/index.d.ts",
13867
13867
  main: "dist/index.js",
13868
13868
  module: "dist/index.js",
@@ -13915,7 +13915,7 @@ var package_default = {
13915
13915
  "bun-match-svg": "0.0.12",
13916
13916
  "calculate-elbow": "^0.0.9",
13917
13917
  "chokidar-cli": "^3.0.0",
13918
- "circuit-json": "^0.0.235",
13918
+ "circuit-json": "^0.0.236",
13919
13919
  "circuit-json-to-bpc": "^0.0.13",
13920
13920
  "circuit-json-to-connectivity-map": "^0.0.22",
13921
13921
  "circuit-json-to-simple-3d": "^0.0.6",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.669",
4
+ "version": "0.0.671",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -54,7 +54,7 @@
54
54
  "bun-match-svg": "0.0.12",
55
55
  "calculate-elbow": "^0.0.9",
56
56
  "chokidar-cli": "^3.0.0",
57
- "circuit-json": "^0.0.235",
57
+ "circuit-json": "^0.0.236",
58
58
  "circuit-json-to-bpc": "^0.0.13",
59
59
  "circuit-json-to-connectivity-map": "^0.0.22",
60
60
  "circuit-json-to-simple-3d": "^0.0.6",