@tscircuit/eval 0.0.353 → 0.0.355

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.353",
4
+ "version": "0.0.355",
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.755",
60
60
  "@tscircuit/footprinter": "^0.0.236",
61
61
  "@tscircuit/import-snippet": "^0.0.4",
62
62
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
@@ -102,7 +102,9 @@
102
102
  "sucrase": "^3.35.0",
103
103
  "ts-expect": "^1.3.0",
104
104
  "tsup": "^8.2.4",
105
- "@tscircuit/log-soup": "^1.0.2"
105
+ "@tscircuit/log-soup": "^1.0.2",
106
+ "circuit-json-to-gltf": "^0.0.7",
107
+ "poppygl": "^0.0.6"
106
108
  },
107
109
  "peerDependencies": {
108
110
  "typescript": "^5.0.0",