@duet3d/gcodeviewer 3.7.0-alpha.3 → 3.7.0-alpha.5

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.
@@ -2,6 +2,8 @@ export default class ViewerProxy {
2
2
  private webWorker;
3
3
  mainCanvas: HTMLCanvasElement | null;
4
4
  private registeredListeners;
5
+ private unloadFallback;
6
+ private suspended;
5
7
  constructor(canvas: HTMLCanvasElement);
6
8
  private addTrackedListener;
7
9
  private onmessage;
@@ -10,6 +12,7 @@ export default class ViewerProxy {
10
12
  init(): void;
11
13
  cancel(): void;
12
14
  loadFile(file: any): void;
15
+ suspend(suspended: boolean): void;
13
16
  unload(): void;
14
17
  reset(): void;
15
18
  updateFilePosition(filePosition: number, animate?: boolean): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/gcodeviewer",
3
- "version": "3.7.0-alpha.3",
3
+ "version": "3.7.0-alpha.5",
4
4
  "description": "G-code viewer and processor library with Babylon.js rendering and a Rust/WASM parsing fast path",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",