@tscircuit/core 0.0.1024 → 0.0.1026

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.d.ts CHANGED
@@ -101,6 +101,7 @@ interface SimpleRouteJson {
101
101
  }>;
102
102
  traces?: SimplifiedPcbTrace[];
103
103
  allowJumpers?: boolean;
104
+ availableJumperTypes?: Array<"1206x4" | "0603">;
104
105
  }
105
106
 
106
107
  type RootCircuitEventName = "asyncEffect:start" | "asyncEffect:end" | "renderable:renderLifecycle:anyEvent" | `renderable:renderLifecycle:${RenderPhase}:start` | `renderable:renderLifecycle:${RenderPhase}:end` | `board:renderPhaseStarted` | "external:evalError" | "autorouting:start" | "autorouting:end" | "autorouting:error" | "autorouting:progress" | "packing:start" | "packing:end" | "packing:error" | "solver:started" | "renderComplete" | "debug:logOutput";
package/dist/index.js CHANGED
@@ -1358,7 +1358,8 @@ var PrimitiveComponent2 = class extends Renderable {
1358
1358
  let current = this;
1359
1359
  while (current) {
1360
1360
  const maybePrimitive = current;
1361
- if (maybePrimitive.componentName === "Board") {
1361
+ const componentName = maybePrimitive.componentName;
1362
+ if (componentName === "Board" || componentName === "MountedBoard") {
1362
1363
  return maybePrimitive;
1363
1364
  }
1364
1365
  current = current.parent ?? null;
@@ -14661,7 +14662,7 @@ import { identity as identity4 } from "transformation-matrix";
14661
14662
  var package_default = {
14662
14663
  name: "@tscircuit/core",
14663
14664
  type: "module",
14664
- version: "0.0.1023",
14665
+ version: "0.0.1025",
14665
14666
  types: "dist/index.d.ts",
14666
14667
  main: "dist/index.js",
14667
14668
  module: "dist/index.js",
@@ -14693,7 +14694,7 @@ var package_default = {
14693
14694
  "@biomejs/biome": "^1.8.3",
14694
14695
  "@resvg/resvg-js": "^2.6.2",
14695
14696
  "@tscircuit/alphabet": "0.0.18",
14696
- "@tscircuit/capacity-autorouter": "^0.0.264",
14697
+ "@tscircuit/capacity-autorouter": "^0.0.269",
14697
14698
  "@tscircuit/checks": "^0.0.88",
14698
14699
  "@tscircuit/circuit-json-util": "^0.0.77",
14699
14700
  "@tscircuit/common": "^0.0.20",
@@ -15440,6 +15441,9 @@ var Group6 = class extends NormalComponent3 {
15440
15441
  });
15441
15442
  if (isAutoJumperPreset) {
15442
15443
  simpleRouteJson.allowJumpers = true;
15444
+ if (autorouterConfig.availableJumperTypes) {
15445
+ simpleRouteJson.availableJumperTypes = autorouterConfig.availableJumperTypes;
15446
+ }
15443
15447
  }
15444
15448
  if (debug11.enabled) {
15445
15449
  ;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1024",
4
+ "version": "0.0.1026",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -33,7 +33,7 @@
33
33
  "@biomejs/biome": "^1.8.3",
34
34
  "@resvg/resvg-js": "^2.6.2",
35
35
  "@tscircuit/alphabet": "0.0.18",
36
- "@tscircuit/capacity-autorouter": "^0.0.264",
36
+ "@tscircuit/capacity-autorouter": "^0.0.269",
37
37
  "@tscircuit/checks": "^0.0.88",
38
38
  "@tscircuit/circuit-json-util": "^0.0.77",
39
39
  "@tscircuit/common": "^0.0.20",