@indra.ai/deva 1.62.76 → 1.62.78

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.
@@ -41,7 +41,6 @@
41
41
  "shutdown": "🔌 Shutdown",
42
42
  "method": "❤️‍🔥 Method",
43
43
  "func": "🔦 Func",
44
- "onfunc": "🎚️ onFunction",
45
44
  "actions": "🏎️ Actions",
46
45
  "feature": "🎥 Feature",
47
46
  "features": "🎥 Features",
package/index.js CHANGED
@@ -352,7 +352,7 @@ class Deva {
352
352
 
353
353
  const data_stamped = this._stamp(this._unstamp(data), key, data.id.uid);
354
354
 
355
- // setup the complete talk event
355
+ // setup the complete talk veent
356
356
  this.action('talk', `${this._events[key]}:${data.id.uid}`); // action talk for the event.
357
357
  this.talk(this._events[key], this.lib.copy(data)); // talk the complete event
358
358
 
@@ -367,11 +367,9 @@ class Deva {
367
367
  // determine if there is an onComplete function for the entity.
368
368
  const hasOnFunc = this[onfunc] && typeof this[onfunc] === 'function';
369
369
  if (hasOnFunc) {
370
- this.action('onfunc', `${key}:has:${onfunc}:${data.id.uid}`); // action onfunc
371
- this.state('onfunc', `${key}:has:${onfunc}:${data.id.uid}`); // state onfunc
372
- this.action('return', `${onfunc}:${data.id.uid}`); // action return
373
- this.state('valid', `${onfunc}:${data.id.uid}`); // state valid
374
- this.intent('good', `${onfunc}:${data.id.uid}`); // intent good
370
+ this.action('return', `onfunc:${onfunc}:${data.id.uid}`); // action return
371
+ this.state('valid', `onfunc:${onfunc}:${data.id.uid}`); // state valid
372
+ this.intent('good', `onfunc:${onfunc}:${data.id.uid}`); // intent good
375
373
  return this[onfunc](data, resolve);
376
374
  }
377
375
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "23221940810208468106",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.62.76",
4
+ "version": "1.62.78",
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",