@tscircuit/core 0.0.1890 → 0.0.1891

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 +8 -7
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -22753,13 +22753,14 @@ function getWindingTargetOrders(params) {
22753
22753
  return;
22754
22754
  }
22755
22755
  for (let layer = 0; layer < layerSequences2.length; layer++) {
22756
- const next = layerSequences2[layer][offsets[layer]];
22756
+ const offset = offsets[layer];
22757
+ const next = layerSequences2[layer][offset];
22757
22758
  if (!next) continue;
22758
- offsets[layer]++;
22759
+ offsets[layer] = offset + 1;
22759
22760
  current.push(next);
22760
22761
  append();
22761
22762
  current.pop();
22762
- offsets[layer]--;
22763
+ offsets[layer] = offset;
22763
22764
  }
22764
22765
  };
22765
22766
  append();
@@ -32921,8 +32922,8 @@ function selectCompatibleCandidates(params) {
32921
32922
  for (const second of neighbors[first]) {
32922
32923
  if (second <= first || compatible(selection[first], selection[second]))
32923
32924
  continue;
32924
- conflictCounts[first]++;
32925
- conflictCounts[second]++;
32925
+ conflictCounts[first] = conflictCounts[first] + 1;
32926
+ conflictCounts[second] = conflictCounts[second] + 1;
32926
32927
  }
32927
32928
  }
32928
32929
  const maximumConflictCount = Math.max(...conflictCounts);
@@ -61597,7 +61598,7 @@ function Group_getRoutingPhasePlans(group) {
61597
61598
  var package_default = {
61598
61599
  name: "@tscircuit/core",
61599
61600
  type: "module",
61600
- version: "0.0.1889",
61601
+ version: "0.0.1890",
61601
61602
  types: "dist/index.d.ts",
61602
61603
  main: "dist/index.js",
61603
61604
  module: "dist/index.js",
@@ -61637,7 +61638,7 @@ var package_default = {
61637
61638
  "@tscircuit/common": "^0.0.20",
61638
61639
  "@tscircuit/copper-pour-solver": "^0.0.54",
61639
61640
  "@tscircuit/create-fdm-enclosure": "0.0.4",
61640
- "@tscircuit/fanout-solver": "0.0.71",
61641
+ "@tscircuit/fanout-solver": "0.0.72",
61641
61642
  "@tscircuit/footprinter": "^0.0.426",
61642
61643
  "@tscircuit/image-utils": "^0.0.8",
61643
61644
  "@tscircuit/implicit-copper-pour-solver": "github:tscircuit/implicit-copper-pour-solver#a5cbbda0cd65fd4707c5c1af25779837c25aba92",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1890",
4
+ "version": "0.0.1891",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -41,7 +41,7 @@
41
41
  "@tscircuit/common": "^0.0.20",
42
42
  "@tscircuit/copper-pour-solver": "^0.0.54",
43
43
  "@tscircuit/create-fdm-enclosure": "0.0.4",
44
- "@tscircuit/fanout-solver": "0.0.71",
44
+ "@tscircuit/fanout-solver": "0.0.72",
45
45
  "@tscircuit/footprinter": "^0.0.426",
46
46
  "@tscircuit/image-utils": "^0.0.8",
47
47
  "@tscircuit/implicit-copper-pour-solver": "github:tscircuit/implicit-copper-pour-solver#a5cbbda0cd65fd4707c5c1af25779837c25aba92",