@chestnutlabs/gcode-preview-svelte 0.15.0 → 0.16.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.
@@ -110,6 +110,9 @@
110
110
  case 'parse-progress':
111
111
  dispatch('parseprogress', { bytesProcessed: e.progress.bytesProcessed, totalBytes: e.progress.totalBytes });
112
112
  break;
113
+ case 'stage':
114
+ dispatch('stage', { stage: e.stage, progress: e.progress, detail: e.detail });
115
+ break;
113
116
  case 'buildComplete': {
114
117
  dispatch('buildcomplete', { segments: e.segments, quality: e.quality });
115
118
  let disclosure = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chestnutlabs/gcode-preview-svelte",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Thin Svelte integration for the Chestnut Labs G-code viewer (DD-007 D1 amendment): createGcodePreview store/action API + GcodePreview component as a reactivity bridge over @chestnutlabs/gcode-preview-core.",
5
5
  "keywords": [
6
6
  "gcode",
@@ -55,10 +55,10 @@
55
55
  "test": "vitest run"
56
56
  },
57
57
  "dependencies": {
58
- "@chestnutlabs/gcode-parser": "0.15.0",
59
- "@chestnutlabs/gcode-preview-core": "0.15.0",
60
- "@chestnutlabs/gcode-renderer-three": "0.15.0",
61
- "@chestnutlabs/toolpath-core": "0.15.0"
58
+ "@chestnutlabs/gcode-parser": "0.16.0",
59
+ "@chestnutlabs/gcode-preview-core": "0.16.0",
60
+ "@chestnutlabs/gcode-renderer-three": "0.16.0",
61
+ "@chestnutlabs/toolpath-core": "0.16.0"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "svelte": "^4.0.0 || ^5.0.0"