@tscircuit/eval 0.0.352 → 0.0.354

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.
@@ -28,9 +28,8 @@ export const getPlatformConfig = (): PlatformConfig => ({
28
28
  footprintFileParserMap: {
29
29
  kicad_mod: {
30
30
  loadFromUrl: async (url: string) => {
31
- const kicadJson = await parseKicadModToCircuitJson(
32
- atob(url.replace("data:text/plain;base64,", "")),
33
- )
31
+ const kicadContent = await fetch(url).then((res) => res.text())
32
+ const kicadJson = await parseKicadModToCircuitJson(kicadContent)
34
33
  return {
35
34
  footprintCircuitJson: Array.isArray(kicadJson)
36
35
  ? kicadJson
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/eval",
3
3
  "main": "dist/lib/index.js",
4
- "version": "0.0.352",
4
+ "version": "0.0.354",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "bun run build:lib && bun run build:webworker && bun run build:blob-url && bun run build:runner && bun run build:worker-wrapper",
@@ -56,7 +56,7 @@
56
56
  "@tscircuit/checks": "^0.0.75",
57
57
  "@tscircuit/circuit-json-flex": "^0.0.3",
58
58
  "@tscircuit/circuit-json-util": "^0.0.67",
59
- "@tscircuit/core": "^0.0.751",
59
+ "@tscircuit/core": "^0.0.753",
60
60
  "@tscircuit/footprinter": "^0.0.236",
61
61
  "@tscircuit/import-snippet": "^0.0.4",
62
62
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",