@onehat/data 1.8.15 → 1.8.16
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 +1 -1
- package/src/Entity.js +1 -4
package/package.json
CHANGED
package/src/Entity.js
CHANGED
|
@@ -1322,10 +1322,7 @@ class Entity extends EventEmitter {
|
|
|
1322
1322
|
}
|
|
1323
1323
|
|
|
1324
1324
|
get [Symbol.toStringTag]() {
|
|
1325
|
-
|
|
1326
|
-
throw Error('this.toStringTag is no longer valid. Entity has been destroyed.');
|
|
1327
|
-
}
|
|
1328
|
-
return 'Entity {' + this.id + '} - ' + this.displayValue;
|
|
1325
|
+
return 'Entity {' + this.id + '} - ' + (this.isDestroyed ? 'destroyed' : this.displayValue);
|
|
1329
1326
|
}
|
|
1330
1327
|
|
|
1331
1328
|
get toJSON() {
|