@indra.ai/deva 1.20.0 β 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.
- package/config/features.json +1 -2
- package/index.js +5 -6
- package/package.json +1 -1
package/config/features.json
CHANGED
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"king": "ποΈ King",
|
|
21
21
|
"owner": "π©²οΈ Owner",
|
|
22
22
|
"vector": "π½οΈ Vector",
|
|
23
|
-
"feecting": "π Feecting",
|
|
24
23
|
"intelligence": "π§ Intelligence",
|
|
25
24
|
"treasury": "π¦ Treasury",
|
|
26
25
|
"justice": "βοΈ Justice",
|
|
@@ -28,9 +27,9 @@
|
|
|
28
27
|
"legal": "ποΈ Legal",
|
|
29
28
|
"security": "π¨ Security",
|
|
30
29
|
"guard": "π Guard",
|
|
31
|
-
"wall": "π§± Wall",
|
|
32
30
|
"defense": "πͺοΈοΈ Defense",
|
|
33
31
|
"shield": "π‘οΈ Shield",
|
|
32
|
+
"wall": "π§± Wall",
|
|
34
33
|
"proxy": "πΎοΈ Proxy",
|
|
35
34
|
"support": "πΌ Support",
|
|
36
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
|
|
2257
|
-
this.intent('good', `info:${id
|
|
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.
|
|
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",
|