@woosh/meep-engine 2.47.39 → 2.47.40

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "description": "Fully featured ECS game engine written in JavaScript",
6
6
  "type": "module",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.47.39",
8
+ "version": "2.47.40",
9
9
  "main": "build/meep.module.js",
10
10
  "module": "build/meep.module.js",
11
11
  "exports": {
@@ -79,7 +79,7 @@ export function deserializeNodeGraphFromJSON({
79
79
  } else {
80
80
 
81
81
  if (!existing_node.equals(loaded_node)) {
82
- throw new Error(`Loaded node does not match the one in the registry`);
82
+ throw new Error(`Loaded node does not match the one in the registry. Loaded: ${loaded_node}, Existing: ${existing_node}`);
83
83
  }
84
84
 
85
85
  // re-use node from registry
@@ -339,6 +339,10 @@ export class NodeDescription {
339
339
  ;
340
340
  }
341
341
 
342
+ toString() {
343
+ return `NodeDescription[id=${this.id}, name='${this.name}']`;
344
+ }
345
+
342
346
  toJSON() {
343
347
  return {
344
348
  id: this.id,