@tscircuit/core 0.0.644 → 0.0.645

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 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9210,6 +9210,7 @@ import {
9210
9210
  } from "@tscircuit/circuit-json-util";
9211
9211
  import { translate as translate5, rotate as rotate2, compose as compose4 } from "transformation-matrix";
9212
9212
  import Debug7 from "debug";
9213
+ var DEFAULT_MIN_GAP = "1mm";
9213
9214
  var debug6 = Debug7("Group_doInitialPcbLayoutPack");
9214
9215
  var isDescendantGroup = (db, groupId, ancestorId) => {
9215
9216
  if (groupId === ancestorId) return true;
@@ -9229,7 +9230,7 @@ var Group_doInitialPcbLayoutPack = (group) => {
9229
9230
  pcbPackGap
9230
9231
  } = props;
9231
9232
  const gap = pcbPackGap ?? pcbGap ?? gapProp;
9232
- const gapMm = length4.parse(gap ?? "0mm");
9233
+ const gapMm = length4.parse(gap ?? DEFAULT_MIN_GAP);
9233
9234
  const packInput = {
9234
9235
  ...convertPackOutputToPackInput(
9235
9236
  convertCircuitJsonToPackOutput(db.toArray(), {
@@ -12854,7 +12855,7 @@ import { identity as identity5 } from "transformation-matrix";
12854
12855
  var package_default = {
12855
12856
  name: "@tscircuit/core",
12856
12857
  type: "module",
12857
- version: "0.0.643",
12858
+ version: "0.0.644",
12858
12859
  types: "dist/index.d.ts",
12859
12860
  main: "dist/index.js",
12860
12861
  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.644",
4
+ "version": "0.0.645",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",