@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.
- package/index.js +1 -0
- 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
|