@indra.ai/deva 1.62.82 → 1.62.83

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2040,8 +2040,8 @@ class Deva {
2040
2040
  const hasOnError = this.onError && typeof this.onError === 'function' ? true : false;
2041
2041
  // if block handles returning the onError and setting the state to hasOnError
2042
2042
  if (hasOnError) {
2043
- this.action('onfunc', `hasOnError:${data.value}:${data.id.uid}`);
2044
- this.state('onfunc', `hasOnError:${data.value}:${data.id.uid}`);
2043
+ this.action('func', `onError:${data.value}:${data.id.uid}`);
2044
+ this.state('invalid', `onError:${data.value}:${data.id.uid}`);
2045
2045
  this.intent('bad', `hasOnError:${data.id.uid}`);
2046
2046
  return this.onError(err, packet, reject);
2047
2047
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "23221940810208468106",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.62.82",
4
+ "version": "1.62.83",
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",