@indra.ai/deva 1.59.0 → 1.59.2
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 +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -403,8 +403,9 @@ class Deva {
|
|
|
403
403
|
usage: this._unstamp(data)
|
|
404
404
|
***************/
|
|
405
405
|
_unstamp(data) {
|
|
406
|
+
const id = data.id?.uid || this._messages.noid; // check for proper id in the data.
|
|
406
407
|
for (const algo of this._config.hashes) {
|
|
407
|
-
this.action('delete', `${algo}:${
|
|
408
|
+
this.action('delete', `${algo}:${id}`);
|
|
408
409
|
delete data[algo]
|
|
409
410
|
};
|
|
410
411
|
return data;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "23221940810208468106",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.59.
|
|
4
|
+
"version": "1.59.2",
|
|
5
5
|
"description": "Deva Core a Vedic-inspired Event Based Context Aware Feature, Zone, Action, and State Machine integrated Artificial Intelligence Framework",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"license": "VLA:23221940810208468106 LICENSE.md",
|