@indra.ai/deva 1.5.8 → 1.5.9

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.
Files changed (2) hide show
  1. package/index.js +1 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -188,12 +188,10 @@ class Deva {
188
188
  this.feature(key); // set the security state
189
189
  try {
190
190
  const data = this.lib.copy(value);
191
- data.id = this.lib.uid();
192
- data.hash = this.lib.hash(value);
193
- data.created = Date.now();
194
191
  this.state('return', key); // set the security state
195
192
  return data; // return the security feature
196
193
  } catch (e) {
194
+ this.state('catch', key);
197
195
  return this.error(e);
198
196
  }
199
197
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.5.8",
3
+ "version": "1.5.9",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "copyright": "(c)2025 Quinn Michaels; All rights reserved.",