@indra.ai/deva 1.29.28 → 1.29.30
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/msgs.json +1 -1
- package/index.js +4 -3
- package/package.json +1 -1
package/config/msgs.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"invalid_client": "⛔️ Client Hash Invalid",
|
|
22
22
|
"load": "📦 Load",
|
|
23
23
|
"unload": "🥡 Unload",
|
|
24
|
-
"warning": "
|
|
24
|
+
"warning": "{{prompt.emoji}} {{profile.hashtag}} warns #UnlawfulUse or #Duplication of this uid constitutes #VedicSahasa a #Crime of the #HighestDegree. A #Fine amounting to 1000 #Panas (1 pana = 3.5 grams of gold) for each #Instance is #Ordained with #Confiscation of the #EntireProperty of the #Offenders is forfeit to Quinn A Michaels through a Federally Authorized IRS Escrow Service is declared to be the #Punishment for #Sahasa of the #HighestDegree. {{profile.hashtags}}",
|
|
25
25
|
"client_license_check": "🪪 Check Client License",
|
|
26
26
|
"client_license_invalid": "❌ The Provided Client License Is Invalid",
|
|
27
27
|
"status": "vedic"
|
package/index.js
CHANGED
|
@@ -1410,9 +1410,11 @@ class Deva {
|
|
|
1410
1410
|
this.config.hash[agent.key][item] = this.hash(this_item, 'sha256');
|
|
1411
1411
|
}
|
|
1412
1412
|
}
|
|
1413
|
+
|
|
1413
1414
|
const key_len = Object.keys(this.devas).length
|
|
1414
1415
|
let x = 1;
|
|
1415
1416
|
if (this.devas && key_len) {
|
|
1417
|
+
this.state('loop', `${key}:devas:${data.id.uid}`);
|
|
1416
1418
|
for (let deva in this.devas) {
|
|
1417
1419
|
await this.load(deva, data.client).then(async entity => {
|
|
1418
1420
|
const id = this.uid();
|
|
@@ -1420,9 +1422,8 @@ class Deva {
|
|
|
1420
1422
|
const deva_agent = this.devas[deva].agent();
|
|
1421
1423
|
this.talk(`deva:dir`, {id, key:deva_agent.key, dir});
|
|
1422
1424
|
if (x === key_len) {
|
|
1423
|
-
setImmediate(
|
|
1424
|
-
this.
|
|
1425
|
-
return await this._invoke({key,data,resolve});
|
|
1425
|
+
setImmediate(() => {
|
|
1426
|
+
return this._invoke({key,data,resolve});
|
|
1426
1427
|
});
|
|
1427
1428
|
}
|
|
1428
1429
|
x = x + 1;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "38159520729793885324",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.29.
|
|
4
|
+
"version": "1.29.30",
|
|
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:38159520729793885324 LICENSE.md",
|