@toolpath/viewer 0.3.0 → 0.4.0
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/README.md +1 -1
- package/dist/{chunk-RICG6UVH.js → chunk-ILZ2KQUK.js} +467 -79
- package/dist/engine/index.d.ts +2 -2
- package/dist/engine/index.js +1 -1
- package/dist/index.d.ts +90 -8
- package/dist/index.js +28 -231
- package/dist/{normalize-W9Lv_Mpg.d.ts → normalize-BXIGoZmc.d.ts} +19 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ import { EnginePart } from '@toolpath/viewer/engine'
|
|
|
22
22
|
</Suspense>
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
`EnginePart` takes a `
|
|
25
|
+
`EnginePart` takes a `PartResponse` exactly as `@toolpath/api` returns it and validates it:
|
|
26
26
|
a malformed report throws `PartReportFormatError` carrying every problem it found, and one from a
|
|
27
27
|
kernel older than `0.3.0` — before `regions[]` and `featureTag` existed — throws
|
|
28
28
|
`UnsupportedKernelVersionError`. It fetches `meshGlbUrl`, falls back to `meshStlUrl`, and refuses a
|