@indra.ai/deva 1.23.2 → 1.23.3
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/index.js +2 -2
- package/index.js +3 -2
- package/package.json +1 -1
package/config/index.js
CHANGED
package/index.js
CHANGED
|
@@ -2330,14 +2330,14 @@ class Deva {
|
|
|
2330
2330
|
|
|
2331
2331
|
// get the help file and check to make sure the part we are looking for exists.
|
|
2332
2332
|
const helpFile = this.lib.fs.readFileSync(helpPath, 'utf8');
|
|
2333
|
-
const helpPart = helpFile.split(
|
|
2333
|
+
const helpPart = helpFile.split(`${this.container.begin}:${part}`);
|
|
2334
2334
|
if (!helpPart[1]) {
|
|
2335
2335
|
this.action('resolve', `${this._messages.help_not_found}:${id.uid}`);
|
|
2336
2336
|
resolve(this._messages.help_not_found);
|
|
2337
2337
|
}
|
|
2338
2338
|
|
|
2339
2339
|
// last set the help doc and split out the selected part.
|
|
2340
|
-
helpDoc = helpFile.split(
|
|
2340
|
+
helpDoc = helpFile.split(`${this.container.begin}:${part}`)[1].split(`${this.container.end}:${part}`)[0];
|
|
2341
2341
|
}
|
|
2342
2342
|
catch(e) {
|
|
2343
2343
|
this.state('catch', `${key}:${id.uid}`);
|
|
@@ -2346,6 +2346,7 @@ class Deva {
|
|
|
2346
2346
|
}
|
|
2347
2347
|
finally {
|
|
2348
2348
|
this.action('resolve', `${key}:${id.uid}`);
|
|
2349
|
+
this.state('valid', `${key}:${id.uid}`);
|
|
2349
2350
|
this.intent('good', `${key}:${id.uid}`);
|
|
2350
2351
|
return resolve(helpDoc);
|
|
2351
2352
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "64907438819979111427",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.23.
|
|
4
|
+
"version": "1.23.3",
|
|
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:64907438819979111427 LICENSE.md",
|