@tscircuit/core 0.0.824 → 0.0.825

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
@@ -10857,7 +10857,8 @@ function getPresetAutoroutingConfig(autorouterConfig) {
10857
10857
  }
10858
10858
  const preset = typeof autorouterConfig === "object" ? autorouterConfig.preset : autorouterConfig;
10859
10859
  const providedConfig = typeof autorouterConfig === "object" ? autorouterConfig : {};
10860
- switch (preset) {
10860
+ const normalizedPreset = typeof preset === "string" ? preset.replace(/_/g, "-") : preset;
10861
+ switch (normalizedPreset) {
10861
10862
  case "auto-local":
10862
10863
  return {
10863
10864
  local: true,
@@ -17288,7 +17289,7 @@ import { identity as identity6 } from "transformation-matrix";
17288
17289
  var package_default = {
17289
17290
  name: "@tscircuit/core",
17290
17291
  type: "module",
17291
- version: "0.0.823",
17292
+ version: "0.0.824",
17292
17293
  types: "dist/index.d.ts",
17293
17294
  main: "dist/index.js",
17294
17295
  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.824",
4
+ "version": "0.0.825",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",