@tscircuit/core 0.0.210 → 0.0.211
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.
- package/dist/index.js +16 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3487,13 +3487,25 @@ var Group = class extends NormalComponent {
|
|
|
3487
3487
|
).then((r) => r.json());
|
|
3488
3488
|
while (true) {
|
|
3489
3489
|
const { autorouting_job: job } = await fetchWithDebug(
|
|
3490
|
-
`${serverUrl}/autorouting/jobs/get
|
|
3491
|
-
{
|
|
3490
|
+
`${serverUrl}/autorouting/jobs/get`,
|
|
3491
|
+
{
|
|
3492
|
+
method: "POST",
|
|
3493
|
+
body: JSON.stringify({
|
|
3494
|
+
autorouting_job_id: autorouting_job.autorouting_job_id
|
|
3495
|
+
}),
|
|
3496
|
+
headers: { "Content-Type": "application/json" }
|
|
3497
|
+
}
|
|
3492
3498
|
).then((r) => r.json());
|
|
3493
3499
|
if (job.is_finished) {
|
|
3494
3500
|
const { autorouting_job_output } = await fetchWithDebug(
|
|
3495
|
-
`${serverUrl}/autorouting/jobs/get_output
|
|
3496
|
-
{
|
|
3501
|
+
`${serverUrl}/autorouting/jobs/get_output`,
|
|
3502
|
+
{
|
|
3503
|
+
method: "POST",
|
|
3504
|
+
body: JSON.stringify({
|
|
3505
|
+
autorouting_job_id: autorouting_job.autorouting_job_id
|
|
3506
|
+
}),
|
|
3507
|
+
headers: { "Content-Type": "application/json" }
|
|
3508
|
+
}
|
|
3497
3509
|
).then((r) => r.json());
|
|
3498
3510
|
this._asyncAutoroutingResult = {
|
|
3499
3511
|
output_pcb_traces: autorouting_job_output.output_pcb_traces
|