@indra.ai/deva 1.20.1 β†’ 1.20.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.
@@ -27,9 +27,9 @@
27
27
  "legal": "πŸ›οΈ Legal",
28
28
  "security": "🚨 Security",
29
29
  "guard": "πŸ’‚ Guard",
30
- "wall": "🧱 Wall",
31
30
  "defense": "πŸͺ–️️ Defense",
32
31
  "shield": "πŸ›‘οΈ Shield",
32
+ "wall": "🧱 Wall",
33
33
  "proxy": "πŸ‘ΎοΈ Proxy",
34
34
  "support": "πŸ’Ό Support",
35
35
  "services": "πŸ› οΈ Services",
package/index.js CHANGED
@@ -2242,19 +2242,18 @@ class Deva {
2242
2242
  ***************/
2243
2243
  info() {
2244
2244
  if (!this._active) return this._messages.offline;
2245
- const id = this.uid();
2246
- this.action('info', id.uid);
2247
-
2248
2245
  const data = this.lib.copy(this._info);
2249
- data.id = id;
2250
2246
  data.created = Date.now();
2251
2247
 
2248
+ this.action('hash', `info:md5:${data.id}`);
2252
2249
  data.md5 = this.hash(data, 'md5');
2250
+ this.action('hash', `info:sha256:${data.id}`);
2253
2251
  data.sha256 = this.hash(data, 'sha256');
2252
+ this.action('hash', `info:sha512:${data.id}`);
2254
2253
  data.sha512 = this.hash(data, 'sha512');
2255
2254
 
2256
- this.action('return', `info:${id.uid}`);
2257
- this.intent('good', `info:${id.uid}`);
2255
+ this.action('return', `info:${data.id}`);
2256
+ this.intent('good', `info:${data.id}`);
2258
2257
  return data;
2259
2258
  }
2260
2259
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "64907438819979111427",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.20.1",
4
+ "version": "1.20.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:64907438819979111427 LICENSE.md",