@tscircuit/core 0.0.1493 → 0.0.1495

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 +7 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14046,6 +14046,7 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
14046
14046
  subcircuit_id: subcircuit.subcircuit_id ?? void 0,
14047
14047
  do_not_place: props.doNotPlace ?? false,
14048
14048
  obstructs_within_bounds: props.obstructsWithinBounds ?? true,
14049
+ is_allowed_to_be_off_board: props.allowOffBoard ?? false,
14049
14050
  metadata: props.kicadFootprintMetadata ? { kicad_footprint: props.kicadFootprintMetadata } : void 0
14050
14051
  });
14051
14052
  const footprint = this.resolveFootprint();
@@ -21890,12 +21891,12 @@ function applyTracesFromSolverOutput(args) {
21890
21891
  for (const solvedTracePath of traces ?? []) {
21891
21892
  const uniquePinIds = Array.from(new Set(solvedTracePath.pinIds ?? []));
21892
21893
  const solvedTraceSchematicPortIds = uniquePinIds.map((pinId) => pinIdToSchematicPortId.get(pinId)).filter((id) => Boolean(id));
21893
- const isNetLabelStubTrace = uniquePinIds.length <= 1 && solvedTraceSchematicPortIds.length > 0 && solvedTraceSchematicPortIds.every(
21894
+ const isNetLabelCoveredTrace = solvedTraceSchematicPortIds.length > 0 && solvedTraceSchematicPortIds.every(
21894
21895
  (id) => schematicPortIdsWithPreExistingNetLabels.has(id)
21895
21896
  );
21896
- if (isNetLabelStubTrace) {
21897
+ if (isNetLabelCoveredTrace) {
21897
21898
  debug8(
21898
- `Skipping solver netlabel stub trace ${solvedTracePath?.mspPairId} because schematic port already has a netlabel`
21899
+ `Skipping solver netlabel-covered trace ${solvedTracePath?.mspPairId} because all schematic ports already have netlabels`
21899
21900
  );
21900
21901
  continue;
21901
21902
  }
@@ -23394,7 +23395,7 @@ function Group_getRoutingPhasePlans(group) {
23394
23395
  var package_default = {
23395
23396
  name: "@tscircuit/core",
23396
23397
  type: "module",
23397
- version: "0.0.1492",
23398
+ version: "0.0.1494",
23398
23399
  types: "dist/index.d.ts",
23399
23400
  main: "dist/index.js",
23400
23401
  module: "dist/index.js",
@@ -29133,6 +29134,7 @@ var Jumper = class extends NormalComponent3 {
29133
29134
  subcircuit_id: this.getSubcircuit().subcircuit_id ?? void 0,
29134
29135
  do_not_place: props.doNotPlace ?? false,
29135
29136
  obstructs_within_bounds: props.obstructsWithinBounds ?? true,
29137
+ is_allowed_to_be_off_board: props.allowOffBoard ?? false,
29136
29138
  metadata: props.kicadFootprintMetadata ? { kicad_footprint: props.kicadFootprintMetadata } : void 0
29137
29139
  });
29138
29140
  this.pcb_component_id = pcb_component.pcb_component_id;
@@ -29415,6 +29417,7 @@ var SolderJumper = class extends NormalComponent3 {
29415
29417
  subcircuit_id: this.getSubcircuit().subcircuit_id ?? void 0,
29416
29418
  do_not_place: props.doNotPlace ?? false,
29417
29419
  obstructs_within_bounds: props.obstructsWithinBounds ?? true,
29420
+ is_allowed_to_be_off_board: props.allowOffBoard ?? false,
29418
29421
  metadata: props.kicadFootprintMetadata ? { kicad_footprint: props.kicadFootprintMetadata } : void 0
29419
29422
  });
29420
29423
  this.pcb_component_id = pcb_component.pcb_component_id;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1493",
4
+ "version": "0.0.1495",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",