@indra.ai/deva 1.4.11 → 1.4.12

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 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1217,6 +1217,7 @@ class Deva {
1217
1217
  this.feature(key); // set the security state
1218
1218
  try {
1219
1219
  const data = this.lib.copy(value);
1220
+ data.id = this.lib.uid();
1220
1221
  data.hash = this.lib.hash(value);
1221
1222
  data.created = Date.now();
1222
1223
  this.state('return', key); // set the security state
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.4.11",
3
+ "version": "1.4.12",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "type": "module",