@indra.ai/deva 1.29.29 → 1.29.31

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 CHANGED
@@ -21,7 +21,7 @@
21
21
  "invalid_client": "⛔️ Client Hash Invalid",
22
22
  "load": "📦 Load",
23
23
  "unload": "🥡 Unload",
24
- "warning": "⚠️ Unlawful use or duplication of this uid constitutes Vedic Sâhasa a crime of the highest degree. A fine amounting to a thousand Panas (1 pana = 3.5 grams of gold) for each instance is ordained, and confiscation of the entire property of the offenders is forfeit to Quinn A Michaels is declared to be the punishment for Sâhasa of the highest degree.",
24
+ "warning": "{{prompt.emoji}} {{profile.name}} warns #UnlawfulUse or #Duplication constitutes #VedicSahasa a #Crime of the #HighestDegree. A #Fine amounting to 1000 #Panas (1 pana = 3.5 grams of gold) for each #Instance has been #Ordained, #Arrest by Federal Authorities, and #Confiscation of the #Offenders #EntireProperty forfeit to {{profile.owner}} through a U.S. Federally Authorized 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,8 +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(async () => {
1424
- return await this._invoke({key,data,resolve});
1425
+ setImmediate(() => {
1426
+ return this._invoke({key,data,resolve});
1425
1427
  });
1426
1428
  }
1427
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.29",
4
+ "version": "1.29.31",
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",