@indra.ai/deva 1.53.0 → 1.53.1
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 -0
- package/index.js +1 -0
- package/package.json +1 -1
package/config/msgs.json
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"nopacket": "⛔️ NO PACKET PROVIDED",
|
|
18
18
|
"nodata": "⛔️ NO DATA PROVIDED",
|
|
19
19
|
"nokey": "⛔️ NO KEY PROVIDED",
|
|
20
|
+
"invalidkey": "⛔️ INVALID KEY PROVIDED",
|
|
20
21
|
"method_not_found": "⛔️ METHOD NOT FOUND",
|
|
21
22
|
"help_not_found": "⛔️ HELP NOT FOUND",
|
|
22
23
|
"invalid_agent": "⛔️ Agent Hash Invalid",
|
package/index.js
CHANGED
|
@@ -306,6 +306,7 @@ class Deva {
|
|
|
306
306
|
const {key, data, resolve} = opts;
|
|
307
307
|
if (!this._active) return resolve(this._messages.offline);
|
|
308
308
|
if (!key) return resolve (this._messages.nokey);
|
|
309
|
+
if (!config.invoke[key]) return resolve (this._messages.invalidkey);
|
|
309
310
|
if (!data) return resolve (this._messages.nodata);
|
|
310
311
|
|
|
311
312
|
const {prev_key, next_key, onfunc, clear, load} = config.invoke[key];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "23221940810208468106",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.53.
|
|
4
|
+
"version": "1.53.1",
|
|
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",
|